v3.25.2
Fair Value Option - Structured Note Products by Balance Sheet Classification and Risk Component (Details) - USD ($)
$ in Millions
Jun. 30, 2025
Dec. 31, 2024
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes $ 171,501 $ 143,804
Interest rate    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 94,891 76,156
Credit    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 9,601 7,455
Foreign exchange    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 3,616 3,783
Equity    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 62,407 55,016
Commodity    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 986 1,394
Long-term debt    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 117,684 100,222
Long-term debt | Interest rate    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 54,950 46,220
Long-term debt | Credit    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 8,396 6,213
Long-term debt | Foreign exchange    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 2,232 2,309
Long-term debt | Equity    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 51,194 44,149
Long-term debt | Commodity    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 912 1,331
Short-term borrowings    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 12,630 11,308
Short-term borrowings | Interest rate    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 2,092 1,065
Short-term borrowings | Credit    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 1,205 1,242
Short-term borrowings | Foreign exchange    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 1,015 1,058
Short-term borrowings | Equity    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 8,244 7,881
Short-term borrowings | Commodity    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 74 62
Deposits    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 41,187 32,274
Deposits | Interest rate    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 37,849 28,871
Deposits | Credit    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 0 0
Deposits | Foreign exchange    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 369 416
Deposits | Equity    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 2,969 2,986
Deposits | Commodity    
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]    
Total structured notes 0 1
Excluded amount of deposits linked to precious metals for which fair value option was not elected $ 1,500 $ 869