Quarterly report [Sections 13 or 15(d)]

Derivatives - Sales and Trading Revenue (Details)

v3.26.1
Derivatives - Sales and Trading Revenue (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue $ 4,177 $ 3,153 $ 7,814 $ 6,737
Global Markets | Income Statement Location [Axis]: us-gaap:NoninterestIncomeOtherOperatingIncome        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 728 642 1,500 1,300
Trading Derivatives and Securities        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 6,876 5,112 13,089 10,699
Trading Derivatives and Securities | Income Statement Location [Axis]: us-gaap:InterestIncomeExpenseNet        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 1,712 1,066 3,352 2,062
Trading Derivatives and Securities | Income Statement Location [Axis]: us-gaap:TradingGainsLosses        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 4,415 3,283 8,128 6,905
Trading Derivatives and Securities | Income Statement Location [Axis]: bac:FeesAndCommissions1        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 749 763 1,609 1,732
Trading Derivatives and Securities | Interest rate risk        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 1,318 1,321 2,690 2,596
Trading Derivatives and Securities | Interest rate risk | Income Statement Location [Axis]: us-gaap:InterestIncomeExpenseNet        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 1,047 711 2,025 1,366
Trading Derivatives and Securities | Interest rate risk | Income Statement Location [Axis]: us-gaap:TradingGainsLosses        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 172 478 415 978
Trading Derivatives and Securities | Interest rate risk | Income Statement Location [Axis]: bac:FeesAndCommissions1        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 99 132 250 252
Trading Derivatives and Securities | Foreign exchange risk        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 567 608 1,100 1,176
Trading Derivatives and Securities | Foreign exchange risk | Income Statement Location [Axis]: us-gaap:InterestIncomeExpenseNet        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 6 8 10 25
Trading Derivatives and Securities | Foreign exchange risk | Income Statement Location [Axis]: us-gaap:TradingGainsLosses        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 546 569 1,079 1,109
Trading Derivatives and Securities | Foreign exchange risk | Income Statement Location [Axis]: bac:FeesAndCommissions1        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 15 31 11 42
Trading Derivatives and Securities | Equity risk        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 3,627 2,147 6,475 4,331
Trading Derivatives and Securities | Equity risk | Income Statement Location [Axis]: us-gaap:InterestIncomeExpenseNet        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue (134) (297) (217) (639)
Trading Derivatives and Securities | Equity risk | Income Statement Location [Axis]: us-gaap:TradingGainsLosses        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 3,123 1,881 5,388 3,858
Trading Derivatives and Securities | Equity risk | Income Statement Location [Axis]: bac:FeesAndCommissions1        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 638 563 1,304 1,112
Trading Derivatives and Securities | Credit risk        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 1,281 976 2,527 2,377
Trading Derivatives and Securities | Credit risk | Income Statement Location [Axis]: us-gaap:InterestIncomeExpenseNet        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 691 669 1,444 1,358
Trading Derivatives and Securities | Credit risk | Income Statement Location [Axis]: us-gaap:TradingGainsLosses        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 454 247 882 678
Trading Derivatives and Securities | Credit risk | Income Statement Location [Axis]: bac:FeesAndCommissions1        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 136 60 201 341
Trading Derivatives and Securities | Other risk        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 83 60 297 219
Trading Derivatives and Securities | Other risk | Income Statement Location [Axis]: us-gaap:InterestIncomeExpenseNet        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 102 (25) 90 (48)
Trading Derivatives and Securities | Other risk | Income Statement Location [Axis]: us-gaap:TradingGainsLosses        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue 120 108 364 282
Trading Derivatives and Securities | Other risk | Income Statement Location [Axis]: bac:FeesAndCommissions1        
Trading Activity, Gains and Losses, Net [Line Items]        
Sales and trading revenue $ (139) $ (23) $ (157) $ (15)