Annual report pursuant to Section 13 and 15(d)

Commitments and Contingencies - Litigation and Regulatory Matters (Details)

v3.20.4
Commitments and Contingencies - Litigation and Regulatory Matters (Details) - USD ($)
12 Months Ended
Apr. 07, 2017
Jan. 09, 2017
Jul. 21, 2015
Dec. 30, 2014
Sep. 28, 2010
Dec. 31, 2020
Dec. 31, 2019
Loss Contingencies [Line Items]              
Litigation settlement expense           $ 823,000,000 $ 681,000,000
Ambac Countrywide Litigation, Claim One              
Loss Contingencies [Line Items]              
Loss contingency, damages sought         $ 2,200,000,000    
Ambac Countrywide Litigation, Claim Two              
Loss Contingencies [Line Items]              
Loss contingency, damages sought       $ 600,000,000      
Ambac Countrywide Litigation, Claim Four              
Loss Contingencies [Line Items]              
Loss contingency, damages sought     $ 350,000,000        
FDIC Deposit Insurance Assessments | Bank of America, N.A.              
Loss Contingencies [Line Items]              
Loss contingency, damages sought $ 583,000,000 $ 542,000,000          
Minimum              
Loss Contingencies [Line Items]              
Estimated range of possible loss           0  
Maximum              
Loss Contingencies [Line Items]              
Estimated range of possible loss           $ 1,300,000,000