Annual report pursuant to Section 13 and 15(d)

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

v3.22.0.1
Derivatives - Gains and Losses on Derivatives Designated as Fair Value Hedges (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative $ (1,905) $ 7,830 $ 6,130
Hedged Item 1,750 (7,954) (6,113)
Interest rate risk on long-term debt | Interest expense      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative (7,018) 7,091 6,113
Hedged Item 6,838 (7,220) (6,110)
Interest rate and foreign currency risk on long-term debt      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative (90) 783 119
Hedged Item 79 (783) (101)
Interest rate and foreign currency risk on long-term debt | Interest expense      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative (73) 701 73
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 0 73 28
Interest rate risk on AFS securities | Interest Income      
Effect of Fair Value Hedges on Results of Operations [Abstract]      
Derivative 5,203 (44) (102)
Hedged Item (5,167) 49 98
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 $ (17) $ 9 $ 18