XML 74 R38.htm IDEA: XBRL DOCUMENT v3.21.2
Mortgage Loans - Loans in Mortgage Portfolio (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Dec. 31, 2020
Loans in Mortgage Portfolio [Line Items]          
Total unpaid principal balance of mortgage loans $ 3,782,552   $ 3,782,552   $ 3,589,868
Cost basis and fair value adjustments, net 75,869   75,869   74,576
Allowance for loan losses for HFI loans (7,114)   (7,114)   (10,552)
Total mortgage loans 3,851,307   3,851,307   3,653,892
Single-family          
Loans in Mortgage Portfolio [Line Items]          
Total unpaid principal balance of mortgage loans 3,390,827   3,390,827   3,216,146
Amortized cost 6,305 $ 0 9,417 $ 1,637  
Unpaid principal balance 7,317 495 7,525 495  
Realized gains, net 653 40 655 40  
Mortgage loans in process of foreclosure 5,000   5,000   5,000
Single-family | allowance for the redesignated from HFI to HFS          
Loans in Mortgage Portfolio [Line Items]          
Lower of cost or fair value adjustment at time of redesignation (146) 0 (200) (9)  
Allowance reversed at time of redesignation 824 $ 0 1,185 $ 184  
Multifamily          
Loans in Mortgage Portfolio [Line Items]          
Total unpaid principal balance of mortgage loans 391,725   391,725   373,722
Mortgage loans          
Loans in Mortgage Portfolio [Line Items]          
Accrued interest receivable $ 10,000   $ 10,000   $ 9,800