Quarterly report pursuant to Section 13 or 15(d)

Securities - Maturities of Debt Securities Carried at Fair Value and Held-to-maturity Debt Securities (Details)

v3.8.0.1
Securities - Maturities of Debt Securities Carried at Fair Value and Held-to-maturity Debt Securities (Details) - USD ($)
$ in Millions
Mar. 31, 2018
Dec. 31, 2017
Held-to-maturity Securities, Debt Maturities, Net Carrying Amount [Abstract]    
Due in One Year or Less, Amount $ 2  
Due in One Year or Less, Yield 4.35%  
Due after One Year through Five Years, Amount $ 67  
Due after One Year through Five Years, Yield 3.84%  
Due after Five Years through Ten Years, Amount $ 1,358  
Due after Five Years though Ten Years, Yield 2.74%  
Due after Ten Years, Amount $ 122,112  
Due after Ten Years, Yield 3.04%  
Amortized Cost $ 123,539 $ 125,013
Total, Yield 3.04%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Debt securities carried at fair value $ 303,298 315,117
Held-to-maturity Securities, Debt Maturities, Fair Value [Abstract]    
Due in One Year or Less, Amount 2  
Due after One Year through Five Years, Amount 67  
Due after Five Years though Ten Years, Amount 1,307  
Due after Ten Years, Amount 117,756  
Held-to-maturity Securities, Fair Value 119,132 $ 123,299
Mortgage-backed securities    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 56  
Due in One Year or Less, Yield 9.40%  
Due after One Year through Five Years, Amount $ 1,688  
Due after One Year through Five Years, Yield 2.18%  
Due after Five Years though Ten Years, Amount $ 11,923  
Due after Five Years though Ten Years, Yield 2.44%  
Due after Ten Years, Amount $ 201,147  
Due after Ten Years, Yield 3.37%  
Total, Amount $ 214,814  
Total, Yield 3.31%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 56  
Due after One Year through Five Years, Amount 1,662  
Due after Five Years though Ten Years, Amount 11,548  
Due after Ten Years, Amount 196,142  
Debt securities carried at fair value 209,408  
Agency    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 2  
Due in One Year or Less, Yield 5.50%  
Due after One Year through Five Years, Amount $ 26  
Due after One Year through Five Years, Yield 3.94%  
Due after Five Years though Ten Years, Amount $ 519  
Due after Five Years though Ten Years, Yield 2.57%  
Due after Ten Years, Amount $ 188,879  
Due after Ten Years, Yield 3.22%  
Total, Amount $ 189,426  
Total, Yield 3.22%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 2  
Due after One Year through Five Years, Amount 27  
Due after Five Years though Ten Years, Amount 512  
Due after Ten Years, Amount 183,570  
Debt securities carried at fair value 184,111  
Agency-collateralized mortgage obligations    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 0  
Due in One Year or Less, Yield 0.00%  
Due after One Year through Five Years, Amount $ 0  
Due after One Year through Five Years, Yield 0.00%  
Due after Five Years though Ten Years, Amount $ 32  
Due after Five Years though Ten Years, Yield 2.53%  
Due after Ten Years, Amount $ 6,493  
Due after Ten Years, Yield 3.17%  
Total, Amount $ 6,525  
Total, Yield 3.17%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 0  
Due after One Year through Five Years, Amount 0  
Due after Five Years though Ten Years, Amount 31  
Due after Ten Years, Amount 6,367  
Debt securities carried at fair value 6,398  
Commercial    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 54  
Due in One Year or Less, Yield 9.55%  
Due after One Year through Five Years, Amount $ 1,662  
Due after One Year through Five Years, Yield 2.15%  
Due after Five Years though Ten Years, Amount $ 11,350  
Due after Five Years though Ten Years, Yield 2.44%  
Due after Ten Years, Amount $ 932  
Due after Ten Years, Yield 2.61%  
Total, Amount $ 13,998  
Total, Yield 2.44%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 54  
Due after One Year through Five Years, Amount 1,635  
Due after Five Years though Ten Years, Amount 10,973  
Due after Ten Years, Amount 897  
Debt securities carried at fair value 13,559  
Non-agency residential    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 0  
Due in One Year or Less, Yield 0.00%  
Due after One Year through Five Years, Amount $ 0  
Due after One Year through Five Years, Yield 0.00%  
Due after Five Years though Ten Years, Amount $ 22  
Due after Five Years though Ten Years, Yield 0.01%  
Due after Ten Years, Amount $ 4,843  
Due after Ten Years, Yield 9.44%  
Total, Amount $ 4,865  
Total, Yield 9.40%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 0  
Due after One Year through Five Years, Amount 0  
Due after Five Years though Ten Years, Amount 32  
Due after Ten Years, Amount 5,308  
Debt securities carried at fair value 5,340  
U.S. Treasury and agency securities    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 543  
Due in One Year or Less, Yield 0.41%  
Due after One Year through Five Years, Amount $ 26,339  
Due after One Year through Five Years, Yield 1.41%  
Due after Five Years though Ten Years, Amount $ 27,849  
Due after Five Years though Ten Years, Yield 2.12%  
Due after Ten Years, Amount $ 22  
Due after Ten Years, Yield 2.57%  
Total, Amount $ 54,753  
Total, Yield 1.76%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 541  
Due after One Year through Five Years, Amount 25,460  
Due after Five Years though Ten Years, Amount 26,950  
Due after Ten Years, Amount 21  
Debt securities carried at fair value 52,972  
Non-U.S. securities    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 14,405  
Due in One Year or Less, Yield 0.95%  
Due after One Year through Five Years, Amount $ 2,110  
Due after One Year through Five Years, Yield 0.92%  
Due after Five Years though Ten Years, Amount $ 214  
Due after Five Years though Ten Years, Yield 1.17%  
Due after Ten Years, Amount $ 153  
Due after Ten Years, Yield 6.64%  
Total, Amount $ 16,882  
Total, Yield 1.00%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 14,403  
Due after One Year through Five Years, Amount 2,125  
Due after Five Years though Ten Years, Amount 214  
Due after Ten Years, Amount 159  
Debt securities carried at fair value 16,901  
Other taxable securities, substantially all asset-backed securities    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 972  
Due in One Year or Less, Yield 3.12%  
Due after One Year through Five Years, Amount $ 2,496  
Due after One Year through Five Years, Yield 3.21%  
Due after Five Years though Ten Years, Amount $ 1,072  
Due after Five Years though Ten Years, Yield 3.43%  
Due after Ten Years, Amount $ 286  
Due after Ten Years, Yield 8.13%  
Total, Amount $ 4,826  
Total, Yield 3.54%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 967  
Due after One Year through Five Years, Amount 2,493  
Due after Five Years though Ten Years, Amount 1,122  
Due after Ten Years, Amount 358  
Debt securities carried at fair value 4,940  
Total taxable securities    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 15,976  
Due in One Year or Less, Yield 1.10%  
Due after One Year through Five Years, Amount $ 32,633  
Due after One Year through Five Years, Yield 1.55%  
Due after Five Years though Ten Years, Amount $ 41,058  
Due after Five Years though Ten Years, Yield 2.24%  
Due after Ten Years, Amount $ 201,608  
Due after Ten Years, Yield 3.37%  
Total, Amount $ 291,275  
Total, Yield 2.89%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 15,967  
Due after One Year through Five Years, Amount 31,740  
Due after Five Years though Ten Years, Amount 39,834  
Due after Ten Years, Amount 196,680  
Debt securities carried at fair value 284,221  
Tax-exempt securities    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 691  
Due in One Year or Less, Yield 1.58%  
Due after One Year through Five Years, Amount $ 6,922  
Due after One Year through Five Years, Yield 2.10%  
Due after Five Years though Ten Years, Amount $ 8,626  
Due after Five Years though Ten Years, Yield 2.07%  
Due after Ten Years, Amount $ 2,894  
Due after Ten Years, Yield 1.94%  
Total, Amount $ 19,133  
Total, Yield 2.04%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 691  
Due after One Year through Five Years, Amount 6,930  
Due after Five Years though Ten Years, Amount 8,582  
Due after Ten Years, Amount 2,874  
Debt securities carried at fair value 19,077  
Debt securities    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 16,667  
Due in One Year or Less, Yield 1.12%  
Due after One Year through Five Years, Amount $ 39,555  
Due after One Year through Five Years, Yield 1.65%  
Due after Five Years though Ten Years, Amount $ 49,684  
Due after Five Years though Ten Years, Yield 2.21%  
Due after Ten Years, Amount $ 204,502  
Due after Ten Years, Yield 3.35%  
Total, Amount $ 310,408  
Total, Yield 2.83%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 16,658  
Due after One Year through Five Years, Amount 38,670  
Due after Five Years though Ten Years, Amount 48,416  
Due after Ten Years, Amount 199,554  
Debt securities carried at fair value $ 303,298