Quarterly report pursuant to Section 13 or 15(d)

Derivatives - Narrative (Details)

v3.24.2
Derivatives - Narrative (Details) - USD ($)
$ in Millions
6 Months Ended
Jun. 30, 2024
Mar. 31, 2024
Dec. 31, 2023
Jun. 30, 2023
Mar. 31, 2023
Dec. 31, 2022
Derivative [Line Items]            
Shareholders’ equity $ 293,892 $ 293,552 $ 291,646 $ 283,319 $ 280,196 $ 273,197
Net income (loss) in AOCI expected to be reclassified, after tax (3,700)          
Net income (loss) in AOCI expected to be reclassified $ (4,900)          
Open cash flow hedge, forecasted transactions hedging period (in years) 9 years          
Terminated cash flow hedges, period forecasted transaction recognized in interest income (in years) 5 years          
Bank of America, N.A.            
Derivative [Line Items]            
Collateral not yet posted $ 1,200          
Interest rate risk on long-term debt            
Derivative [Line Items]            
Decrease in liability 10,200   10,500      
Interest rate risk on AFS securities            
Derivative [Line Items]            
Available -for-sale securities from discontinued hedging relationships cumulative decrease 5,000   5,600      
Credit derivatives            
Derivative [Line Items]            
Cash and securities held as collateral 102,500   104,100      
Cash and securities collateral posted 89,800   93,400      
Collateral not yet posted 2,400          
Foreign Mortgage-backed Securities and Foreign Securities            
Derivative [Line Items]            
Transfer of mortgage-backed securities to third-party trust 4,000   4,100      
Gross cash proceeds from transfer of securities 4,100   4,200      
Fair value of derecognized assets 3,900   4,100      
Derivatives            
Derivative [Line Items]            
Shareholders’ equity (7,746)   $ (8,016) $ (11,886)   $ (11,935)
Pretax income (loss) in accumulated OCI $ (10,300)