v3.25.2
Transactions with Related Parties - Management Agreement - Additional Information (Detail) - USD ($)
6 Months Ended
Jun. 30, 2025
Dec. 31, 2024
Mortgage Loans On Real Estate [Line Items]    
MBS yield, average number of year 30 years  
Investment, Type [Extensible Enumeration] Federal National Mortgage Association Certificates and Obligations (FNMA) [Member]  
Management agreement expiration date Dec. 31, 2029  
Management agreement maturity renewal term 18 months  
Termination fees, description The termination fee is equal to three times the sum of (a) the average annual base management fee, and (b) the average annual performance incentive fee earned by PCM, in each case during the 24-month period before termination of the management agreement.  
PNMAC Capital Management LLC [Member]    
Mortgage Loans On Real Estate [Line Items]    
Percentage of change in net income due to quarterly adjustments 8.00%  
PMT agreed to reimburse PCM for a payment $ 165,000  
PNMAC Capital Management LLC [Member] | 1.5% per annum of stockholders equity [Member]    
Mortgage Loans On Real Estate [Line Items]    
Base management fee annual rate 1.50%  
PNMAC Capital Management LLC [Member] | 1.375% per annum of stockholders equity [Member]    
Mortgage Loans On Real Estate [Line Items]    
Base management fee annual rate 1.375%  
PNMAC Capital Management LLC [Member] | 1.25% per annum of stockholders equity [Member]    
Mortgage Loans On Real Estate [Line Items]    
Base management fee annual rate 1.25%  
PNMAC Capital Management LLC [Member] | Net income exceeds 10% [Member]    
Mortgage Loans On Real Estate [Line Items]    
Percentage of net income for calculation of performance incentive fees 10.00%  
Percentage of return on equity 12.00%  
PNMAC Capital Management LLC [Member] | Net income exceeds 15% [Member]    
Mortgage Loans On Real Estate [Line Items]    
Percentage of net income for calculation of performance incentive fees 15.00%  
Percentage of return on equity 16.00%  
PNMAC Capital Management LLC [Member] | Net income exceeds 20% [Member]    
Mortgage Loans On Real Estate [Line Items]    
Percentage of net income for calculation of performance incentive fees 20.00%  
PNMAC Capital Management LLC [Member] | Maximum [Member]    
Mortgage Loans On Real Estate [Line Items]    
Percentage of performance incentive fee paid in Company's common shares 50.00%  
PNMAC Capital Management LLC [Member] | Maximum [Member] | 1.5% per annum of stockholders equity [Member]    
Mortgage Loans On Real Estate [Line Items]    
Base management fee shareholders' equity limit $ 2,000,000,000  
PNMAC Capital Management LLC [Member] | Maximum [Member] | 1.375% per annum of stockholders equity [Member]    
Mortgage Loans On Real Estate [Line Items]    
Base management fee shareholders' equity limit $ 5,000,000,000  
PNMAC Capital Management LLC [Member] | Maximum [Member] | Net income exceeds 10% [Member]    
Mortgage Loans On Real Estate [Line Items]    
Percentage of return on equity 8.00%  
PNMAC Capital Management LLC [Member] | Maximum [Member] | Net income exceeds 15% [Member]    
Mortgage Loans On Real Estate [Line Items]    
Percentage of return on equity 12.00%  
PNMAC Capital Management LLC [Member] | Maximum [Member] | Net income exceeds 20% [Member]    
Mortgage Loans On Real Estate [Line Items]    
Percentage of return on equity 16.00%  
PNMAC Capital Management LLC [Member] | Minimum [Member] | 1.375% per annum of stockholders equity [Member]    
Mortgage Loans On Real Estate [Line Items]    
Base management fee shareholders' equity limit $ 2,000,000,000  
PNMAC Capital Management LLC [Member] | Minimum [Member] | 1.25% per annum of stockholders equity [Member]    
Mortgage Loans On Real Estate [Line Items]    
Base management fee shareholders' equity limit $ 5,000,000,000  
PennyMac Financial Services, Inc. [Member]    
Mortgage Loans On Real Estate [Line Items]    
Performance incentive fee description The performance incentive fee is equal to the sum of: •10% of the amount by which “net income” for the year exceeds (i) an 8% return on the average “common shareholders’ equity” plus the “high watermark”, up to (ii) a 12% return on “common shareholders’ equity” during the period; plus •15% of the amount by which “net income” for the year exceeds (i) a 12% return on the average “common shareholders’ equity” plus the “high watermark”, up to (ii) a 16% return on “common shareholders’ equity” during the period; plus •20% of the amount by which “net income” for the year exceeds a 16% return on the average “common shareholders’ equity” during the period plus the “high watermark.”  
PMT agreed to reimburse PCM for a payment $ 30,604,000 $ 30,206,000