v3.26.1
Derivative Financial Instruments - Other Information (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Dec. 31, 2025
Derivative assets:      
Derivative asset, before netting $ 384,325   $ 222,297
Netting (107,616)   (36,779)
Total derivative assets 276,709   185,518
Derivative liabilities:      
Derivative liability, before netting 145,894   54,797
Netting (79,065)   (45,238)
Net amounts of liabilities presented in the consolidated balance sheet 66,829   9,559
Activity for derivative contracts used to hedge the IRLCs and inventory of mortgage loans at notional value      
Gains (losses) recognized on derivative financial instruments (207,287) $ 106,774  
Interest rate lock commitments and loans held for sale      
Activity for derivative contracts used to hedge the IRLCs and inventory of mortgage loans at notional value      
Gains (losses) recognized on derivative financial instruments 101,470 (145,046)  
Mortgage servicing rights      
Activity for derivative contracts used to hedge the IRLCs and inventory of mortgage loans at notional value      
Gains (losses) recognized on derivative financial instruments (207,247) 88,640  
PennyMac Mortgage Investment Trust      
Derivative assets:      
Derivative asset, before netting 5,901   2,399
Netting (15)   (142)
Total derivative assets 5,886   2,257
Derivative liabilities:      
Derivative liability, before netting 3,838   6,389
Netting (15)   (142)
Net amounts of liabilities presented in the consolidated balance sheet 3,823   6,247
Margin Deposits      
Derivative assets:      
Collateral (received from) placed with derivative counterparties (28,551)   8,459
Interest rate lock commitments      
Derivative assets:      
Total derivative assets 138,031   131,536
Activity for derivative contracts used to hedge the IRLCs and inventory of mortgage loans at notional value      
Gains (losses) recognized on derivative financial instruments (18,991) $ 76,377  
Forward contracts | Purchases      
Derivative Instruments      
Notional amount 20,029,168   14,311,234
Derivative assets:      
Derivative asset, before netting 24,588   49,499
Derivative liabilities:      
Derivative liability, before netting 67,863   2,845
Activity for derivative contracts used to hedge the IRLCs and inventory of mortgage loans at notional value      
Balance at beginning of quarter 14,311,234    
Balance at end of quarter 20,029,168    
Forward contracts | Sales      
Derivative Instruments      
Notional amount 31,244,365   22,291,811
Derivative assets:      
Derivative asset, before netting 165,645   16,399
Derivative liabilities:      
Derivative liability, before netting 42,663   47,692
Activity for derivative contracts used to hedge the IRLCs and inventory of mortgage loans at notional value      
Balance at beginning of quarter 22,291,811    
Balance at end of quarter 31,244,365    
Forward contracts | Sales | PennyMac Mortgage Investment Trust      
Derivative Instruments      
Notional amount 92,618   250,638
Derivative assets:      
Derivative asset, before netting 15   142
Derivative liabilities:      
Derivative liability, before netting 1,225   1,784
Activity for derivative contracts used to hedge the IRLCs and inventory of mortgage loans at notional value      
Balance at beginning of quarter 250,638    
Balance at end of quarter 92,618    
MBS put options      
Derivative Instruments      
Notional amount 500,000    
Derivative assets:      
Derivative asset, before netting 4,840    
Activity for derivative contracts used to hedge the IRLCs and inventory of mortgage loans at notional value      
Balance at end of quarter 500,000    
Total return swap      
Derivative Instruments      
Notional amount 39,998   39,998
Derivative assets:      
Derivative asset, before netting 119   8
Activity for derivative contracts used to hedge the IRLCs and inventory of mortgage loans at notional value      
Balance at beginning of quarter 39,998    
Balance at end of quarter 39,998    
Put options on Eurodollar futures | Purchases      
Derivative Instruments      
Notional amount 8,975,000   12,625,000
Derivative assets:      
Derivative asset, before netting 41,688   22,769
Activity for derivative contracts used to hedge the IRLCs and inventory of mortgage loans at notional value      
Balance at beginning of quarter 12,625,000    
Balance at end of quarter 8,975,000    
Call options on Eurodollar futures | Purchases      
Derivative Instruments      
Notional amount 9,600,000   7,750,000
Derivative assets:      
Derivative asset, before netting 9,414   2,086
Activity for derivative contracts used to hedge the IRLCs and inventory of mortgage loans at notional value      
Balance at beginning of quarter 7,750,000    
Balance at end of quarter 9,600,000    
Treasury future | Purchases      
Derivative Instruments      
Notional amount 24,242,000   11,841,400
Activity for derivative contracts used to hedge the IRLCs and inventory of mortgage loans at notional value      
Balance at beginning of quarter 11,841,400    
Balance at end of quarter 24,242,000    
Treasury future | Sales      
Derivative Instruments      
Notional amount 20,027,000   8,607,100
Activity for derivative contracts used to hedge the IRLCs and inventory of mortgage loans at notional value      
Balance at beginning of quarter 8,607,100    
Balance at end of quarter 20,027,000    
Not designated as hedging instrument | Interest rate lock commitments      
Derivative Instruments      
Notional amount 16,241,426   13,474,638
Derivative assets:      
Derivative asset, before netting 138,031   131,536
Derivative liabilities:      
Derivative liability, before netting 35,368   4,260
Activity for derivative contracts used to hedge the IRLCs and inventory of mortgage loans at notional value      
Balance at beginning of quarter 13,474,638    
Balance at end of quarter 16,241,426    
Not designated as hedging instrument | Interest rate lock commitments | PennyMac Mortgage Investment Trust      
Derivative Instruments      
Notional amount 1,338,161   1,207,859
Derivative assets:      
Derivative asset, before netting 5,886   2,257
Derivative liabilities:      
Derivative liability, before netting 2,613   $ 4,605
Activity for derivative contracts used to hedge the IRLCs and inventory of mortgage loans at notional value      
Balance at beginning of quarter 1,207,859    
Balance at end of quarter $ 1,338,161