Quarterly report pursuant to Section 13 or 15(d)

Derivatives - Narrative (Details)

v3.24.1.u1
Derivatives - Narrative (Details) - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2024
Mar. 31, 2023
Dec. 31, 2023
Dec. 31, 2022
Derivative [Line Items]        
Shareholders’ equity $ 293,552 $ 280,196 $ 291,646 $ 273,197
Net income (loss) in AOCI expected to be reclassified, after tax (3,900)      
Net income (loss) in AOCI expected to be reclassified $ (5,200)      
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,600      
Credit derivatives        
Derivative [Line Items]        
Cash and securities held as collateral 105,100   104,100  
Cash and securities collateral posted 89,700   93,400  
Collateral not yet posted 3,100      
Foreign Mortgage-backed Securities and Foreign Securities        
Derivative [Line Items]        
Transfer of mortgage-backed securities to third-party trust 4,200   4,100  
Gross cash proceeds from transfer of securities 4,200   4,200  
Fair value of derecognized assets 4,100   4,100  
Derivatives        
Derivative [Line Items]        
Shareholders’ equity (8,432) (9,893) $ (8,016) $ (11,935)
Pretax income (loss) in accumulated OCI (11,200)      
Pretax losses reclassified from accumulated OCI 508 156    
Derivatives | Market making and similar activities        
Derivative [Line Items]        
Pretax losses reclassified from accumulated OCI $ 59 $ 0