XML 164 R140.htm IDEA: XBRL DOCUMENT v3.25.3
FAIR VALUE MEASUREMENT - Level 3 Fair Value Rollforward (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Sep. 30, 2025
Sep. 30, 2024
Sep. 30, 2025
Sep. 30, 2024
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,616) $ (2,049) $ (1,325) $ (2,218)
Net realized/unrealized gains (losses) included in principal transactions (78) (144) 119 (285)
Other 0 0 0 0
Transfers into Level 3 60 (22) (489) 109
Transfers out of Level 3 153 58 695 619
Purchases (1,139) (242) (2,662) (734)
Issuances 0 5 10 19
Sales (126) (85) (316) (340)
Settlements 244 277 466 628
Balance at end of period, asset (liability), net (3,502) (2,202) (3,502) (2,202)
Unrealized gains (losses) still held (267) (490) (686) (545)
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 (456) (1,028) (330) (1,085)
Net realized/unrealized gains (losses) included in principal transactions 37 (73) (15) (756)
Other 0 0 0 0
Transfers into Level 3 90 39 18 169
Transfers out of Level 3 87 523 24 506
Purchases 47 3 (16) 83
Issuances 0 5 10 19
Sales (82) (18) (91) (35)
Settlements 98 233 221 783
Balance at end of period, asset (liability), net (179) (316) (179) (316)
Unrealized gains (losses) still held (18) (248) (31) (252)
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 68 551 185 295
Net realized/unrealized gains (losses) included in principal transactions 45 (7) 39 500
Other 0 0 0 0
Transfers into Level 3 31 13 111 51
Transfers out of Level 3 (46) (532) (121) (459)
Purchases 17 (18) 66 (91)
Issuances 0 0 0 0
Sales (15) (7) (164) (173)
Settlements 7 3 (9) (120)
Balance at end of period, asset (liability), net 107 3 107 3
Unrealized gains (losses) still held (24) (81) (105) (49)
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,167) (2,050) (1,688) (1,634)
Net realized/unrealized gains (losses) included in principal transactions (412) (119) (26) (345)
Other 0 0 0 0
Transfers into Level 3 (46) (59) (322) (130)
Transfers out of Level 3 5 149 472 686
Purchases (736) (102) (2,049) (670)
Issuances 0 0 0 0
Sales (23) (13) (51) (68)
Settlements 234 (42) 519 (75)
Balance at end of period, asset (liability), net (3,145) (2,236) (3,145) (2,236)
Unrealized gains (losses) still held (291) (272) (512) (563)
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 127 404 404 279
Net realized/unrealized gains (losses) included in principal transactions 271 174 311 335
Other 0 0 0 0
Transfers into Level 3 (37) (9) (244) 23
Transfers out of Level 3 19 (126) 154 (138)
Purchases (207) (78) (286) (67)
Issuances 0 0 0 0
Sales (6) (47) (10) (64)
Settlements (111) 83 (273) 33
Balance at end of period, asset (liability), net 56 401 56 401
Unrealized gains (losses) still held 121 204 114 397
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 (188) 74 104 (73)
Net realized/unrealized gains (losses) included in principal transactions (19) (119) (190) (19)
Other 0 0 0 0
Transfers into Level 3 22 (6) (52) (4)
Transfers out of Level 3 88 44 166 24
Purchases (260) (47) (377) 11
Issuances 0 0 0 0
Sales 0 0 0 0
Settlements 16 0 8 7
Balance at end of period, asset (liability), net (341) (54) (341) (54)
Unrealized gains (losses) still held (55) (93) (152) (78)
Other financial liabilities        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 65      
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 1      
Transfers out of Level 3, liabilities 0      
Purchases, liability 0      
Issuance, liability 0      
Sales, liability 0      
Settlements, liability (65)      
Balance at end of period, liability 1   1  
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 43 41 39 29
Net realized/unrealized gains (losses) included in principal transactions, liabilities 0 1 0 1
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities (5) 1 (9) 5
Transfers into Level 3, liabilities 6 0 7 51
Transfers out of Level 3, liabilities 0 (7) 0 (40)
Purchases, liability 0 0 0 0
Issuance, liability 175 15 201 30
Sales, liability 0 0 0 0
Settlements, liability (2) (5) (29) (22)
Balance at end of period, liability 227 42 227 42
Unrealized gains (losses) still held, liabilities (6) 1 (16) 4
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 955 286 390 390
Net realized/unrealized gains (losses) included in principal transactions, liabilities (11) 0 (13) 0
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 415 230 1,486 668
Issuance, liability 0 0 0 0
Sales, liability 0 0 0 0
Settlements, liability (299) (224) (807) (766)
Balance at end of period, liability 1,082 292 1,082 292
Unrealized gains (losses) still held, liabilities (1) 0 (1) 0
Securities sold, not yet purchased | Securities sold, not yet purchased        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 37 32 28 35
Net realized/unrealized gains (losses) included in principal transactions, liabilities 7 (9) 25 (17)
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 8 12 15 26
Transfers out of Level 3, liabilities (5) (16) (26) (26)
Purchases, liability 17 13 93 109
Issuance, liability 0 0 0 0
Sales, liability 0 0 0 0
Settlements, liability (21) (14) (56) (125)
Balance at end of period, liability 29 36 29 36
Unrealized gains (losses) still held, liabilities 4 (3) 36 (1)
Securities sold, not yet purchased | 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
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   0
Transfers out of Level 3, liabilities 0 0   0
Purchases, liability 0 0   0
Issuance, liability 0 0   0
Sales, liability 0 0   0
Settlements, liability 0 0   0
Balance at end of period, liability 0 0 0 0
Unrealized gains (losses) still held, liabilities 0 0   0
Other trading liabilities        
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     1  
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     (2)  
Purchases, liability     25  
Issuance, liability     0  
Sales, liability     0  
Settlements, liability     (22)  
Balance at end of period, liability 0   0  
Unrealized gains (losses) still held, liabilities     0  
Short-term borrowings        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 343 201 297 481
Net realized/unrealized gains (losses) included in principal transactions, liabilities 4 (1) 50 (83)
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 19 49 78 69
Transfers out of Level 3, liabilities (36) (10) (95) (527)
Purchases, liability 13 0 13 1
Issuance, liability 99 107 715 318
Sales, liability 0 0 0 0
Settlements, liability (77) (127) (601) (204)
Balance at end of period, liability 357 221 357 221
Unrealized gains (losses) still held, liabilities (5) (26) (137) (78)
Long-term debt        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability 21,166 20,375 21,100 38,380
Net realized/unrealized gains (losses) included in principal transactions, liabilities (858) (1,720) (1,277) (293)
Net realized/unrealized gains (losses) included in locations other than principal transactions, liabilities 0 0 0 0
Transfers into Level 3, liabilities 726 636 1,966 3,674
Transfers out of Level 3, liabilities (889) (857) (2,954) (22,587)
Purchases, liability 0 0 0 0
Issuance, liability 922 697 2,971 5,479
Sales, liability 0 0 0 0
Settlements, liability (356) (262) (1,933) (2,930)
Balance at end of period, liability 22,427 22,309 22,427 22,309
Unrealized gains (losses) still held, liabilities (786) 1,868 (1,064) (1,021)
Other financial liabilities        
Fair value, liabilities measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, liability   3 0 6
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 15 0
Transfers out of Level 3, liabilities   0 0 0
Purchases, liability   0 50 0
Issuance, liability   0 1 5
Sales, liability   0 0 0
Settlements, liability   (2) (65) (10)
Balance at end of period, liability 1 1 1 1
Unrealized gains (losses) still held, liabilities   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 86 126 128 139
Net realized/unrealized gains (losses) included in principal transactions 21 12 48 4
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 (84) 0
Purchases, assets 466 45 634 111
Issuance, assets 0 0 0 0
Sales, assets 0 0 0 0
Settlements, assets (391) (47) (544) (118)
Balance at end of period, asset 182 136 182 136
Unrealized gains (losses) still held, assets 21 12 21 4
Trading mortgage-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 2,007 2,580 1,377 3,119
Net realized/unrealized gains (losses) included in principal transactions (96) 34 91 290
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 0 0
Transfers into Level 3 201 391 715 1,166
Transfers out of Level 3, assets (318) (397) (838) (1,660)
Purchases, assets 585 601 1,895 2,235
Issuance, assets 9 10 33 16
Sales, assets (601) (962) (1,470) (2,888)
Settlements, assets (8) (6) (24) (27)
Balance at end of period, asset 1,779 2,251 1,779 2,251
Unrealized gains (losses) still held, assets (144) 32 (12) 34
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 692   404  
Net realized/unrealized gains (losses) included in principal transactions (17)   21  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0  
Transfers into Level 3 90   399  
Transfers out of Level 3, assets (206)   (516)  
Purchases, assets 155   771  
Issuance, assets 0   0  
Sales, assets (165)   (530)  
Settlements, assets 0   0  
Balance at end of period, asset 549   549  
Unrealized gains (losses) still held, assets (13)   (14)  
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 545   301  
Net realized/unrealized gains (losses) included in principal transactions (11)   29  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0  
Transfers into Level 3 67   309  
Transfers out of Level 3, assets (138)   (348)  
Purchases, assets 55   509  
Issuance, assets 0   0  
Sales, assets (127)   (409)  
Settlements, assets 0   0  
Balance at end of period, asset 391   391  
Unrealized gains (losses) still held, assets (7)   (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 85   67  
Net realized/unrealized gains (losses) included in principal transactions (3)   (1)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0  
Transfers into Level 3 8   45  
Transfers out of Level 3, assets (49)   (110)  
Purchases, assets 95   201  
Issuance, assets 0   0  
Sales, assets (36)   (102)  
Settlements, assets 0   0  
Balance at end of period, asset 100   100  
Unrealized gains (losses) still held, assets (5)   (5)  
Trading mortgage-backed securities | Commercial        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 62   36  
Net realized/unrealized gains (losses) included in principal transactions (3)   (7)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0  
Transfers into Level 3 15   45  
Transfers out of Level 3, assets (19)   (58)  
Purchases, assets 5   61  
Issuance, assets 0   0  
Sales, assets (2)   (19)  
Settlements, assets 0   0  
Balance at end of period, asset 58   58  
Unrealized gains (losses) still held, assets (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   1  
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   (1)  
Purchases, assets 0   0  
Issuance, assets 0   0  
Sales, assets 0   0  
Settlements, assets 0   0  
Balance at end of period, asset 0   0  
Unrealized gains (losses) still held, assets 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   11  
Net realized/unrealized gains (losses) included in principal transactions 0   1  
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   (11)  
Purchases, assets 0   0  
Issuance, assets 0   0  
Sales, assets 0   0  
Settlements, assets 0   0  
Balance at end of period, asset 1   1  
Unrealized gains (losses) still held, assets 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 4   15  
Net realized/unrealized gains (losses) included in principal transactions 3   0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0  
Transfers into Level 3 62   62  
Transfers out of Level 3, assets (3)   (13)  
Purchases, assets 0   9  
Issuance, assets 0   0  
Sales, assets (5)   (12)  
Settlements, assets 0   0  
Balance at end of period, asset 61   61  
Unrealized gains (losses) still held, assets 1   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 282   269  
Net realized/unrealized gains (losses) included in principal transactions (68)   (16)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0  
Transfers into Level 3 15   85  
Transfers out of Level 3, assets (49)   (159)  
Purchases, assets 124   238  
Issuance, assets 0   0  
Sales, assets (68)   (181)  
Settlements, assets 0   0  
Balance at end of period, asset 236   236  
Unrealized gains (losses) still held, assets (97)   (63)  
Trading mortgage-backed securities | Marketable equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 251   166  
Net realized/unrealized gains (losses) included in principal transactions 5   23  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0  
Transfers into Level 3 9   52  
Transfers out of Level 3, assets (30)   (36)  
Purchases, assets 60   183  
Issuance, assets 0   0  
Sales, assets (33)   (126)  
Settlements, assets 0   0  
Balance at end of period, asset 262   262  
Unrealized gains (losses) still held, assets 0   12  
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 211   178  
Net realized/unrealized gains (losses) included in principal transactions (11)   (30)  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0  
Transfers into Level 3 12   51  
Transfers out of Level 3, assets (12)   (52)  
Purchases, assets 121   294  
Issuance, assets 0   0  
Sales, assets (73)   (193)  
Settlements, assets 0   0  
Balance at end of period, asset 248   248  
Unrealized gains (losses) still held, assets (6)   (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 566   333  
Net realized/unrealized gains (losses) included in principal transactions (8)   92  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0   0  
Transfers into Level 3 13   66  
Transfers out of Level 3, assets (18)   (50)  
Purchases, assets 125   400  
Issuance, assets 9   33  
Sales, assets (257)   (428)  
Settlements, assets (8)   (24)  
Balance at end of period, asset 422   422  
Unrealized gains (losses) still held, assets (29)   58  
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   691   581
Net realized/unrealized gains (losses) included in principal transactions   22   (17)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0   0
Transfers into Level 3   139   423
Transfers out of Level 3, assets   (160)   (445)
Purchases, assets   124   557
Issuance, assets   0   0
Sales, assets   (85)   (368)
Settlements, assets   0   0
Balance at end of period, asset   731   731
Unrealized gains (losses) still held, assets   15   (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   91   116
Net realized/unrealized gains (losses) included in principal transactions   (6)   (9)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0   0
Transfers into Level 3   10   63
Transfers out of Level 3, assets   (18)   (76)
Purchases, assets   28   139
Issuance, assets   0   0
Sales, assets   (34)   (162)
Settlements, assets   0   0
Balance at end of period, asset   71   71
Unrealized gains (losses) still held, assets   (1)   (3)
Trading mortgage-backed securities | Commercial        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   166   202
Net realized/unrealized gains (losses) included in principal transactions   0   17
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0   0
Transfers into Level 3   11   50
Transfers out of Level 3, assets   (57)   (146)
Purchases, assets   21   152
Issuance, assets   0   0
Sales, assets   (55)   (189)
Settlements, assets   0   0
Balance at end of period, asset   86   86
Unrealized gains (losses) still held, assets   (1)   (4)
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   7
Net realized/unrealized gains (losses) included in principal transactions   0   4
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   (1)
Purchases, assets   0   0
Issuance, assets   0   0
Sales, assets   0   0
Settlements, assets   0   (10)
Balance at end of period, asset   0   0
Unrealized gains (losses) still held, assets   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   3
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   20   20
Transfers out of Level 3, assets   0   0
Purchases, assets   0   0
Issuance, assets   0   0
Sales, assets   0   (2)
Settlements, assets   0   0
Balance at end of period, asset   21   21
Unrealized gains (losses) still held, assets   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   45   54
Net realized/unrealized gains (losses) included in principal transactions   (3)   (3)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0   0
Transfers into Level 3   2   14
Transfers out of Level 3, assets   0   (49)
Purchases, assets   23   186
Issuance, assets   0   0
Sales, assets   (36)   (171)
Settlements, assets   0   0
Balance at end of period, asset   31   31
Unrealized gains (losses) still held, assets   (1)   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   315   500
Net realized/unrealized gains (losses) included in principal transactions   15   154
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0   0
Transfers into Level 3   61   136
Transfers out of Level 3, assets   (37)   (425)
Purchases, assets   120   485
Issuance, assets   0   0
Sales, assets   (214)   (582)
Settlements, assets   0   (8)
Balance at end of period, asset   260   260
Unrealized gains (losses) still held, assets   13   23
Trading mortgage-backed securities | Marketable equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   244   292
Net realized/unrealized gains (losses) included in principal transactions   7   (2)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0   0
Transfers into Level 3   100   230
Transfers out of Level 3, assets   (15)   (64)
Purchases, assets   77   137
Issuance, assets   0   0
Sales, assets   (127)   (307)
Settlements, assets   0   0
Balance at end of period, asset   286   286
Unrealized gains (losses) still held, assets   7   (12)
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   244   531
Net realized/unrealized gains (losses) included in principal transactions   (6)   (24)
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0   0
Transfers into Level 3   21   51
Transfers out of Level 3, assets   (13)   (191)
Purchases, assets   53   229
Issuance, assets   0   0
Sales, assets   (84)   (381)
Settlements, assets   0   0
Balance at end of period, asset   215   215
Unrealized gains (losses) still held, assets   0   (5)
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   783   833
Net realized/unrealized gains (losses) included in principal transactions   5   170
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   0   0
Transfers into Level 3   27   179
Transfers out of Level 3, assets   (97)   (263)
Purchases, assets   155   350
Issuance, assets   10   16
Sales, assets   (327)   (726)
Settlements, assets   (6)   (9)
Balance at end of period, asset   550   550
Unrealized gains (losses) still held, assets   0   41
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       899
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       536
Transfers out of Level 3, assets       (667)
Purchases, assets       848
Issuance, assets       0
Sales, assets       (719)
Settlements, assets       0
Balance at end of period, asset   888   888
Unrealized gains (losses) still held, assets       (13)
Mortgage-backed securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 1,210 1,133 1,076 1,799
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 33 20 52 (58)
Transfers into Level 3 96 21 290 70
Transfers out of Level 3, assets (48) (15) (151) (564)
Purchases, assets 198 174 622 324
Issuance, assets 0 0 0 0
Sales, assets (80) (43) (480) (281)
Settlements, assets 0 0 0 0
Balance at end of period, asset 1,409 1,290 1,409 1,290
Unrealized gains (losses) still held, assets 37 21 33 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 30 948 64  
Net realized/unrealized gains (losses) included in principal transactions 0 16 0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 0 0 (1)  
Transfers into Level 3 10 160 10  
Transfers out of Level 3, assets (10) (235) (30)  
Purchases, assets 4 173 4  
Issuance, assets 0 0 0  
Sales, assets (3) (174) (16)  
Settlements, assets 0 0 0  
Balance at end of period, asset 31 888 31 888
Unrealized gains (losses) still held, assets 3 13 (2)  
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 19   36  
Net realized/unrealized gains (losses) included in principal transactions 0   0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 1   (1)  
Transfers into Level 3 10   10  
Transfers out of Level 3, assets 0   (15)  
Purchases, assets 4   4  
Issuance, assets 0   0  
Sales, assets (3)   (3)  
Settlements, assets 0   0  
Balance at end of period, asset 31   31  
Unrealized gains (losses) still held, assets 3   (2)  
Mortgage-backed securities | Residential        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 11   28  
Net realized/unrealized gains (losses) included in principal transactions 0   0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (1)   0  
Transfers into Level 3 0   0  
Transfers out of Level 3, assets (10)   (15)  
Purchases, assets 0   0  
Issuance, assets 0   0  
Sales, assets 0   (13)  
Settlements, assets 0   0  
Balance at end of period, asset 0   0  
Unrealized gains (losses) still held, assets 0   0  
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  
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   0  
Issuance, assets 0   0  
Sales, assets 0   0  
Settlements, assets 0   0  
Balance at end of period, asset 0   0  
Unrealized gains (losses) still held, assets 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 503   428  
Net realized/unrealized gains (losses) included in principal transactions 0   0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 32   36  
Transfers into Level 3 1   90  
Transfers out of Level 3, assets 0   (14)  
Purchases, assets 1   256  
Issuance, assets 0   0  
Sales, assets (23)   (282)  
Settlements, assets 0   0  
Balance at end of period, asset 514   514  
Unrealized gains (losses) still held, assets 32   32  
Mortgage-backed securities | Foreign government        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 27   12  
Net realized/unrealized gains (losses) included in principal transactions 0   0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (1)   (4)  
Transfers into Level 3 0   20  
Transfers out of Level 3, assets 0   (2)  
Purchases, assets 0   0  
Issuance, assets 0   0  
Sales, assets 0   0  
Settlements, assets 0   0  
Balance at end of period, asset 26   26  
Unrealized gains (losses) still held, assets (1)   (1)  
Mortgage-backed securities | Corporate        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 208   146  
Net realized/unrealized gains (losses) included in principal transactions 0   0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets (2)   10  
Transfers into Level 3 85   170  
Transfers out of Level 3, assets (38)   (103)  
Purchases, assets 27   162  
Issuance, assets 0   0  
Sales, assets (51)   (156)  
Settlements, assets 0   0  
Balance at end of period, asset 229   229  
Unrealized gains (losses) still held, assets 0   1  
Mortgage-backed securities | Marketable equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 3   14  
Net realized/unrealized gains (losses) included in principal transactions 0   0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 1   (10)  
Transfers into Level 3 0   0  
Transfers out of Level 3, assets 0   0  
Purchases, assets 157   157  
Issuance, assets 0   0  
Sales, assets 0   0  
Settlements, assets 0   0  
Balance at end of period, asset 161   161  
Unrealized gains (losses) still held, assets 0   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   2  
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   (2)  
Purchases, assets 0   0  
Issuance, assets 0   0  
Sales, assets 0   0  
Settlements, assets 0   0  
Balance at end of period, asset 0   0  
Unrealized gains (losses) still held, assets 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   6  
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   0  
Sales, assets 0   (7)  
Settlements, assets 0   0  
Balance at end of period, asset 0   0  
Unrealized gains (losses) still held, assets 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 439   404  
Net realized/unrealized gains (losses) included in principal transactions 0   0  
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets 3   21  
Transfers into Level 3 0   0  
Transfers out of Level 3, assets 0   0  
Purchases, assets 9   42  
Issuance, assets 0   0  
Sales, assets (3)   (19)  
Settlements, assets 0   0  
Balance at end of period, asset 448   448  
Unrealized gains (losses) still held, assets 3   3  
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   28   75
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   3
Transfers into Level 3   0   0
Transfers out of Level 3, assets   0   0
Purchases, assets   4   7
Issuance, assets   0   0
Sales, assets   (4)   (53)
Settlements, assets   0   0
Balance at end of period, asset   32   32
Unrealized gains (losses) still held, assets   4   4
Mortgage-backed securities | Residential        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   25   116
Net realized/unrealized gains (losses) included in principal transactions   0   0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   2   0
Transfers into Level 3   0   1
Transfers out of Level 3, assets   0   (90)
Purchases, assets   0   0
Issuance, assets   0   0
Sales, assets   0   0
Settlements, assets   0   0
Balance at end of period, asset   27   27
Unrealized gains (losses) still held, assets   1   0
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
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   0
Issuance, assets   0   0
Sales, assets   0   0
Settlements, assets   0   0
Balance at end of period, asset   0   0
Unrealized gains (losses) still held, assets   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   439   542
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   (25)
Transfers into Level 3   0   0
Transfers out of Level 3, assets   (1)   (7)
Purchases, assets   0   0
Issuance, assets   0   0
Sales, assets   (8)   (74)
Settlements, assets   0   0
Balance at end of period, asset   436   436
Unrealized gains (losses) still held, assets   6   (7)
Mortgage-backed securities | Foreign government        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   14   194
Net realized/unrealized gains (losses) included in principal transactions   0   0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   (2)   (14)
Transfers into Level 3   0   6
Transfers out of Level 3, assets   0   (174)
Purchases, assets   0   36
Issuance, assets   0   0
Sales, assets   0   (36)
Settlements, assets   0   0
Balance at end of period, asset   12   12
Unrealized gains (losses) still held, assets   0   0
Mortgage-backed securities | Corporate        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   112   362
Net realized/unrealized gains (losses) included in principal transactions   0   0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   (2)   (9)
Transfers into Level 3   21   63
Transfers out of Level 3, assets   (14)   (293)
Purchases, assets   60   111
Issuance, assets   0   0
Sales, assets   (27)   (84)
Settlements, assets   0   0
Balance at end of period, asset   150   150
Unrealized gains (losses) still held, assets   0   (2)
Mortgage-backed securities | Marketable equity securities        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset   10   27
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   (17)
Transfers into Level 3   0   0
Transfers out of Level 3, assets   0   0
Purchases, assets   0   0
Issuance, assets   0   0
Sales, assets   0   0
Settlements, assets   0   0
Balance at end of period, asset   10   10
Unrealized gains (losses) still held, assets   0   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   0
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   3   3
Issuance, assets   0   0
Sales, assets   (3)   (3)
Settlements, assets   0   0
Balance at end of period, asset   0   0
Unrealized gains (losses) still held, assets   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   505   483
Net realized/unrealized gains (losses) included in principal transactions   0   0
Net realized/unrealized gains (losses) included in locations other than principal transactions, assets   12   4
Transfers into Level 3   0   0
Transfers out of Level 3, assets   0   0
Purchases, assets   107   167
Issuance, assets   0   0
Sales, assets   (1)   (31)
Settlements, assets   0   0
Balance at end of period, asset   623   623
Unrealized gains (losses) still held, assets   10   10
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   53   191
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   3
Transfers into Level 3   0   1
Transfers out of Level 3, assets   0   (90)
Purchases, assets   4   7
Issuance, assets   0   0
Sales, assets   (4)   (53)
Settlements, assets   0   0
Balance at end of period, asset   59   59
Unrealized gains (losses) still held, assets   5   4
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
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   0
Issuance, assets   0   0
Sales, assets   0   0
Settlements, assets   0   0
Balance at end of period, asset   0   0
Unrealized gains (losses) still held, assets   0   0
Loans        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 180 301 262 427
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 8 36 104 (16)
Transfers into Level 3 5 1 7 664
Transfers out of Level 3, assets (66) (3) (165) (894)
Purchases, assets 0 1 0 2
Issuance, assets 126 12 133 244
Sales, assets 0 0 0 0
Settlements, assets (51) (1) (139) (80)
Balance at end of period, asset 202 347 202 347
Unrealized gains (losses) still held, assets 22 39 74 175
Mortgage servicing rights        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 770 709 760 691
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 (25) (40) (28) (23)
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 24 32 76 68
Sales, assets 0 0 0 0
Settlements, assets (21) (18) (60) (53)
Balance at end of period, asset 748 683 748 683
Unrealized gains (losses) still held, assets (25) (40) (29) (16)
Other financial assets        
Fair value, assets measured on recurring basis, level 3 fair-value category reconciliation        
Balance at beginning of period, asset 83 21 15 30
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 1 1 1 (1)
Transfers into Level 3 0 0 2 0
Transfers out of Level 3, assets 0 0 0 0
Purchases, assets 0 0 62 5
Issuance, assets 0 24 30 37
Sales, assets (64) (2) (64) (4)
Settlements, assets (20) (19) (46) (42)
Balance at end of period, asset 0 25 0 25
Unrealized gains (losses) still held, assets $ 0 $ 0 $ 0 $ (1)