v3.26.1
Mortgage Loans Held for Portfolio (Mortgage Loans Held for Portfolio) (Details) - USD ($)
$ in Millions
Jun. 30, 2026
Dec. 31, 2025
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Loans And Leases Receivable, Unpaid Principal Balance $ 15,452 $ 14,453
Financing Receivable, Excluding Accrued Interest, after Allowance for Credit Loss 15,518 14,540
Residential Portfolio Segment    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Loans And Leases Receivable, Unpaid Principal Balance 15,452 14,453
Loans and Leases Receivable, Unamortized Premiums 157 156
Loans and Leases Receivable, Unamortized Discounts (73) (54)
Loans and Leases Receivable, Hedging Basis Adjustment (12) (9)
Financing Receivable, Allowance for Credit Loss, Noncurrent 15,524 14,546
Financing Receivable, Excluding Accrued Interest, after Allowance for Credit Loss 15,518 14,540
Loans and Leases Receivable, Allowance (6) (6)
Single Family [Member] | Fixed rate, long-term single family mortgages [Member]    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Loans And Leases Receivable, Unpaid Principal Balance 14,522 13,549
Single Family [Member] | Fixed rate, medium-term single family mortgages [Member]    
Accounts, Notes, Loans and Financing Receivable [Line Items]    
Loans And Leases Receivable, Unpaid Principal Balance $ 930 $ 904