Quarterly report pursuant to Section 13 or 15(d)

Derivatives - Narrative (Details)

v3.5.0.2
Derivatives - Narrative (Details) - USD ($)
$ in Millions
9 Months Ended
Sep. 30, 2016
Dec. 31, 2015
Sep. 30, 2015
Dec. 31, 2014
Derivative [Line Items]        
After-tax net loss on derivatives in AOCI $ (270,083) $ (256,176) $ (255,861) $ (243,476)
Net losses in AOCI expected to be reclassified to earnings, after tax 245      
Net losses in AOCI expected to be reclassified to earnings, before tax $ 392      
Terminated cash flow hedges, forecasted transaction hedging period 7 years      
Funding valuation adjustment on derivative liabilities, net 20 years      
Credit derivatives        
Derivative [Line Items]        
Fair value of derivative $ 6,700 7,200    
Derivative assets 28 24    
Total gross derivative liabilities, before netting 30 29    
Cash and securities held as collateral 86,100 78,900    
Cash and securities collateral posted 70,600 62,700    
Collateral not yet posted 2,500      
Aggregate fair value of derivative liability 44      
Credit derivatives | Bank of America, N.A.        
Derivative [Line Items]        
Collateral not yet posted 1,600      
Credit derivatives | Purchased credit derivatives        
Derivative [Line Items]        
Carrying value of written credit derivatives 4,900 8,200    
Notional amount of written credit derivatives 623,000 706,000    
Foreign Mortgage-backed Securities and Foreign Securities        
Derivative [Line Items]        
Marketable securities transferred 6,900 7,900    
Proceeds from sale of securities 6,900 7,900    
Accumulated Net Gain (Loss) from Designated or Qualifying Cash Flow Hedges        
Derivative [Line Items]        
After-tax net loss on derivatives in AOCI 800 $ 1,077 $ 1,245 $ 1,661
Net unrealized loss on AFS debt securities, before tax $ 1,300