v3.25.2
Mortgage Loans - Payment Status of Single-Family Restructured Loans Involving Borrowers Experiencing Financial Difficulty (Details) - USD ($)
$ in Millions
Jun. 30, 2025
Jun. 30, 2024
Single family    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months $ 26,780 $ 21,488
Single family | Current    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 14,303 11,615
Single family | One Month Past Due    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 3,477 3,123
Single family | Two Months Past Due    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 1,898 1,604
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,102 5,146
20- and 30-year or more, amortizing fixed-rate    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 25,910 20,641
20- and 30-year or more, amortizing fixed-rate | Current    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 13,871 11,169
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,371 3,009
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 1,828 1,537
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,840 4,926
15-year or less, amortizing fixed-rate    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 684 669
15-year or less, amortizing fixed-rate | Current    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 353 352
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 86 94
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 54 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 191 169
Adjustable-rate and other    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 186 178
Adjustable-rate and other | Current    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 79 94
Adjustable-rate and other | One Month Past Due    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 20 20
Adjustable-rate and other | Two Months Past Due    
Financing Receivable, Modified [Line Items]    
Financing Receivable, Excluding Accrued Interest, Modified, after 12 Months 16 13
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 $ 71 $ 51