Annual report pursuant to Section 13 and 15(d)

Derivatives - Narrative (Details)

v3.8.0.1
Derivatives - Narrative (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Derivative [Line Items]        
Shareholders’ equity $ 267,146 $ 266,195 $ 255,615 $ 243,476
Net losses in AOCI expected to be reclassified, after tax 130      
Net losses in AOCI expected to be reclassified $ 208      
Terminated cash flow hedges, forecasted transaction hedging period 7 years      
Terminated cash flow hedges, maximum forecasted transaction hedging period 19 years      
Credit derivatives        
Derivative [Line Items]        
Derivative asset $ 46 43    
Derivative liability 3 10    
Cash and securities held as collateral 77,200 85,500    
Cash and securities collateral posted 59,200 71,100    
Collateral not yet posted 3,200      
Aggregate fair value of derivative liability 0 0    
Credit derivatives | Bank of America, N.A.        
Derivative [Line Items]        
Collateral not yet posted 2,100      
Foreign Mortgage-backed Securities and Foreign Securities        
Derivative [Line Items]        
Transfer of mortgage-backed securities to third-party trust 6,000 6,600    
Gross cash proceeds from transfer of securities 6,000 6,600    
Fair value of securities transferred 6,100 6,300    
Derivatives        
Derivative [Line Items]        
Shareholders’ equity (831) $ (895) $ (1,077) $ (1,661)
Accumulated other comprehensive income (loss) before tax $ (1,300)