| Assets | — | — |
| Cash | 238,482a | 938,371a |
| Short-term investment at fair value | 420,553a | 10,268a |
| Principal-only stripped mortgage-backed securities at fair value pledged to creditors | 825,865a | |
| Loans held for sale at fair value | 8,217,468a | 4,420,691a |
| Derivative assets | 113,076a | 179,079a |
| Servicing advances, net | 568,512a | 694,038a |
| Mortgage servicing rights at fair value | 8,744,528a | 7,099,348a |
| Investment in PennyMac Mortgage Investment Trust at fair value | 944a | 1,121a |
| Receivable from PennyMac Mortgage Investment Trust | 30,206a | 29,262a |
| Loans eligible for repurchase | 6,157,172a | 4,889,925a |
| Other | 770,081a | 582,460a |
| Total assets | 26,086,887a | 18,844,563a |
| Liabilities | — | — |
| Assets sold under agreements to repurchase | 8,685,207a | 3,763,956a |
| Mortgage loan participation purchase and sale agreements | 496,512a | 446,054a |
| Notes payable secured by mortgage servicing assets | 2,048,972a | 1,873,415a |
| Unsecured senior notes | 3,164,032a | 2,519,651a |
| Derivative liabilities | 40,900a | 53,275a |
| Mortgage servicing liabilities at fair value | 1,683a | 1,805a |
| Accounts payable and accrued expenses | 354,414a | 449,896a |
| Payable to PennyMac Mortgage Investment Trust | 122,317a | 208,210a |
| Payable to exchanged Private National Mortgage Acceptance Company, LLC unitholders under tax receivable agreement | 25,898a | 26,099a |
| Income taxes payable | 1,131,000a | 1,042,886a |
| Liability for loans eligible for repurchase | 6,157,172a | 4,889,925a |
| Liability for losses under representations and warranties | 29,129a | 30,788a |
| Total liabilities | 22,257,236a | 15,305,960a |
| Stockholders’ equity | — | — |
| Common stock—authorized 200,000,000 shares of $0.0001 par value; issued and outstanding, 51,376,616 and 50,178,963 shares, respectively | 5a | 5a |
| Additional paid-in capital | 56,072a | 24,287a |
| Retained earnings | 3,773,574a | 3,514,311a |
| Total stockholders' equity | 3,829,651a | 3,538,603a |
| Total liabilities and stockholders' equity | 26,086,887a | 18,844,563a |