Quarterly report pursuant to Section 13 or 15(d)

Derivatives - Narrative (Details)

v3.23.2
Derivatives - Narrative (Details) - USD ($)
$ in Millions
6 Months Ended
Jun. 30, 2023
Mar. 31, 2023
Dec. 31, 2022
Jun. 30, 2022
Mar. 31, 2022
Dec. 31, 2021
Derivative [Line Items]            
Shareholders’ equity $ 283,319 $ 280,196 $ 273,197 $ 269,118 $ 266,617 $ 270,066
Net income (loss) in AOCI expected to be reclassified, after tax (5,000)          
Net income (loss) in AOCI expected to be reclassified $ (6,700)          
Open cash flow hedge, forecasted transactions hedging period (in years) 7 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 $ 2,300          
Credit derivatives            
Derivative [Line Items]            
Cash and securities held as collateral 101,100   101,300      
Cash and securities collateral posted 88,300   81,200      
Collateral not yet posted 3,800          
Foreign Mortgage-backed Securities and Foreign Securities            
Derivative [Line Items]            
Transfer of mortgage-backed securities to third-party trust 4,800   4,800      
Gross cash proceeds from transfer of securities 4,900   4,900      
Fair value of derecognized assets 4,800   4,700      
Derivatives            
Derivative [Line Items]            
Shareholders’ equity (11,886)   $ (11,935) $ (9,067)   $ (1,880)
Pretax income (loss) in accumulated OCI $ (15,900)