Annual report pursuant to Section 13 and 15(d)

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

v3.24.0.1
Derivatives - Derivatives Designated as Cash Flow and Net Investment Hedges (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (losses) excluded from effectiveness testing and recognized in market making and similar activities $ 195 $ (38) $ (123)
Cash flow hedges      
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (Losses) Recognized in Accumulated OCI on Derivatives 2,049 (13,709) (2,842)
Gains (Losses) in Income Reclassified from Accumulated OCI (3,153) (298) 229
Interest rate risk on variable-rate portfolios | Cash flow hedges      
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (Losses) Recognized in Accumulated OCI on Derivatives 1,995 (13,492) (2,686)
Gains (Losses) in Income Reclassified from Accumulated OCI (3,176) (338) 148
Price risk on forecasted MBS purchases | Cash flow hedges      
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (Losses) Recognized in Accumulated OCI on Derivatives 6 (129) (249)
Gains (Losses) in Income Reclassified from Accumulated OCI (2) 11 26
Price risk on certain compensation plans | Cash flow hedges      
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (Losses) Recognized in Accumulated OCI on Derivatives 48 (88) 93
Gains (Losses) in Income Reclassified from Accumulated OCI 25 29 55
Foreign exchange risk | Net investment hedges      
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (Losses) Recognized in Accumulated OCI on Derivatives (808) 1,710 1,451
Gains (Losses) in Income Reclassified from Accumulated OCI $ 143 $ 3 $ 23