v3.25.2
Transactions with Related Parties - Summary of Correspondent Production Activity (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2025
Jun. 30, 2024
Dec. 31, 2024
Related Party Transaction [Line Items]          
Loan, Mortgage, Held-for-Sale, Fair Value Disclosure $ 2,616,251   $ 2,616,251   $ 2,116,318
PennyMac Loan Services, LLC [Member]          
Related Party Transaction [Line Items]          
Loan fulfillment fees earned by PLS 5,814 $ 4,427 11,104 $ 8,443  
Unpaid principal balance of loans fulfilled by PLS 3,085,840 2,229,397 5,867,562 4,001,078  
Sourcing fees received from PLS included in Net gains on loans acquired for sale 2,658 2,050 4,673 3,655  
Unpaid principal balance of loans sold to PLS 26,487,256 20,507,121 46,639,932 36,553,976  
Purchases of loans acquired for sale from PLS 1,034,884 0 1,689,692 0  
Tax service fees paid to PLS 502 431 979 790  
Loan, Mortgage, Held-for-Sale, Fair Value Disclosure 1,584,212   1,584,212   $ 602,108
PennyMac Loan Services, LLC [Member] | Government Guaranteed Or Insured [Member]          
Related Party Transaction [Line Items]          
Unpaid principal balance of loans sold to PLS 12,966,563 10,500,415 24,158,443 18,357,340  
PennyMac Loan Services, LLC [Member] | Conventional Conforming [Member]          
Related Party Transaction [Line Items]          
Unpaid principal balance of loans sold to PLS $ 13,520,693 $ 10,006,706 $ 22,481,489 $ 18,196,636