v3.25.2
Mortgage Loans - Amortized Cost Basis of Single-Family Held-for-Investment Loans by Current LTV Ratios and Vintage (Details) - USD ($)
$ in Millions
6 Months Ended 12 Months Ended
Jun. 30, 2025
Dec. 31, 2024
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year, year-to-date write-offs $ 0 $ 1
Fiscal year before current fiscal year, year-to-date write-offs 6 10
Two years before current fiscal Year, year-to-date write-offs 16 41
Three years before current fiscal year, year-to-date write-offs 35 47
Four years before current fiscal year, year-to-date write-offs 32 36
More than five years before current fiscal Year, year-to-date write-offs 141 225
Financing Receivable, before Allowance for Credit Loss 3,210,575 3,177,386
Total current-period year-to-date gross write-offs 230 360
20- and 30-year or more, amortizing fixed-rate    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 124,249 296,160
Current fiscal year, year-to-date write-offs 0 1
One year before current fiscal year 309,522 239,808
Fiscal year before current fiscal year, year-to-date write-offs 6 10
Two years before current fiscal year 224,969 362,827
Two years before current fiscal Year, year-to-date write-offs 16 40
Three years before current fiscal year 348,142 803,546
Three years before current fiscal year, year-to-date write-offs 35 45
Four years before current fiscal year 776,215 594,070
Four years before current fiscal year, year-to-date write-offs 31 35
Five years before current fiscal year 1,024,801 475,359
More than five years before current fiscal Year, year-to-date write-offs 139 222
Financing Receivable, before Allowance for Credit Loss 2,807,898 2,771,770
Total current-period year-to-date gross write-offs 227 353
15-year or less, amortizing fixed-rate    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 8,508 12,225
Current fiscal year, year-to-date write-offs 0 0
One year before current fiscal year 12,534 7,722
Fiscal year before current fiscal year, year-to-date write-offs 0 0
Two years before current fiscal year 6,872 25,407
Two years before current fiscal Year, year-to-date write-offs 0 1
Three years before current fiscal year 23,574 111,028
Three years before current fiscal year, year-to-date write-offs 0 1
Four years before current fiscal year 103,686 85,706
Four years before current fiscal year, year-to-date write-offs 1 1
Five years before current fiscal year 124,451 52,312
More than five years before current fiscal Year, year-to-date write-offs 1 2
Financing Receivable, before Allowance for Credit Loss 279,625 294,400
Total current-period year-to-date gross write-offs 2 5
Adjustable-rate and other    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 2,684 2,156
Current fiscal year, year-to-date write-offs 0 0
One year before current fiscal year 2,199 2,665
Fiscal year before current fiscal year, year-to-date write-offs 0 0
Two years before current fiscal year 2,528 5,140
Two years before current fiscal Year, year-to-date write-offs 0 0
Three years before current fiscal year 4,896 4,035
Three years before current fiscal year, year-to-date write-offs 0 1
Four years before current fiscal year 3,832 1,388
Four years before current fiscal year, year-to-date write-offs 0 0
Five years before current fiscal year 11,607 11,278
More than five years before current fiscal Year, year-to-date write-offs 1 1
Financing Receivable, before Allowance for Credit Loss 27,746 26,662
Total current-period year-to-date gross write-offs 1 2
Single family    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 135,441 310,541
One year before current fiscal year 324,255 250,195
Two years before current fiscal year 234,369 393,374
Three years before current fiscal year 376,612 918,609
Four years before current fiscal year 883,733 681,164
Five years before current fiscal year 1,160,859 538,949
Financing Receivable, before Allowance for Credit Loss 3,115,269 3,092,832
CLTV ratio less than or equal to 60 percent | 20- and 30-year or more, amortizing fixed-rate    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 17,792 47,642
One year before current fiscal year 50,330 42,978
Two years before current fiscal year 41,115 109,174
Three years before current fiscal year 110,228 566,114
Four years before current fiscal year 559,603 544,209
Five years before current fiscal year 973,171 465,059
Financing Receivable, before Allowance for Credit Loss 1,752,239 1,775,176
CLTV ratio less than or equal to 60 percent | 15-year or less, amortizing fixed-rate    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 3,619 5,664
One year before current fiscal year 6,201 4,353
Two years before current fiscal year 4,156 21,308
Three years before current fiscal year 20,655 110,094
Four years before current fiscal year 103,125 85,662
Five years before current fiscal year 124,416 52,305
Financing Receivable, before Allowance for Credit Loss 262,172 279,386
CLTV ratio less than or equal to 60 percent | Adjustable-rate and other    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 545 384
One year before current fiscal year 385 438
Two years before current fiscal year 424 1,793
Three years before current fiscal year 1,745 3,355
Four years before current fiscal year 3,239 1,338
Five years before current fiscal year 11,416 11,123
Financing Receivable, before Allowance for Credit Loss 17,754 18,431
CLTV ratio less than or equal to 60 percent | Single family    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 21,956 53,690
One year before current fiscal year 56,916 47,769
Two years before current fiscal year 45,695 132,275
Three years before current fiscal year 132,628 679,563
Four years before current fiscal year 665,967 631,209
Five years before current fiscal year 1,109,003 528,487
Financing Receivable, before Allowance for Credit Loss 2,032,165 2,072,993
CLTV ratio greater than 60 to 80 percent | 20- and 30-year or more, amortizing fixed-rate    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 43,581 125,634
One year before current fiscal year 120,285 106,407
Two years before current fiscal year 101,625 182,774
Three years before current fiscal year 173,411 225,774
Four years before current fiscal year 204,081 48,905
Five years before current fiscal year 50,076 9,859
Financing Receivable, before Allowance for Credit Loss 693,059 699,353
CLTV ratio greater than 60 to 80 percent | 15-year or less, amortizing fixed-rate    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 3,467 5,326
One year before current fiscal year 5,150 3,012
Two years before current fiscal year 2,483 3,986
Three years before current fiscal year 2,825 927
Four years before current fiscal year 556 44
Five years before current fiscal year 35 7
Financing Receivable, before Allowance for Credit Loss 14,516 13,302
CLTV ratio greater than 60 to 80 percent | Adjustable-rate and other    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 1,199 1,065
One year before current fiscal year 1,006 1,309
Two years before current fiscal year 1,236 2,457
Three years before current fiscal year 2,319 661
Four years before current fiscal year 569 49
Five years before current fiscal year 174 139
Financing Receivable, before Allowance for Credit Loss 6,503 5,680
CLTV ratio greater than 60 to 80 percent | Single family    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 48,247 132,025
One year before current fiscal year 126,441 110,728
Two years before current fiscal year 105,344 189,217
Three years before current fiscal year 178,555 227,362
Four years before current fiscal year 205,206 48,998
Five years before current fiscal year 50,285 10,005
Financing Receivable, before Allowance for Credit Loss 714,078 718,335
CLTV ratio greater than 80 to 90 Percent | 20- and 30-year or more, amortizing fixed-rate    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 26,615 52,612
One year before current fiscal year 68,035 69,714
Two years before current fiscal year 60,013 61,282
Three years before current fiscal year 51,254 10,650
Four years before current fiscal year 11,043 813
Five years before current fiscal year 1,211 311
Financing Receivable, before Allowance for Credit Loss 218,171 195,382
CLTV ratio greater than 80 to 90 Percent | 15-year or less, amortizing fixed-rate    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 953 856
One year before current fiscal year 926 338
Two years before current fiscal year 215 103
Three years before current fiscal year 85 7
Four years before current fiscal year 5 0
Five years before current fiscal year 0 0
Financing Receivable, before Allowance for Credit Loss 2,184 1,304
CLTV ratio greater than 80 to 90 Percent | Adjustable-rate and other    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 582 466
One year before current fiscal year 530 766
Two years before current fiscal year 682 767
Three years before current fiscal year 665 17
Four years before current fiscal year 21 1
Five years before current fiscal year 11 12
Financing Receivable, before Allowance for Credit Loss 2,491 2,029
CLTV ratio greater than 80 to 90 Percent | Single family    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 28,150 53,934
One year before current fiscal year 69,491 70,818
Two years before current fiscal year 60,910 62,152
Three years before current fiscal year 52,004 10,674
Four years before current fiscal year 11,069 814
Five years before current fiscal year 1,222 323
Financing Receivable, before Allowance for Credit Loss 222,846 198,715
CLTV ratio greater than 90 to 100 percent | 20- and 30-year or more, amortizing fixed-rate    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 36,114 70,104
One year before current fiscal year 69,364 20,274
Two years before current fiscal year 20,832 8,820
Three years before current fiscal year 11,832 949
Four years before current fiscal year 1,375 124
Five years before current fiscal year 259 74
Financing Receivable, before Allowance for Credit Loss 139,776 100,345
CLTV ratio greater than 90 to 100 percent | 15-year or less, amortizing fixed-rate    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 465 377
One year before current fiscal year 255 19
Two years before current fiscal year 17 10
Three years before current fiscal year 9 0
Four years before current fiscal year 0 0
Five years before current fiscal year 0 0
Financing Receivable, before Allowance for Credit Loss 746 406
CLTV ratio greater than 90 to 100 percent | Adjustable-rate and other    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 358 241
One year before current fiscal year 277 150
Two years before current fiscal year 174 112
Three years before current fiscal year 148 2
Four years before current fiscal year 3 0
Five years before current fiscal year 4 3
Financing Receivable, before Allowance for Credit Loss 964 508
CLTV ratio greater than 90 to 100 percent | Single family    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 36,937 70,722
One year before current fiscal year 69,896 20,443
Two years before current fiscal year 21,023 8,942
Three years before current fiscal year 11,989 951
Four years before current fiscal year 1,378 124
Five years before current fiscal year 263 77
Financing Receivable, before Allowance for Credit Loss 141,486 101,259
CLTV ratio greater than 100 percent | 20- and 30-year or more, amortizing fixed-rate    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 147 168
One year before current fiscal year 1,508 435
Two years before current fiscal year 1,384 777
Three years before current fiscal year 1,417 59
Four years before current fiscal year 113 19
Five years before current fiscal year 84 56
Financing Receivable, before Allowance for Credit Loss 4,653 1,514
CLTV ratio greater than 100 percent | 15-year or less, amortizing fixed-rate    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 4 2
One year before current fiscal year 2 0
Two years before current fiscal year 1 0
Three years before current fiscal year 0 0
Four years before current fiscal year 0 0
Five years before current fiscal year 0 0
Financing Receivable, before Allowance for Credit Loss 7 2
CLTV ratio greater than 100 percent | Adjustable-rate and other    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 0 0
One year before current fiscal year 1 2
Two years before current fiscal year 12 11
Three years before current fiscal year 19 0
Four years before current fiscal year 0 0
Five years before current fiscal year 2 1
Financing Receivable, before Allowance for Credit Loss 34 14
CLTV ratio greater than 100 percent | Single family    
Financing Receivable, Credit Quality Indicator [Line Items]    
Current fiscal year 151 170
One year before current fiscal year 1,511 437
Two years before current fiscal year 1,397 788
Three years before current fiscal year 1,436 59
Four years before current fiscal year 113 19
Five years before current fiscal year 86 57
Financing Receivable, before Allowance for Credit Loss $ 4,694 $ 1,530