v3.25.4
Mortgage Loans - Loan Restructuring - Summary of Loans Restructured (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2025
Dec. 31, 2024
Dec. 31, 2023
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost $ 45,768 $ 42,625 $ 39,289
Restructured loans, percent of total financing receivable (* less than) 1.00% 1.00% 1.00%
Restructured loans, paid off, repurchased or sold during period $ 2,000 $ 1,700 $ 1,800
Forbearance Plan      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 12,819 12,297 12,154
Payment Deferral      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 10,771 11,288 11,246
Trial Modification and Repayment Plans      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 10,023 8,880 7,588
Payment Delay and Term Extension      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 11,188 8,830 6,845
Payment Delay, Term Extension, Interest Rate Reduction and Other      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 967 1,330 1,456
Single-family      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost $ 45,037 $ 41,355 $ 37,735
Restructured loans, percent of total financing receivable (* less than) 1.00% 1.00% 1.00%
Single-family | Forbearance Plan      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost $ 12,184 $ 12,146 $ 11,592
Single-family | Payment Deferral      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 10,771 11,288 11,246
Single-family | Trial Modification and Repayment Plans      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 10,023 8,880 7,588
Single-family | Payment Delay and Term Extension      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 11,188 8,830 6,845
Single-family | Payment Delay, Term Extension, Interest Rate Reduction and Other      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 871 211 464
Single-family | 20- and 30-year or more, amortizing fixed-rate      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost $ 43,379 $ 39,719 $ 35,842
Restructured loans, percent of total financing receivable (* less than) 1.00% 1.00% 1.00%
Single-family | 20- and 30-year or more, amortizing fixed-rate | Forbearance Plan      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost $ 11,621 $ 11,545 $ 10,935
Single-family | 20- and 30-year or more, amortizing fixed-rate | Payment Deferral      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 10,333 10,786 10,653
Single-family | 20- and 30-year or more, amortizing fixed-rate | Trial Modification and Repayment Plans      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 9,609 8,473 7,146
Single-family | 20- and 30-year or more, amortizing fixed-rate | Payment Delay and Term Extension      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 10,982 8,750 6,728
Single-family | 20- and 30-year or more, amortizing fixed-rate | Payment Delay, Term Extension, Interest Rate Reduction and Other      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 834 165 380
Single-family | 15-year or less, amortizing fixed-rate (less than)      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost $ 1,165 $ 1,099 $ 1,169
Restructured loans, percent of total financing receivable (* less than) 0.50% 0.50% 0.50%
Single-family | 15-year or less, amortizing fixed-rate (less than) | Forbearance Plan      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost $ 434 $ 476 $ 472
Single-family | 15-year or less, amortizing fixed-rate (less than) | Payment Deferral      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 311 342 421
Single-family | 15-year or less, amortizing fixed-rate (less than) | Trial Modification and Repayment Plans      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 279 276 273
Single-family | 15-year or less, amortizing fixed-rate (less than) | Payment Delay and Term Extension      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 136 4 2
Single-family | 15-year or less, amortizing fixed-rate (less than) | Payment Delay, Term Extension, Interest Rate Reduction and Other      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 5 1 1
Single-family | Adjustable-rate      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 141 $ 133 $ 137
Restructured loans, percent of total financing receivable (* less than)   1.00% 1.00%
Single-family | Adjustable-rate | Forbearance Plan      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 68 $ 58 $ 65
Single-family | Adjustable-rate | Payment Deferral      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 31 38 36
Single-family | Adjustable-rate | Trial Modification and Repayment Plans      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 35 29 27
Single-family | Adjustable-rate | Payment Delay and Term Extension      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 0 0 0
Single-family | Adjustable-rate | Payment Delay, Term Extension, Interest Rate Reduction and Other      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 7 8 9
Single-family | Other      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost $ 352 $ 404 $ 587
Restructured loans, percent of total financing receivable (* less than) 2.00% 2.00% 2.00%
Single-family | Other | Forbearance Plan      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost $ 61 $ 67 $ 120
Single-family | Other | Payment Deferral      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 96 122 136
Single-family | Other | Trial Modification and Repayment Plans      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 100 102 142
Single-family | Other | Payment Delay and Term Extension      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 70 76 115
Single-family | Other | Payment Delay, Term Extension, Interest Rate Reduction and Other      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 25 37 74
Multifamily (less than)      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost $ 731 $ 1,270 1,554
Restructured loans, percent of total financing receivable (* less than) 0.50% 0.50%  
Multifamily (less than) | Forbearance Plan      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost $ 635 $ 151 562
Multifamily (less than) | Payment Deferral      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 0 0 0
Multifamily (less than) | Trial Modification and Repayment Plans      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 0 0 0
Multifamily (less than) | Payment Delay and Term Extension      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost 0 0 0
Multifamily (less than) | Payment Delay, Term Extension, Interest Rate Reduction and Other      
Loans in Mortgage Portfolio [Line Items]      
Restructured loans, amortized cost $ 96 $ 1,119 $ 992