XML 20 R7.htm IDEA: XBRL DOCUMENT v3.25.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Cash flow from operating activities    
Net income $ 212,743 $ 137,566
Adjustments to reconcile net income to net cash provided by (used in) operating activities:    
Net gains on loans held for sale at fair value (455,696) (338,505)
Change in fair value of mortgage servicing rights and mortgage servicing liabilities 678,126 129,900
Mortgage servicing rights hedging results 2,328 466,422
Accrual of unearned discounts on principal-only stripped mortgage-backed securities (18,034) (9,090)
Capitalization of interest on loans held for sale (1,598) (247)
Amortization of debt issuance costs 17,277 14,798
Change in fair value of investment in common shares of PennyMac Mortgage Investment Trust (21) 90
Results of real estate acquired in settlement in loans 178 (599)
Repricing of payable to exchanged Private National Mortgage Acceptance Company, LLC unitholders under tax receivable agreement (1,092)  
Stock-based compensation expense 18,602 2,371
Provision for servicing advance losses 11,970 4,391
Depreciation and amortization 28,627 28,404
Amortization of operating lease right-of-use assets 7,036 6,883
Purchase of loans held for sale from PennyMac Mortgage Investment Trust (47,382,225) (37,161,319)
Origination of loans held for sale (11,725,361) (6,972,822)
Purchase of loans held for sale from non-affiliates (2,202,139) (1,193,246)
Purchase of loans from Ginnie Mae securities and early buyout investors (2,195,739) (1,579,386)
Sale to non-affiliates and principal payment of loans held for sale 62,243,471 44,537,449
Sale of loans held for sale to PennyMac Mortgage Investment Trust 1,689,692  
Repurchase of loans subject to representations and warranties (45,360) (44,863)
Decrease in servicing advances 35,809 219,799
Increase in receivable from PennyMac Mortgage Investment Trust (3,897) (1,541)
Sale of real estate acquired in settlement of loans 37,325 25,671
Decrease (increase) in other assets 9,541 (39,753)
Increase (decrease) in accounts payable and accrued expenses 48,838 (145,062)
Decrease in operating lease liabilities (9,563) (8,809)
Decrease in payable to PennyMac Mortgage Investment Trust (32,648) (108,839)
(Decrease) increase in income taxes payable (33,548) 39,511
Net cash provided by (used in) operating activities 934,642 (1,990,826)
Cash flow from investing activities    
Increase in short-term investment (41,709) (178,504)
Purchase of principal-only stripped mortgage-backed securities   (935,356)
Repayment of principal-only stripped mortgage-backed securities 84,267 13,452
Net settlement of derivative financial instruments used for hedging of mortgage servicing rights (10,913) (391,462)
Acquisition of capitalized software (16,283) (8,661)
Purchase of furniture, fixtures, equipment and leasehold improvements (1,676) (1,319)
Increase in margin deposits (140,719) (18,556)
Net cash used in investing activities (127,033) (1,520,406)
Cash flow from financing activities    
Sale of assets under agreements to repurchase 63,703,978 48,557,391
Repurchase of assets sold under agreements to repurchase (65,044,887) (45,912,545)
Issuance of mortgage loan participation purchase and sale certificates 12,277,214 10,967,597
Repayment of mortgage loan participation purchase and sale certificates (12,072,836) (10,901,474)
Issuance of notes payable secured by mortgage servicing assets 100,000 725,000
Repayment of notes payable secured by mortgage servicing assets (825,000) (875,000)
Issuance of unsecured senior notes 1,700,000 650,000
Repayment of unsecured senior notes (650,000)  
Payment of debt issuance costs (43,763) (25,208)
Issuance of common stock by exercise of stock options 5,965 12,654
Payment of withholding taxes relating to stock-based compensation (3,763) (9,401)
Payment of dividends to holders of common stock (30,813) (20,817)
Net cash (used in) provided by financing activities (883,905) 3,168,197
Net decrease in cash (76,296) (343,035)
Cash at beginning of quarter 238,482 938,371
Cash at end of quarter 162,186 595,336
Supplemental cash flow information:    
Cash paid for interest 457,513 373,389
Cash paid for income taxes, net 1,443 660
Non-cash investing activities:    
Mortgage servicing rights received from loan sales 1,464,887 953,727
Operating right-of-use assets recognized 1,209  
Non-cash financing activities:    
Issuance of common stock in settlement of directors' fees $ 115 $ 142