v3.26.1
Mortgage Loans - Loan Restructuring - Aging Analysis (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost $ 17,427 $ 17,859 $ 28,284 $ 29,822
Serious delinquency, days past due     90 days  
Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     $ 38,930 37,538
30 - 59 Days Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     4,835 4,426
60 - 89 Days Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     3,023 2,750
Seriously Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     14,037 14,100
Total Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     21,895 21,276
Current | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     17,035 16,262
Single-family        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost 16,965 17,804 $ 27,816 29,172
Single-family | Minimum        
Loans in Mortgage Portfolio [Line Items]        
Serious delinquency, days past due     90 days  
Single-family | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     $ 38,461 36,474
Single-family | 30 - 59 Days Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     4,835 4,426
Single-family | 60 - 89 Days Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     3,023 2,750
Single-family | Seriously Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     14,002 13,531
Single-family | Total Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     21,860 20,707
Single-family | Current | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     16,601 15,767
Single-family | 20- and 30-year or more, amortizing fixed-rate        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost 16,370 17,127 26,843 28,070
Single-family | 20- and 30-year or more, amortizing fixed-rate | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     37,056 35,065
Single-family | 20- and 30-year or more, amortizing fixed-rate | 30 - 59 Days Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     4,672 4,266
Single-family | 20- and 30-year or more, amortizing fixed-rate | 60 - 89 Days Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     2,919 2,647
Single-family | 20- and 30-year or more, amortizing fixed-rate | Seriously Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     13,529 12,994
Single-family | 20- and 30-year or more, amortizing fixed-rate | Total Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     21,120 19,907
Single-family | 20- and 30-year or more, amortizing fixed-rate | Current | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     15,936 15,158
Single-family | 15-year or less, amortizing fixed-rate        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost 412 480 687 762
Single-family | 15-year or less, amortizing fixed-rate | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     1,015 971
Single-family | 15-year or less, amortizing fixed-rate | 30 - 59 Days Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     112 101
Single-family | 15-year or less, amortizing fixed-rate | 60 - 89 Days Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     72 67
Single-family | 15-year or less, amortizing fixed-rate | Seriously Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     324 369
Single-family | 15-year or less, amortizing fixed-rate | Total Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     508 537
Single-family | 15-year or less, amortizing fixed-rate | Current | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     507 434
Single-family | Adjustable-rate        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost 69 60 96 98
Single-family | Adjustable-rate | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     124 116
Single-family | Adjustable-rate | 30 - 59 Days Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     12 13
Single-family | Adjustable-rate | 60 - 89 Days Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     9 7
Single-family | Adjustable-rate | Seriously Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     51 55
Single-family | Adjustable-rate | Total Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     72 75
Single-family | Adjustable-rate | Current | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     52 41
Single-family | Other        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost 114 137 190 242
Single-family | Other | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     266 322
Single-family | Other | 30 - 59 Days Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     39 46
Single-family | Other | 60 - 89 Days Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     23 29
Single-family | Other | Seriously Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     98 113
Single-family | Other | Total Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     160 188
Single-family | Other | Current | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     106 134
Multifamily        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost $ 462 $ 55 $ 468 650
Multifamily | Minimum        
Loans in Mortgage Portfolio [Line Items]        
Serious delinquency, days past due     60 days  
Multifamily | Maximum        
Loans in Mortgage Portfolio [Line Items]        
Serious delinquency, days past due     89 days  
Multifamily | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     $ 469 1,064
Multifamily | 30 - 59 Days Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     0 0
Multifamily | Seriously Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     35 569
Multifamily | Total Delinquent | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     35 569
Multifamily | Current | Forbearance and Repayment Plans and Trial Modification        
Loans in Mortgage Portfolio [Line Items]        
Restructured loans, amortized cost     $ 434 $ 495