v3.26.1
Long-Term Debt - Additional Information (Detail) - USD ($)
6 Months Ended
Mar. 05, 2027
Jun. 30, 2026
Senior Notes [Member]    
Debt Instrument [Line Items]    
Percentage of interest on debt   100.00%
Credit Agreements [Member] | Freddie Mac MSR and Servicing Advance Receivables Financing    
Debt Instrument [Line Items]    
Aggregate loan amount   $ 2,000,000,000
Maturity date of debt instrument   Aug. 31, 2026
VFN | Freddie Mac MSR and Servicing Advance Receivables Financing    
Debt Instrument [Line Items]    
Maturity date of debt instrument Mar. 05, 2027  
VFN | Freddie Mac MSR and Servicing Advance Receivables Financing | Maximum [Member]    
Debt Instrument [Line Items]    
Aggregate principal amount $ 175,000,000  
PennyMac Loan Services, LLC [Member] | Fannie Mae MSR Financing    
Debt Instrument [Line Items]    
Line of credit, maximum borrowing capacity   $ 1,100,000,000
Repurchase agreement facilities   2 years