Annual report pursuant to Section 13 and 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
Dec. 31, 2017
Dec. 31, 2016
Held-to-maturity Securities, Debt Maturities, Net Carrying Amount [Abstract]    
Due in One Year or Less, Amount $ 1  
Due in One Year or Less, Yield 5.82%  
Due after One Year through Five Years, Amount $ 71  
Due after One Year through Five Years, Yield 3.06%  
Due after Five Years through Ten Years, Amount $ 1,144  
Due after Five Years though Ten Years, Yield 2.65%  
Due after Ten Years, Amount $ 123,797  
Due after Ten Years, Yield 3.03%  
Amortized Cost $ 125,013 $ 117,071
Total, Yield 3.03%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Debt securities carried at fair value $ 315,117 313,660
Held-to-maturity Securities, Debt Maturities, Fair Value [Abstract]    
Due in One Year or Less, Amount 1  
Due after One Year through Five Years, Amount 71  
Due after Five Years though Ten Years, Amount 1,117  
Due after Ten Years, Amount 122,110  
Held-to-maturity Securities, Fair Value 123,299 $ 115,285
Mortgage-backed securities    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 59  
Due in One Year or Less, Yield 7.18%  
Due after One Year through Five Years, Amount $ 1,002  
Due after One Year through Five Years, Yield 2.03%  
Due after Five Years though Ten Years, Amount $ 12,478  
Due after Five Years though Ten Years, Yield 2.43%  
Due after Ten Years, Amount $ 206,273  
Due after Ten Years, Yield 3.36%  
Total, Amount $ 219,812  
Total, Yield 3.31%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 59  
Due after One Year through Five Years, Amount 997  
Due after Five Years though Ten Years, Amount 12,323  
Due after Ten Years, Amount 205,476  
Debt securities carried at fair value 218,855  
Agency    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 5  
Due in One Year or Less, Yield 4.20%  
Due after One Year through Five Years, Amount $ 28  
Due after One Year through Five Years, Yield 3.69%  
Due after Five Years though Ten Years, Amount $ 555  
Due after Five Years though Ten Years, Yield 2.57%  
Due after Ten Years, Amount $ 193,531  
Due after Ten Years, Yield 3.22%  
Total, Amount $ 194,119  
Total, Yield 3.22%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 5  
Due after One Year through Five Years, Amount 28  
Due after Five Years though Ten Years, Amount 555  
Due after Ten Years, Amount 192,341  
Debt securities carried at fair value 192,929  
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 $ 33  
Due after Five Years though Ten Years, Yield 2.52%  
Due after Ten Years, Amount $ 6,817  
Due after Ten Years, Yield 3.18%  
Total, Amount $ 6,850  
Total, Yield 3.18%  
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 6,777  
Debt securities carried at fair value 6,809  
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 7.45%  
Due after One Year through Five Years, Amount $ 974  
Due after One Year through Five Years, Yield 1.98%  
Due after Five Years though Ten Years, Amount $ 11,866  
Due after Five Years though Ten Years, Yield 2.43%  
Due after Ten Years, Amount $ 970  
Due after Ten Years, Yield 2.78%  
Total, Amount $ 13,864  
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 969  
Due after Five Years though Ten Years, Amount 11,703  
Due after Ten Years, Amount 958  
Debt securities carried at fair value 13,684  
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 $ 24  
Due after Five Years though Ten Years, Yield 0.01%  
Due after Ten Years, Amount $ 4,955  
Due after Ten Years, Yield 9.32%  
Total, Amount $ 4,979  
Total, Yield 9.28%  
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 33  
Due after Ten Years, Amount 5,400  
Debt securities carried at fair value 5,433  
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 $ 490  
Due in One Year or Less, Yield 0.39%  
Due after One Year through Five Years, Amount $ 23,395  
Due after One Year through Five Years, Yield 1.42%  
Due after Five Years though Ten Years, Amount $ 30,615  
Due after Five Years though Ten Years, Yield 2.03%  
Due after Ten Years, Amount $ 23  
Due after Ten Years, Yield 2.52%  
Total, Amount $ 54,523  
Total, Yield 1.75%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 491  
Due after One Year through Five Years, Amount 22,898  
Due after Five Years though Ten Years, Amount 30,111  
Due after Ten Years, Amount 23  
Debt securities carried at fair value 53,523  
Non-U.S. securities    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 13,832  
Due in One Year or Less, Yield 1.02%  
Due after One Year through Five Years, Amount $ 2,111  
Due after One Year through Five Years, Yield 0.97%  
Due after Five Years though Ten Years, Amount $ 48  
Due after Five Years though Ten Years, Yield 0.72%  
Due after Ten Years, Amount $ 167  
Due after Ten Years, Yield 6.60%  
Total, Amount $ 16,158  
Total, Yield 1.07%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 13,830  
Due after One Year through Five Years, Amount 2,115  
Due after Five Years though Ten Years, Amount 48  
Due after Ten Years, Amount 172  
Debt securities carried at fair value 16,165  
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 $ 1,979  
Due in One Year or Less, Yield 2.53%  
Due after One Year through Five Years, Amount $ 2,029  
Due after One Year through Five Years, Yield 3.02%  
Due after Five Years though Ten Years, Amount $ 1,151  
Due after Five Years though Ten Years, Yield 3.22%  
Due after Ten Years, Amount $ 751  
Due after Ten Years, Yield 4.74%  
Total, Amount $ 5,910  
Total, Yield 3.11%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 1,981  
Due after One Year through Five Years, Amount 2,006  
Due after Five Years though Ten Years, Amount 1,184  
Due after Ten Years, Amount 828  
Debt securities carried at fair value 5,999  
Total taxable securities    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 16,360  
Due in One Year or Less, Yield 1.21%  
Due after One Year through Five Years, Amount $ 28,537  
Due after One Year through Five Years, Yield 1.52%  
Due after Five Years though Ten Years, Amount $ 44,292  
Due after Five Years though Ten Years, Yield 2.17%  
Due after Ten Years, Amount $ 207,214  
Due after Ten Years, Yield 3.37%  
Total, Amount $ 296,403  
Total, Yield 2.89%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 16,361  
Due after One Year through Five Years, Amount 28,016  
Due after Five Years though Ten Years, Amount 43,666  
Due after Ten Years, Amount 206,499  
Debt securities carried at fair value 294,542  
Tax-exempt securities    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 1,327  
Due in One Year or Less, Yield 1.81%  
Due after One Year through Five Years, Amount $ 6,927  
Due after One Year through Five Years, Yield 1.88%  
Due after Five Years though Ten Years, Amount $ 9,132  
Due after Five Years though Ten Years, Yield 1.79%  
Due after Ten Years, Amount $ 3,155  
Due after Ten Years, Yield 1.84%  
Total, Amount $ 20,541  
Total, Yield 1.83%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 1,326  
Due after One Year through Five Years, Amount 6,934  
Due after Five Years though Ten Years, Amount 9,162  
Due after Ten Years, Amount 3,153  
Debt securities carried at fair value 20,575  
Debt securities    
Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 17,687  
Due in One Year or Less, Yield 1.25%  
Due after One Year through Five Years, Amount $ 35,464  
Due after One Year through Five Years, Yield 1.59%  
Due after Five Years though Ten Years, Amount $ 53,424  
Due after Five Years though Ten Years, Yield 2.11%  
Due after Ten Years, Amount $ 210,369  
Due after Ten Years, Yield 3.35%  
Total, Amount $ 316,944  
Total, Yield 2.82%  
Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract]    
Due in One Year or Less, Amount $ 17,687  
Due after One Year through Five Years, Amount 34,950  
Due after Five Years though Ten Years, Amount 52,828  
Due after Ten Years, Amount 209,652  
Debt securities carried at fair value $ 315,117