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
Sep. 30, 2016
Dec. 31, 2015
Sep. 30, 2015
Dec. 31, 2014
Available-for-sale debt securities        
Amortized Cost $ 295,913 $ 305,750    
Gross Unrealized Gains 5,624 1,813    
Gross Unrealized Losses (157) (1,790)    
Fair Value 301,380 305,773    
Other debt securities carried at fair value        
Amortized Cost 21,222 16,678    
Gross Unrealized Gains 114 103    
Gross Unrealized Losses (211) (174)    
Fair Value 21,125 16,607    
Total debt securities carried at fair value        
Amortized Cost 317,135 322,428    
Gross Unrealized Gains 5,738 1,916    
Gross Unrealized Losses 368 1,964    
Debt securities carried at fair value 322,505 322,380    
Held-to-maturity debt securities, substantially all U.S. agency mortgage-backed securities        
Amortized Cost 112,409 84,508    
Gross Unrealized Gains 1,647 330    
Gross Unrealized Losses (91) (792)    
Held-to-maturity, fair value 113,965 84,046    
Total debt securities        
Amortized Cost 429,544 406,936    
Gross Unrealized Gains 7,385 2,246    
Gross Unrealized Losses 459 2,756    
Fair Value 436,470 406,426    
Available-for-sale marketable equity securities        
Net unrealized gain on AFS debt securities 270,083 256,176 $ 255,861 $ 243,476
Nonperforming Financing Receivable        
Available-for-sale debt securities        
Fair Value 125 188    
FNMA Insured Loans        
Total debt securities carried at fair value        
Amortized Cost 154,700 145,800    
Debt securities carried at fair value 158,000 145,500    
FHLMC Insured Loans        
Total debt securities carried at fair value        
Amortized Cost 51,100 53,300    
Debt securities carried at fair value 52,400 53,200    
Securities financing agreements        
Available-for-sale marketable equity securities        
Amortized Cost 325 326    
Gross Unrealized Gains 57 99    
Gross Unrealized Losses (28) 0    
Fair Value 354 425    
Agency        
Available-for-sale debt securities        
Amortized Cost 196,808 229,356    
Gross Unrealized Gains 4,266 1,061    
Gross Unrealized Losses (23) (1,470)    
Fair Value 201,051 228,947    
Total debt securities carried at fair value        
Debt securities carried at fair value 201,051      
Agency-collateralized mortgage obligations        
Available-for-sale debt securities        
Amortized Cost 8,862 10,892    
Gross Unrealized Gains 243 148    
Gross Unrealized Losses (24) (55)    
Fair Value 9,081 10,985    
Total debt securities carried at fair value        
Debt securities carried at fair value 9,087      
Commercial        
Available-for-sale debt securities        
Amortized Cost 12,555 7,200    
Gross Unrealized Gains 383 30    
Gross Unrealized Losses (2) (65)    
Fair Value 12,936 7,165    
Total debt securities carried at fair value        
Debt securities carried at fair value 12,936      
Non-agency residential        
Available-for-sale debt securities        
Amortized Cost 1,476 3,031    
Gross Unrealized Gains 180 219    
Gross Unrealized Losses (38) (71)    
Fair Value 1,618 $ 3,179    
Total debt securities carried at fair value        
Debt securities carried at fair value $ 4,811      
Non-agency residential | Prime        
Available-for-sale marketable equity securities        
Available-for-sale securities, percent held by rating 57.00% 71.00%    
Non-agency residential | Alt-A Loan        
Available-for-sale marketable equity securities        
Available-for-sale securities, percent held by rating 25.00% 15.00%    
Non-agency residential | Subprime        
Available-for-sale marketable equity securities        
Available-for-sale securities, percent held by rating 18.00% 14.00%    
Total mortgage-backed securities        
Available-for-sale debt securities        
Amortized Cost $ 219,701 $ 250,479    
Gross Unrealized Gains 5,072 1,458    
Gross Unrealized Losses (87) (1,661)    
Fair Value 224,686 250,276    
Total debt securities carried at fair value        
Debt securities carried at fair value 227,885      
U.S. Treasury and agency securities        
Available-for-sale debt securities        
Amortized Cost 44,925 25,075    
Gross Unrealized Gains 363 211    
Gross Unrealized Losses (4) (9)    
Fair Value 45,284 25,277    
Total debt securities carried at fair value        
Debt securities carried at fair value 45,284      
Non-U.S. securities        
Available-for-sale debt securities        
Amortized Cost 5,995 5,743    
Gross Unrealized Gains 19 27    
Gross Unrealized Losses (4) (3)    
Fair Value 6,010 5,767    
Total debt securities carried at fair value        
Debt securities carried at fair value 23,690      
Other taxable securities, substantially all asset-backed securities        
Available-for-sale debt securities        
Amortized Cost 9,375 10,475    
Gross Unrealized Gains 73 54    
Gross Unrealized Losses (32) (84)    
Fair Value 9,416 10,445    
Total debt securities carried at fair value        
Debt securities carried at fair value 9,662      
Total taxable securities        
Available-for-sale debt securities        
Amortized Cost 279,996 291,772    
Gross Unrealized Gains 5,527 1,750    
Gross Unrealized Losses (127) (1,757)    
Fair Value 285,396 291,765    
Total debt securities carried at fair value        
Debt securities carried at fair value 306,521      
Tax-exempt securities        
Available-for-sale debt securities        
Amortized Cost 15,917 13,978    
Gross Unrealized Gains 97 63    
Gross Unrealized Losses (30) (33)    
Fair Value 15,984 14,008    
Total debt securities carried at fair value        
Debt securities carried at fair value 15,984      
Debt securities        
Total debt securities carried at fair value        
Debt securities carried at fair value 322,505      
Available-for-sale marketable equity securities        
Accumulated other comprehensive income tax expense 2,100      
Debt securities | Available-for-sale debt securities        
Available-for-sale marketable equity securities        
Net unrealized gain on AFS debt securities $ 3,378 $ 16 $ 1,810 $ 1,641