v3.25.2
Mortgage Loans - Single-Family Loan Restructurings Involving Borrowers Experiencing Financial Difficulty (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2025
Jun. 30, 2024
financing receivable, loan restructuring [Line Items]        
Amortized cost basis of SF HFI loans in trial period modification plans $ 3,200 $ 2,000 $ 3,200 $ 2,000
Single family        
financing receivable, loan restructuring [Line Items]        
Financing Receivable, Excluding Accrued Interest, Modified in Period, Amount $ 8,371 $ 6,661 $ 16,400 $ 12,781
Financing Receivable, Excluding Accrued Interest, Modified in Period, to Total Financing Receivables, Percentage 0.30% 0.20% 0.50% 0.40%
Amortized cost basis of loans in payment deferral plans $ 2,200 $ 2,100 $ 4,900 $ 4,600
20- and 30-year or more, amortizing fixed-rate        
financing receivable, loan restructuring [Line Items]        
Financing Receivable, Excluding Accrued Interest, Modified in Period, Amount $ 8,137 $ 6,417 $ 15,898 $ 12,301
Financing Receivable, Excluding Accrued Interest, Modified in Period, to Total Financing Receivables, Percentage 0.30% 0.20% 0.60% 0.50%
15-year or less, amortizing fixed-rate        
financing receivable, loan restructuring [Line Items]        
Financing Receivable, Excluding Accrued Interest, Modified in Period, Amount $ 178 $ 192 $ 391 $ 378
Financing Receivable, Excluding Accrued Interest, Modified in Period, to Total Financing Receivables, Percentage 0.10% 0.10% 0.10% 0.10%
Adjustable-rate and other        
financing receivable, loan restructuring [Line Items]        
Financing Receivable, Excluding Accrued Interest, Modified in Period, Amount $ 56 $ 52 $ 111 $ 102
Financing Receivable, Excluding Accrued Interest, Modified in Period, to Total Financing Receivables, Percentage 0.20% 0.20% 0.40% 0.40%
payment delay [Member] | Single family        
financing receivable, loan restructuring [Line Items]        
Financing Receivable, Excluding Accrued Interest, Modified in Period, Amount $ 5,741 $ 5,065 $ 12,035 $ 9,920
payment delay [Member] | 20- and 30-year or more, amortizing fixed-rate        
financing receivable, loan restructuring [Line Items]        
Financing Receivable, Excluding Accrued Interest, Modified in Period, Amount 5,515 4,824 11,545 9,447
payment delay [Member] | 15-year or less, amortizing fixed-rate        
financing receivable, loan restructuring [Line Items]        
Financing Receivable, Excluding Accrued Interest, Modified in Period, Amount 177 192 390 378
payment delay [Member] | Adjustable-rate and other        
financing receivable, loan restructuring [Line Items]        
Financing Receivable, Excluding Accrued Interest, Modified in Period, Amount 49 49 100 95
payment delay and term extension [Member] | Single family        
financing receivable, loan restructuring [Line Items]        
Financing Receivable, Excluding Accrued Interest, Modified in Period, Amount 2,365 1,583 3,979 2,841
payment delay and term extension [Member] | 20- and 30-year or more, amortizing fixed-rate        
financing receivable, loan restructuring [Line Items]        
Financing Receivable, Excluding Accrued Interest, Modified in Period, Amount 2,358 1,580 3,969 2,835
payment delay and term extension [Member] | 15-year or less, amortizing fixed-rate        
financing receivable, loan restructuring [Line Items]        
Financing Receivable, Excluding Accrued Interest, Modified in Period, Amount 1 0 1 0
payment delay and term extension [Member] | Adjustable-rate and other        
financing receivable, loan restructuring [Line Items]        
Financing Receivable, Excluding Accrued Interest, Modified in Period, Amount 6 3 9 6
payment delay, interest rate reduction, and term extension [Member] | Single family        
financing receivable, loan restructuring [Line Items]        
Financing Receivable, Excluding Accrued Interest, Modified in Period, Amount 265 13 386 20
payment delay, interest rate reduction, and term extension [Member] | 20- and 30-year or more, amortizing fixed-rate        
financing receivable, loan restructuring [Line Items]        
Financing Receivable, Excluding Accrued Interest, Modified in Period, Amount 264 13 384 19
payment delay, interest rate reduction, and term extension [Member] | 15-year or less, amortizing fixed-rate        
financing receivable, loan restructuring [Line Items]        
Financing Receivable, Excluding Accrued Interest, Modified in Period, Amount 0 0 0 0
payment delay, interest rate reduction, and term extension [Member] | Adjustable-rate and other        
financing receivable, loan restructuring [Line Items]        
Financing Receivable, Excluding Accrued Interest, Modified in Period, Amount $ 1 $ 0 $ 2 $ 1