v3.26.1
Transactions with Related Parties - Summary of Aggregation and Securitization Activities (Detail) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Related Party Transaction [Line Items]    
Unpaid principal balance of loans sold to PLS: $ 0 $ 20,152,676
PennyMac Loan Services, LLC [Member]    
Related Party Transaction [Line Items]    
Loan fulfillment fees earned by PLS 5,737 5,290
Unpaid principal balance of loans fulfilled by PLS 2,796,544 2,781,722
Sourcing fees received from PLS included in Net gains on loans held for sale 0 2,015
Purchases of loans held for sale from PLS [1] 4,380,289 654,808
Tax service fees paid to PLS 0 477
PennyMac Loan Services, LLC [Member] | Government Guaranteed Or Insured [Member]    
Related Party Transaction [Line Items]    
Unpaid principal balance of loans sold to PLS: 0 11,191,880
PennyMac Loan Services, LLC [Member] | Conventional Conforming [Member]    
Related Party Transaction [Line Items]    
Unpaid principal balance of loans sold to PLS: $ 0 $ 8,960,796
[1] Amount includes loans purchased from PLS subject to the fulfillment agreement as well as other loans purchased from PLS.