XML 18 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flow from operating activities    
Net income $ 437,890 $ 830,407
Adjustments to reconcile net income to net cash provided by operating activities:    
Net gains on loans held for sale at fair value (689,720) (1,963,743)
Change in fair value of mortgage servicing rights, mortgage servicing liabilities and excess servicing spread (420,424) 261,511
Mortgage servicing rights hedging gains 558,614 437,492
Capitalization of interest and advance on loans held for sale (3,122) (4,573)
Accrual of interest on excess servicing spread financing payable to PennyMac Mortgage Investment Trust   1,280
Amortization of debt issuance costs 14,560 19,154
Change in fair value of investment in common shares of PennyMac Mortgage Investment Trust 416 (372)
Results of real estate acquired in settlement of loans (1,881) (1,698)
Stock based compensation expense 30,689 28,595
Reversal of provision for servicing advance losses (52,113) (44,535)
Depreciation and amortization 23,809 21,729
Impairment of capitalized software   728
Amortization of right-to-use assets 11,796 10,539
Purchase of loans held for sale from PennyMac Mortgage Investment Trust (36,544,166) (51,471,399)
Origination of loans held for sale (18,343,547) (41,634,531)
Purchase of loans held for sale from non-affiliates (1,564,173) (3,867,782)
Purchase of loans from Ginnie Mae securities and early buyout investors (5,620,437) (17,969,911)
Sale to non-affiliates and principal payments of loans held for sale 67,056,886 118,048,768
Sale of loans held for sale to PennyMac Mortgage Investment Trust 298,862  
Repurchase of loans subject to representations and warranties (76,865) (75,023)
Decrease (increase) in servicing advances 234,529 (18,718)
Decrease in receivable from PennyMac Mortgage Investment Trust 6,941 27,404
Sale of real estate acquired in settlement of loans 15,419 11,712
Decrease (increase) in other assets 74,433 95,836
(Decrease) increase in accounts payable and accrued expenses (13,922) 45,707
Decrease in operating lease liabilities (12,562) (12,457)
Decrease in payable to PennyMac Mortgage Investment Trust (153,276) (39,755)
Payments to exchanged Private National Mortgage Acceptance Company, LLC unitholders under tax receivable agreement (3,855) (3,350)
Increase in income taxes payable 279,045 37,068
Net cash provided by operating activities 5,543,826 2,770,083
Cash flow from investing activities    
(Increase) decrease in short-term investment (29,225) 10,171
Net change in assets purchased from PMT under agreement to resell   80,862
Net settlement of derivative financial instruments used for hedging of mortgage servicing rights (810,749) (471,322)
Purchase of mortgage servicing rights (3,927)  
Acquisition of capitalized software (59,631) (32,276)
Purchase of furniture, fixtures, equipment and leasehold improvements (5,604) (5,999)
Decrease in margin deposits 425,569 117,106
Net cash used in investing activities (483,567) (301,458)
Cash flow from financing activities    
Sale of assets under agreements to repurchase 58,606,620 100,929,294
Repurchase of assets sold under agreements to repurchase (62,413,898) (103,689,987)
Issuance of mortgage loan participation purchase and sale certificates 14,947,597 17,990,980
Repayment of mortgage loan participation purchase and sale certificates (15,059,445) (17,992,673)
Repayments of obligations under capital lease (3,489) (6,281)
Issuance of notes payable secured by mortgage servicing assets 500,000  
Issuance of unsecured senior notes   1,150,000
Repayment of excess servicing spread financing   (134,624)
Payment of debt issuance costs (14,087) (27,355)
Issuance of common stock pursuant to exercise of stock options 1,777 5,770
Payment of withholding taxes relating to stock-based compensation (7,780) (8,578)
Payment of dividend to holders of common stock (44,206) (40,638)
Repurchase of common stock (354,759) (700,793)
Net cash used in financing activities (3,841,670) (2,524,885)
Net increase (decrease) in cash and restricted cash 1,218,589 (56,260)
Cash and restricted cash at beginning of period 340,093 532,781
Cash and restricted cash at end of period 1,558,682 476,521
Cash 1,558,679 476,497
Restricted cash included in Other assets 3 24
Supplemental cash flow information:    
Cash paid for interest 236,504 301,014
Cash (refunds received) paid for income taxes, net (119,417) 257,597
Non-cash investing activities:    
Mortgage servicing rights resulting from loan sales 1,359,632 1,386,324
Operating right-of-use assets recognized 1,364 20,871
Unsettled portion of MSR acquisitions 213  
Non-cash financing activities:    
Mortgage servicing liabilities resulting from loan sales   98,147
Issuance of Excess servicing spread payable to PennyMac Mortgage Investment Trust pursuant to a recapture agreement   557
Issuance of common stock in settlement of directors' fees $ 154 $ 151