Quarterly report pursuant to Section 13 or 15(d)

Derivatives - Narrative (Details)

v3.10.0.1
Derivatives - Narrative (Details) - USD ($)
$ in Millions
6 Months Ended
Jun. 30, 2018
Dec. 31, 2017
Jun. 30, 2017
Dec. 31, 2016
Derivative [Line Items]        
Shareholders’ equity $ 264,216 $ 267,146 $ 270,660 $ 266,195
Net losses in AOCI expected to be reclassified, after tax 292      
Net losses in AOCI expected to be reclassified $ 383      
Terminated cash flow hedges, forecasted transaction hedging period 7 years      
Terminated cash flow hedges, maximum forecasted transaction hedging period 18 years      
Credit derivatives        
Derivative [Line Items]        
Derivative asset $ 49 46    
Derivative liability 2 3    
Cash and securities held as collateral 88,400 77,200    
Cash and securities collateral posted 56,800 59,200    
Collateral not yet posted 2,300      
Aggregate fair value of derivative liability 0 0    
Credit derivatives | Bank of America, N.A.        
Derivative [Line Items]        
Collateral not yet posted 1,500      
Interest rate risk on AFS securities        
Derivative [Line Items]        
Long-term debt from discontinued hedging relationships cumulative increase (decrease) 900      
Available-for-sale securities from discontinued hedging relationships cumulative increase (decrease) 39      
Foreign Mortgage-backed Securities and Foreign Securities        
Derivative [Line Items]        
Transfer of mortgage-backed securities to third-party trust 6,000 6,000    
Gross cash proceeds from transfer of securities 6,000 6,000    
Fair value of derecognized assets 5,700 6,100    
Derivatives        
Derivative [Line Items]        
Shareholders’ equity (1,330) $ (831) $ (763) $ (895)
AOCI before tax $ (1,700)