v3.25.2
Derivative and Credit Risk Transfer Strip Assets and Liabilities - Derivative Assets and Derivative Liabilities and Related Margin Deposits (Detail) - USD ($)
Jun. 30, 2025
Dec. 31, 2024
Derivatives Fair Value [Line Items]    
Total derivatives assets before netting $ 68,247,000 $ 96,251,000
Derivative assets, Netting (16,321,000) (39,411,000)
Total derivative assets after netting 51,926,000 56,840,000
Margin deposits placed with (received from) derivative counterparties included in derivative balances above, net 56,325,000 (31,497,000)
Derivative assets pledged to secure:    
Total derivative liabilities 75,640,000 11,207,000
Derivative liabilities, Netting (72,645,000) (7,916,000)
Total derivative liabilities after netting 2,995,000 3,291,000
Derivative assets related to CRT Derivatives [Member]    
Derivative assets pledged to secure:    
Assets Sold Under Agreements to Repurchase and Notes payable secured by credit risk transfer and mortgage servicing assets 31,147,000 29,377,000
CRT Derivatives [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 4,731,905,000 4,961,644,000
Total derivatives assets before netting [1] 31,147,000 29,377,000
Derivative assets pledged to secure:    
Total derivative liabilities [1] 0 0
PennyMac Financial Services, Inc. [Member]    
Derivatives Fair Value [Line Items]    
Total derivative assets after netting 1,038,000  
Forward Purchase Contracts [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 2,977,196,000 1,154,515,000
Total derivatives assets before netting [1] 21,510,000 614,000
Derivative assets pledged to secure:    
Total derivative liabilities [1] 16,000 6,336,000
Forward Purchase Contracts [Member] | PennyMac Financial Services, Inc. [Member]    
Derivatives Fair Value [Line Items]    
Notional amount 84,070,000 0
Total derivatives assets before netting 1,038,000 0
Derivative assets pledged to secure:    
Total derivative liabilities 0 0
Forward Sale Contracts [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 6,799,629,000 7,080,982,000
Total derivatives assets before netting [1] 227,000 54,056,000
Derivative assets pledged to secure:    
Total derivative liabilities [1] 75,443,000 1,753,000
Interest Rate Lock Commitments [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 936,725,000 1,166,566,000
Total derivatives assets before netting [1] 6,666,000 3,562,000
Derivative assets pledged to secure:    
Total derivative liabilities [1] 181,000 3,118,000
Call Options on Interest Rate Futures Purchase Contracts [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 2,395,000,000 500,000,000
Total derivatives assets before netting [1] 8,638,000 156,000
Derivative assets pledged to secure:    
Total derivative liabilities [1] 0 0
Put Options On Interest Rate Futures Purchase Contracts    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 775,000,000 1,690,000,000
Total derivatives assets before netting [1] 59,000 6,372,000
Derivative assets pledged to secure:    
Total derivative liabilities [1] 0 0
MBS Put Options [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 0 450,000,000
Total derivatives assets before netting [1] 0 2,114,000
Derivative assets pledged to secure:    
Total derivative liabilities [1] 0 0
Swap Futures [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 951,200,000 951,200,000
Total derivatives assets before netting [1] 0 0
Derivative assets pledged to secure:    
Total derivative liabilities [1] 0 0
Bond Futures [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 1,962,000,000 1,713,000,000
Total derivatives assets before netting [1] 0 0
Derivative assets pledged to secure:    
Total derivative liabilities [1] $ 0 $ 0
[1] All hedging derivatives are interest rate derivatives that are used as economic hedges.
[2] Notional amounts provide an indication of the volume of the Company’s derivative activity.