XML 18 R7.htm IDEA: XBRL DOCUMENT v3.22.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Cash flow from operating activities    
Net income $ 173,593 $ 376,868
Adjustments to reconcile net income to net cash provided by (used in) operating activities:    
Net gains on loans held for sale at fair value (298,459) (754,341)
Change in fair value of mortgage servicing rights, mortgage servicing liabilities and excess servicing spread (212,911) (222,426)
Mortgage servicing rights hedging gains 217,860 442,151
Capitalization of interest and advance on loans held for sale (1,926) (90,177)
Accrual of interest on excess servicing spread financing payable to PennyMac Mortgage Investment Trust   1,280
Amortization of debt issuance costs 5,115 7,297
Change in fair value of investment in common shares of PennyMac Mortgage Investment Trust 33 (365)
Results of real estate acquired in settlement of loans (543) (780)
Stock based compensation expense 9,275 10,877
Reversal of provision for servicing advance losses (30,735) (20,536)
Impairment of capitalized software   728
Depreciation and amortization 7,011 7,632
Amortization of right-to-use assets 3,778 3,382
Purchase of loans held for sale from PennyMac Mortgage Investment Trust (13,160,768) (18,420,615)
Origination of loans held for sale (10,071,516) (14,314,637)
Purchase of loans held for sale from non-affiliates (628,769) (1,443,255)
Purchase of loans from Ginnie Mae securities and early buyout investors (3,186,214) (4,355,102)
Sale to non-affiliates and principal payments of loans held for sale 31,267,022 37,268,200
Sale to PennyMac Mortgage Investment Trust of loans held for sale 259,038  
Repurchase of loans subject to representations and warranties (17,087) (17,986)
Decrease in servicing advances 82,438 48,372
Decrease (increase) in receivable from PennyMac Mortgage Investment Trust 12,096 14,878
Sale of real estate acquired in settlement of loans 4,422 4,946
Decrease (increase) in other assets 14,999 22,912
(Decrease) increase in accounts payable and accrued expenses (501) 46,896
Decrease in operating lease liabilities (3,687) (4,066)
(Decrease) increase in payable to PennyMac Mortgage Investment Trust (76,811) 10,696
Increase in income taxes payable 60,611 129,155
Net cash provided by (used in) operating activities 4,427,364 (1,248,016)
Cash flow from investing activities    
Increase in short-term investment (71,133) (9,633)
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 (287,735) (527,458)
Purchase of furniture, fixtures, equipment and leasehold improvements (2,577) (2,738)
Acquisition of capitalized software (19,430) (10,056)
Decrease in margin deposits 213,467 245,505
Net cash used in investing activities (167,408) (223,518)
Cash flow from financing activities    
Sale of assets under agreements to repurchase 24,928,688 35,805,822
Repurchase of assets sold under agreements to repurchase (28,889,470) (34,613,141)
Issuance of mortgage loan participation purchase and sale certificates 5,338,287 6,339,539
Repayment of mortgage loan participation purchase and sale certificates (5,323,593) (6,342,269)
Repayments of obligations under capital lease (2,093) (1,396)
Issuance of unsecured senior notes   650,000
Repayment of excess servicing spread financing   (134,624)
Payment of debt issuance costs (2,409) (13,475)
Issuance of common stock pursuant to exercise of stock options 976 1,670
Payment of withholding taxes relating to stock-based compensation (7,780) (8,546)
Payment of dividend to holders of common stock (11,425) (14,375)
Repurchase of common stock (141,412) (288,519)
Net cash (used in) provided by financing activities (4,110,231) 1,380,686
Net increase (decrease) in cash and restricted cash 149,725 (90,848)
Cash and restricted cash at beginning of quarter 340,093 532,781
Cash and restricted cash at end of quarter 489,818 441,933
Cash 489,799 441,870
Restricted cash included in Other assets 19 63
Supplemental cash flow information:    
Cash paid for interest 82,305 112,730
Cash paid (refunds received) for income taxes, net 316 (15)
Non-cash investing activities:    
Mortgage servicing rights resulting from loan sales 616,302 470,533
Operating right-of-use assets recognized   3,243
Non-cash financing activities:    
Mortgage servicing liabilities resulting from loan sales   6,962
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 $ 51 $ 51