v3.26.1
Mortgage Loans - Credit Quality Indicators - SF (Details) - Single-family - USD ($)
$ in Millions
6 Months Ended 12 Months Ended
Jun. 30, 2026
Dec. 31, 2025
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year $ 171,164 $ 292,985
One fiscal year before 301,889 270,785
Two fiscal years before 242,240 223,567
Three fiscal years before 199,675 409,856
Four fiscal years before 389,403 940,304
Prior 2,292,651 1,468,991
Total mortgage loans 3,597,022 3,606,488
Financing Receivable, Allowance for Credit Loss, Writeoff, by Origination Year [Abstract]    
Current fiscal year, writeoff 0 5
One fiscal year, writeoff 25 57
Two fiscal years, writeoff 44 94
Three fiscal years, writeoff 48 180
Four fiscal years, writeoff 89 107
Prior 153 280
Total writeoff 359 723
Less than or equal to 80%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 106,847 163,343
One fiscal year before 187,325 160,536
Two fiscal years before 154,934 149,624
Three fiscal years before 144,098 337,271
Four fiscal years before 333,209 922,745
Prior 2,277,446 1,465,398
Total mortgage loans 3,203,859 3,198,917
Greater than 80% and less than or equal to 90%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 26,341 57,484
One fiscal year before 62,136 63,333
Two fiscal years before 60,166 52,872
Three fiscal years before 41,480 53,845
Four fiscal years before 42,490 14,886
Prior 12,560 2,839
Total mortgage loans 245,173 245,259
Greater than 90% and less than or equal to 100%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 37,976 71,589
One fiscal year before 51,952 44,876
Two fiscal years before 25,517 18,732
Three fiscal years before 12,101 15,552
Four fiscal years before 10,891 2,193
Prior 2,067 539
Total mortgage loans 140,504 153,481
Greater than 100%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 0 569
One fiscal year before 476 2,040
Two fiscal years before 1,623 2,339
Three fiscal years before 1,996 3,188
Four fiscal years before 2,813 480
Prior 578 215
Total mortgage loans 7,486 8,831
20- and 30-year or more, amortizing fixed-rate    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 152,917 270,116
One fiscal year before 278,211 261,486
Two fiscal years before 234,131 216,159
Three fiscal years before 193,112 378,287
Four fiscal years before 360,204 809,560
Prior 2,025,255 1,304,902
Total mortgage loans 3,243,830 3,240,510
Financing Receivable, Allowance for Credit Loss, Writeoff, by Origination Year [Abstract]    
Current fiscal year, writeoff 0 5
One fiscal year, writeoff 25 56
Two fiscal years, writeoff 43 92
Three fiscal years, writeoff 47 176
Four fiscal years, writeoff 88 106
Prior 146 242
Total writeoff 349 677
20- and 30-year or more, amortizing fixed-rate | Less than or equal to 80%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 92,004 145,040
One fiscal year before 167,369 152,418
Two fiscal years before 147,625 142,942
Three fiscal years before 138,053 306,573
Four fiscal years before 304,683 792,049
Prior 2,010,162 1,301,401
Total mortgage loans 2,859,896 2,840,423
20- and 30-year or more, amortizing fixed-rate | Greater than 80% and less than or equal to 90%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 24,181 54,527
One fiscal year before 59,456 62,451
Two fiscal years before 59,523 52,313
Three fiscal years before 41,093 53,203
Four fiscal years before 41,988 14,848
Prior 12,491 2,790
Total mortgage loans 238,732 240,132
20- and 30-year or more, amortizing fixed-rate | Greater than 90% and less than or equal to 100%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 36,732 69,983
One fiscal year before 50,913 44,582
Two fiscal years before 25,370 18,590
Three fiscal years before 11,993 15,374
Four fiscal years before 10,762 2,184
Prior 2,044 517
Total mortgage loans 137,814 151,230
20- and 30-year or more, amortizing fixed-rate | Greater than 100%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 0 566
One fiscal year before 473 2,035
Two fiscal years before 1,613 2,314
Three fiscal years before 1,973 3,137
Four fiscal years before 2,771 479
Prior 558 194
Total mortgage loans 7,388 8,725
15-year or less, amortizing fixed-rate    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 11,366 15,837
One fiscal year before 15,911 7,324
Two fiscal years before 6,352 5,288
Three fiscal years before 4,639 26,837
Four fiscal years before 24,763 125,843
Prior 241,858 141,455
Total mortgage loans 304,889 322,584
Financing Receivable, Allowance for Credit Loss, Writeoff, by Origination Year [Abstract]    
Current fiscal year, writeoff 0 0
One fiscal year, writeoff 0 1
Two fiscal years, writeoff 1 1
Three fiscal years, writeoff 1 3
Four fiscal years, writeoff 1 1
Prior 2 3
Total writeoff 5 9
15-year or less, amortizing fixed-rate | Less than or equal to 80%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 9,939 13,753
One fiscal year before 14,424 6,794
Two fiscal years before 6,058 5,149
Three fiscal years before 4,578 26,742
Four fiscal years before 24,709 125,837
Prior 241,855 141,455
Total mortgage loans 301,563 319,730
15-year or less, amortizing fixed-rate | Greater than 80% and less than or equal to 90%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 955 1,464
One fiscal year before 1,216 440
Two fiscal years before 265 127
Three fiscal years before 56 82
Four fiscal years before 47 6
Prior 3 0
Total mortgage loans 2,542 2,119
15-year or less, amortizing fixed-rate | Greater than 90% and less than or equal to 100%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 472 619
One fiscal year before 270 88
Two fiscal years before 28 11
Three fiscal years before 4 13
Four fiscal years before 7 0
Prior 0 0
Total mortgage loans 781 731
15-year or less, amortizing fixed-rate | Greater than 100%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 0 1
One fiscal year before 1 2
Two fiscal years before 1 1
Three fiscal years before 1 0
Four fiscal years before 0 0
Prior 0 0
Total mortgage loans 3 4
Adjustable-rate    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 6,881 7,032
One fiscal year before 7,767 1,975
Two fiscal years before 1,757 2,120
Three fiscal years before 1,924 4,732
Four fiscal years before 4,436 4,901
Prior 11,733 7,846
Total mortgage loans 34,498 28,606
Financing Receivable, Allowance for Credit Loss, Writeoff, by Origination Year [Abstract]    
Current fiscal year, writeoff 0 0
One fiscal year, writeoff 0 0
Two fiscal years, writeoff 0 1
Three fiscal years, writeoff 0 1
Four fiscal years, writeoff 0 0
Prior 1 0
Total writeoff 1 2
Adjustable-rate | Less than or equal to 80%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 4,904 4,550
One fiscal year before 5,532 1,324
Two fiscal years before 1,251 1,533
Three fiscal years before 1,467 3,956
Four fiscal years before 3,817 4,859
Prior 11,697 7,841
Total mortgage loans 28,668 24,063
Adjustable-rate | Greater than 80% and less than or equal to 90%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 1,205 1,493
One fiscal year before 1,464 442
Two fiscal years before 378 432
Three fiscal years before 331 560
Four fiscal years before 455 32
Prior 27 4
Total mortgage loans 3,860 2,963
Adjustable-rate | Greater than 90% and less than or equal to 100%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 772 987
One fiscal year before 769 206
Two fiscal years before 119 131
Three fiscal years before 104 165
Four fiscal years before 122 9
Prior 7 1
Total mortgage loans 1,893 1,499
Adjustable-rate | Greater than 100%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 0 2
One fiscal year before 2 3
Two fiscal years before 9 24
Three fiscal years before 22 51
Four fiscal years before 42 1
Prior 2 0
Total mortgage loans 77 81
Other    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 0 0
One fiscal year before 0 0
Two fiscal years before 0 0
Three fiscal years before 0 0
Four fiscal years before 0 0
Prior 13,805 14,788
Total mortgage loans 13,805 14,788
Financing Receivable, Allowance for Credit Loss, Writeoff, by Origination Year [Abstract]    
Current fiscal year, writeoff 0 0
One fiscal year, writeoff 0 0
Two fiscal years, writeoff 0 0
Three fiscal years, writeoff 0 0
Four fiscal years, writeoff 0 0
Prior 4 35
Total writeoff 4 35
Other | Less than or equal to 80%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 0 0
One fiscal year before 0 0
Two fiscal years before 0 0
Three fiscal years before 0 0
Four fiscal years before 0 0
Prior 13,732 14,701
Total mortgage loans 13,732 14,701
Other | Greater than 80% and less than or equal to 90%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 0 0
One fiscal year before 0 0
Two fiscal years before 0 0
Three fiscal years before 0 0
Four fiscal years before 0 0
Prior 39 45
Total mortgage loans 39 45
Other | Greater than 90% and less than or equal to 100%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 0 0
One fiscal year before 0 0
Two fiscal years before 0 0
Three fiscal years before 0 0
Four fiscal years before 0 0
Prior 16 21
Total mortgage loans 16 21
Other | Greater than 100%    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Current fiscal year 0 0
One fiscal year before 0 0
Two fiscal years before 0 0
Three fiscal years before 0 0
Four fiscal years before 0 0
Prior 18 21
Total mortgage loans 18 21
U.S Government    
Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]    
Total mortgage loans $ 2,600 $ 2,800