Quarterly report pursuant to Section 13 or 15(d)

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

v3.21.2
Derivatives - Gains and Losses on Derivatives Designated as Fair Value Hedges (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative $ (840) $ (1,305) $ (2,064) $ 9,358
Hedged Item 847 1,247 2,091 (9,482)
Interest rate risk on long-term debt        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (1,658) (1,523) (6,237) 9,286
Hedged Item 1,660 1,473 6,208 (9,403)
Interest rate and foreign currency risk on long-term debt        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (49) 79 (72) 644
Hedged Item 46 (87) 67 (638)
Interest rate and foreign currency risk on long-term debt | Interest expense        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (11) (13) (62) 718
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 (33) 95 (2) (83)
Interest rate risk on AFS securities        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative 867 139 4,245 (572)
Hedged Item (859) (139) (4,184) 559
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 $ (5) $ (3) $ (8) $ 9