Quarterly report pursuant to Section 13 or 15(d)

Derivatives - Narrative (Details)

v3.8.0.1
Derivatives - Narrative (Details) - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2018
Dec. 31, 2017
Mar. 31, 2017
Dec. 31, 2016
Derivative [Line Items]        
Net losses in AOCI expected to be reclassified, after tax $ 269      
Net losses in AOCI expected to be reclassified $ 354      
Terminated cash flow hedges, forecasted transaction hedging period 7 years      
Terminated cash flow hedges, maximum forecasted transaction hedging period 18 years      
Shareholders’ equity $ 266,224 $ 267,146 $ 267,990 $ 266,195
Credit derivatives        
Derivative [Line Items]        
Derivative asset 48 46    
Derivative liability 3 3    
Cash and securities held as collateral 90,400 77,200    
Cash and securities collateral posted 58,300 59,200    
Collateral not yet posted 2,200      
Aggregate fair value of derivative liability 0 0    
Credit derivatives | Bank of America, N.A.        
Derivative [Line Items]        
Collateral not yet posted 1,100      
Interest rate risk on AFS securities        
Derivative [Line Items]        
Long-term debt from discontinued hedging relationships cumulative increase (decrease) 1,100      
Available-for-sale securities from discontinued hedging relationships cumulative increase (decrease) (42)      
Foreign Mortgage-backed Securities and Foreign Securities        
Derivative [Line Items]        
Transfer of mortgage-backed securities to third-party trust 6,200 6,000    
Gross cash proceeds from transfer of securities 6,200 6,000    
Fair value of securities transferred 6,100 6,100    
Derivatives        
Derivative [Line Items]        
Shareholders’ equity (1,238) $ (831) $ (857) $ (895)
AOCI before tax $ (1,600)