<?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/20260504"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2024"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="bac-20260504.xsd" xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
        </entity>
        <period>
            <startDate>2026-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</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-05-04</startDate>
            <endDate>2026-05-04</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-77">0000070858</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="c-1" id="f-78">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="c-1" id="f-1">8-K</dei:DocumentType>
    <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:DocumentPeriodEndDate contextRef="c-1" id="f-4">2026-05-04</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="c-1" id="f-5">BANK OF AMERICA CORPORATION</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="c-1" id="f-6">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="c-1" id="f-7">1-6523</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="c-1" id="f-8">56-0906609</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="c-1" id="f-9">100 North Tryon Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="c-1" id="f-10">Charlotte</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="c-1" id="f-11">NC</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="c-1" id="f-12">28255</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="c-1" id="f-13">704</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="c-1" id="f-14">386-5681</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="c-1" id="f-15">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="c-1" id="f-16">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="c-1" id="f-17">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="c-1" id="f-18">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="c-2" id="f-19">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-2" id="f-20">BAC</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-2" id="f-21">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-3" id="f-22">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-23">BAC PrE</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-3" id="f-24">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-4" id="f-25">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-26">BAC PrB</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-4" id="f-27">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-5" id="f-28">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-29">BAC PrK</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-5" id="f-30">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-6" id="f-31">7.25% Non-Cumulative Perpetual Convertible Preferred Stock, Series L</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-6" id="f-32">BAC PrL</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-6" id="f-33">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-7" id="f-34">Depositary Shares, each representing a 1/1,200th interest in a share of</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-7" id="f-35">BML PrG</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-7" id="f-36">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-8" id="f-37">Depositary Shares, each representing a 1/1,200th interest in a share of</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-8" id="f-38">BML PrH</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-8" id="f-39">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-9" id="f-40">Depositary Shares, each representing a 1/1,200th interest in a share of</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-9" id="f-41">BML PrJ</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-9" id="f-42">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-10" id="f-43">Depositary Shares, each representing a 1/1,200th interest in a share of</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-10" id="f-44">BML PrL</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-10" id="f-45">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-11" id="f-46">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-47">BAC/PF</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-11" id="f-48">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-12" id="f-49">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-50">BAC/PG</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-12" id="f-51">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-13" id="f-52">Income Capital Obligation Notes initially due December 15, 2066 of Bank of America Corporation</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-13" id="f-53">MER PrK</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-13" id="f-54">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-14" id="f-55">Senior Medium-Term Notes, Series A, Step Up Callable Notes, due</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c-14" id="f-56">BAC/31B</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-14" id="f-57">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-15" id="f-58">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-59">BAC PrM</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-15" id="f-60">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-16" id="f-61">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-62">BAC PrN</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-16" id="f-63">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-17" id="f-64">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-65">BAC PrO</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-17" id="f-66">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-18" id="f-67">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-68">BAC PrP</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-18" id="f-69">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-19" id="f-70">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-71">BAC PrQ</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-19" id="f-72">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="c-20" id="f-73">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-74">BAC PrS</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c-20" id="f-75">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="c-1" id="f-76">false</dei:EntityEmergingGrowthCompany>
</xbrl>
