Quarterly report pursuant to Section 13 or 15(d)

Derivatives - Narrative (Details)

v3.5.0.2
Derivatives - Narrative (Details) - USD ($)
$ in Millions
6 Months Ended
Jun. 30, 2016
Dec. 31, 2015
Jun. 30, 2015
Dec. 31, 2014
Derivative [Line Items]        
Net loss on derivatives in AOCI $ (267,069) $ (256,205) $ (251,659) $ (243,471)
Net losses in AOCI expected to be reclassified to earnings, after tax $ 322      
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 $ 7,000 7,200    
Derivative assets 44 24    
Total gross derivative liabilities, before netting 35 29    
Cash and securities held as collateral 90,200 78,900    
Cash and securities collateral posted 72,800 62,700    
Collateral not yet posted 3,300      
Aggregate fair value of derivative liability 50      
Credit derivatives | Bank of America, N.A.        
Derivative [Line Items]        
Collateral not yet posted 1,800      
Credit derivatives | Purchased credit derivatives        
Derivative [Line Items]        
Carrying value of written credit derivatives 7,600 8,200    
Notional amount of written credit derivatives 647,600 706,000    
Foreign Mortgage-backed Securities and Foreign Securities        
Derivative [Line Items]        
Marketable securities transferred 7,200 7,900    
Proceeds from sale of securities 7,200 7,900    
Accumulated Net Gain (Loss) from Designated or Qualifying Cash Flow Hedges        
Derivative [Line Items]        
Net loss on derivatives in AOCI $ 927 $ 1,077 $ 1,372 $ 1,661