Quarterly report pursuant to Section 13 or 15(d)

Securitizations and Other Variable Interest Entities - First Lien Mortgages VIE (Details)

v3.10.0.1
Securitizations and Other Variable Interest Entities - First Lien Mortgages VIE (Details) - USD ($)
$ in Millions
Jun. 30, 2018
Dec. 31, 2017
Jun. 30, 2017
On-balance sheet assets      
Trading account assets $ 203,420 $ 209,358  
Debt securities carried at fair value 275,256 315,117  
Held-to-maturity securities 163,013 125,013  
Loans and leases, net 935,824 936,749  
All other assets 130,288 135,043  
Total assets 2,291,670 2,281,234 $ 2,254,714
Total liabilities 2,027,454 2,014,088  
Unpaid principal balance of mortgage loans eligible for repurchase 61 148  
Principal amount that would be payable to the securitization vehicles 61 148  
Unconsolidated VIEs | Agency      
Variable Interest Entity [Line Items]      
Maximum loss exposure 17,336 19,110  
On-balance sheet assets      
All other assets 0 10  
Total assets 17,336 19,110  
Principal balance outstanding 208,265 232,761  
Unconsolidated VIEs | Agency | Senior Lien      
On-balance sheet assets      
Trading account assets 636 716  
Debt securities carried at fair value 13,075 15,036  
Held-to-maturity securities 3,625 3,348  
Unconsolidated VIEs | Non-agency | Prime      
Variable Interest Entity [Line Items]      
Maximum loss exposure 655 689  
On-balance sheet assets      
All other assets 5 5  
Total assets 475 488  
Principal balance outstanding 10,083 10,549  
Unconsolidated VIEs | Non-agency | Prime | Senior Lien      
On-balance sheet assets      
Trading account assets 50 6  
Debt securities carried at fair value 420 477  
Held-to-maturity securities 0 0  
Unconsolidated VIEs | Non-agency | Subprime      
Variable Interest Entity [Line Items]      
Maximum loss exposure 2,483 2,643  
On-balance sheet assets      
All other assets 60 38  
Total assets 2,117 2,269  
Principal balance outstanding 9,436 10,254  
Unconsolidated VIEs | Non-agency | Subprime | Senior Lien      
On-balance sheet assets      
Trading account assets 36 10  
Debt securities carried at fair value 2,021 2,221  
Held-to-maturity securities 0 0  
Unconsolidated VIEs | Non-agency | Alt-A      
Variable Interest Entity [Line Items]      
Maximum loss exposure 399 403  
On-balance sheet assets      
All other assets 2 2  
Total assets 399 403  
Principal balance outstanding 25,640 28,129  
Unconsolidated VIEs | Non-agency | Alt-A | Senior Lien      
On-balance sheet assets      
Trading account assets 62 50  
Debt securities carried at fair value 335 351  
Held-to-maturity securities 0 0  
Unconsolidated VIEs | Commercial Mortgage      
Variable Interest Entity [Line Items]      
Maximum loss exposure 615 585  
On-balance sheet assets      
All other assets 80 88  
Total assets 500 470  
Principal balance outstanding 26,487 26,504  
Unconsolidated VIEs | Commercial Mortgage | Senior Lien      
On-balance sheet assets      
Trading account assets 58 108  
Debt securities carried at fair value 0 0  
Held-to-maturity securities 362 274  
Consolidated VIEs      
On-balance sheet assets      
Trading account assets 5,692 6,521  
Loans and leases, net 45,483 48,929  
All other assets 396 1,694  
Total assets 50,615 56,155  
Total liabilities 10,300 10,222  
Consolidated VIEs | Agency      
Variable Interest Entity [Line Items]      
Maximum loss exposure 13,342 14,502  
On-balance sheet assets      
Trading account assets 269 232  
Loans and leases, net 12,867 14,030  
All other assets 207 240  
Total assets 13,343 14,502  
Total liabilities 3 3  
Consolidated VIEs | Non-agency | Prime      
Variable Interest Entity [Line Items]      
Maximum loss exposure 653 571  
On-balance sheet assets      
Trading account assets 837 571  
Loans and leases, net 0 0  
All other assets 0 0  
Total assets 837 571  
Total liabilities 184 0  
Consolidated VIEs | Non-agency | Subprime      
Variable Interest Entity [Line Items]      
Maximum loss exposure 0 0  
On-balance sheet assets      
Trading account assets 0 0  
Loans and leases, net 0 0  
All other assets 0 0  
Total assets 0 0  
Total liabilities 0 0  
Consolidated VIEs | Non-agency | Alt-A      
Variable Interest Entity [Line Items]      
Maximum loss exposure 0 0  
On-balance sheet assets      
Trading account assets 0 0  
Loans and leases, net 0 0  
All other assets 0 0  
Total assets 0 0  
Total liabilities 0 0  
Consolidated VIEs | Commercial Mortgage      
Variable Interest Entity [Line Items]      
Maximum loss exposure 0 0  
On-balance sheet assets      
Trading account assets 0 0  
Loans and leases, net 0 0  
All other assets 0 0  
Total assets 0 0  
Total liabilities $ 0 $ 0