v3.26.1
Mortgage Loans - Loans Purchased and Sold (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Single-family | Held for Investment        
Financing Receivable, Allowance for Credit Loss [Line Items]        
Purchases $ 110,120 $ 93,603 $ 212,633 $ 171,249
Single-family | Held-for-Sale        
Financing Receivable, Allowance for Credit Loss [Line Items]        
Sales 0 496 0 1,255
Multifamily | Held for Investment        
Financing Receivable, Allowance for Credit Loss [Line Items]        
Purchases 17,821 8,663 30,521 12,577
Multifamily | Held-for-Sale        
Financing Receivable, Allowance for Credit Loss [Line Items]        
Purchases 126 2,096 222 7,527
Sales $ 326 $ 8,247 $ 997 $ 14,851