<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:bac="http://www.bankofamerica.com/20260714"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="bac-20260714.xsd" xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:SeriesEPreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:SeriesGGPreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:SeriesHHPreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:SeriesLPreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-7">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:Series1PreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-8">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:Series2PreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-9">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:Series4PreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:Series5PreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-11">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:FloatingRatePreferredHybridIncomeTermSecuritiesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-12">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:A5.63FixedtoFloatingRatePreferredHybridIncomeTermSecuritiesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-13">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:IncomeCapitalObligationNotesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-14">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:SeniorMediumTermNotesSeriesAStepUpCallableNotesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-15">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:SeriesKKPreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-16">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:SeriesLLPreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-17">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:SeriesNNPreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-18">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:SeriesPPPreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-19">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:SeriesQQPreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <context id="c-20">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bac:DepositarySharesEachRepresentingA11000thInterestInAShareOf4750NonCumulativePreferredStockSeriesSSMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-14</startDate>
            <endDate>2026-07-14</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-81">0000070858</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="c-1" id="f-82">false</dei:AmendmentFlag>
    <dei:DocumentPeriodEndDate contextRef="c-1" id="f-1">2026-07-14</dei:DocumentPeriodEndDate>
    <dei:DocumentType contextRef="c-1" id="f-2">8-K</dei:DocumentType>
    <dei:DocumentType contextRef="c-1" id="f-3">8-K</dei:DocumentType>
    <dei:DocumentType contextRef="c-1" id="f-4">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="c-1" id="f-5">2026-07-14</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="c-1" id="f-6">BANK OF AMERICA CORPORATION</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="c-1" id="f-7">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="c-1" id="f-8">1-6523</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="c-1" id="f-9">56-0906609</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="c-1" id="f-10">100 North Tryon Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="c-1" id="f-11">Charlotte</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="c-1" id="f-12">NC</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="c-1" id="f-13">28255</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="c-1" id="f-14">704</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="c-1" id="f-15">386-5681</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="c-1" id="f-16">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="c-1" id="f-17">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="c-1" id="f-18">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="c-1" id="f-19">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="c-2" id="f-20">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-2" id="f-21">BAC</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-2" id="f-22">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-3" id="f-23">Depositary Shares, each representing a 1/1,000th interest in a share  of Floating Rate Non-Cumulative Preferred Stock, Series E</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-3" id="f-24">BAC PrE</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-3" id="f-25">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-4" id="f-26">Depositary Shares, each representing a 1/1,000th interest in a share of 6.000% Non-Cumulative Preferred Stock, Series GG</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-4" id="f-27">BAC PrB</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-4" id="f-28">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-5" id="f-29">Depositary Shares, each representing a 1/1,000th interest in a share of 5.875% Non-Cumulative Preferred Stock, Series HH</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-5" id="f-30">BAC PrK</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-5" id="f-31">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-6" id="f-32">7.25% Non-Cumulative Perpetual Convertible Preferred Stock, Series L</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-6" id="f-33">BAC PrL</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-6" id="f-34">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-7" id="f-35">Depositary Shares, each representing a 1/1,200th interest in a share of</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-7" id="f-36">BML PrG</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-7" id="f-37">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-8" id="f-38">Depositary Shares, each representing a 1/1,200th interest in a share of</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-8" id="f-39">BML PrH</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-8" id="f-40">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-9" id="f-41">Depositary Shares, each representing a 1/1,200th interest in a share of</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-9" id="f-42">BML PrJ</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-9" id="f-43">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-10" id="f-44">Depositary Shares, each representing a 1/1,200th interest in a share of</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-10" id="f-45">BML PrL</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-10" id="f-46">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-11" id="f-47">Floating Rate Preferred Hybrid Income Term Securities of BAC Capital Trust XIII (and the guarantee related thereto)</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-11" id="f-48">BAC/PF</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-11" id="f-49">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-12" id="f-50">5.63% Fixed to Floating Rate Preferred Hybrid Income Term Securities of BAC Capital Trust XIV (and the guarantee related thereto)</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-12" id="f-51">BAC/PG</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-12" id="f-52">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-13" id="f-53">Income Capital Obligation Notes initially due December 15, 2066 of Bank of America Corporation</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-13" id="f-54">MER PrK</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-13" id="f-55">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-14" id="f-56">Senior Medium-Term Notes, Series A, Step Up Callable Notes, due</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-14" id="f-57">BAC/31B</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-14" id="f-58">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-15" id="f-59">Depositary Shares, each representing a 1/1,000th interest in a share of 5.375% Non-Cumulative Preferred Stock, Series KK</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-15" id="f-60">BAC PrM</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-15" id="f-61">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-16" id="f-62">Depositary Shares, each representing a 1/1,000th interest in a share of 5.000% Non-Cumulative Preferred Stock, Series LL</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-16" id="f-63">BAC PrN</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-16" id="f-64">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-17" id="f-65">Depositary Shares, each representing a 1/1,000th interest in a share of 4.375% Non-Cumulative Preferred Stock, Series NN</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-17" id="f-66">BAC PrO</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-17" id="f-67">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-18" id="f-68">Depositary Shares, each representing a 1/1,000th interest in a share of 4.125% Non-Cumulative Preferred Stock, Series PP</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-18" id="f-69">BAC PrP</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-18" id="f-70">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-19" id="f-71">Depositary Shares, each representing a 1/1,000th interest in a share of 4.250% Non-Cumulative Preferred Stock, Series QQ</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-19" id="f-72">BAC PrQ</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-19" id="f-73">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-20" id="f-74">Depositary Shares, each representing a 1/1,000th interest in a share of 4.750% Non-Cumulative Preferred Stock, Series SS</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-20" id="f-75">BAC PrS</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-20" id="f-76">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="c-1" id="f-77">false</dei:EntityEmergingGrowthCompany>
    <dei:DocumentPeriodEndDate contextRef="c-1" id="f-78">2026-07-14</dei:DocumentPeriodEndDate>
    <dei:DocumentPeriodEndDate contextRef="c-1" id="f-79">2026-07-14</dei:DocumentPeriodEndDate>
    <dei:DocumentPeriodEndDate contextRef="c-1" id="f-80">2026-07-14</dei:DocumentPeriodEndDate>
</xbrl>
