v3.26.1
FAIR VALUE MEASUREMENT - Level 3 Fair Value Rollforward (Details) - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2026
Mar. 31, 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 $ (3,269) $ (1,325)
Net realized/unrealized gains (losses) included in principal transactions (35) (152)
Other 0 0
Transfers into Level 3 56 (113)
Transfers out of Level 3 338 283
Purchases (69) (1,104)
Issuances 0 3
Sales (718) (93)
Settlements 1,548 193
Balance at end of period, asset (liability), net (2,149) (2,308)
Unrealized gains (losses) still held (53) (250)
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 20 (330)
Net realized/unrealized gains (losses) included in principal transactions (80) (232)
Other 0 0
Transfers into Level 3 78 (14)
Transfers out of Level 3 (46) (98)
Purchases 180 (9)
Issuances 0 3
Sales (139) (9)
Settlements 173 52
Balance at end of period, asset (liability), net 186 (637)
Unrealized gains (losses) still held (40) (321)
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 (50) 185
Net realized/unrealized gains (losses) included in principal transactions 4 (74)
Other 0 0
Transfers into Level 3 15 62
Transfers out of Level 3 (62) 50
Purchases (162) 41
Issuances 0 0
Sales (143) (59)
Settlements 304 (24)
Balance at end of period, asset (liability), net (94) 181
Unrealized gains (losses) still held (6) (137)
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,964) (1,688)
Net realized/unrealized gains (losses) included in principal transactions (49) 135
Other 0 0
Transfers into Level 3 (5) (148)
Transfers out of Level 3 358 133
Purchases (660) (914)
Issuances 0 0
Sales (125) (21)
Settlements 627 298
Balance at end of period, asset (liability), net (2,818) (2,205)
Unrealized gains (losses) still held (80) 44
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 144 404
Net realized/unrealized gains (losses) included in principal transactions 29 97
Other 0 0
Transfers into Level 3 (58) (23)
Transfers out of Level 3 117 116
Purchases 303 (126)
Issuances 0 0
Sales (121) (4)
Settlements (59) (139)
Balance at end of period, asset (liability), net 355 325
Unrealized gains (losses) still held 19 104
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 (419) 104
Net realized/unrealized gains (losses) included in principal transactions 61 (78)
Other 0 0
Transfers into Level 3 26 10
Transfers out of Level 3 (29) 82
Purchases 270 (96)
Issuances 0 0
Sales (190) 0
Settlements 503 6
Balance at end of period, asset (liability), net 222 28
Unrealized gains (losses) still held 54 60
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  
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 0  
Transfers out of Level 3, liabilities 0  
Purchases, liability 0  
Issuance, liability 0  
Sales, liability 0  
Settlements, liability 0  
Balance at end of period, liability 0  
Unrealized gains (losses) still held, liabilities 0  
Deposits    
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation    
Balance at beginning of period, liability 239 39
Net realized/unrealized gains (losses) included in principal transactions, liabilities 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 1 0
Transfers into Level 3, liabilities 0 0
Transfers out of Level 3, liabilities 0 0
Purchases, liability 0 0
Issuance, liability 9 19
Sales, liability 0 0
Settlements, liability (10) (11)
Balance at end of period, liability 237 47
Unrealized gains (losses) still held, liabilities 1 (6)
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 952 390
Net realized/unrealized gains (losses) included in principal transactions, liabilities 2 3
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0
Transfers into Level 3, liabilities 0 0
Transfers out of Level 3, liabilities 0 0
Purchases, liability 301 732
Issuance, liability 0 0
Sales, liability 0 0
Settlements, liability (338) (321)
Balance at end of period, liability 913 798
Unrealized gains (losses) still held, liabilities 2 2
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 45 28
Net realized/unrealized gains (losses) included in principal transactions, liabilities 0 29
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0
Transfers into Level 3, liabilities 72 2
Transfers out of Level 3, liabilities (24) (5)
Purchases, liability 32 57
Issuance, liability 0 0
Sales, liability 0 0
Settlements, liability 0 (24)
Balance at end of period, liability 125 29
Unrealized gains (losses) still held, liabilities 0 10
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
Net realized/unrealized gains (losses) included in principal transactions, liabilities 0 1
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0
Transfers into Level 3, liabilities 0 0
Transfers out of Level 3, liabilities 0 (2)
Purchases, liability 0 25
Issuance, liability 0 0
Sales, liability 0 0
Settlements, liability 0 (22)
Balance at end of period, liability 0 0
Unrealized gains (losses) still held, liabilities 0 0
Short-term borrowings    
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation    
Balance at beginning of period, liability 292 297
Net realized/unrealized gains (losses) included in principal transactions, liabilities (1) 9
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0
Transfers into Level 3, liabilities 4 14
Transfers out of Level 3, liabilities (36) (35)
Purchases, liability 0 0
Issuance, liability 143 573
Sales, liability 0 0
Settlements, liability (107) (119)
Balance at end of period, liability 297 721
Unrealized gains (losses) still held, liabilities (1) 8
Long-term debt    
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation    
Balance at beginning of period, liability 23,959 21,100
Net realized/unrealized gains (losses) included in principal transactions, liabilities 974 51
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0
Transfers into Level 3, liabilities 932 612
Transfers out of Level 3, liabilities (718) (841)
Purchases, liability 0 0
Issuance, liability 1,873 1,284
Sales, liability 0 0
Settlements, liability (929) (663)
Balance at end of period, liability 24,143 21,441
Unrealized gains (losses) still held, liabilities 669 71
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
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   0
Transfers out of Level 3, liabilities   0
Purchases, liability   0
Issuance, liability   1
Sales, liability   0
Settlements, liability   0
Balance at end of period, liability   1
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 128
Net realized/unrealized gains (losses) included in principal transactions 0 6
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0
Transfers into Level 3 0 0
Transfers out of Level 3, assets 0 (84)
Purchases, assets 49 150
Issuance, assets 0 0
Sales, assets 0 0
Settlements, assets (49) (47)
Balance at end of period, asset 49 153
Unrealized gains (losses) still held, assets 0 3
Trading mortgage-backed securities    
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation    
Balance at beginning of period, asset 1,767 1,377
Net realized/unrealized gains (losses) included in principal transactions (59) 81
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0
Transfers into Level 3 282 281
Transfers out of Level 3, assets (220) (150)
Purchases, assets 820 738
Issuance, assets 12 12
Sales, assets (533) (343)
Settlements, assets (9) (8)
Balance at end of period, asset 2,060 1,988
Unrealized gains (losses) still held, assets (58) 132
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 536  
Net realized/unrealized gains (losses) included in principal transactions (20)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0  
Transfers into Level 3 173  
Transfers out of Level 3, assets (123)  
Purchases, assets 155  
Issuance, assets 0  
Sales, assets (127)  
Settlements, assets 0  
Balance at end of period, asset 594  
Unrealized gains (losses) still held, assets (9)  
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 382  
Net realized/unrealized gains (losses) included in principal transactions (14)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0  
Transfers into Level 3 129  
Transfers out of Level 3, assets (108)  
Purchases, assets 112  
Issuance, assets 0  
Sales, assets (72)  
Settlements, assets 0  
Balance at end of period, asset 429  
Unrealized gains (losses) still held, assets (6)  
Trading mortgage-backed securities | Residential    
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation    
Balance at beginning of period, asset 99  
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 5  
Transfers out of Level 3, assets (9)  
Purchases, assets 42  
Issuance, assets 0  
Sales, assets (40)  
Settlements, assets 0  
Balance at end of period, asset 94  
Unrealized gains (losses) still held, assets (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 55  
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 39  
Transfers out of Level 3, assets (6)  
Purchases, assets 1  
Issuance, assets 0  
Sales, assets (15)  
Settlements, assets 0  
Balance at end of period, asset 71  
Unrealized gains (losses) still held, assets (2)  
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  
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  
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 35  
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 50  
Transfers out of Level 3, assets (1)  
Purchases, assets 162  
Issuance, assets 0  
Sales, assets (2)  
Settlements, assets 0  
Balance at end of period, asset 241  
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 270  
Net realized/unrealized gains (losses) included in principal transactions (8)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0  
Transfers into Level 3 2  
Transfers out of Level 3, assets (32)  
Purchases, assets 163  
Issuance, assets 0  
Sales, assets (191)  
Settlements, assets 0  
Balance at end of period, asset 204  
Unrealized gains (losses) still held, assets (22)  
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 287  
Net realized/unrealized gains (losses) included in principal transactions (16)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0  
Transfers into Level 3 23  
Transfers out of Level 3, assets (8)  
Purchases, assets 140  
Issuance, assets 0  
Sales, assets (77)  
Settlements, assets 0  
Balance at end of period, asset 349  
Unrealized gains (losses) still held, assets (17)  
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 225  
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 24  
Transfers out of Level 3, assets (51)  
Purchases, assets 62  
Issuance, assets 0  
Sales, assets (71)  
Settlements, assets 0  
Balance at end of period, asset 179  
Unrealized gains (losses) still held, assets (9)  
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 413  
Net realized/unrealized gains (losses) included in principal transactions (2)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0  
Transfers into Level 3 10  
Transfers out of Level 3, assets (5)  
Purchases, assets 138  
Issuance, assets 12  
Sales, assets (65)  
Settlements, assets (9)  
Balance at end of period, asset 492  
Unrealized gains (losses) still held, assets (1)  
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   301
Net realized/unrealized gains (losses) included in principal transactions   23
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0
Transfers into Level 3   156
Transfers out of Level 3, assets   (36)
Purchases, assets   320
Issuance, assets   0
Sales, assets   (150)
Settlements, assets   0
Balance at end of period, asset   614
Unrealized gains (losses) still held, assets   25
Trading mortgage-backed securities | Residential    
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation    
Balance at beginning of period, asset   67
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   11
Transfers out of Level 3, assets   (12)
Purchases, assets   60
Issuance, assets   0
Sales, assets   (9)
Settlements, assets   0
Balance at end of period, asset   118
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   36
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   21
Transfers out of Level 3, assets   (9)
Purchases, assets   43
Issuance, assets   0
Sales, assets   0
Settlements, assets   0
Balance at end of period, asset   87
Unrealized gains (losses) still held, assets   (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   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   (1)
Purchases, assets   0
Issuance, assets   0
Sales, assets   0
Settlements, assets   0
Balance at end of period, asset   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   11
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   0
Transfers out of Level 3, assets   (11)
Purchases, assets   0
Issuance, assets   0
Sales, assets   0
Settlements, assets   0
Balance at end of period, asset   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   15
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   0
Transfers out of Level 3, assets   (6)
Purchases, assets   0
Issuance, assets   0
Sales, assets   (7)
Settlements, assets   0
Balance at end of period, asset   3
Unrealized gains (losses) still held, assets   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   269
Net realized/unrealized gains (losses) included in principal transactions   (16)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0
Transfers into Level 3   17
Transfers out of Level 3, assets   (60)
Purchases, assets   93
Issuance, assets   0
Sales, assets   (53)
Settlements, assets   0
Balance at end of period, asset   250
Unrealized gains (losses) still held, assets   (6)
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   166
Net realized/unrealized gains (losses) included in principal transactions   5
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0
Transfers into Level 3   22
Transfers out of Level 3, assets   (2)
Purchases, assets   71
Issuance, assets   0
Sales, assets   (35)
Settlements, assets   0
Balance at end of period, asset   227
Unrealized gains (losses) still held, assets   29
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   178
Net realized/unrealized gains (losses) included in principal transactions   (9)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0
Transfers into Level 3   10
Transfers out of Level 3, assets   (5)
Purchases, assets   97
Issuance, assets   0
Sales, assets   (51)
Settlements, assets   0
Balance at end of period, asset   220
Unrealized gains (losses) still held, assets   (6)
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   333
Net realized/unrealized gains (losses) included in principal transactions   79
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0
Transfers into Level 3   44
Transfers out of Level 3, assets   (8)
Purchases, assets   54
Issuance, assets   12
Sales, assets   (38)
Settlements, assets   (8)
Balance at end of period, asset   468
Unrealized gains (losses) still held, assets   92
Mortgage-backed securities    
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation    
Balance at beginning of period, asset 1,416 1,076
Net realized/unrealized gains (losses) included in principal transactions 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (6) 8
Transfers into Level 3 78 22
Transfers out of Level 3, assets (255) (57)
Purchases, assets 118 358
Issuance, assets 0 0
Sales, assets (190) (306)
Settlements, assets 0 0
Balance at end of period, asset 1,161 1,101
Unrealized gains (losses) still held, assets (12) 14
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 31 404
Net realized/unrealized gains (losses) included in principal transactions 0 20
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 1 0
Transfers into Level 3 0 188
Transfers out of Level 3, assets 0 (57)
Purchases, assets 0 423
Issuance, assets 0 0
Sales, assets 0 (159)
Settlements, assets 0 0
Balance at end of period, asset 32 819
Unrealized gains (losses) still held, assets 1 22
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 31  
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 32  
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 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  
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  
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  
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 504  
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 17  
Transfers out of Level 3, assets (8)  
Purchases, assets 0  
Issuance, assets 0  
Sales, assets (103)  
Settlements, assets 0  
Balance at end of period, asset 411  
Unrealized gains (losses) still held, assets 1  
Mortgage-backed securities | Foreign government    
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation    
Balance at beginning of period, asset 25  
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 7  
Transfers out of Level 3, assets (20)  
Purchases, assets 8  
Issuance, assets 0  
Sales, assets 0  
Settlements, assets 0  
Balance at end of period, asset 20  
Unrealized gains (losses) still held, assets (1)  
Mortgage-backed securities | Corporate    
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation    
Balance at beginning of period, asset 315  
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 54  
Transfers out of Level 3, assets (96)  
Purchases, assets 97  
Issuance, assets 0  
Sales, assets (62)  
Settlements, assets 0  
Balance at end of period, asset 308  
Unrealized gains (losses) still held, assets (5)  
Mortgage-backed securities | Equity securities    
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation    
Balance at beginning of period, asset 131  
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 (131)  
Purchases, assets 2  
Issuance, assets 0  
Sales, assets 0  
Settlements, assets 0  
Balance at end of period, asset 2  
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 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  
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 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  
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 409  
Net realized/unrealized gains (losses) included in principal transactions 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (8)  
Transfers into Level 3 0  
Transfers out of Level 3, assets 0  
Purchases, assets 11  
Issuance, assets 0  
Sales, assets (24)  
Settlements, assets 0  
Balance at end of period, asset 388  
Unrealized gains (losses) still held, assets (8)  
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   36
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   (3)
Purchases, assets   0
Issuance, assets   0
Sales, assets   0
Settlements, assets   0
Balance at end of period, asset   32
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   28
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   (5)
Purchases, assets   0
Issuance, assets   0
Sales, assets   (13)
Settlements, assets   0
Balance at end of period, asset   10
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
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
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   428
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   22
Transfers out of Level 3, assets   (13)
Purchases, assets   248
Issuance, assets   0
Sales, assets   (254)
Settlements, assets   0
Balance at end of period, asset   435
Unrealized gains (losses) still held, assets   5
Mortgage-backed securities | Foreign government    
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation    
Balance at beginning of period, asset   12
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   (2)
Purchases, assets   0
Issuance, assets   0
Sales, assets   0
Settlements, assets   0
Balance at end of period, asset   9
Unrealized gains (losses) still held, assets   (1)
Mortgage-backed securities | Corporate    
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation    
Balance at beginning of period, asset   146
Net realized/unrealized gains (losses) included in principal transactions   0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   9
Transfers into Level 3   0
Transfers out of Level 3, assets   (32)
Purchases, assets   97
Issuance, assets   0
Sales, assets   (26)
Settlements, assets   0
Balance at end of period, asset   194
Unrealized gains (losses) still held, assets   8
Mortgage-backed securities | Equity securities    
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation    
Balance at beginning of period, asset   14
Net realized/unrealized gains (losses) included in principal transactions   0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   (8)
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   6
Unrealized gains (losses) still held, assets   (2)
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   2
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   (2)
Purchases, assets   0
Issuance, assets   0
Sales, assets   0
Settlements, assets   0
Balance at end of period, asset   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   404
Net realized/unrealized gains (losses) included in principal transactions   0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   5
Transfers into Level 3   0
Transfers out of Level 3, assets   0
Purchases, assets   12
Issuance, assets   0
Sales, assets   (7)
Settlements, assets   0
Balance at end of period, asset   414
Unrealized gains (losses) still held, assets   5
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   64
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   (8)
Purchases, assets   0
Issuance, assets   0
Sales, assets   (13)
Settlements, assets   0
Balance at end of period, asset   42
Unrealized gains (losses) still held, assets   (1)
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   6
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   1
Issuance, assets   0
Sales, assets   (6)
Settlements, assets   0
Balance at end of period, asset   1
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 122 262
Net realized/unrealized gains (losses) included in principal transactions 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 10 77
Transfers into Level 3 100 0
Transfers out of Level 3, assets (25) (2)
Purchases, assets 0 0
Issuance, assets 21 4
Sales, assets 0 0
Settlements, assets (36) (23)
Balance at end of period, asset 192 318
Unrealized gains (losses) still held, assets 6 82
Mortgage servicing rights    
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation    
Balance at beginning of period, asset 759 760
Net realized/unrealized gains (losses) included in principal transactions 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 4 (15)
Transfers into Level 3 0 0
Transfers out of Level 3, assets 0 0
Purchases, assets 0 0
Issuance, assets 28 25
Sales, assets 0 0
Settlements, assets (25) (19)
Balance at end of period, asset 766 751
Unrealized gains (losses) still held, assets 5 (16)
Other financial assets    
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation    
Balance at beginning of period, asset 0 15
Net realized/unrealized gains (losses) included in principal transactions 0 0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0
Transfers into Level 3 0 0
Transfers out of Level 3, assets 0 0
Purchases, assets 0 1
Issuance, assets 0 11
Sales, assets 0 0
Settlements, assets 0 (14)
Balance at end of period, asset 0 13
Unrealized gains (losses) still held, assets $ 0 $ 0