Quarterly report pursuant to Section 13 or 15(d)

Securities - Amortized Cost, Gains and Losses, and Fair Value Available-for-sale (Details)

v3.5.0.2
Securities - Amortized Cost, Gains and Losses, and Fair Value Available-for-sale (Details) - USD ($)
$ in Millions
Jun. 30, 2016
Dec. 31, 2015
Jun. 30, 2015
Dec. 31, 2014
Available-for-sale debt securities        
Amortized Cost $ 283,094 $ 306,261    
Gross Unrealized Gains 6,369 1,536    
Gross Unrealized Losses (178) (2,024)    
Fair Value 289,285 305,773    
Other debt securities carried at fair value        
Amortized Cost 20,527 16,678    
Gross Unrealized Gains 93 103    
Gross Unrealized Losses (235) (174)    
Fair Value 20,385 16,607    
Total debt securities carried at fair value        
Amortized Cost 303,621 322,939    
Gross Unrealized Gains 6,462 1,639    
Gross Unrealized Losses (413) (2,198)    
Debt securities carried at fair value 309,670 322,380    
Held-to-maturity debt securities, substantially all U.S. agency mortgage-backed securities        
Amortized Cost 102,279 84,625    
Gross Unrealized Gains 2,097 271    
Gross Unrealized Losses (1) (850)    
Held-to-maturity, fair value 104,375 84,046    
Total debt securities        
Amortized Cost 405,900 407,564    
Gross Unrealized Gains 8,559 1,910    
Gross Unrealized Losses (414) (3,048)    
Fair Value 414,045 406,426    
Available-for-sale marketable equity securities        
Net unrealized gain on AFS debt securities in AOCI 267,069 256,205 $ 251,659 $ 243,471
Nonperforming Financing Receivable        
Available-for-sale debt securities        
Fair Value 129 188    
FNMA Insured Loans        
Total debt securities carried at fair value        
Amortized Cost 146,700 146,200    
Debt securities carried at fair value 150,400 145,500    
FHLMC Insured Loans        
Total debt securities carried at fair value        
Amortized Cost 52,000 53,400    
Debt securities carried at fair value 53,300 53,200    
Securities financing agreements        
Available-for-sale marketable equity securities        
Amortized Cost 325 326    
Gross Unrealized Gains 46 99    
Gross Unrealized Losses (34) 0    
Fair Value 337 425    
Agency        
Available-for-sale debt securities        
Amortized Cost 203,680 229,847    
Gross Unrealized Gains 5,021 788    
Gross Unrealized Losses (13) (1,688)    
Fair Value 208,688 228,947    
Total debt securities carried at fair value        
Debt securities carried at fair value 208,688      
Agency-collateralized mortgage obligations        
Available-for-sale debt securities        
Amortized Cost 9,451 10,930    
Gross Unrealized Gains 314 126    
Gross Unrealized Losses (5) (71)    
Fair Value 9,760 10,985    
Total debt securities carried at fair value        
Debt securities carried at fair value 9,767      
Commercial        
Available-for-sale debt securities        
Amortized Cost 11,083 7,176    
Gross Unrealized Gains 319 50    
Gross Unrealized Losses (5) (61)    
Fair Value 11,397 7,165    
Total debt securities carried at fair value        
Debt securities carried at fair value 11,397      
Non-agency residential        
Available-for-sale debt securities        
Amortized Cost 1,963 3,031    
Gross Unrealized Gains 208 218    
Gross Unrealized Losses (68) (70)    
Fair Value 2,103 $ 3,179    
Total debt securities carried at fair value        
Debt securities carried at fair value $ 5,347      
Non-agency residential | Prime        
Available-for-sale marketable equity securities        
Available-for-sale securities, percent held by rating 56.00% 71.00%    
Non-agency residential | Alt-A Loan        
Available-for-sale marketable equity securities        
Available-for-sale securities, percent held by rating 24.00% 15.00%    
Non-agency residential | Subprime        
Available-for-sale marketable equity securities        
Available-for-sale securities, percent held by rating 20.00% 14.00%    
Total mortgage-backed securities        
Available-for-sale debt securities        
Amortized Cost $ 226,177 $ 250,984    
Gross Unrealized Gains 5,862 1,182    
Gross Unrealized Losses (91) (1,890)    
Fair Value 231,948 250,276    
Total debt securities carried at fair value        
Debt securities carried at fair value 235,199      
U.S. Treasury and agency securities        
Available-for-sale debt securities        
Amortized Cost 25,792 25,075    
Gross Unrealized Gains 351 211    
Gross Unrealized Losses 0 (9)    
Fair Value 26,143 25,277    
Total debt securities carried at fair value        
Debt securities carried at fair value 26,143      
Non-U.S. securities        
Available-for-sale debt securities        
Amortized Cost 6,044 5,743    
Gross Unrealized Gains 21 27    
Gross Unrealized Losses (7) (3)    
Fair Value 6,058 5,767    
Total debt securities carried at fair value        
Debt securities carried at fair value 22,943      
Other taxable securities, substantially all asset-backed securities        
Available-for-sale debt securities        
Amortized Cost 9,800 10,481    
Gross Unrealized Gains 23 53    
Gross Unrealized Losses (49) (89)    
Fair Value 9,774 10,445    
Total debt securities carried at fair value        
Debt securities carried at fair value 10,023      
Total taxable securities        
Available-for-sale debt securities        
Amortized Cost 267,813 292,283    
Gross Unrealized Gains 6,257 1,473    
Gross Unrealized Losses (147) (1,991)    
Fair Value 273,923 291,765    
Total debt securities carried at fair value        
Debt securities carried at fair value 294,308      
Tax-exempt securities        
Available-for-sale debt securities        
Amortized Cost 15,281 13,978    
Gross Unrealized Gains 112 63    
Gross Unrealized Losses (31) (33)    
Fair Value 15,362 14,008    
Total debt securities carried at fair value        
Debt securities carried at fair value 15,362      
Debt securities        
Total debt securities carried at fair value        
Debt securities carried at fair value 309,670      
Available-for-sale marketable equity securities        
Accumulated other comprehensive income tax expense 2,400      
Debt securities | Available-for-sale debt securities        
Available-for-sale marketable equity securities        
Net unrealized gain on AFS debt securities in AOCI $ 3,821 $ (300) $ 94 $ 1,343