Quarterly report [Sections 13 or 15(d)]

Derivatives - Gains and Losses on Derivatives and Hedged Items Designated in Fair Value Hedges (Details)

v3.25.1
Derivatives - Gains and Losses on Derivatives and Hedged Items Designated in Fair Value Hedges (Details) - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2025
Mar. 31, 2024
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative $ (2,050) $ (490)
Hedged Item 1,997 479
Interest rate risk on long-term debt    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative 2,476 (3,104)
Hedged Item (2,480) 3,090
Interest rate and foreign currency risk    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative (202) 344
Hedged Item 202 (329)
Interest rate and foreign currency risk | Interest Income    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative 9 9
Interest rate and foreign currency risk | Market making and similar activities    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative (210) 324
Interest rate risk on available-for-sale securities    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative (3,227) 2,490
Hedged Item 3,178 (2,502)
Price risk on commodity inventory | Interest Income    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative (1,097) (220)
Hedged Item 1,097 220
Accumulated Other Comprehensive Income (Loss) | Interest rate and foreign currency risk    
Effect of Fair Value Hedges on Results of Operations [Abstract]    
Derivative $ (1) $ 11