Annual report pursuant to Section 13 and 15(d)

Fair Value Option - Gains (Losses) Relating to Assets and Liabilities (Details)

v3.8.0.1
Fair Value Option - Gains (Losses) Relating to Assets and Liabilities (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option $ 3,229 $ 774 $ 2,671
Federal funds sold and securities borrowed or purchased under agreements to resell      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option (57) (63) (195)
Loans reported as trading account assets      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 318 301 (199)
Trading inventory – other      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 3,821 57 1,284
Consumer and commercial loans      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 26 12 (243)
Loans held-for-sale      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 298 535 700
Unfunded loan commitments      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 36 487 (210)
Long-term debt      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option (1,190) (586) 1,474
Other      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option (23) 31 60
Trading Account Profits      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 2,993 (156) 3,050
Trading Account Profits | Federal funds sold and securities borrowed or purchased under agreements to resell      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option (57) (64) (195)
Trading Account Profits | Loans reported as trading account assets      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 318 301 (199)
Trading Account Profits | Trading inventory – other      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 3,821 57 1,284
Trading Account Profits | Consumer and commercial loans      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option (9) 49 52
Trading Account Profits | Loans held-for-sale      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 0 11 (36)
Trading Account Profits | Unfunded loan commitments      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 0 0 0
Trading Account Profits | Long-term debt      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option (1,044) (489) 2,107
Trading Account Profits | Other      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option (36) (21) 37
Mortgage Banking Income      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 211 518 673
Mortgage Banking Income | Federal funds sold and securities borrowed or purchased under agreements to resell      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 0 0 0
Mortgage Banking Income | Loans reported as trading account assets      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 0 0 0
Mortgage Banking Income | Trading inventory – other      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 0 0 0
Mortgage Banking Income | Consumer and commercial loans      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 0 0 0
Mortgage Banking Income | Loans held-for-sale      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 211 518 673
Mortgage Banking Income | Unfunded loan commitments      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 0 0 0
Mortgage Banking Income | Long-term debt      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 0 0 0
Mortgage Banking Income | Other      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 0 0 0
Other Income      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 25 412 (1,052)
Other Income | Federal funds sold and securities borrowed or purchased under agreements to resell      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 0 1 0
Other Income | Loans reported as trading account assets      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 0 0 0
Other Income | Trading inventory – other      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 0 0 0
Other Income | Consumer and commercial loans      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 35 (37) (295)
Other Income | Loans held-for-sale      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 87 6 63
Other Income | Unfunded loan commitments      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option 36 487 (210)
Other Income | Long-term debt      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option (146) (97) (633)
Other Income | Other      
Fair Value, Option, Quantitative Disclosures [Line Items]      
Gains (losses) relating to assets and liabilities accounted for under the fair value option $ 13 $ 52 $ 23