XML 157 R137.htm IDEA: XBRL DOCUMENT v3.22.2.2
FAIR VALUE MEASUREMENT - Level 3 Fair Value Rollforward (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Trading derivatives, net        
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset (liability), net $ 842 $ (869) $ (112) $ (1,207)
Net realized/unrealized gains (losses) included in principal transactions (287) 625 4,039 1,289
Other 0 0 0 0
Transfers into Level 3 (218) (499) (803) (891)
Transfers out of Level 3 197 924 (965) 1,459
Purchases (784) 199 (75) 538
Issuances 1 0 27 (84)
Sales 322 (151) (754) (720)
Settlements 379 (451) (905) (606)
Balance at end of period, asset (liability), net 452 (222) 452 (222)
Unrealized gains (losses) still held (184) 515 1,081 107
Trading derivatives, net | Interest rate contracts        
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset (liability), net 881 1,764 1,726 1,614
Net realized/unrealized gains (losses) included in principal transactions (278) (160) 322 (458)
Other 0 0 0 0
Transfers into Level 3 (503) (79) (430) 94
Transfers out of Level 3 (12) 56 (815) 377
Purchases (195) 10 (186) 12
Issuances 1 0 7 (84)
Sales 83 0 77 0
Settlements (3) (100) (727) (64)
Balance at end of period, asset (liability), net (26) 1,491 (26) 1,491
Unrealized gains (losses) still held (142) (189) (332) (216)
Trading derivatives, net | Foreign exchange contracts        
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset (liability), net 156 (184) (89) 52
Net realized/unrealized gains (losses) included in principal transactions (171) 131 993 52
Other 0 0 0 0
Transfers into Level 3 32 (71) (443) (63)
Transfers out of Level 3 (3) (22) (9) (18)
Purchases (146) 11 29 145
Issuances 0 0 20 0
Sales 212 (3) (399) (300)
Settlements 197 (70) 175 (76)
Balance at end of period, asset (liability), net 277 (208) 277 (208)
Unrealized gains (losses) still held 121 121 240 53
Trading derivatives, net | Equity contracts        
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset (liability), net (101) (2,550) (2,140) (3,213)
Net realized/unrealized gains (losses) included in principal transactions 162 538 2,159 1,150
Other 0 0 0 0
Transfers into Level 3 60 (370) (13) (968)
Transfers out of Level 3 222 668 429 1,566
Purchases (347) 134 58 243
Issuances 0 0 0 0
Sales 28 (98) (288) (215)
Settlements 37 (295) (144) (536)
Balance at end of period, asset (liability), net 61 (1,973) 61 (1,973)
Unrealized gains (losses) still held (150) 452 1,021 237
Trading derivatives, net | Commodity contracts        
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset (liability), net 255 142 422 292
Net realized/unrealized gains (losses) included in principal transactions 110 200 732 750
Other 0 0 0 0
Transfers into Level 3 140 (3) 95 7
Transfers out of Level 3 (134) 106 (543) (511)
Purchases (60) 44 60 138
Issuances 0 0 0 0
Sales (2) (50) (144) (205)
Settlements (56) (21) (369) (53)
Balance at end of period, asset (liability), net 253 418 253 418
Unrealized gains (losses) still held 151 218 412 272
Trading derivatives, net | Credit derivatives        
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset (liability), net (349) (41) (31) 48
Net realized/unrealized gains (losses) included in principal transactions (110) (84) (167) (205)
Other 0 0 0 0
Transfers into Level 3 53 24 (12) 39
Transfers out of Level 3 124 116 (27) 45
Purchases (36) 0 (36) 0
Issuances 0 0 0 0
Sales 1 0 0 0
Settlements 204 35 160 123
Balance at end of period, asset (liability), net (113) 50 (113) 50
Unrealized gains (losses) still held (164) (87) (260) (239)
Interest-bearing deposits        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 18 154 183 206
Net realized/unrealized gains (losses) included in principal transactions, liabilities 0 0 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 3 (25) 6 (7)
Transfers into Level 3, liabilities 0 0 7 0
Transfers out of Level 3, liabilities 0 0 (122) (44)
Purchases, liability 0 0 0 0
Issuance, liability 2 14 20 34
Sales, liability 0 0 0 0
Settlements, liability (1) (11) (66) (21)
Balance at end of period, liability 16 182 16 182
Unrealized gains (losses) still held, liabilities 0 5 0 (146)
Securities loaned and sold under agreements to repurchase        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 593 488 643 631
Net realized/unrealized gains (losses) included in principal transactions, liabilities 36 (29) 86 (22)
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 0 183 0 183
Transfers out of Level 3, liabilities 0 0 (3) (483)
Purchases, liability 437 0 453 488
Issuance, liability 33 0 33 0
Sales, liability 0 0 0 0
Settlements, liability (30) (44) (43) (185)
Balance at end of period, liability 997 656 997 656
Unrealized gains (losses) still held, liabilities 0 6 0 25
Trading account liabilities | Securities sold, not yet purchased        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 72 168 65 214
Net realized/unrealized gains (losses) included in principal transactions, liabilities (10) (22) 11 39
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 13 7 48 69
Transfers out of Level 3, liabilities (2) (4) (21) (29)
Purchases, liability 46 21 129 41
Issuance, liability 0 0 0 0
Sales, liability 0 0 1 0
Settlements, liability (36) (126) (108) (168)
Balance at end of period, liability 103 88 103 88
Unrealized gains (losses) still held, liabilities (13) 4 (6) 4
Trading account liabilities | Other trading liabilities        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 0 1 0 26
Net realized/unrealized gains (losses) included in principal transactions, liabilities (2) 1 (2) 26
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 0 0 0 0
Transfers out of Level 3, liabilities 0 0 0 0
Purchases, liability 0 0 0 0
Issuance, liability 0 0 0 0
Sales, liability 0 0 0 0
Settlements, liability 0 0 0 0
Balance at end of period, liability 2 0 2 0
Unrealized gains (losses) still held, liabilities 0 4 0 0
Short-term borrowings        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 81 41 105 219
Net realized/unrealized gains (losses) included in principal transactions, liabilities 12 (1) 101 31
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 1 2 41 44
Transfers out of Level 3, liabilities (40) (12) (61) (56)
Purchases, liability 0 0 0 0
Issuance, liability 6 2 82 27
Sales, liability 0 0 0 0
Settlements, liability (1) (31) (31) (200)
Balance at end of period, liability 35 3 35 3
Unrealized gains (losses) still held, liabilities (17) 2 (22) 2
Long-term debt        
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Transfers out of Level 3 800 1,100 4,300 7,100
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 29,778 25,068 25,509 25,210
Net realized/unrealized gains (losses) included in principal transactions, liabilities 3,734 486 11,979 2,259
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 2,831 2,052 9,574 6,921
Transfers out of Level 3, liabilities (811) (1,086) (4,318) (7,054)
Purchases, liability 0 0 0 0
Issuance, liability 3,838 1,526 13,537 9,071
Sales, liability 0 0 0 0
Settlements, liability (192) (1,032) (613) (5,847)
Balance at end of period, liability 31,710 26,042 31,710 26,042
Unrealized gains (losses) still held, liabilities 3,336 434 9,530 1,305
Other financial liabilities        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 0 4 1 1
Net realized/unrealized gains (losses) included in principal transactions, liabilities 0 0 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities (8) 0 (7) (3)
Transfers into Level 3, liabilities 5 0 5 0
Transfers out of Level 3, liabilities 0 0 0 (4)
Purchases, liability 0 0 0 0
Issuance, liability 0 0 0 14
Sales, liability 0 0 0
Settlements, liability 0 (3) 0 (13)
Balance at end of period, liability 13 1 13 1
Unrealized gains (losses) still held, liabilities 0 0 0 0
Securities borrowed and purchased under agreements to resell        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 183 211 231 320
Net realized/unrealized gains (losses) included in principal transactions (1) 1 (2) (10)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 0 45 0 45
Transfers out of Level 3, assets 0 0 0 (49)
Purchases, assets 128 43 252 319
Issuance, assets 0 0 0 0
Sales, assets 0 0 0 0
Settlements, assets (169) (43) (340) (368)
Balance at end of period, asset 141 257 141 257
Unrealized gains (losses) still held, assets 3 3 14 25
Trading non-derivative assets        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 3,484 2,986 2,520 3,647
Net realized/unrealized gains (losses) included in principal transactions 50 306 168 743
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 514 420 1,969 1,451
Transfers out of Level 3, assets (591) (376) (1,461) (1,087)
Purchases, assets 944 1,084 3,305 3,291
Issuance, assets 11 0 27 4
Sales, assets (1,137) (1,378) (3,245) (5,003)
Settlements, assets (5) 0 (13) (4)
Balance at end of period, asset 3,270 3,042 3,270 3,042
Unrealized gains (losses) still held, assets (121) 67 (469) 49
Trading non-derivative assets | U.S. government-sponsored agency guaranteed        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 708 376 496  
Net realized/unrealized gains (losses) included in principal transactions (28) 20 (41)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 54 60 181  
Transfers out of Level 3, assets (153) (52) (311)  
Purchases, assets 310 154 794  
Issuance, assets 0 0 0  
Sales, assets (219) (126) (447)  
Settlements, assets 0 0 0  
Balance at end of period, asset 672 432 672 432
Unrealized gains (losses) still held, assets (33) 17 (53)  
Trading non-derivative assets | Residential        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 153 95 104  
Net realized/unrealized gains (losses) included in principal transactions (2) 2 (2)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 25 5 86  
Transfers out of Level 3, assets (22) (9) (54)  
Purchases, assets 33 19 118  
Issuance, assets 0 0 0  
Sales, assets (45) (51) (110)  
Settlements, assets 0 0 0  
Balance at end of period, asset 142 61 142 61
Unrealized gains (losses) still held, assets (2) 3 (1)  
Trading non-derivative assets | Commercial        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 138 87 81  
Net realized/unrealized gains (losses) included in principal transactions (4) 1 (9)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 20 17 117  
Transfers out of Level 3, assets (17) (12) (51)  
Purchases, assets 5 36 14  
Issuance, assets 0 0 0  
Sales, assets (26) (9) (36)  
Settlements, assets 0 0 0  
Balance at end of period, asset 116 120 116 120
Unrealized gains (losses) still held, assets 1 1 7  
Trading non-derivative assets | Mortgage-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 999 558 681  
Net realized/unrealized gains (losses) included in principal transactions (34) 23 (52)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 99 82 384  
Transfers out of Level 3, assets (192) (73) (416)  
Purchases, assets 348 209 926  
Issuance, assets 0 0 0  
Sales, assets (290) (186) (593)  
Settlements, assets 0 0 0  
Balance at end of period, asset 930 613 930 613
Unrealized gains (losses) still held, assets (34) 21 (47)  
Trading non-derivative assets | U.S. Treasury and federal agency securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 1 0 4  
Net realized/unrealized gains (losses) included in principal transactions 0 0 (4)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 0 0 2  
Transfers out of Level 3, assets 0 0 (1)  
Purchases, assets 0 0 0  
Issuance, assets 0 0 0  
Sales, assets 0 0 0  
Settlements, assets (1) 0 (1)  
Balance at end of period, asset 0 0 0 0
Unrealized gains (losses) still held, assets 0 0 0  
Trading non-derivative assets | State and municipal        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 80 70 37  
Net realized/unrealized gains (losses) included in principal transactions 4 3 9  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 4 0 75  
Transfers out of Level 3, assets (6) 0 (26)  
Purchases, assets 14 0 15  
Issuance, assets 0 0 0  
Sales, assets (74) (2) (88)  
Settlements, assets 0 0 0  
Balance at end of period, asset 22 71 22 71
Unrealized gains (losses) still held, assets 0 4 (1)  
Trading non-derivative assets | Foreign government        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 364 141 23  
Net realized/unrealized gains (losses) included in principal transactions (14) 26 (40)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 5 7 304  
Transfers out of Level 3, assets (4) (98) (5)  
Purchases, assets 70 6 157  
Issuance, assets 0 0 0  
Sales, assets (41) (49) (59)  
Settlements, assets 0 0 0  
Balance at end of period, asset 380 33 380 33
Unrealized gains (losses) still held, assets (9) 4 (19)  
Trading non-derivative assets | Corporate        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 537 823 412  
Net realized/unrealized gains (losses) included in principal transactions 21 3 89  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 193 123 455  
Transfers out of Level 3, assets (72) (110) (350)  
Purchases, assets 91 246 919  
Issuance, assets 0 0 0  
Sales, assets (310) (544) (1,065)  
Settlements, assets 0 0 0  
Balance at end of period, asset 460 541 460 541
Unrealized gains (losses) still held, assets (15) 16 (109)  
Trading non-derivative assets | Marketable equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 133 147 174  
Net realized/unrealized gains (losses) included in principal transactions 48 12 34  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 71 55 134  
Transfers out of Level 3, assets (12) (9) (99)  
Purchases, assets 34 58 142  
Issuance, assets 0 0 0  
Sales, assets (87) (58) (198)  
Settlements, assets 0 0 0  
Balance at end of period, asset 187 205 187 205
Unrealized gains (losses) still held, assets (26) 14 (47)  
Trading non-derivative assets | Asset-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 554 692 613  
Net realized/unrealized gains (losses) included in principal transactions (7) 101 (26)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 68 128 208  
Transfers out of Level 3, assets (25) (19) (192)  
Purchases, assets 196 186 589  
Issuance, assets 0 0 0  
Sales, assets (174) (424) (580)  
Settlements, assets 0 0 0  
Balance at end of period, asset 612 664 612 664
Unrealized gains (losses) still held, assets (18) (28) (151)  
Trading non-derivative assets | Other trading assets        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 816 555 576  
Net realized/unrealized gains (losses) included in principal transactions 32 138 158  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0  
Transfers into Level 3 74 25 407  
Transfers out of Level 3, assets (280) (67) (372)  
Purchases, assets 191 379 557  
Issuance, assets 11 0 27  
Sales, assets (161) (115) (662)  
Settlements, assets (4) 0 (12)  
Balance at end of period, asset 679 915 679 915
Unrealized gains (losses) still held, assets (19) 36 (95)  
Trading non-derivative assets | U.S. government-sponsored agency guaranteed        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       27
Net realized/unrealized gains (losses) included in principal transactions       21
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       312
Transfers out of Level 3, assets       (60)
Purchases, assets       268
Issuance, assets       0
Sales, assets       (136)
Settlements, assets       0
Balance at end of period, asset   432   432
Unrealized gains (losses) still held, assets       31
Trading non-derivative assets | Residential        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       340
Net realized/unrealized gains (losses) included in principal transactions       24
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       74
Transfers out of Level 3, assets       (77)
Purchases, assets       220
Issuance, assets       0
Sales, assets       (520)
Settlements, assets       0
Balance at end of period, asset   61   61
Unrealized gains (losses) still held, assets       17
Trading non-derivative assets | Commercial        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       136
Net realized/unrealized gains (losses) included in principal transactions       22
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       93
Transfers out of Level 3, assets       (53)
Purchases, assets       60
Issuance, assets       0
Sales, assets       (138)
Settlements, assets       0
Balance at end of period, asset   120   120
Unrealized gains (losses) still held, assets       2
Trading non-derivative assets | Mortgage-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       503
Net realized/unrealized gains (losses) included in principal transactions       67
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       479
Transfers out of Level 3, assets       (190)
Purchases, assets       548
Issuance, assets       0
Sales, assets       (794)
Settlements, assets       0
Balance at end of period, asset   613   613
Unrealized gains (losses) still held, assets       50
Trading non-derivative assets | U.S. Treasury and federal agency securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       0
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       0
Transfers out of Level 3, assets       0
Purchases, assets       0
Issuance, assets       0
Sales, assets       0
Settlements, assets       0
Balance at end of period, asset   0   0
Unrealized gains (losses) still held, assets       0
Trading non-derivative assets | State and municipal        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       94
Net realized/unrealized gains (losses) included in principal transactions       3
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       0
Transfers out of Level 3, assets       (29)
Purchases, assets       5
Issuance, assets       0
Sales, assets       (2)
Settlements, assets       0
Balance at end of period, asset   71   71
Unrealized gains (losses) still held, assets       4
Trading non-derivative assets | Foreign government        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       51
Net realized/unrealized gains (losses) included in principal transactions       31
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       143
Transfers out of Level 3, assets       (126)
Purchases, assets       77
Issuance, assets       0
Sales, assets       (143)
Settlements, assets       0
Balance at end of period, asset   33   33
Unrealized gains (losses) still held, assets       4
Trading non-derivative assets | Corporate        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       375
Net realized/unrealized gains (losses) included in principal transactions       78
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       441
Transfers out of Level 3, assets       (278)
Purchases, assets       721
Issuance, assets       0
Sales, assets       (796)
Settlements, assets       0
Balance at end of period, asset   541   541
Unrealized gains (losses) still held, assets       (6)
Trading non-derivative assets | Marketable equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       73
Net realized/unrealized gains (losses) included in principal transactions       59
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       139
Transfers out of Level 3, assets       (51)
Purchases, assets       93
Issuance, assets       0
Sales, assets       (108)
Settlements, assets       0
Balance at end of period, asset   205   205
Unrealized gains (losses) still held, assets       26
Trading non-derivative assets | Asset-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       1,606
Net realized/unrealized gains (losses) included in principal transactions       349
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       163
Transfers out of Level 3, assets       (217)
Purchases, assets       1,120
Issuance, assets       0
Sales, assets       (2,357)
Settlements, assets       0
Balance at end of period, asset   664   664
Unrealized gains (losses) still held, assets       (58)
Trading non-derivative assets | Other Trading Assets        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       945
Net realized/unrealized gains (losses) included in principal transactions       156
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       86
Transfers out of Level 3, assets       (196)
Purchases, assets       727
Issuance, assets       4
Sales, assets       (803)
Settlements, assets       (4)
Balance at end of period, asset   915   915
Unrealized gains (losses) still held, assets       29
Investments        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 2,263 2,246 2,227 1,542
Net realized/unrealized gains (losses) included in principal transactions 0 0 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (70) (69) (217) (68)
Transfers into Level 3 88 235 503 824
Transfers out of Level 3, assets (69) (283) (373) (680)
Purchases, assets 315 120 725 801
Issuance, assets 0 0 0 0
Sales, assets (294) (96) (632) (266)
Settlements, assets 0 0 0 0
Balance at end of period, asset 2,233 2,153 2,233 2,153
Unrealized gains (losses) still held, assets (65) (65) (122) (145)
Investments | U.S. government-sponsored agency guaranteed        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 28 52 51  
Net realized/unrealized gains (losses) included in principal transactions 0 0 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (2) 0 (11)  
Transfers into Level 3 0 20 1  
Transfers out of Level 3, assets 0 (10) (10)  
Purchases, assets 0 0 4  
Issuance, assets 0 0 0  
Sales, assets 0 (10) (9)  
Settlements, assets 0 0 0  
Balance at end of period, asset 26 52 26 52
Unrealized gains (losses) still held, assets (2) 0 (5)  
Investments | Residential        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 40 0 94 0
Net realized/unrealized gains (losses) included in principal transactions 0 0 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (4) 0 (10) 0
Transfers into Level 3 0 0 0 0
Transfers out of Level 3, assets 0 0 (39) 0
Purchases, assets 3 12 3 12
Issuance, assets 0 0 0 0
Sales, assets 0 0 (9) 0
Settlements, assets 0 0 0 0
Balance at end of period, asset 39 12 39 12
Unrealized gains (losses) still held, assets (5) 0 (6) 0
Investments | Commercial        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 0 0 0 0
Net realized/unrealized gains (losses) included in principal transactions 0 0 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 0 0 0 0
Transfers out of Level 3, assets 0 0 0 0
Purchases, assets 0 0 0
Issuance, assets 0 0 0 0
Sales, assets 0 0 0 0
Settlements, assets 0 0 0 0
Balance at end of period, asset 0 0 0 0
Unrealized gains (losses) still held, assets 0 0 0 0
Investments | Mortgage-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 68 52 145  
Net realized/unrealized gains (losses) included in principal transactions 0 0 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (6) 0 (21)  
Transfers into Level 3 0 20 1  
Transfers out of Level 3, assets 0 (10) (49)  
Purchases, assets 3 12 7  
Issuance, assets 0 0 0  
Sales, assets 0 (10) (18)  
Settlements, assets 0 0 0  
Balance at end of period, asset 65 64 65 64
Unrealized gains (losses) still held, assets (7) 0 (11)  
Investments | U.S. Treasury and federal agency securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 0 0 1  
Net realized/unrealized gains (losses) included in principal transactions 0 0 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 (1)  
Transfers into Level 3 0 0 0  
Transfers out of Level 3, assets 0 0 0  
Purchases, assets 0 0 0  
Issuance, assets 0 0 0  
Sales, assets 0 0 0  
Settlements, assets 0 0 0  
Balance at end of period, asset 0 0 0 0
Unrealized gains (losses) still held, assets 0 0 0  
Investments | State and municipal        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 539 748 772  
Net realized/unrealized gains (losses) included in principal transactions 0 0 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (20) (6) (98)  
Transfers into Level 3 81 0 81  
Transfers out of Level 3, assets 0 0 (142)  
Purchases, assets 0 2 1  
Issuance, assets 0 0 0  
Sales, assets (25) (9) (39)  
Settlements, assets 0 0 0  
Balance at end of period, asset 575 735 575 735
Unrealized gains (losses) still held, assets (14) (6) (73)  
Investments | Foreign government        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 1,001 957 786  
Net realized/unrealized gains (losses) included in principal transactions 0 0 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (53) (25) (92)  
Transfers into Level 3 6 63 256  
Transfers out of Level 3, assets (56) (232) (169)  
Purchases, assets 224 99 609  
Issuance, assets 0 0 0  
Sales, assets (262) (50) (530)  
Settlements, assets 0 0 0  
Balance at end of period, asset 860 812 860 812
Unrealized gains (losses) still held, assets (44) (6) (36)  
Investments | Corporate        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 334 104 188  
Net realized/unrealized gains (losses) included in principal transactions 0 0 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 4 (2) (3)  
Transfers into Level 3 1 151 154  
Transfers out of Level 3, assets (3) (41) (3)  
Purchases, assets 1 7 1  
Issuance, assets 0 0 0  
Sales, assets 0 (27) 0  
Settlements, assets 0 0 0  
Balance at end of period, asset 337 192 337 192
Unrealized gains (losses) still held, assets 0 0 (2)  
Investments | Marketable equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 10 0 16 0
Net realized/unrealized gains (losses) included in principal transactions 0 0 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 (6) 0
Transfers into Level 3 0 0 0 0
Transfers out of Level 3, assets 0 0 0 0
Purchases, assets 0 0 0 0
Issuance, assets 0 0 0 0
Sales, assets 0 0 0 0
Settlements, assets 0 0 0 0
Balance at end of period, asset 10 0 10 0
Unrealized gains (losses) still held, assets 0 0 0 0
Investments | Asset-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 1 3 3  
Net realized/unrealized gains (losses) included in principal transactions 0 0 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 8 0 19  
Transfers into Level 3 0 0 0  
Transfers out of Level 3, assets 0 0 0  
Purchases, assets 0 0 0  
Issuance, assets 0 0 0  
Sales, assets (7) 0 (20)  
Settlements, assets 0 0 0  
Balance at end of period, asset 2 3 2 3
Unrealized gains (losses) still held, assets 0 0 0  
Investments | Other trading assets        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 0 0 0 0
Net realized/unrealized gains (losses) included in principal transactions 0 0 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 0 0 0 0
Transfers out of Level 3, assets 0 0 0 0
Purchases, assets 0 0 0 0
Issuance, assets 0 0 0 0
Sales, assets 0 0 0 0
Settlements, assets 0 0 0 0
Balance at end of period, asset 0 0 0 0
Unrealized gains (losses) still held, assets 0 0 0 0
Investments | Non-marketable equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 310 382 316  
Net realized/unrealized gains (losses) included in principal transactions 0 0 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (3) (36) (15)  
Transfers into Level 3 0 1 11  
Transfers out of Level 3, assets (10) 0 (10)  
Purchases, assets 87 0 107  
Issuance, assets 0 0 0  
Sales, assets 0 0 (25)  
Settlements, assets 0 0 0  
Balance at end of period, asset 384 347 384 347
Unrealized gains (losses) still held, assets 0 (53) 0  
Investments | U.S. government-sponsored agency guaranteed        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       30
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       2
Transfers into Level 3       42
Transfers out of Level 3, assets       (10)
Purchases, assets       3
Issuance, assets       0
Sales, assets       (15)
Settlements, assets       0
Balance at end of period, asset   52   52
Unrealized gains (losses) still held, assets       (53)
Investments | Mortgage-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       30
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       2
Transfers into Level 3       42
Transfers out of Level 3, assets       (10)
Purchases, assets       15
Issuance, assets       0
Sales, assets       (15)
Settlements, assets       0
Balance at end of period, asset   64   64
Unrealized gains (losses) still held, assets       (53)
Investments | U.S. Treasury and federal agency securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       0
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       0
Transfers into Level 3       0
Transfers out of Level 3, assets       0
Purchases, assets       0
Issuance, assets       0
Sales, assets       0
Settlements, assets       0
Balance at end of period, asset   0   0
Unrealized gains (losses) still held, assets       0
Investments | State and municipal        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       834
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       (16)
Transfers into Level 3       58
Transfers out of Level 3, assets       (108)
Purchases, assets       5
Issuance, assets       0
Sales, assets       (38)
Settlements, assets       0
Balance at end of period, asset   735   735
Unrealized gains (losses) still held, assets       (12)
Investments | Foreign government        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       268
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       (24)
Transfers into Level 3       503
Transfers out of Level 3, assets       (521)
Purchases, assets       744
Issuance, assets       0
Sales, assets       (158)
Settlements, assets       0
Balance at end of period, asset   812   812
Unrealized gains (losses) still held, assets       (4)
Investments | Corporate        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       60
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       (13)
Transfers into Level 3       183
Transfers out of Level 3, assets       (41)
Purchases, assets       37
Issuance, assets       0
Sales, assets       (34)
Settlements, assets       0
Balance at end of period, asset   192   192
Unrealized gains (losses) still held, assets       2
Investments | Asset-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       1
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       (21)
Transfers into Level 3       36
Transfers out of Level 3, assets       0
Purchases, assets       0
Issuance, assets       0
Sales, assets       (13)
Settlements, assets       0
Balance at end of period, asset   3   3
Unrealized gains (losses) still held, assets       (25)
Investments | Non-marketable equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset       349
Net realized/unrealized gains (losses) included in principal transactions       0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets       4
Transfers into Level 3       2
Transfers out of Level 3, assets       0
Purchases, assets       0
Issuance, assets       0
Sales, assets       (8)
Settlements, assets       0
Balance at end of period, asset   347   347
Unrealized gains (losses) still held, assets       (53)
Loans        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 325 429 711 1,985
Net realized/unrealized gains (losses) included in principal transactions 0 0 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 5 (16) (185) 332
Transfers into Level 3 83 0 84 271
Transfers out of Level 3, assets (3) (20) (198) (2,071)
Purchases, assets 0 0 0 0
Issuance, assets 333 336 334 337
Sales, assets 0 0 0 0
Settlements, assets (108) (7) (111) (132)
Balance at end of period, asset 635 722 635 722
Unrealized gains (losses) still held, assets (6) 14 (52) 111
Fair value, Derivative assets (liabilities) measured on recurring basis, level 3 fair-value category reconciliation        
Transfers out of Level 3       (2,000)
Mortgage servicing rights        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 600 419 404 336
Net realized/unrealized gains (losses) included in principal transactions 0 0 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 37 (3) 195 49
Transfers into Level 3 0 0 0
Transfers out of Level 3, assets 0 0 0 0
Purchases, assets 0 0 0
Issuance, assets 25 8 94 76
Sales, assets 0 0 0
Settlements, assets (15) (15) (46) (52)
Balance at end of period, asset 647 409 647 409
Unrealized gains (losses) still held, assets 38 (3) 194 50
Other financial assets measured on a recurring basis        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 63 55 73 0
Net realized/unrealized gains (losses) included in principal transactions 0 0 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (19) 3 (13) 3
Transfers into Level 3 22 10 29 65
Transfers out of Level 3, assets 0 (4) (16) (4)
Purchases, assets 7 33 21 33
Issuance, assets (1) 0 39 0
Sales, assets (16) (11) (17) (11)
Settlements, assets (6) 0 (66) 0
Balance at end of period, asset 50 86 50 86
Unrealized gains (losses) still held, assets $ (12) $ 0 $ 8 $ 0