<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="P10_17_2026To10_17_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000070858</identifier>
        </entity>
        <period>
            <startDate>2026-10-17</startDate>
            <endDate>2026-10-17</endDate>
        </period>
    </context>
    <unit id="Unit_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="P10_17_2026To10_17_2026" id="ixv-19">0000070858</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="P10_17_2026To10_17_2026" id="ixv-20">BANK OF AMERICA CORP /DE/</dei:EntityRegistrantName>
    <ffd:RegnFileNb contextRef="P10_17_2026To10_17_2026" id="ixv-21">333-277673</ffd:RegnFileNb>
    <ffd:FormTp contextRef="P10_17_2026To10_17_2026" id="ixv-22">S-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="P10_17_2026To10_17_2026" id="ixv-23">424B5</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="P10_17_2026To10_17_2026" id="ixv-24">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OfferingTableNa contextRef="P10_17_2026To10_17_2026" id="ixv-25">N/A</ffd:OfferingTableNa>
    <ffd:OffsetTableNa contextRef="P10_17_2026To10_17_2026" id="ixv-26">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="P10_17_2026To10_17_2026" id="ixv-27">N/A</ffd:CombinedProspectusTableNa>
    <ffd:NrrtvDsclsr contextRef="P10_17_2026To10_17_2026" id="ixv-15">&lt;div style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;The prospectus to which this Exhibit is attached is a final prospectus for the related offering. The maximum aggregate offering price for such offering is $8,000,000,000. &lt;/div&gt;</ffd:NrrtvDsclsr>
    <ffd:FnlPrspctsFlg contextRef="P10_17_2026To10_17_2026" id="ixv-39">true</ffd:FnlPrspctsFlg>
    <ffd:NrrtvMaxAggtOfferingPric
      contextRef="P10_17_2026To10_17_2026"
      decimals="0"
      id="ixv-40"
      unitRef="Unit_USD">8000000000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
