v3.26.1
Mortgage Servicing Rights and Mortgage Servicing Liabilities - Activity in MSRs at Fair Value (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Change in fair value due to:    
Total change in fair value $ 171,993 $ 430,956
Mortgage servicing rights    
Activity in MSRs carried at fair value    
Balance at beginning of quarter 9,598,941 8,744,528
MSRs resulting from loan sales 719,586 650,349
Sale adjustments (sales) of MSRs Non-affiliates 6,428  
Sale adjustments (sales) of MSRs to PennyMac Mortgage Investment Trust (3,922)  
Additions 722,092 650,349
Change in fair value due to:    
Changes in inputs used in valuation model 183,047 (205,489)
Other changes in fair value (355,044) (225,499)
Total change in fair value (171,997) (430,988)
Balance at end of quarter 10,149,036 8,963,889
Unpaid principal balance of underlying loans at end of quarter 473,980,146 $ 442,208,097
Asset Pledged as Collateral without Right | Mortgage servicing rights    
Activity in MSRs carried at fair value    
Balance at beginning of quarter 9,367,851  
Change in fair value due to:    
Balance at end of quarter $ 9,901,292