v3.25.3
Debt - Debt of Consolidated Trusts (Details) - USD ($)
$ in Millions
Sep. 30, 2025
Dec. 31, 2024
Debt Instrument [Line Items]    
Carrying Amount $ 3,379,073 $ 3,304,949
Debt instrument recorded at fair value 5,697 2,339
Held by consolidated trusts    
Debt Instrument [Line Items]    
UPB 3,140,508 3,085,981
Carrying Amount 3,175,464 3,122,941
Debt instrument recorded at fair value $ 5,500 $ 2,000
Effective rate for debt securities of consolidated trusts held by third parties 3.18% 3.01%
Held by consolidated trusts | Single-family    
Debt Instrument [Line Items]    
UPB $ 3,046,133 $ 3,015,851
Carrying Amount 3,082,587 3,054,156
Held by consolidated trusts | Multifamily    
Debt Instrument [Line Items]    
UPB 94,375 70,130
Carrying Amount $ 92,877 $ 68,785
Weighted Average Coupon 3.79% 3.58%
Held by consolidated trusts | Single-family 20- and 30-year or more, fixed-rate | Single-family    
Debt Instrument [Line Items]    
UPB $ 2,749,270 $ 2,701,936
Carrying Amount $ 2,782,307 $ 2,736,057
Weighted Average Coupon 3.52% 3.34%
Held by consolidated trusts | Single-family 15-year or less, fixed-rate | Single-family    
Debt Instrument [Line Items]    
UPB $ 271,006 $ 291,054
Carrying Amount $ 274,170 $ 294,875
Weighted Average Coupon 2.44% 2.30%
Held by consolidated trusts | Adjustable-rate and other | Single-family    
Debt Instrument [Line Items]    
UPB $ 25,857 $ 22,861
Carrying Amount $ 26,110 $ 23,224
Weighted Average Coupon 4.45% 4.42%