v3.26.1
Mortgage Loans - Payment Status of Single-Family Restructured Loans Involving Borrowers Experiencing Financial Difficulty (Details) - USD ($)
$ in Millions
Jun. 30, 2026
Jun. 30, 2025
Single family    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months $ 27,962 $ 26,780
Single family | Current    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 14,890 14,303
Single family | One Month Past Due    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 3,790 3,477
Single family | Two Months Past Due    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 2,083 1,898
Single family | Three Months or More Past Due, or in Foreclosure(2)    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 7,199 7,102
20- and 30-year or more, amortizing fixed-rate    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 27,206 25,910
20- and 30-year or more, amortizing fixed-rate | Current    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 14,520 13,871
20- and 30-year or more, amortizing fixed-rate | One Month Past Due    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 3,686 3,371
20- and 30-year or more, amortizing fixed-rate | Two Months Past Due    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 2,026 1,828
20- and 30-year or more, amortizing fixed-rate | Three Months or More Past Due, or in Foreclosure(2)    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 6,974 6,840
15-year or less, amortizing fixed-rate    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 577 684
15-year or less, amortizing fixed-rate | Current    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 292 353
15-year or less, amortizing fixed-rate | One Month Past Due    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 77 86
15-year or less, amortizing fixed-rate | Two Months Past Due    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 43 54
15-year or less, amortizing fixed-rate | Three Months or More Past Due, or in Foreclosure(2)    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 165 191
Adjustable-rate and other    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 179 186
Adjustable-rate and other | Current    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 78 79
Adjustable-rate and other | One Month Past Due    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 27 20
Adjustable-rate and other | Two Months Past Due    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 14 16
Adjustable-rate and other | Three Months or More Past Due, or in Foreclosure(2)    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months $ 60 $ 71