v3.25.4
Fair Value - Valuation Inputs (Details) - USD ($)
$ in Millions
Dec. 31, 2025
Dec. 31, 2024
Fair Value Inputs, Quantitative Information [Line Items]    
Total available-for-sale securities $ 375 $ 469
Net derivatives 133 151
Total multifamily mortgage loans held for investment, at amortized cost 5,464 3,744
Recurring    
Fair Value Inputs, Quantitative Information [Line Items]    
Trading securities 69,514 78,728
Total available-for-sale securities 375 469
Total multifamily mortgage loans held for investment, at amortized cost 5,464 3,744
Total nonrecurring assets at fair value 75,530 83,120
Significant Unobservable Inputs (Level 3)    
Fair Value Inputs, Quantitative Information [Line Items]    
Trading securities 27 28
Total available-for-sale securities 341 427
Total mortgage loans held for sale, at lower of cost or fair value 201 258
Significant Unobservable Inputs (Level 3) | Recurring    
Fair Value Inputs, Quantitative Information [Line Items]    
Trading securities 27 28
Total available-for-sale securities 341 427
Total multifamily mortgage loans held for investment, at amortized cost 388 399
Total nonrecurring assets at fair value 828 908
Significant Unobservable Inputs (Level 3) | Recurring | Dealer Mark and Discounted Cash Flow    
Fair Value Inputs, Quantitative Information [Line Items]    
Net derivatives 65 39
Significant Unobservable Inputs (Level 3) | Nonrecurring    
Fair Value Inputs, Quantitative Information [Line Items]    
Total nonrecurring assets at fair value 2,902 2,497
Significant Unobservable Inputs (Level 3) | Nonrecurring | Single-Family    
Fair Value Inputs, Quantitative Information [Line Items]    
Acquired property, net: 402 368
Significant Unobservable Inputs (Level 3) | Nonrecurring | Multifamily    
Fair Value Inputs, Quantitative Information [Line Items]    
Total multifamily mortgage loans held for investment, at amortized cost 2,068 1,471
Significant Unobservable Inputs (Level 3) | Nonrecurring | Consensus    
Fair Value Inputs, Quantitative Information [Line Items]    
Total mortgage loans held for sale, at lower of cost or fair value 107 113
Significant Unobservable Inputs (Level 3) | Nonrecurring | Internal Model | Single-Family    
Fair Value Inputs, Quantitative Information [Line Items]    
Total multifamily mortgage loans held for investment, at amortized cost 221 267
Significant Unobservable Inputs (Level 3) | Nonrecurring | Internal Model | Multifamily    
Fair Value Inputs, Quantitative Information [Line Items]    
Total multifamily mortgage loans held for investment, at amortized cost 250 172
Significant Unobservable Inputs (Level 3) | Nonrecurring | Appraisal | Multifamily    
Fair Value Inputs, Quantitative Information [Line Items]    
Total multifamily mortgage loans held for investment, at amortized cost 231 448
Significant Unobservable Inputs (Level 3) | Nonrecurring | Broker Price Opinion | Multifamily    
Fair Value Inputs, Quantitative Information [Line Items]    
Total multifamily mortgage loans held for investment, at amortized cost 1,586 851
Acquired property, net: 104 278
Significant Unobservable Inputs (Level 3) | Nonrecurring | Accepted Offer and Appraisal | Single-Family    
Fair Value Inputs, Quantitative Information [Line Items]    
Acquired property, net: 139 74
Significant Unobservable Inputs (Level 3) | Nonrecurring | Internal Model and Walk Forward | Single-Family    
Fair Value Inputs, Quantitative Information [Line Items]    
Acquired property, net: 263 294
Significant Unobservable Inputs (Level 3) | Nonrecurring | Asset Manager Estimate | Multifamily    
Fair Value Inputs, Quantitative Information [Line Items]    
Total multifamily mortgage loans held for investment, at amortized cost 1 0
Mortgage-related securities | Recurring    
Fair Value Inputs, Quantitative Information [Line Items]    
Trading securities 14,291 1,098
Mortgage-related securities | Significant Unobservable Inputs (Level 3) | Recurring    
Fair Value Inputs, Quantitative Information [Line Items]    
Trading securities 27 28
Mortgage-related securities | Significant Unobservable Inputs (Level 3) | Recurring | Single Vendor    
Fair Value Inputs, Quantitative Information [Line Items]    
Trading securities 27 28
Agency | Significant Unobservable Inputs (Level 3) | Recurring    
Fair Value Inputs, Quantitative Information [Line Items]    
Total available-for-sale securities 276  
Agency | Significant Unobservable Inputs (Level 3) | Recurring | Consensus    
Fair Value Inputs, Quantitative Information [Line Items]    
Total available-for-sale securities   301
Other | Recurring    
Fair Value Inputs, Quantitative Information [Line Items]    
Total available-for-sale securities 67 130
Other | Significant Unobservable Inputs (Level 3) | Recurring    
Fair Value Inputs, Quantitative Information [Line Items]    
Total available-for-sale securities 65 126
Other | Significant Unobservable Inputs (Level 3) | Recurring | Primarily Discounted Cash Flow, Single Vendor, and Consensus    
Fair Value Inputs, Quantitative Information [Line Items]    
Total available-for-sale securities $ 65 $ 126