v3.26.1
Derivative and Credit Risk Transfer Strip Assets and Liabilities - Derivative Assets and Derivative and Credit Risk Transfer Strip Liabilities at Fair Value and Related Margin Deposits (Detail) - USD ($)
Jun. 30, 2026
Dec. 31, 2025
Derivatives Fair Value [Line Items]    
Margin deposits (received from) placed with derivative counterparties included in derivative balances above, net $ (29,000) $ 21,710,000
Derivative assets pledged to secure:    
Assets sold under agreements to repurchase and Notes payable secured by credit risk transfer and mortgag servicing assets 2,481,131,000 2,258,128,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 mortgag servicing assets 30,301,000 32,659,000
Penny Mac Financial Services Affiliated Entity [Member]    
Derivatives Fair Value [Line Items]    
Total derivatives assets before netting 5,267,000 6,389,000
Derivative assets, Netting (28,000) (142,000)
Total derivative assets after netting 5,239,000 6,247,000
Derivative assets pledged to secure:    
Total derivative liabilities 1,262,000 2,399,000
Derivative liabilities, Netting (28,000) (142,000)
Total derivative liabilities after netting 1,234,000 2,257,000
Nonaffiliates [Member]    
Derivatives Fair Value [Line Items]    
Total derivatives assets before netting 55,071,000 44,551,000
Derivative assets, Netting (10,887,000) 5,145,000
Total derivative assets after netting 44,184,000 49,696,000
Derivative assets pledged to secure:    
Total derivative liabilities 14,477,000 17,498,000
Derivative liabilities, Netting (10,858,000) (16,565,000)
Total derivative liabilities after netting 3,619,000 933,000
Nonaffiliates [Member] | CRT Derivatives [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 3,783,818,000 455,682,000
Total derivatives assets before netting [1] 30,301,000 32,659,000
Derivative assets pledged to secure:    
Total derivative liabilities [1] 0 0
Forward Purchase Contracts [Member] | Penny Mac Financial Services Affiliated Entity [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [2] 125,582,000 250,638,000
Total derivatives assets before netting 1,088,000 1,784,000
Derivative assets pledged to secure:    
Total derivative liabilities 28,000 142,000
Forward Purchase Contracts [Member] | Nonaffiliates [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 1,612,960,000 3,703,628,000
Total derivatives assets before netting [1] 500,000 4,113,000
Derivative assets pledged to secure:    
Total derivative liabilities [1] 42,000 158,000
Forward Sale Contracts [Member] | Nonaffiliates [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 4,885,626,000 7,933,760,000
Total derivatives assets before netting [1] 3,769,000 2,381,000
Derivative assets pledged to secure:    
Total derivative liabilities [1] 14,435,000 17,340,000
Interest Rate Lock Commitments [Member] | Penny Mac Financial Services Affiliated Entity [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [2] 1,049,341,000 1,207,859,000
Total derivatives assets before netting 4,179,000 4,605,000
Derivative assets pledged to secure:    
Total derivative liabilities 1,234,000 2,257,000
Call Options on Interest Rate Futures Purchase Contracts [Member] | Nonaffiliates [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 0 3,250,000,000
Total derivatives assets before netting [1] 0 1,289,000
Derivative assets pledged to secure:    
Total derivative liabilities [1] 0 0
Put Options On Interest Rate Futures Purchase Contracts | Nonaffiliates [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 1,975,000,000 2,500,000,000
Total derivatives assets before netting [1] 6,410,000 4,109,000
Derivative assets pledged to secure:    
Total derivative liabilities [1] 0 0
Swap Futures [Member] | Nonaffiliates [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 1,137,200,000 751,200,000
Total derivatives assets before netting [1] 0 0
Derivative assets pledged to secure:    
Total derivative liabilities [1] 0 0
Swaptions [Member] | Nonaffiliates [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 1,000,000,000 0
Total derivatives assets before netting [1] 14,091,000 0
Derivative assets pledged to secure:    
Total derivative liabilities [1] 0 0
Bond Futures [Member] | Nonaffiliates [Member]    
Derivatives Fair Value [Line Items]    
Notional amount [1],[2] 2,833,500,000 1,896,100,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.