Annual report pursuant to Section 13 and 15(d)

Derivatives - Narrative (Details)

v3.22.0.1
Derivatives - Narrative (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Derivative [Line Items]        
Shareholders’ equity $ 270,066 $ 272,924 $ 264,810 $ 265,325
Net income (loss) in AOCI expected to be reclassified, after tax 477      
Net income (loss) in AOCI expected to be reclassified $ 630      
Terminated cash flow hedges, forecasted transaction hedging period 3 years      
Terminated cash flow hedges, maximum forecasted transaction hedging period 15 years      
Bank of America, N.A.        
Derivative [Line Items]        
Collateral not yet posted $ 1,400      
Credit derivatives        
Derivative [Line Items]        
Cash and securities held as collateral 91,400 96,500    
Cash and securities collateral posted 79,300 88,600    
Collateral not yet posted 2,300      
Foreign Mortgage-backed Securities and Foreign Securities        
Derivative [Line Items]        
Transfer of mortgage-backed securities to third-party trust 4,800 5,200    
Gross cash proceeds from transfer of securities 4,800 5,200    
Fair value of derecognized assets 5,000 $ 5,500    
Derivatives        
Derivative [Line Items]        
Shareholders’ equity (1,900)      
Pretax income (loss) in accumulated OCI $ (2,500)