v3.26.1
Mortgage Loans - Loan Restructuring - Summary of Loans Restructured (Details) - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost $ 18,309 $ 21,036
Restructured loans, percent of total financing receivable (* less than) 0.50% 1.00%
Restructured loans, paid off, repurchased or sold during period $ 111 $ 169
Forbearance Plan    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 6,245 8,162
Payment Deferral    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 2,992 3,664
Trial Modification and Repayment Plans    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 6,018 6,408
Payment Delay and Term Extension    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 2,699 2,634
Payment Delay, Term Extension, Interest Rate Reduction, and Other    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 355 168
Single-family    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost $ 18,298 $ 20,402
Restructured loans, percent of total financing receivable (* less than) 1.00% 1.00%
Single-family | Forbearance Plan    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost $ 6,234 $ 7,550
Single-family | Payment Deferral    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 2,992 3,664
Single-family | Trial Modification and Repayment Plans    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 6,018 6,408
Single-family | Payment Delay and Term Extension    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 2,699 2,634
Single-family | Payment Delay, Term Extension, Interest Rate Reduction, and Other    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 355 146
Single-family | 20- and 30-year or more, amortizing fixed-rate    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost $ 17,635 $ 19,618
Restructured loans, percent of total financing receivable (* less than) 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 $ 5,979 $ 7,211
Single-family | 20- and 30-year or more, amortizing fixed-rate | Payment Deferral    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 2,884 3,502
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 5,799 6,158
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 2,626 2,611
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 347 136
Single-family | 15-year or less, amortizing fixed-rate    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost $ 477 $ 546
Restructured loans, percent of total financing receivable (* less than) 0.50% 0.50%
Single-family | 15-year or less, amortizing fixed-rate | Forbearance Plan    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost $ 186 $ 254
Single-family | 15-year or less, amortizing fixed-rate | Payment Deferral    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 75 119
Single-family | 15-year or less, amortizing fixed-rate | Trial Modification and Repayment Plans    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 157 169
Single-family | 15-year or less, amortizing fixed-rate | Payment Delay and Term Extension    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 57 4
Single-family | 15-year or less, amortizing fixed-rate | Payment Delay, Term Extension, Interest Rate Reduction, and Other    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 2 0
Single-family | Adjustable-rate    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost $ 68 $ 76
Restructured loans, percent of total financing receivable (* less than) 0.50% 0.50%
Single-family | Adjustable-rate | Forbearance Plan    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost $ 40 $ 42
Single-family | Adjustable-rate | Payment Deferral    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 9 11
Single-family | Adjustable-rate | Trial Modification and Repayment Plans    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 18 21
Single-family | Adjustable-rate | Payment Delay and Term Extension    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 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 1 2
Single-family | Other    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost $ 118 $ 162
Restructured loans, percent of total financing receivable (* less than) 1.00% 1.00%
Single-family | Other | Forbearance Plan    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost $ 29 $ 43
Single-family | Other | Payment Deferral    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 24 32
Single-family | Other | Trial Modification and Repayment Plans    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 44 60
Single-family | Other | Payment Delay and Term Extension    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 16 19
Single-family | Other | Payment Delay, Term Extension, Interest Rate Reduction, and Other    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 5 8
Multifamily    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost $ 11 $ 634
Restructured loans, percent of total financing receivable (* less than) 0.50% 0.50%
Multifamily | Forbearance Plan    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost $ 11 $ 612
Multifamily | Payment Deferral    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 0 0
Multifamily | Trial Modification and Repayment Plans    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 0 0
Multifamily | Payment Delay and Term Extension    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost 0 0
Multifamily | Payment Delay, Term Extension, Interest Rate Reduction, and Other    
Loans in Mortgage Portfolio [Line Items]    
Restructured loans, amortized cost $ 0 $ 22