<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:bmimbfi="http://www.bny.com/20260717"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2025"
  xmlns:stpr="http://xbrl.sec.gov/stpr/2025"
  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="cik0000718935-20260717.xsd" xlink:type="simple"/>
    <context id="D20160531_20160531_BloombergMunicipalBond7YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergMunicipalBond7YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="D20160531_20160531_BloombergUSMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergUSMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="D20160531_20160531_C000000110Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20180531_BloombergMunicipalBond7YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergMunicipalBond7YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20180531_BloombergUSMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergUSMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20180531_C000000110Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20190531_BloombergMunicipalBond7YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergMunicipalBond7YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20190531_BloombergUSMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergUSMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20190531_C000000110Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20200531_BloombergMunicipalBond7YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergMunicipalBond7YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20200531_BloombergUSMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergUSMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20200531_C000000110Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20220531_BloombergMunicipalBond7YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergMunicipalBond7YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20220531_BloombergUSMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergUSMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20220531_C000000110Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20230531_BloombergMunicipalBond7YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergMunicipalBond7YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20230531_BloombergUSMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergUSMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20230531_C000000110Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20240531_BloombergMunicipalBond7YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergMunicipalBond7YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20240531_BloombergUSMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergUSMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20240531_C000000110Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20250531_BloombergMunicipalBond7YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergMunicipalBond7YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20250531_BloombergUSMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergUSMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="D20160601_20250531_C000000110Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="DefaultContext">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2021_BloombergMunicipalBond7YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergMunicipalBond7YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2021_BloombergUSMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergUSMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2021_C000000110Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2026_BloombergMunicipalBond7YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergMunicipalBond7YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2026_BloombergUSMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergUSMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2026_C000000110Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="FY2017_BloombergMunicipalBond7YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergMunicipalBond7YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="FY2017_BloombergUSMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergUSMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="FY2017_C000000110Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="FY2026_BloombergMunicipalBond7YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergMunicipalBond7YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="FY2026_BloombergUSMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergUSMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="FY2026_C000000110Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="TenY2026_BloombergMunicipalBond7YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergMunicipalBond7YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="TenY2026_BloombergUSMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">bmimbfi:BloombergUSMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="TenY2026_C000000110Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="TI20260531_C000000110Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_AirportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmimbfi:AirportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_AL">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:AL</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_AZ">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:AZ</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_CA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:CA</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_CO">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:CO</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_CT">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:CT</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_DevelopmentMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmimbfi:DevelopmentMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_EducationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmimbfi:EducationMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_FL">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:FL</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_GA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:GA</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_GeneralObligationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmimbfi:GeneralObligationMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_HousingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmimbfi:HousingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_IA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:IA</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_IL">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:IL</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_IN">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:IN</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_LA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:LA</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_MA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:MA</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_MedicalMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmimbfi:MedicalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_MI">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:MI</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_NC">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:NC</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_NetOtherAssetsAndLiabilitiesCountryMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:OtherCategory1Axis">bmimbfi:NetOtherAssetsAndLiabilitiesCountryMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmimbfi:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_NH">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:NH</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_NJ">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:NJ</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_NursingHomesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmimbfi:NursingHomesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_NY">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:NY</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_OH">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:OH</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_OR">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:OR</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_PA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:PA</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_PowerMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmimbfi:PowerMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_SC">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:SC</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_SchoolDistrictMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmimbfi:SchoolDistrictMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_StudentLoanMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:StudentLoanMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_TN">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:TN</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_TobaccoSettlementMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmimbfi:TobaccoSettlementMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_TransportationSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TransportationSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_TX">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:TX</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_UT">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:UT</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_VA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:VA</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_WA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:WA</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_WaterAndSewarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmimbfi:WaterAndSewarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="TI20260531_C000000110Member_WI">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmimbfi:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:GeographicRegionAxis">stpr:WI</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Holding">
        <measure>bmimbfi:Holding</measure>
    </unit>
    <oef:AccmVal
      contextRef="D20160601_20180531_C000000110Member"
      decimals="INF"
      id="h_0b433793_0722_4aee_82c6_fa6588b65987"
      unitRef="USD">10152</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20190531_C000000110Member"
      decimals="INF"
      id="h_30dd6ae6_e0d5_4713_8091_e169dc042852"
      unitRef="USD">10740</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20200531_C000000110Member"
      decimals="INF"
      id="h_401c643b_68fb_4726_a04d_084019ecbaf5"
      unitRef="USD">10971</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20220531_BloombergUSMunicipalBondIndexMember"
      decimals="INF"
      id="h_44646805_5896_4825_97f2_e166982e1862"
      unitRef="USD">11080</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160531_20160531_BloombergUSMunicipalBondIndexMember"
      decimals="INF"
      id="h_4909e633_28e2_4f9d_b902_29c9efe83718"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20240531_BloombergUSMunicipalBondIndexMember"
      decimals="INF"
      id="h_5ed35dbb_d2e8_4141_bad6_a57d63b1c3f0"
      unitRef="USD">11432</oef:AccmVal>
    <oef:AccmVal
      contextRef="FY2017_BloombergUSMunicipalBondIndexMember"
      decimals="INF"
      id="h_6109fcf2_0a03_49cf_be5b_3b2afeb1e162"
      unitRef="USD">10146</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20250531_BloombergUSMunicipalBondIndexMember"
      decimals="INF"
      id="h_68c8c1b3_6a60_474d_beb9_3770c5baf4bb"
      unitRef="USD">11664</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20230531_BloombergUSMunicipalBondIndexMember"
      decimals="INF"
      id="h_6ec4bc67_8da2_4b50_badb_201e3786ccd4"
      unitRef="USD">11135</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20230531_C000000110Member"
      decimals="INF"
      id="h_7750839b_6eeb_40b9_b038_8f2cfecb66d6"
      unitRef="USD">10833</oef:AccmVal>
    <oef:AccmVal
      contextRef="TenY2026_BloombergMunicipalBond7YearIndexMember"
      decimals="INF"
      id="h_787fc9d4_0ad8_489d_8fcc_ebc0cb56336e"
      unitRef="USD">12270</oef:AccmVal>
    <oef:AccmVal
      contextRef="FiveY2021_C000000110Member"
      decimals="INF"
      id="h_7bcb3f9a_2350_494f_8e8e_7202b5bf03a1"
      unitRef="USD">11530</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160531_20160531_C000000110Member"
      decimals="INF"
      id="h_847bb60f_ff91_495d_81d5_0550963f937c"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20240531_BloombergMunicipalBond7YearIndexMember"
      decimals="INF"
      id="h_8c066a47_00e7_4995_8701_0b2babf69683"
      unitRef="USD">11221</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20220531_C000000110Member"
      decimals="INF"
      id="h_901cd588_beb1_4ead_9921_2f359fa84415"
      unitRef="USD">10758</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20230531_BloombergMunicipalBond7YearIndexMember"
      decimals="INF"
      id="h_9398b828_3a21_4788_af9f_741c0429b223"
      unitRef="USD">11053</oef:AccmVal>
    <oef:AccmVal
      contextRef="TenY2026_BloombergUSMunicipalBondIndexMember"
      decimals="INF"
      id="h_9dceaaa3_7fa7_4f29_8a62_773eb7875dfa"
      unitRef="USD">12442</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20180531_BloombergMunicipalBond7YearIndexMember"
      decimals="INF"
      id="h_a319f39d_fac7_49fd_b3e1_a70309e03a34"
      unitRef="USD">10138</oef:AccmVal>
    <oef:AccmVal
      contextRef="FY2017_BloombergMunicipalBond7YearIndexMember"
      decimals="INF"
      id="h_a3a84b07_162b_4e8a_8a2d_aa8594b15eab"
      unitRef="USD">10178</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20190531_BloombergMunicipalBond7YearIndexMember"
      decimals="INF"
      id="h_aa01bdd7_67c8_4de1_86b5_6b8399285e97"
      unitRef="USD">10796</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20190531_BloombergUSMunicipalBondIndexMember"
      decimals="INF"
      id="h_aafba523_5625_43ff_b99f_b0d5bf8fd16f"
      unitRef="USD">10915</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20180531_BloombergUSMunicipalBondIndexMember"
      decimals="INF"
      id="h_ae2c3a64_2123_434a_9eb5_ff1b83784c71"
      unitRef="USD">10259</oef:AccmVal>
    <oef:AccmVal
      contextRef="FiveY2021_BloombergMunicipalBond7YearIndexMember"
      decimals="INF"
      id="h_b42d589a_14aa_43b4_83a3_04015c9f52ef"
      unitRef="USD">11635</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20220531_BloombergMunicipalBond7YearIndexMember"
      decimals="INF"
      id="h_bd6e3ac2_163c_43da_bebb_3db794a51b9e"
      unitRef="USD">10931</oef:AccmVal>
    <oef:AccmVal
      contextRef="FiveY2021_BloombergUSMunicipalBondIndexMember"
      decimals="INF"
      id="h_d0c89d43_c315_4cec_8962_875cd7150da4"
      unitRef="USD">11888</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160531_20160531_BloombergMunicipalBond7YearIndexMember"
      decimals="INF"
      id="h_e1579b73_2fdc_417f_ada0_58b9d6389060"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="FY2017_C000000110Member"
      decimals="INF"
      id="h_e66fa3fc_974d_49a9_825e_47b5d5f11205"
      unitRef="USD">10122</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20200531_BloombergUSMunicipalBondIndexMember"
      decimals="INF"
      id="h_e91532ec_542c_4b18_b6fb_e39e4933b883"
      unitRef="USD">11350</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20250531_C000000110Member"
      decimals="INF"
      id="h_ea9d7469_b673_474e_9fb5_2954dd60c32a"
      unitRef="USD">11351</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20240531_C000000110Member"
      decimals="INF"
      id="h_eb958cd4_5a28_4c0e_9427_aa7c6960706d"
      unitRef="USD">11123</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20200531_BloombergMunicipalBond7YearIndexMember"
      decimals="INF"
      id="h_f1d03543_1947_4342_b5b5_916caedaa572"
      unitRef="USD">11242</oef:AccmVal>
    <oef:AccmVal
      contextRef="D20160601_20250531_BloombergMunicipalBond7YearIndexMember"
      decimals="INF"
      id="h_fa357178_68c4_4339_923c_510f2802189d"
      unitRef="USD">11697</oef:AccmVal>
    <oef:AccmVal
      contextRef="TenY2026_C000000110Member"
      decimals="INF"
      id="h_fe3c4dd0_9c06_4901_856b_d31f6d6780ff"
      unitRef="USD">12065</oef:AccmVal>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_FL"
      decimals="4"
      id="h_05b29d08_4784_47f5_b540_70cc9b63d941"
      unitRef="pure">0.036</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_IL"
      decimals="4"
      id="h_088a92ef_d9aa_48c0_9622_899c02e829dd"
      unitRef="pure">0.079</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_WA"
      decimals="4"
      id="h_0aa284f2_d3aa_491d_9c34_6c9b20add8b5"
      unitRef="pure">0.054</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_VA"
      decimals="4"
      id="h_122d1cc2_821b_41d7_9d55_e3ecd5dd90f2"
      unitRef="pure">0.016</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_HousingMember"
      decimals="4"
      id="h_1550e0f5_a7ba_4ee2_8a9a_66315802eea0"
      unitRef="pure">0.040</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_WaterAndSewarMember"
      decimals="4"
      id="h_2f4334c8_a088_4ddc_8625_3155eb06b703"
      unitRef="pure">0.051</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_AL"
      decimals="4"
      id="h_31d6b32a_8839_4d8b_9841_1395e1b0d745"
      unitRef="pure">0.044</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_OH"
      decimals="4"
      id="h_3af104bb_520d_4b1f_9a7b_b23a98575cbc"
      unitRef="pure">0.027</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_NY"
      decimals="4"
      id="h_3e608091_f5a2_4bfe_8ae8_3498a8acc31d"
      unitRef="pure">0.066</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_MI"
      decimals="4"
      id="h_430c25b4_b43f_4244_ac04_861585b71aab"
      unitRef="pure">0.055</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_CT"
      decimals="4"
      id="h_46bfb680_b923_4c60_9395_bedfc46e7109"
      unitRef="pure">0.015</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_LA"
      decimals="4"
      id="h_50d90698_1137_47fc_9ace_d6a18b1a590d"
      unitRef="pure">0.013</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_DevelopmentMember"
      decimals="4"
      id="h_566aa74c_76c0_4f56_bfbf_9b931a477423"
      unitRef="pure">0.039</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_GeneralObligationMember"
      decimals="4"
      id="h_56999e7a_7909_47c9_b160_a2f6e9d50867"
      unitRef="pure">0.105</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_NursingHomesMember"
      decimals="4"
      id="h_628249f2_3aec_4bd1_9d64_f2d0954807cf"
      unitRef="pure">0.053</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_PowerMember"
      decimals="4"
      id="h_6e269d3a_f3b4_4883_8618_89d6358c0bd9"
      unitRef="pure">0.063</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_EducationMember"
      decimals="4"
      id="h_73251ec7_b95c_4e85_b1a8_a40f7d0dcede"
      unitRef="pure">0.041</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_StudentLoanMember"
      decimals="4"
      id="h_75ce3f2a_d505_4450_86b3_3dfb4914a477"
      unitRef="pure">0.013</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_NC"
      decimals="4"
      id="h_76798873_a831_4709_9670_ef86afc388ac"
      unitRef="pure">0.010</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_SC"
      decimals="4"
      id="h_7b4f37da_0483_455d_bc09_7a85202caf38"
      unitRef="pure">0.026</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_NetOtherAssetsAndLiabilitiesCountryMember"
      decimals="4"
      id="h_83a33cd2_4906_41f2_8677_764902980ed8"
      unitRef="pure">0.080</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_PA"
      decimals="4"
      id="h_87779018_429b_4181_83ac_c4d90103492c"
      unitRef="pure">0.079</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_AZ"
      decimals="4"
      id="h_8ac0d577_8443_4518_a6ca_ffec9e81d747"
      unitRef="pure">0.016</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_WI"
      decimals="4"
      id="h_920f23f7_476e_422c_ba45_7668743bc80f"
      unitRef="pure">0.055</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_MA"
      decimals="4"
      id="h_92f26f8b_6cf1_492b_98fe_4762eca7aa2c"
      unitRef="pure">0.029</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_CO"
      decimals="4"
      id="h_9621e463_1bed_4f2c_adca_4a9789eb730c"
      unitRef="pure">0.016</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_9ae70d83_ea48_4deb_a092_46b4599ba665"
      unitRef="pure">0.260</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_CA"
      decimals="4"
      id="h_af54e3f6_6fe9_4c4d_8aed_a30dea1090d9"
      unitRef="pure">0.060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_IA"
      decimals="4"
      id="h_b2acf1c7_78b6_4c40_b381_6f758ba2f3a3"
      unitRef="pure">0.011</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_TX"
      decimals="4"
      id="h_ba2238e4_25e4_46a8_a980_66f7889efb04"
      unitRef="pure">0.050</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_NJ"
      decimals="4"
      id="h_bd404f84_ee13_44ba_b6cd_5723eb10f668"
      unitRef="pure">0.039</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_GA"
      decimals="4"
      id="h_c25a3580_54a9_47f6_85ef_e873dbbe642e"
      unitRef="pure">0.027</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_TN"
      decimals="4"
      id="h_c9e70836_7704_4a31_ad3c_55560f36fc11"
      unitRef="pure">0.010</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_AirportMember"
      decimals="4"
      id="h_ca49502f_52d6_4811_a9ec_8d9e72ad7b21"
      unitRef="pure">0.103</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_MedicalMember"
      decimals="4"
      id="h_cca941b2_8ae4_45ad_9956_4adc5ed041cd"
      unitRef="pure">0.105</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_TobaccoSettlementMember"
      decimals="4"
      id="h_cd352863_675a_48a2_8daf_ea12d66fe7d7"
      unitRef="pure">0.034</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_UT"
      decimals="4"
      id="h_df3fe82a_3afc_4cef_952c_18f6960546bc"
      unitRef="pure">0.024</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_TransportationSectorMember"
      decimals="4"
      id="h_e1ed7396_08f7_4e87_9ce6_fc26526e2805"
      unitRef="pure">0.020</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_SchoolDistrictMember"
      decimals="4"
      id="h_ea0df728_c512_4355_ba69_35e99570babe"
      unitRef="pure">0.073</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_OR"
      decimals="4"
      id="h_ec4964b5_3cff_4018_b496_4188032dcc9f"
      unitRef="pure">0.022</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_NH"
      decimals="4"
      id="h_f466b134_5d2c_4424_80d2_fe2546624569"
      unitRef="pure">0.014</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260531_C000000110Member_IN"
      decimals="4"
      id="h_f8e3f83f_9a4f_46a6_bb27_7ea11b975011"
      unitRef="pure">0.027</oef:PctOfNav>
    <dei:EntityCentralIndexKey
      contextRef="DefaultContext"
      id="h1_aedfcd8e_50bf_4cb1_82a5_1a1f97d8c810">0000718935</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="DefaultContext"
      id="h3_d80d2567_2596_4205_b475_154b02269297">false</dei:AmendmentFlag>
    <dei:EntityInvCompanyType
      contextRef="DefaultContext"
      id="h_1_e3d24fd9-a2e5-16d8-2792-5066534cc25b">N-1A</dei:EntityInvCompanyType>
    <dei:DocumentType
      contextRef="DefaultContext"
      id="t_1_8cbde22f_756f_38c1_65b2_2272c9b60bfd">N-CSR</dei:DocumentType>
    <dei:EntityRegistrantName
      contextRef="DefaultContext"
      id="t_2_089174e4_5d3b_e502_208b_703d6daf87b7">BNY Mellon Intermediate Municipal Bond Fund, Inc.</dei:EntityRegistrantName>
    <dei:DocumentPeriodEndDate
      contextRef="DefaultContext"
      id="t_3_840152f8_8ae7_d860_2cb9_83114cdfa12b">2026-05-31</dei:DocumentPeriodEndDate>
    <oef:ClassName
      contextRef="FY2026_C000000110Member"
      id="t_13_17b51225_bd51_e5c4_f09a_b1094692e3fe">BNY Mellon Intermediate Municipal Bond Fund, Inc.</oef:ClassName>
    <oef:FundName
      contextRef="FY2026_C000000110Member"
      id="t_14_f0b7021f_f565_7996_08ba_368e7bd777f4">BNY Mellon Intermediate Municipal Bond Fund, Inc.</oef:FundName>
    <dei:TradingSymbol
      contextRef="FY2026_C000000110Member"
      id="t_15_e9162873_3dd5_1567_0110_f6345d6c6187">DITEX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2026_C000000110Member"
      id="t_1_5a97b5ad_4faf_460d_932a_c300031a8885">This annual shareholder report contains important information about BNY Mellon Intermediate Municipal Bond Fund, Inc. (the &#x201c;Fund&#x201d;) for the period of June 1, 2025 to May 31, 2026.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2026_C000000110Member"
      id="t_2_58f6120d_6369_4066_b8df_3da0240a9aca">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2026_C000000110Member"
      id="t_3_4fe4b8b9_6cbd_4a06_8c3a_ab0cda9e4e26">You can find additional information about the Fund at &lt;span style="white-space:nowrap"&gt;&lt;span style="text-decoration-line:underline;color:rgb(0, 0, 0);line-height:7.5pt;word-break:break-all;white-space:nowrap;font-weight:400;font-family:'times new roman';font-size:10pt"&gt;bny.com/investments/literaturecenter&lt;/span&gt;.&lt;/span&gt; You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2026_C000000110Member"
      id="t_5_42389c25_0fd8_4332_b5e2_fd518b778bea">bny.com/investments/literaturecenter</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2026_C000000110Member"
      id="t_6_2fea0259_159b_4cca_b4fa_0fec732ce535">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="FY2026_C000000110Member"
      id="t_4_d6913190_bebd_4070_a55c_7aef2768f6e4">info@bny.com</oef:AddlInfoEmail>
    <oef:ExpensesTextBlock
      contextRef="FY2026_C000000110Member"
      id="t_16_1d8830f9_b31c_84c3_4645_de97be043a8d">&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:2pt;"&gt; &lt;b&gt;What were the Fund&#x2019;s costs for the last &lt;/b&gt; &lt;b&gt;year&lt;/b&gt; &lt;b&gt;?&lt;/b&gt; &lt;/div&gt;&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;(based on a hypothetical $10,000 investment)&lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid"&gt;
&lt;tr style="break-after:avoid;break-inside:avoid-page;page-break-inside:avoid;height:auto;background-color:rgb(0, 72, 94);border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: left; width: 25%;"&gt;Fund&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: center; width: 30%;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; text-align: center; width: 40%;"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 6pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; text-indent: -6pt;"&gt;BNY Mellon Intermediate Municipal Bond Fund, Inc.&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;68&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top;"&gt;0.66&lt;span&gt;%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2026_C000000110Member"
      decimals="INF"
      id="h_1_908311ad_8630_47ea_b0e6_d038df669b74"
      unitRef="USD">68</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2026_C000000110Member"
      decimals="4"
      id="h_2_39795cfc_8ff9_4cb3_b513_b8b74d8ff905"
      unitRef="pure">0.0066</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="FY2026_C000000110Member"
      id="t_17_987e4fa2_02e0_f954_b640_3a291d5b996e">&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:9pt;margin-left:18pt;"&gt;
&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);break-inside:avoid;"&gt;
&lt;div style="font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:4pt;margin-top:0px;"&gt; &lt;b&gt;How did the Fund perform last &lt;/b&gt; &lt;b&gt;year&lt;/b&gt; &lt;b&gt;?&lt;/b&gt; &lt;/div&gt;
&lt;ul style="padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; counter-reset: numberedlisting 0 letteringlisting 0 letteredhead 0 lcrmnhead 0 ucletteredhead 0 ucrmnhead 0; break-inside: avoid;"&gt;
&lt;li style="font-weight: 400; list-style-type: disc; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 10pt; line-height: 11pt; margin-bottom: 3pt; padding-left: 3pt; margin-left: 7pt;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;For the 12-month&lt;span style="white-space:nowrap"&gt;&#160;&lt;/span&gt;period ended May 31, 2026, the Fund&#x2019;s shares returned 6.29%.&lt;/div&gt; &lt;/li&gt;
&lt;li style="font-weight: 400; list-style-type: disc; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 10pt; line-height: 11pt; margin-bottom: 3pt; padding-left: 3pt; margin-left: 7pt;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:8pt;"&gt;In comparison, the Bloomberg Municipal Bond: 7 Year Index (6-8) returned 4.91% for the same period.&lt;/div&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt;
&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);break-inside:avoid;"&gt;
&lt;div style="font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-bottom:4pt;margin-top:0px;"&gt; &lt;b&gt;What affected the Fund&#x2019;s performance?&lt;/b&gt; &lt;/div&gt; &lt;/div&gt;
&lt;ul style="padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; counter-reset: numberedlisting 0 letteringlisting 0 letteredhead 0 lcrmnhead 0 ucletteredhead 0 ucrmnhead 0; break-inside: avoid;"&gt;
&lt;li style="font-weight: 400; padding-left: 3pt; margin-left: 7pt; list-style-type: disc; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 10pt; line-height: 11pt; margin-bottom: 3pt;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;Municipal bonds provided solid returns with consistent demand from investors and resilient credit fundamentals offsetting rate volatility, while elevated yields and supportive technicals helped sustain steady, low-volatility performance.&lt;/div&gt; &lt;/li&gt;
&lt;li style="font-weight: 400; padding-left: 3pt; margin-left: 7pt; list-style-type: disc; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 10pt; line-height: 11pt; margin-bottom: 3pt;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;The Fund&#x2019;s relative returns benefited from security selection and an emphasis on revenue bonds, including airport, pre-paid gas, tobacco and health care bonds. &lt;/div&gt; &lt;/li&gt;
&lt;li style="font-weight: 400; padding-left: 3pt; margin-left: 7pt; list-style-type: disc; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 10pt; line-height: 11pt; margin-bottom: 3pt;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:3pt;"&gt;A slightly longer duration position was also advantageous, as rates declined and exposure to 8-to-12-year maturities, in particular, provided strong returns.&lt;/div&gt; &lt;/li&gt;
&lt;li style="font-weight: 400; padding-left: 3pt; margin-left: 7pt; list-style-type: disc; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 10pt; line-height: 11pt; margin-bottom: 3pt;"&gt;
&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:8pt;"&gt;Exposure to essential service revenue bonds, such as power &amp;amp; utility and education bonds, detracted from relative returns as these higher-quality sectors underperformed higher-yielding alternatives.&lt;/div&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt;</oef:FactorsAffectingPerfTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="FY2026_C000000110Member"
      id="t_18_b9f557ab_a6cb_121d_8caf_16d2a2646705">&lt;div style="margin-top:0px;font-family:'times new roman';font-weight:bold;font-size:10pt;line-height:12pt;color:rgb(0, 72, 94);padding-top:5pt;padding-right:3.5pt;padding-left:3.5pt;margin-bottom:0px;"&gt; &lt;b&gt; &lt;i&gt;How did the Fund perform over the past 10 years?&lt;/i&gt; &lt;/b&gt; &lt;/div&gt;&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';font-size:10pt;line-height:11pt;color:rgb(0, 72, 94);padding-top:5pt;padding-right:3.5pt;padding-left:3.5pt;margin-bottom:6pt;"&gt; &lt;b&gt;The Fund&#x2019;s past performance is not a good predictor of the Fund&#x2019;s future performance.&lt;/b&gt; The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.&lt;/div&gt;&lt;div style="margin-top:0px;margin-bottom:3pt;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;"&gt; &lt;b&gt;Cumulative Performance from &lt;/b&gt; &lt;b&gt;June 1&lt;/b&gt; &lt;b&gt;, &lt;/b&gt; &lt;b&gt;2016&lt;/b&gt; &lt;b&gt; through &lt;/b&gt; &lt;b&gt;May 31, 2026&lt;/b&gt; &lt;b&gt; &lt;/b&gt; &lt;br/&gt; &lt;b&gt;Initial Investment of $10,000&lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);margin-bottom:6pt;"&gt; &lt;img alt="Fund Performance - Growth of 10K" src="chartimages_11976501.jpg" style="display: block; margin-right: auto; margin-left: auto; width: 396pt;"/&gt;  &lt;/div&gt;&lt;div style="font-weight:400;margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:10pt;line-height:11pt;margin-bottom:6.5pt;"&gt;The above graph compares a hypothetical $10,000 investment in the Fund&#x2019;s shares to a hypothetical investment of $10,000 made in each of the Bloomberg U.S. Municipal Bond Index (a broad-based index) and Bloomberg Municipal Bond: 7 Year Index (6-8) on 5/31/2016. The performance shown takes into account applicable fees and expenses of the Fund, including management fees and other expenses. The Fund&#x2019;s performance also assumes the reinvestment of dividends and capital gains. Unlike the Fund, the indexes are not subject to charges, fees and other expenses. Investors cannot invest directly in any index.&lt;/div&gt;</oef:LineGraphTableTextBlock>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="FY2026_C000000110Member"
      id="t_8_bbf50ddf_35a7_4c3a_8861_d65eda1d45bd">The Fund&#x2019;s past performance is not a good predictor of the Fund&#x2019;s future performance.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="FY2026_C000000110Member"
      id="t_9_140f41cf_6742_4a37_a879_44e552a78bdf">The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.</oef:NoDeductionOfTaxesTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="FY2026_C000000110Member"
      id="t_19_8c18f6f4_620d_7618_255b_f44c6550ba8b">&lt;div style="font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-top:0px;margin-bottom:0px;"&gt; &lt;b&gt;AVERAGE ANNUAL TOTAL RETURNS (AS OF &lt;/b&gt; &lt;b&gt;5/31/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid"&gt;
&lt;tr style="break-after:avoid;break-inside:avoid-page;page-break-inside:avoid;background-color:rgb(0, 72, 94);height:auto;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 10pt; padding-left: 3pt; text-align: left; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top; width: 60%;"&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; text-align: right; padding-top: 1pt; padding-right: 0; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top;"&gt;1YR&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 0; padding-bottom: 10pt; padding-left: 0; text-align: left; width: auto; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top;"&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; text-align: right; padding-top: 1pt; padding-right: 0; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top;"&gt;5YR&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 0; padding-bottom: 10pt; padding-left: 0; text-align: left; width: auto; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top;"&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; text-align: right; padding-top: 1pt; padding-right: 0; padding-bottom: 10pt; padding-left: 3pt; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top;"&gt;10YR&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 0; padding-bottom: 10pt; padding-left: 0; text-align: left; width: auto; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); vertical-align: top;"&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;background-color:rgb(227, 235, 237);height:19pt;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; text-align: left; font-weight: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top;"&gt;BNY Mellon Intermediate Municipal Bond Fund, Inc.&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; text-align: right; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top;"&gt;6.29&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 0; width: auto; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; margin-bottom: 0;"&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; text-align: right; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top;"&gt;0.91&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 0; width: auto; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; margin-bottom: 0;"&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; text-align: right; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top;"&gt;1.90&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 0; width: auto; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; margin-bottom: 0;"&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;background-color:rgb(227, 235, 237);height:19pt;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; text-align: left; font-weight: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top;"&gt;Bloomberg U.S. Municipal Bond Index (broad-based index)&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; text-align: right; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top;"&gt;6.67&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 0; width: auto; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; margin-bottom: 0;"&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; text-align: right; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top;"&gt;0.92&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 0; width: auto; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; margin-bottom: 0;"&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; text-align: right; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top;"&gt;2.21&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 0; width: auto; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; margin-bottom: 0;"&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;background-color:rgb(227, 235, 237);height:19pt;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 3pt; padding-bottom: 3pt; padding-left: 3pt; text-align: left; font-weight: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top;"&gt;Bloomberg Municipal Bond: 7 Year Index (6-8)&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; text-align: right; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top;"&gt;4.91&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 0; width: auto; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; margin-bottom: 0;"&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; text-align: right; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top;"&gt;1.07&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 0; width: auto; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; margin-bottom: 0;"&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; text-align: right; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 3pt; white-space: nowrap; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top;"&gt;2.07&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; padding-top: 1pt; padding-right: 0; padding-bottom: 3pt; padding-left: 0; width: auto; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: left; margin-bottom: 0;"&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2026_C000000110Member"
      id="t_20_b2143856_0106_25e8_f836_ebfed8e7747e">BNY Mellon Intermediate Municipal Bond Fund, Inc.</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2026_C000000110Member"
      decimals="4"
      id="h_6_d760d85d_2a85_47b7_a2b0_bd02845373bd"
      unitRef="pure">0.0629</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2026_C000000110Member"
      decimals="4"
      id="h_7_967823f1_3469_4cc1_9e19_1ea29df8ef98"
      unitRef="pure">0.0091</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2026_C000000110Member"
      decimals="4"
      id="h_8_03bd69ac_efed_4610_b162_edfad9dc054a"
      unitRef="pure">0.0190</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2026_BloombergUSMunicipalBondIndexMember"
      id="t_22_0798c2f2_18e1_d91d_8f45_09ae3f15273b">Bloomberg U.S. Municipal Bond Index (broad-based index)</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2026_BloombergUSMunicipalBondIndexMember"
      decimals="4"
      id="h_9_449533d7_7ec7_472b_973a_cdc9f50d8086"
      unitRef="pure">0.0667</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2026_BloombergUSMunicipalBondIndexMember"
      decimals="4"
      id="h_10_8837162e_e4e7_471c_95ea_66a1e72ba37d"
      unitRef="pure">0.0092</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2026_BloombergUSMunicipalBondIndexMember"
      decimals="4"
      id="h_11_b51b1056_33aa_4bfc_83f4_444c7b6db78f"
      unitRef="pure">0.0221</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2026_BloombergMunicipalBond7YearIndexMember"
      id="t_23_aaf6ce3b_1a2f_7734_b809_320a48375834">Bloomberg Municipal Bond: 7 Year Index (6-8)</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2026_BloombergMunicipalBond7YearIndexMember"
      decimals="4"
      id="h_12_c20f3b00_3afe_4f1f_aee0_6f7e30e4aff3"
      unitRef="pure">0.0491</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2026_BloombergMunicipalBond7YearIndexMember"
      decimals="4"
      id="h_13_b16fdfd5_1c10_4161_b38f_fcdac578986c"
      unitRef="pure">0.0107</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2026_BloombergMunicipalBond7YearIndexMember"
      decimals="4"
      id="h_14_1d3f86f6_953a_43d5_a02b_4ad457cbd9e9"
      unitRef="pure">0.0207</oef:AvgAnnlRtrPct>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="FY2026_C000000110Member"
      id="t_21_ed7e467b_fabb_e7c0_1933_aa9321d73929">For more current information visit bny.com/investments/literaturecenter.</oef:UpdPerfInfoLocationTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2026_C000000110Member"
      id="t_11_4cd5b200_7f6f_48a1_a111_53ff1ba42a28">&lt;div style="font-family:'times new roman';color:rgb(0, 0, 0);font-size:11pt;font-weight:bold;margin-top:0px;margin-bottom:0px;"&gt; &lt;b&gt;KEY FUND STATISTICS (AS OF &lt;/b&gt; &lt;b&gt;5/31/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;page-break-inside:avoid;break-inside:avoid"&gt;
&lt;tr style="break-after:avoid;break-inside:avoid-page;page-break-inside:avoid;height:auto;background-color:rgb(0, 72, 94);border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Fund Size (Millions)&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Number of Holdings&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;Total Advisory Fee Paid During&lt;br/&gt; Period&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; font-size: 9pt; line-height: 9pt; font-weight: bold; color: rgb(255, 255, 255); padding-top: 1pt; padding-bottom: 10pt; padding-right: 3pt; padding-left: 3pt; width: 170pt; vertical-align: top; text-align: center;"&gt;&lt;br/&gt; Annual Portfolio Turnover&lt;/td&gt; &lt;/tr&gt;
&lt;tr style="break-inside:avoid-page;page-break-inside:avoid;border-bottom-color:initial;border-bottom-style:none;border-bottom-width:initial;background-color:rgb(227, 235, 237);height:19pt"&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;348&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;195&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;&lt;span style="float:none"&gt;$&lt;/span&gt;1,610,202&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; padding-right: 3pt; padding-left: 3pt; padding-top: 1pt; white-space: nowrap; width: 170pt; font-family: 'Times New Roman'; font-weight: normal; font-size: 9pt; line-height: 9pt; vertical-align: top; text-align: center; color: rgb(0, 0, 0); padding-bottom: 1pt; border-left-color: initial; border-left-style: none; border-left-width: initial;"&gt;22.54&lt;span&gt;%&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20260531_C000000110Member"
      decimals="INF"
      id="h_15_979358f4_0452_4314_a8a5_ce242b36a666"
      unitRef="USD">348000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20260531_C000000110Member"
      decimals="INF"
      id="h_16_77415183_c36e_49a3_863f_7224f41cea0e"
      unitRef="Holding">195</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2026_C000000110Member"
      decimals="INF"
      id="h_17_70f22a1d_1565_4b48_b23f_1c6d7739f6c8"
      unitRef="USD">1610202</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="FY2026_C000000110Member"
      decimals="4"
      id="h_18_0446b087_93ee_407e_954c_5a79b7610561"
      unitRef="pure">0.2254</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="FY2026_C000000110Member"
      id="t_12_48f264fb_78c3_4ae2_8756_e23ae6a14293">&lt;div style="margin-top:0px;text-transform:uppercase;margin-bottom:3pt;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;"&gt; &lt;b&gt;Portfolio Holdings (as of &lt;/b&gt; &lt;b&gt;5/31/26&lt;/b&gt; &lt;b&gt;)&lt;/b&gt; &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;Sector Allocation (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:12pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Top N Holdings Chart" src="chartimages_11976530.jpg" style="margin-left: 50pt; width: 437pt;"/&gt;  &lt;/div&gt;&lt;div style="margin-top:0px;font-family:'times new roman';color:rgb(0, 0, 0);font-size:9pt;font-weight:bold;letter-spacing:0px;text-transform:none;margin-bottom:0px;page-break-after:avoid;"&gt; &lt;b&gt;State Allocation (Based on Net Assets)&lt;/b&gt; &lt;/div&gt;&lt;div style="font-family:'times new roman';font-size:9pt;font-weight:400;color:rgb(0, 0, 0);width:540pt;margin-bottom:6pt;margin-left:18pt;"&gt; &lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_11976506.jpg" style="margin-left: 29pt; width: 437pt;"/&gt;  &lt;/div&gt;</oef:HoldingsTableTextBlock>
</xbrl>
