Annual report [Section 13 and 15(d), not S-K Item 405]

Derivatives - Derivatives Designated as Cash Flow and Net Investment Hedges (Details)

v3.25.0.1
Derivatives - Derivatives Designated as Cash Flow and Net Investment Hedges (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2024
Dec. 31, 2023
Dec. 31, 2022
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (losses) excluded from effectiveness testing and recognized in market making and similar activities $ 252 $ 195 $ (38)
Cash flow hedges      
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (Losses) Recognized in Accumulated OCI on Derivatives 418 2,049 (13,709)
Gains (Losses) in Income Reclassified from Accumulated OCI (2,800) (3,153) (298)
Interest rate risk on variable-rate portfolios | Cash flow hedges      
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (Losses) Recognized in Accumulated OCI on Derivatives 389 1,995 (13,492)
Gains (Losses) in Income Reclassified from Accumulated OCI (2,826) (3,176) (338)
Price risk on forecasted MBS purchases | Cash flow hedges      
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (Losses) Recognized in Accumulated OCI on Derivatives 0 6 (129)
Gains (Losses) in Income Reclassified from Accumulated OCI (9) (2) 11
Price risk on certain compensation plans | Cash flow hedges      
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (Losses) Recognized in Accumulated OCI on Derivatives 29 48 (88)
Gains (Losses) in Income Reclassified from Accumulated OCI 35 25 29
Foreign exchange risk | Net investment hedges      
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (Losses) Recognized in Accumulated OCI on Derivatives 2,624 (808) 1,710
Gains (Losses) in Income Reclassified from Accumulated OCI $ (146) $ 143 $ 3