Quarterly report pursuant to Section 13 or 15(d)

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

v3.22.2.2
Derivatives - Gains and Losses on Derivatives Designated as Fair Value Hedges (Details) - USD ($)
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative $ 1,169,000,000 $ (840,000,000) $ (2,779,000,000) $ (2,064,000,000)
Hedged Item (1,192,000,000) 847,000,000 2,792,000,000 2,091,000,000
Interest rate risk on long-term debt        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (8,435,000,000) (1,658,000,000) (27,458,000,000) (6,237,000,000)
Hedged Item 8,437,000,000 1,660,000,000 27,630,000,000 6,208,000,000
Interest rate and foreign currency risk on long-term debt        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (77,000,000) (49,000,000) (137,000,000) (72,000,000)
Hedged Item 78,000,000 46,000,000 137,000,000 67,000,000
Interest rate and foreign currency risk on long-term debt | Interest expense        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative (6,000,000) (11,000,000) (40,000,000) (62,000,000)
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 (71,000,000) (33,000,000) (96,000,000) (2,000,000)
Interest rate risk on AFS securities        
Effect of Fair Value Hedges on Results of Operations [Abstract]        
Derivative 9,681,000,000 867,000,000 24,816,000,000 4,245,000,000
Hedged Item (9,707,000,000) (859,000,000) (24,975,000,000) (4,184,000,000)
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 $ 0 $ (5,000,000) $ (1,000,000) $ (8,000,000)