Quarterly report pursuant to Section 13 or 15(d)

Derivatives - Gains and Losses on Derivatives Designated as Fair Value Hedges (Details)

v3.22.2
Derivatives - Gains and Losses on Derivatives Designated as Fair Value Hedges (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative $ (2,490) $ 1,626 $ (3,948) $ (1,224)
Hedged Item 2,425 (1,634) 3,984 1,244
Interest rate risk on long-term debt        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (7,989) 3,484 (19,023) (4,579)
Hedged Item 7,974 (3,454) 19,193 4,548
Interest rate and foreign currency risk on long-term debt        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (51) 5 (60) (23)
Hedged Item 51 (5) 59 21
Interest rate and foreign currency risk on long-term debt | Interest expense        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (13) (17) (34) (51)
Interest rate and foreign currency risk on long-term debt | Market making and similar activities        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (39) 23 (25) 31
Interest rate risk on AFS securities        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative 5,550 (1,863) 15,135 3,378
Hedged Item (5,600) 1,825 (15,268) (3,325)
Accumulated Other Comprehensive Income (Loss) | Interest rate and foreign currency risk on long-term debt        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative $ 1 $ (1) $ (1) $ (3)