Quarterly report pursuant to Section 13 or 15(d)

Derivatives - Narrative (Details)

v3.8.0.1
Derivatives - Narrative (Details) - USD ($)
$ in Millions
9 Months Ended
Sep. 30, 2017
Dec. 31, 2016
Sep. 30, 2016
Dec. 31, 2015
Derivative [Line Items]        
Shareholders’ equity $ 272,459 $ 266,840 $ 270,083 $ 256,176
Net losses in AOCI expected to be reclassified, after tax 102      
Net losses in AOCI expected to be reclassified $ 164      
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 $ 44 43    
Derivative liability 5 10    
Cash and securities held as collateral 77,400 85,500    
Cash and securities collateral posted 58,400 71,100    
Collateral not yet posted 2,000      
Aggregate fair value of derivative liability 23      
Credit derivatives | Bank of America, N.A.        
Derivative [Line Items]        
Collateral not yet posted 1,200      
Foreign Mortgage-backed Securities and Foreign Securities        
Derivative [Line Items]        
Transfer of mortgage-backed securities to third-party trust 6,200 6,600    
Gross cash proceeds from transfer of securities 6,200 6,600    
Fair value of securities transferred 6,300 6,300    
Derivatives        
Derivative [Line Items]        
Shareholders’ equity (739) $ (895) $ (800) $ (1,077)
Accumulated other comprehensive income (loss) before tax $ (1,200)