v3.26.1
FAIR VALUE MEASUREMENT - Level 3 Fair Value Rollforward (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
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 $ (2,149) $ (2,308) $ (3,269) $ (1,325)
Net realized/unrealized gains (losses) included in principal transactions (160) 349 (195) 197
Other 0 0 0 0
Transfers into Level 3 (376) (436) (320) (549)
Transfers out of Level 3 (119) 259 219 542
Purchases (1,482) (419) (1,551) (1,523)
Issuances 0 7 0 10
Sales (219) (97) (937) (190)
Settlements 978 29 2,526 222
Balance at end of period, asset (liability), net (3,527) (2,616) (3,527) (2,616)
Unrealized gains (losses) still held (194) (24) (126) (941)
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 186 (637) 20 (330)
Net realized/unrealized gains (losses) included in principal transactions 99 180 19 (52)
Other 0 0 0 0
Transfers into Level 3 178 (58) 256 (72)
Transfers out of Level 3 (31) 35 (77) (63)
Purchases (109) (54) 71 (63)
Issuances 0 7 0 10
Sales 0 0 (139) (9)
Settlements 17 71 190 123
Balance at end of period, asset (liability), net 340 (456) 340 (456)
Unrealized gains (losses) still held 97 145 240 (113)
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 (94) 181 (50) 185
Net realized/unrealized gains (losses) included in principal transactions (49) 68 (45) (6)
Other 0 0 0 0
Transfers into Level 3 6 18 21 80
Transfers out of Level 3 (52) (125) (114) (75)
Purchases 76 8 (86) 49
Issuances 0 0 0 0
Sales (78) (90) (221) (149)
Settlements 126 8 430 (16)
Balance at end of period, asset (liability), net (65) 68 (65) 68
Unrealized gains (losses) still held (7) (67) (67) (207)
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 (2,818) (2,205) (2,964) (1,688)
Net realized/unrealized gains (losses) included in principal transactions (22) 251 (71) 386
Other 0 0 0 0
Transfers into Level 3 (224) (128) (229) (276)
Transfers out of Level 3 221 334 579 467
Purchases (1,138) (399) (1,798) (1,313)
Issuances 0 0 0 0
Sales (139) (7) (264) (28)
Settlements 719 (13) 1,346 285
Balance at end of period, asset (liability), net (3,401) (2,167) (3,401) (2,167)
Unrealized gains (losses) still held (202) 80 (451) (557)
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 355 325 144 404
Net realized/unrealized gains (losses) included in principal transactions (62) (57) (33) 40
Other 0 0 0 0
Transfers into Level 3 (181) (184) (239) (207)
Transfers out of Level 3 28 19 145 135
Purchases (219) 47 84 (79)
Issuances 0 0 0 0
Sales (2) 0 (123) (4)
Settlements 36 (23) (23) (162)
Balance at end of period, asset (liability), net (45) 127 (45) 127
Unrealized gains (losses) still held 36 (38) 195 73
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 222 28 (419) 104
Net realized/unrealized gains (losses) included in principal transactions (126) (93) (65) (171)
Other 0 0 0 0
Transfers into Level 3 (155) (84) (129) (74)
Transfers out of Level 3 (285) (4) (314) 78
Purchases (92) (21) 178 (117)
Issuances 0 0 0 0
Sales 0 0 (190) 0
Settlements 80 (14) 583 (8)
Balance at end of period, asset (liability), net (356) (188) (356) (188)
Unrealized gains (losses) still held (118) (144) (43) (137)
Other financial liabilities measured on a recurring basis        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 0   0 0
Net realized/unrealized gains (losses) included in principal transactions, liabilities 0   0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0   0 0
Transfers into Level 3, liabilities 0   0 14
Transfers out of Level 3, liabilities 0   0 0
Purchases, liability 0   0 50
Issuance, liability 0   0 1
Sales, liability 0   0 0
Settlements, liability 0   0 0
Balance at end of period, liability 0 65 0 65
Unrealized gains (losses) still held, liabilities 0   0 0
Deposits        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 237 47 239 39
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 (4) 4 (4)
Transfers into Level 3, liabilities 1 1 1 1
Transfers out of Level 3, liabilities (3) 0 (3) 0
Purchases, liability 0 0 0 0
Issuance, liability 1 7 10 26
Sales, liability 0 0 0 0
Settlements, liability (13) (16) (23) (27)
Balance at end of period, liability 220 43 220 43
Unrealized gains (losses) still held, liabilities (27) 0 (29) 0
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 913 798 952 390
Net realized/unrealized gains (losses) included in principal transactions, liabilities 2 (5) 4 (2)
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 301 339 602 1,071
Issuance, liability 0 0 0 0
Sales, liability 0 0 0 0
Settlements, liability (313) (187) (651) (508)
Balance at end of period, liability 899 955 899 955
Unrealized gains (losses) still held, liabilities 6 1 6 1
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 125 29 45 28
Net realized/unrealized gains (losses) included in principal transactions, liabilities 4 (11) 4 18
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 34 5 106 7
Transfers out of Level 3, liabilities (32) (16) (56) (21)
Purchases, liability 58 19 90 76
Issuance, liability 0 0 0 0
Sales, liability 0 0 0 0
Settlements, liability (73) (11) (73) (35)
Balance at end of period, liability 108 37 108 37
Unrealized gains (losses) still held, liabilities 2 (12) 6 (26)
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 0 0 0
Net realized/unrealized gains (losses) included in principal transactions, liabilities 0 0 0 1
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 (2)
Purchases, liability 0 0 0 25
Issuance, liability 0 0 0 0
Sales, liability 0 0 0 0
Settlements, liability 0 0 0 (22)
Balance at end of period, liability 0 0 0 0
Unrealized gains (losses) still held, liabilities 0 0 0 0
Short-term borrowings        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 297 721 292 297
Net realized/unrealized gains (losses) included in principal transactions, liabilities (9) 37 (10) 46
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 2 45 6 59
Transfers out of Level 3, liabilities (8) (24) (44) (59)
Purchases, liability 0 0 0 0
Issuance, liability 82 43 225 616
Sales, liability 0 0 0 0
Settlements, liability (135) (405) (242) (524)
Balance at end of period, liability 247 343 247 343
Unrealized gains (losses) still held, liabilities (2) (5) (30) (103)
Long-term debt        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 24,143 21,441 23,959 21,100
Net realized/unrealized gains (losses) included in principal transactions, liabilities (385) (470) 589 (419)
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 764 628 1,696 1,240
Transfers out of Level 3, liabilities (1,178) (1,224) (1,896) (2,065)
Purchases, liability 0 0 0 0
Issuance, liability 1,715 765 3,588 2,049
Sales, liability 0 0 0 0
Settlements, liability (78) (914) (1,007) (1,577)
Balance at end of period, liability 25,751 21,166 25,751 21,166
Unrealized gains (losses) still held, liabilities (221) (586) 274 (520)
Other financial liabilities measured on a recurring basis        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability   1    
Net realized/unrealized gains (losses) included in principal transactions, liabilities   0    
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities   0    
Transfers into Level 3, liabilities   14    
Transfers out of Level 3, liabilities   0    
Purchases, liability   50    
Issuance, liability   0    
Sales, liability   0    
Settlements, liability   0    
Balance at end of period, liability   65   65
Unrealized gains (losses) still held, liabilities   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 49 153 49 128
Net realized/unrealized gains (losses) included in principal transactions 0 21 0 27
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 (84)
Purchases, assets 2 18 51 168
Issuance, assets 0 0 0 0
Sales, assets 0 0 0 0
Settlements, assets (4) (106) (53) (153)
Balance at end of period, asset 47 86 47 86
Unrealized gains (losses) still held, assets 0 22 0 24
Trading mortgage-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 2,060 1,988 1,767 1,377
Net realized/unrealized gains (losses) included in principal transactions (36) 106 (95) 187
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 184 233 466 514
Transfers out of Level 3, assets (398) (370) (618) (520)
Purchases, assets 611 572 1,431 1,310
Issuance, assets 5 12 17 24
Sales, assets (592) (526) (1,125) (869)
Settlements, assets (9) (8) (18) (16)
Balance at end of period, asset 1,825 2,007 1,825 2,007
Unrealized gains (losses) still held, assets 42 208 18 285
Trading mortgage-backed securities | Mortgage-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 594 819 536 404
Net realized/unrealized gains (losses) included in principal transactions (29) 18 (49) 38
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 95 121 268 309
Transfers out of Level 3, assets (141) (253) (264) (310)
Purchases, assets 287 193 442 616
Issuance, assets 0 0 0 0
Sales, assets (161) (206) (288) (365)
Settlements, assets 0 0 0 0
Balance at end of period, asset 645 692 645 692
Unrealized gains (losses) still held, assets (19) 7 (26) 25
Trading mortgage-backed securities | 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 429   382 301
Net realized/unrealized gains (losses) included in principal transactions (26)   (40) 40
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0 0
Transfers into Level 3 72   201 242
Transfers out of Level 3, assets (105)   (213) (210)
Purchases, assets 228   340 454
Issuance, assets 0   0 0
Sales, assets (115)   (187) (282)
Settlements, assets 0   0 0
Balance at end of period, asset 483 545 483 545
Unrealized gains (losses) still held, assets (16)   (21) 29
Trading mortgage-backed securities | Residential        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 94   99 67
Net realized/unrealized gains (losses) included in principal transactions (3)   (6) 2
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0 0
Transfers into Level 3 21   26 37
Transfers out of Level 3, assets (33)   (42) (61)
Purchases, assets 53   95 106
Issuance, assets 0   0 0
Sales, assets (40)   (80) (66)
Settlements, assets 0   0 0
Balance at end of period, asset 92 85 92 85
Unrealized gains (losses) still held, assets (3)   (4) (1)
Trading mortgage-backed securities | Commercial        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 71   55 36
Net realized/unrealized gains (losses) included in principal transactions 0   (3) (4)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0 0
Transfers into Level 3 2   41 30
Transfers out of Level 3, assets (3)   (9) (39)
Purchases, assets 6   7 56
Issuance, assets 0   0 0
Sales, assets (6)   (21) (17)
Settlements, assets 0   0 0
Balance at end of period, asset 70 62 70 62
Unrealized gains (losses) still held, assets 0   (1) (3)
Trading mortgage-backed securities | 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 0
Transfers into Level 3 0   0 0
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 0   0 0
Balance at end of period, asset 0 0 0 0
Unrealized gains (losses) still held, assets 0   0 0
Trading mortgage-backed securities | State and municipal        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 1   1 11
Net realized/unrealized gains (losses) included in principal transactions 0   0 1
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0 0
Transfers into Level 3 0   0 0
Transfers out of Level 3, assets 0   0 (11)
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 1 1 1 1
Unrealized gains (losses) still held, assets 0   0 0
Trading mortgage-backed securities | Foreign government        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 241   35 15
Net realized/unrealized gains (losses) included in principal transactions 0   (3) (3)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0 0
Transfers into Level 3 0   50 0
Transfers out of Level 3, assets (155)   (156) (10)
Purchases, assets 12   174 9
Issuance, assets 0   0 0
Sales, assets (79)   (81) (7)
Settlements, assets 0   0 0
Balance at end of period, asset 19 4 19 4
Unrealized gains (losses) still held, assets 0   0 1
Trading mortgage-backed securities | Corporate        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 204   270 269
Net realized/unrealized gains (losses) included in principal transactions 10   2 52
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0 0
Transfers into Level 3 7   9 70
Transfers out of Level 3, assets (33)   (65) (110)
Purchases, assets 10   173 114
Issuance, assets 0   0 0
Sales, assets (72)   (263) (113)
Settlements, assets 0   0 0
Balance at end of period, asset 126 282 126 282
Unrealized gains (losses) still held, assets 79   80 171
Trading mortgage-backed securities | Equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 349   287 166
Net realized/unrealized gains (losses) included in principal transactions 2   (14) 18
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0 0
Transfers into Level 3 18   41 43
Transfers out of Level 3, assets (36)   (44) (6)
Purchases, assets 165   305 123
Issuance, assets 0   0 0
Sales, assets (83)   (160) (93)
Settlements, assets 0   0 0
Balance at end of period, asset 415 251 415 251
Unrealized gains (losses) still held, assets (3)   (13) 11
Trading mortgage-backed securities | Asset-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 179   225 178
Net realized/unrealized gains (losses) included in principal transactions (9)   (19) (19)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0 0
Transfers into Level 3 52   76 39
Transfers out of Level 3, assets (13)   (64) (40)
Purchases, assets 90   152 173
Issuance, assets 0   0 0
Sales, assets (25)   (96) (120)
Settlements, assets 0   0 0
Balance at end of period, asset 274 211 274 211
Unrealized gains (losses) still held, assets (9)   (15) (6)
Trading mortgage-backed securities | Other debt securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 492   413 333
Net realized/unrealized gains (losses) included in principal transactions (10)   (12) 100
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0 0
Transfers into Level 3 12   22 53
Transfers out of Level 3, assets (20)   (25) (32)
Purchases, assets 47   185 275
Issuance, assets 5   17 24
Sales, assets (172)   (237) (171)
Settlements, assets (9)   (18) (16)
Balance at end of period, asset 345 566 345 566
Unrealized gains (losses) still held, assets (6)   (8) 83
Trading mortgage-backed securities | 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   614    
Net realized/unrealized gains (losses) included in principal transactions   17    
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   (174)    
Purchases, assets   134    
Issuance, assets   0    
Sales, assets   (132)    
Settlements, assets   0    
Balance at end of period, asset   545   545
Unrealized gains (losses) still held, assets   8    
Trading mortgage-backed securities | Residential        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   118    
Net realized/unrealized gains (losses) included in principal transactions   1    
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0    
Transfers into Level 3   26    
Transfers out of Level 3, assets   (49)    
Purchases, assets   46    
Issuance, assets   0    
Sales, assets   (57)    
Settlements, assets   0    
Balance at end of period, asset   85   85
Unrealized gains (losses) still held, assets   0    
Trading mortgage-backed securities | Commercial        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   87    
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   9    
Transfers out of Level 3, assets   (30)    
Purchases, assets   13    
Issuance, assets   0    
Sales, assets   (17)    
Settlements, assets   0    
Balance at end of period, asset   62   62
Unrealized gains (losses) still held, assets   (1)    
Trading mortgage-backed securities | 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 mortgage-backed securities | State and municipal        
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   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   1   1
Unrealized gains (losses) still held, assets   0    
Trading mortgage-backed securities | Foreign government        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   3    
Net realized/unrealized gains (losses) included in principal transactions   (4)    
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   (4)    
Purchases, assets   9    
Issuance, assets   0    
Sales, assets   0    
Settlements, assets   0    
Balance at end of period, asset   4   4
Unrealized gains (losses) still held, assets   0    
Trading mortgage-backed securities | Corporate        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   250    
Net realized/unrealized gains (losses) included in principal transactions   68    
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0    
Transfers into Level 3   53    
Transfers out of Level 3, assets   (50)    
Purchases, assets   21    
Issuance, assets   0    
Sales, assets   (60)    
Settlements, assets   0    
Balance at end of period, asset   282   282
Unrealized gains (losses) still held, assets   164    
Trading mortgage-backed securities | Equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   227    
Net realized/unrealized gains (losses) included in principal transactions   13    
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0    
Transfers into Level 3   21    
Transfers out of Level 3, assets   (4)    
Purchases, assets   52    
Issuance, assets   0    
Sales, assets   (58)    
Settlements, assets   0    
Balance at end of period, asset   251   251
Unrealized gains (losses) still held, assets   10    
Trading mortgage-backed securities | Asset-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   220    
Net realized/unrealized gains (losses) included in principal transactions   (10)    
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0    
Transfers into Level 3   29    
Transfers out of Level 3, assets   (35)    
Purchases, assets   76    
Issuance, assets   0    
Sales, assets   (69)    
Settlements, assets   0    
Balance at end of period, asset   211   211
Unrealized gains (losses) still held, assets   (3)    
Trading mortgage-backed securities | Other Trading Assets        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   468    
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   9    
Transfers out of Level 3, assets   (24)    
Purchases, assets   221    
Issuance, assets   12    
Sales, assets   (133)    
Settlements, assets   (8)    
Balance at end of period, asset   566   566
Unrealized gains (losses) still held, assets   30    
Mortgage-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 1,161 1,101 1,416 1,076
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 11 (1) 19
Transfers into Level 3 63 172 141 194
Transfers out of Level 3, assets (181) (46) (436) (103)
Purchases, assets 117 66 235 424
Issuance, assets 0 0 0 0
Sales, assets (119) (94) (309) (400)
Settlements, assets 0 0 0 0
Balance at end of period, asset 1,046 1,210 1,046 1,210
Unrealized gains (losses) still held, assets (10) 2 (10) 1
Mortgage-backed securities | Mortgage-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 32   31 64
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   1 (1)
Transfers into Level 3 0   0 0
Transfers out of Level 3, assets 0   0 (20)
Purchases, assets 0   0 0
Issuance, assets 0   0 0
Sales, assets 0   0 (13)
Settlements, assets 0   0 0
Balance at end of period, asset 32 30 32 30
Unrealized gains (losses) still held, assets 0   1 (1)
Mortgage-backed securities | 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 32   31 36
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   1 (2)
Transfers into Level 3 0   0 0
Transfers out of Level 3, assets 0   0 (15)
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 32 19 32 19
Unrealized gains (losses) still held, assets 0   1 (2)
Mortgage-backed securities | Residential        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 0   0 28
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 (5)
Purchases, assets 0   0 0
Issuance, assets 0   0 0
Sales, assets 0   0 (13)
Settlements, assets 0   0 0
Balance at end of period, asset 0 11 0 11
Unrealized gains (losses) still held, assets 0   0 1
Mortgage-backed securities | Commercial        
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  
Mortgage-backed securities | 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 0
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 0
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
Mortgage-backed securities | State and municipal        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 411   504 428
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 7   8 4
Transfers into Level 3 0   17 89
Transfers out of Level 3, assets (4)   (12) (14)
Purchases, assets 1   1 255
Issuance, assets 0   0 0
Sales, assets (24)   (127) (259)
Settlements, assets 0   0 0
Balance at end of period, asset 391 503 391 503
Unrealized gains (losses) still held, assets 8   7 (2)
Mortgage-backed securities | Foreign government        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 20   25 12
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 (3)
Transfers into Level 3 0   7 20
Transfers out of Level 3, assets (78)   (98) (2)
Purchases, assets 61   69 0
Issuance, assets 0   0 0
Sales, assets 0   0 0
Settlements, assets 0   0 0
Balance at end of period, asset 3 27 3 27
Unrealized gains (losses) still held, assets (1)   (1) 0
Mortgage-backed securities | Corporate        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 308   315 146
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)   (4) 12
Transfers into Level 3 63   117 85
Transfers out of Level 3, assets (99)   (195) (65)
Purchases, assets 37   134 135
Issuance, assets 0   0 0
Sales, assets (68)   (130) (105)
Settlements, assets 0   0 0
Balance at end of period, asset 237 208 237 208
Unrealized gains (losses) still held, assets (19)   (19) 4
Mortgage-backed securities | Equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 2   131 14
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   2 (11)
Transfers into Level 3 0   0 0
Transfers out of Level 3, assets 0   (131) 0
Purchases, assets 0   2 0
Issuance, assets 0   0 0
Sales, assets (1)   (1) 0
Settlements, assets 0   0 0
Balance at end of period, asset 3 3 3 3
Unrealized gains (losses) still held, assets 2   2 0
Mortgage-backed securities | Asset-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 0   1 2
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 0
Transfers into Level 3 0   0 0
Transfers out of Level 3, assets 0   0 (2)
Purchases, assets 0   0 0
Issuance, assets 0   0 0
Sales, assets 0   (1) 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
Mortgage-backed securities | Other debt securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 0   0 6
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 0
Transfers into Level 3 0   0 0
Transfers out of Level 3, assets 0   0 0
Purchases, assets 0   0 1
Issuance, assets 0   0 0
Sales, assets 0   0 (7)
Settlements, assets 0   0 0
Balance at end of period, asset 0 0 0 0
Unrealized gains (losses) still held, assets 0   0 0
Mortgage-backed securities | Non Marketable Equity Securities [Member]        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 388   409 404
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   (8) 18
Transfers into Level 3 0   0 0
Transfers out of Level 3, assets 0   0 0
Purchases, assets 18   29 33
Issuance, assets 0   0 0
Sales, assets (26)   (50) (16)
Settlements, assets 0   0 0
Balance at end of period, asset 380 439 380 439
Unrealized gains (losses) still held, assets 0   0 0
Mortgage-backed securities | 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   32    
Net realized/unrealized gains (losses) included in principal transactions   0    
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   (1)    
Transfers into Level 3   0    
Transfers out of Level 3, assets   (12)    
Purchases, assets   0    
Issuance, assets   0    
Sales, assets   0    
Settlements, assets   0    
Balance at end of period, asset   19   19
Unrealized gains (losses) still held, assets   (1)    
Mortgage-backed securities | Residential        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   10    
Net realized/unrealized gains (losses) included in principal transactions   0    
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   1    
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   11   11
Unrealized gains (losses) still held, assets   1    
Mortgage-backed securities | 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    
Mortgage-backed securities | State and municipal        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   435    
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   67    
Transfers out of Level 3, assets   (1)    
Purchases, assets   7    
Issuance, assets   0    
Sales, assets   (5)    
Settlements, assets   0    
Balance at end of period, asset   503   503
Unrealized gains (losses) still held, assets   0    
Mortgage-backed securities | Foreign government        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   9    
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   20    
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   27   27
Unrealized gains (losses) still held, assets   0    
Mortgage-backed securities | Corporate        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   194    
Net realized/unrealized gains (losses) included in principal transactions   0    
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   3    
Transfers into Level 3   85    
Transfers out of Level 3, assets   (33)    
Purchases, assets   38    
Issuance, assets   0    
Sales, assets   (79)    
Settlements, assets   0    
Balance at end of period, asset   208   208
Unrealized gains (losses) still held, assets   2    
Mortgage-backed securities | Equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   6    
Net realized/unrealized gains (losses) included in principal transactions   0    
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   (3)    
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   3   3
Unrealized gains (losses) still held, assets   0    
Mortgage-backed securities | Asset-backed 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    
Mortgage-backed securities | Non Marketable Equity Securities [Member]        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   414    
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   0    
Transfers out of Level 3, assets   0    
Purchases, assets   21    
Issuance, assets   0    
Sales, assets   (9)    
Settlements, assets   0    
Balance at end of period, asset   439   439
Unrealized gains (losses) still held, assets   0    
Mortgage-backed securities | Mortgage-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   42    
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   (12)    
Purchases, assets   0    
Issuance, assets   0    
Sales, assets   0    
Settlements, assets   0    
Balance at end of period, asset   30   30
Unrealized gains (losses) still held, assets   0    
Mortgage-backed securities | Other debt 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   0    
Transfers into Level 3   0    
Transfers out of Level 3, assets   0    
Purchases, assets   0    
Issuance, assets   0    
Sales, assets   (1)    
Settlements, assets   0    
Balance at end of period, asset   0   0
Unrealized gains (losses) still held, assets   0    
Loans        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 192 318 122 262
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 (12) 19 (2) 96
Transfers into Level 3 0 2 100 2
Transfers out of Level 3, assets (27) (97) (52) (99)
Purchases, assets 0 0 0 0
Issuance, assets 15 3 36 7
Sales, assets 0 0 0 0
Settlements, assets (17) (65) (53) (88)
Balance at end of period, asset 151 180 151 180
Unrealized gains (losses) still held, assets (14) 9 (31) 10
Mortgage servicing rights        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 766 751 759 760
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 9 12 13 (3)
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 34 27 62 52
Sales, assets 0 0 0 0
Settlements, assets (21) (20) (46) (39)
Balance at end of period, asset 788 770 788 770
Unrealized gains (losses) still held, assets 10 12 14 (4)
Other financial assets        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 0 13 0 15
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 2 0 2
Transfers out of Level 3, assets 0 0 0 0
Purchases, assets 0 61 0 62
Issuance, assets 0 19 0 30
Sales, assets 0 0 0 0
Settlements, assets 0 (12) 0 (26)
Balance at end of period, asset 0 83 0 83
Unrealized gains (losses) still held, assets $ 0 $ 0 $ 0 $ 4