v3.25.2
Securitization Activities and Consolidation - Non-Consolidated VIEs (Details) - USD ($)
$ in Millions
Jun. 30, 2025
Dec. 31, 2024
Assets [Abstract]    
Investment securities, at fair value $ 82,850 $ 55,771
Other Assets 23,850 21,333
Assets 3,436,280 3,386,692
Assets in VIE in which we do not have a variable interest in 900 700
Liabilities [Abstract]    
Other Liabilities 11,969 12,346
Variable Interest Entity, Not Primary Beneficiary    
Assets [Abstract]    
Investment securities, at fair value 12,854 12,055
Other Assets 5,671 5,522
Assets 510,042 518,307
Maximum Exposure to Loss 441,380 446,702
Liabilities [Abstract]    
Other Liabilities 5,449 5,724
Variable Interest Entity, Not Primary Beneficiary | Other    
Assets [Abstract]    
Investment securities, at fair value 0 0
Other Assets 7 7
Assets 69 79
Maximum Exposure to Loss 469 472
Liabilities [Abstract]    
Other Liabilities 5 5
Variable Interest Entity, Not Primary Beneficiary | Single Family Guarantee Segment    
Assets [Abstract]    
Investment securities, at fair value 7,164 6,792
Other Assets 332 315
Assets 156,682 161,382
Maximum Exposure to Loss 125,527 128,597
Liabilities [Abstract]    
Other Liabilities 1,263 1,330
Variable Interest Entity, Not Primary Beneficiary | Single Family Guarantee Segment | Securitization products    
Assets [Abstract]    
Investment securities, at fair value 1,664 1,633
Other Assets 164 157
Assets 30,048 30,038
Maximum Exposure to Loss 24,551 24,470
Liabilities [Abstract]    
Other Liabilities 478 458
Variable Interest Entity, Not Primary Beneficiary | Single Family Guarantee Segment | Guarantees of Fannie Mae securities    
Assets [Abstract]    
Investment securities, at fair value 5,500 5,159
Other Assets 73 69
Assets 100,969 104,120
Maximum Exposure to Loss 100,969 104,120
Liabilities [Abstract]    
Other Liabilities 626 701
Variable Interest Entity, Not Primary Beneficiary | Single Family Guarantee Segment | CRT products    
Assets [Abstract]    
Investment securities, at fair value 0 0
Other Assets 95 89
Assets 25,665 27,224
Maximum Exposure to Loss 7 7
Liabilities [Abstract]    
Other Liabilities 159 171
Variable Interest Entity, Not Primary Beneficiary | Multifamily    
Assets [Abstract]    
Investment securities, at fair value 5,690 5,263
Other Assets 5,332 5,200
Assets 353,291 356,846
Maximum Exposure to Loss 315,384 317,633
Liabilities [Abstract]    
Other Liabilities 4,181 4,389
Variable Interest Entity, Not Primary Beneficiary | Multifamily | Securitization products    
Assets [Abstract]    
Investment securities, at fair value 5,690 5,263
Other Assets 5,301 5,171
Assets 351,323 355,108
Maximum Exposure to Loss 315,362 317,611
Liabilities [Abstract]    
Other Liabilities 4,163 4,374
Variable Interest Entity, Not Primary Beneficiary | Multifamily | CRT products    
Assets [Abstract]    
Investment securities, at fair value 0 0
Other Assets 31 29
Assets 1,968 1,738
Maximum Exposure to Loss 22 22
Liabilities [Abstract]    
Other Liabilities $ 18 $ 15