<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cik0000718935="http://www.dreyfus.com/20260531"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:fnd="http://xbrl.sec.gov/fnd/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:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="c485bpos-20260925.xsd" xlink:type="simple"/>
    <context id="Context_20260531_20260531">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_S000000073Member_PrincipalRisks2_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000718935:PrincipalRisks2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_S000000073Member_RiskLoseMoneyMember_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_S000000073Member_RiskNotInsuredMember_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_S000000073Member_Municipalsecuritiesrisk2_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000718935:Municipalsecuritiesrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_S000000073Member_Interestraterisk2_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000718935:Interestraterisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_S000000073Member_Creditrisk2_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000718935:Creditrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_S000000073Member_Highyieldsecuritiesrisk2_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000718935:Highyieldsecuritiesrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_S000000073Member_Liquidityrisk2_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000718935:Liquidityrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_S000000073Member_Valuationrisk2_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000718935:Valuationrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_S000000073Member_Marketrisk2_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000718935:Marketrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_S000000073Member_Prepaymentrisk2_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000718935:Prepaymentrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_S000000073Member_Managementrisk2_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000718935:Managementrisk2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20161231_20161231_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-12-31</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="Context_20171231_20171231_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-12-31</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="Context_20181231_20181231_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-12-31</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="Context_20191231_20191231_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-12-31</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="Context_20201231_20201231_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-12-31</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="Context_20211231_20211231_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-12-31</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="Context_20221231_20221231_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-12-31</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="Context_20231231_20231231_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-12-31</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20251231_20251231_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20250101_20251231_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20210101_20251231_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20160101_20251231_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_AfterTaxesOnDistributionsMember_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250101_20251231_AfterTaxesOnDistributionsMember_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20210101_20251231_AfterTaxesOnDistributionsMember_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20160101_20251231_AfterTaxesOnDistributionsMember_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_AfterTaxesOnDistributionsAndSalesMember_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250101_20251231_AfterTaxesOnDistributionsAndSalesMember_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20210101_20251231_AfterTaxesOnDistributionsAndSalesMember_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20160101_20251231_AfterTaxesOnDistributionsAndSalesMember_C000000110Member_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cik0000718935:C000000110Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20260531_20260531_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">cik0000718935:BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-31</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="Context_20250101_20251231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">cik0000718935:BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20210101_20251231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">cik0000718935:BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20160101_20251231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">cik0000718935:BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20250101_20251231_BloombergMunicipalBond7YearIndex6-8reflectsnodeductionsforfeesexpensesortaxes32_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">cik0000718935:BloombergMunicipalBond7YearIndex6-8reflectsnodeductionsforfeesexpensesortaxes32Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20210101_20251231_BloombergMunicipalBond7YearIndex6-8reflectsnodeductionsforfeesexpensesortaxes32_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">cik0000718935:BloombergMunicipalBond7YearIndex6-8reflectsnodeductionsforfeesexpensesortaxes32Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Context_20160101_20251231_BloombergMunicipalBond7YearIndex6-8reflectsnodeductionsforfeesexpensesortaxes32_S000000073Member_S000000073Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000718935</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000718935:S000000073Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">cik0000718935:BloombergMunicipalBond7YearIndex6-8reflectsnodeductionsforfeesexpensesortaxes32Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <dei:EntityInvCompanyType contextRef="Context_20260531_20260531" id="ixv-34452">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName contextRef="Context_20260531_20260531" id="ixv-34453">BNY Mellon Intermediate Municipal Bond Fund, Inc.</dei:EntityRegistrantName>
    <dei:DocumentEffectiveDate contextRef="Context_20260531_20260531" id="ixv-34454">2026-09-30</dei:DocumentEffectiveDate>
    <oef:ProspectusDate contextRef="Context_20260531_20260531" id="ixv-34455">2026-09-30</oef:ProspectusDate>
    <oef:RiskReturnHeading
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34456">Fund 
Summary</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34457"> Investment 
Objective</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34458">The fund seeks the maximum amount of current 
income exempt from federal income tax as is consistent with the preservation of capital.</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34459">Fees 
and Expenses</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-251">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;This table describes the fees and expenses 
that you may pay if you buy, hold and sell shares of the fund.  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;You may 
pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not 
reflected in the table and examples below.&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  &lt;/span&gt;&lt;/p&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:OperatingExpensesCaption
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34460">Annual 
Fund Operating Expenses (expenses that you pay each year as a percentage 
of the value of your investment)</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34461"
      unitRef="pure">0.0045</oef:ManagementFeesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34462"
      unitRef="pure">0.0007</oef:Component2OtherExpensesOverAssets>
    <oef:Component3OtherExpensesOverAssets
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34463"
      unitRef="pure">0.0014</oef:Component3OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34464"
      unitRef="pure">0.0021</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34465"
      unitRef="pure">0.0066</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34466">Example</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-300">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The Example is intended to help you compare the cost of investing in the fund 
with the cost of investing in other mutual funds.  The Example assumes that you invest $10,000 in the 
fund for the time periods indicated and then hold or redeem all of your shares at the end of those periods. 
 The Example also assumes that your investment has a 5% return each year and that the fund's operating 
expenses remain the same.  Although your actual costs may be higher or lower, based on these assumptions 
your costs would be:&lt;/p&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34467"
      unitRef="usd">67</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34468"
      unitRef="usd">211</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34469"
      unitRef="usd">368</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34470"
      unitRef="usd">822</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34471">Portfolio 
Turnover</oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-327">&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund pays transaction costs, such as commissions, 
when it buys and sells securities (or "turns over" its portfolio).  A higher portfolio turnover may indicate 
higher transaction costs and may result in higher taxes when fund shares are held in a taxable account. 
 These costs, which are not reflected in annual fund operating expenses or in the Example, affect the 
fund's performance.  During the most recent fiscal year, the fund's portfolio turnover rate was 22.54% 
of the average value of its portfolio.&lt;/p&gt;</oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34472"
      unitRef="pure">0.2254</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34473">Principal 
Investment Strategy</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-332">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;To pursue its goal, the fund 
normally invests at least 80% of its net assets, plus any borrowings for investment purposes, in municipal 
bonds that provide income exempt from federal personal income tax.  Typically, the fund invests substantially 
all of its assets in such municipal bonds.  Municipal bonds are debt securities or other obligations 
issued by states, territories and possessions of the United States and the District of Columbia and their 
political subdivisions, agencies and instrumentalities, or multistate agencies and authorities. &lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund invests at least 80% of its net assets in municipal bonds rated, at the 
time of purchase, A or higher or the unrated equivalent as determined by Insight North America LLC, the 
fund's sub-adviser.  The fund may invest up to 20% of its net assets in municipal bonds rated, at the 
time of purchase, below A, including bonds rated below investment grade ("high yield" or "junk" bonds) 
or the unrated equivalent as determined by the fund's sub-adviser.  The dollar-weighted average maturity 
of the fund's portfolio generally is between three and ten years.  Because of events &lt;/p&gt;

&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;affecting the bond markets and interest rate changes, the 
dollar-weighted average maturity of the portfolio might not meet the foregoing target at all times, and 
the fund's sub-adviser may lengthen or shorten the fund's portfolio maturity outside this range depending 
on its evaluation of market conditions.  A bond's maturity is the length of time until the principal 
must be fully repaid with interest.  Dollar-weighted average maturity is an average of the stated maturities 
of the bonds held by the fund, based on their dollar-weighted proportions in the fund.&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund's sub-adviser focuses on identifying undervalued sectors and securities. 
 To select municipal bonds for the fund, the sub-adviser uses fundamental credit analysis to estimate 
the relative value and attractiveness of various sectors and securities and actively trades among various 
sectors and securities based on their apparent relative values.  The fund seeks to invest in several 
different sectors, and does not seek to overweight any particular sector but may do so depending on each 
sector's relative value at a given time.&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;A rigorous sell discipline 
is employed to evaluate all fund holdings.  Current holdings may become sell candidates if creditworthiness 
is deteriorating, if bonds with better risk and return characteristics become available, or if the holding 
no longer meets the sub-adviser's strategic or portfolio construction objectives.&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Although 
the fund seeks to provide income exempt from federal income tax, income from some of the fund's holdings 
may be subject to the federal alternative minimum tax.&lt;/p&gt;</oef:StrategyNarrativeTextBlock>
    <fnd:NmRule35d1EightyPctInvstmntPlcyTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34474">To pursue its goal, the fund 
normally invests at least 80% of its net assets, plus any borrowings for investment purposes, in municipal 
bonds that provide income exempt from federal personal income tax.</fnd:NmRule35d1EightyPctInvstmntPlcyTextBlock>
    <fnd:NmRule35d1TermDfnSmryTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34475">  Typically, the fund invests substantially 
all of its assets in such municipal bonds.  Municipal bonds are debt securities or other obligations 
issued by states, territories and possessions of the United States and the District of Columbia and their 
political subdivisions, agencies and instrumentalities, or multistate agencies and authorities. </fnd:NmRule35d1TermDfnSmryTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_PrincipalRisks2_S000000073Summary1Member"
      id="ixv-343">&lt;div style="border-bottom:0.25pt; border-bottom-style:solid; border-bottom-color:#000000; padding:0pt 0pt 1pt 0pt;"&gt;&lt;div style="font-size:12.0pt; font-family:Arial; text-align:left; color:#000000; font-weight:bold;"&gt;&lt;span style="font-size:12.0pt; font-family:Arial; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Principal Risks&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;An investment in the fund is not a bank deposit.  It is not insured or guaranteed 
by the Federal Deposit Insurance Corporation (FDIC) or any other government agency.  It is not a complete 
investment program.  The fund's share price fluctuates, sometimes dramatically, which means you could 
lose money.&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_RiskNotInsuredMember_S000000073Summary1Member"
      id="ixv-34476">An investment in the fund is not a bank deposit.  It is not insured or guaranteed 
by the Federal Deposit Insurance Corporation (FDIC) or any other government agency.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_RiskLoseMoneyMember_S000000073Summary1Member"
      id="ixv-34477">  The fund's share price fluctuates, sometimes dramatically, which means you could 
lose money.</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_Municipalsecuritiesrisk2_S000000073Summary1Member"
      id="ixv-348">&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Municipal securities risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  Municipal 
securities are subject to interest rate, credit, liquidity, valuation, market and political risks.  The 
amount of public information available about municipal securities is generally less than that for corporate 
equities or bonds.  Special factors, such as legislative and regulatory changes, executive orders, voter 
initiatives, and state and local economic and business developments, may adversely affect the value of 
the fund's investments in municipal securities.  Other factors include the general conditions of the 
municipal securities market, the size of the particular offering, the maturity of the obligation and 
the rating of the issue.  Changes in economic, business or political conditions relating to a particular 
municipal project, municipality, or state, territory or possession of the United States in which the 
fund invests may have an impact on the fund's share price.  Any credit impairment could adversely impact 
the value of municipal bonds, which could negatively impact the performance of the fund.  In addition, 
income from municipal securities held by the fund could be declared taxable because of, among other things, 
unfavorable changes in tax laws, adverse interpretations by the Internal Revenue Service or state tax 
authorities, or noncompliant conduct of an issuer or other obligated party.  Loss of tax-exempt status 
for municipal securities held by the fund may cause interest received and distributed to shareholders 
by the fund to be taxable and may result in a significant decline in the values of such municipal securities.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_Interestraterisk2_S000000073Summary1Member"
      id="ixv-354">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Interest 
rate risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Prices of bonds and other fixed rate fixed-income securities 
tend to move inversely with changes in interest rates.  Typically, a rise in rates will adversely affect 
fixed-income securities and, accordingly, will cause the value of the fund's investments in these securities 
to decline.  A wide variety of market factors can cause interest rates to rise, including central bank 
monetary policy, rising inflation and changes in general economic conditions.  It is difficult to predict 
the pace at which central banks or monetary authorities may increase (or decrease) interest rates or 
the timing, frequency, or magnitude of such changes.  During periods of very low interest rates, which 
occur from time to time due to market forces or actions of governments and/or their central banks, including 
the Board of Governors of the Federal Reserve System in the U.S., the fund may be subject to a greater 
risk of principal decline from rising interest rates.  When interest rates fall, the fund's investments 
in new securities may be at lower yields and may reduce the fund's income.  Changing interest rates may 
have unpredictable effects on markets, may result in heightened market volatility and may detract from 
fund performance.  The magnitude of these fluctuations in the market price of fixed-income securities 
is generally greater for securities with longer effective maturities and durations because such instruments 
do not mature, reset interest rates or become callable for longer periods of time.  Unlike investment 
grade bonds, however, the prices of high yield ("junk") bonds may fluctuate unpredictably and not necessarily 
inversely with changes in interest rates.    &lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_Creditrisk2_S000000073Summary1Member"
      id="ixv-360">&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Credit risk&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;:  Failure 
of an issuer of a security to make timely interest or principal payments when due, or a decline or perception 
of a decline in the credit quality of the security, can cause the security's price to fall, lowering 
the value of the fund's investment in such security.  The lower a security's credit rating, the greater 
the chance that the issuer of the security will default or fail to meet its payment obligations.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_Highyieldsecuritiesrisk2_S000000073Summary1Member"
      id="ixv-366">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;High 
yield securities risk&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;:  High yield ("junk") securities involve greater credit risk, 
including the risk of default, than investment grade securities, and are considered predominantly speculative 
with respect to the issuer's ability to make &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; margin-left:8.65pt; text-decoration:none;"&gt;principal and interest payments.  These securities are especially 
sensitive to adverse changes in general economic conditions, to changes in the financial condition of 
their issuers and to price fluctuation in response to changes in interest rates.  During periods of economic 
downturn or rising interest rates, issuers of below investment grade securities may experience financial 
stress that could adversely affect their ability to make payments of principal and interest and increase 
the possibility of default.&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_Liquidityrisk2_S000000073Summary1Member"
      id="ixv-377">&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Liquidity risk&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;When 
there is little or no active trading market for specific types of securities, it can become more difficult 
to sell the securities in a timely manner at or near their perceived value.  In such a market, the value 
of such securities and the fund's share price may fall dramatically.  Investments that are illiquid or 
that trade in lower volumes may be more difficult to value.  The market for below investment grade securities 
may be less liquid and therefore these securities may be harder to value, buy or sell at an acceptable 
price, especially during times of market volatility or decline.  Liquidity risk also may refer to the 
risk that the fund will not be able to pay redemption proceeds within the allowable time period stated 
in this prospectus because of unusual market conditions, including those resulting in a significant amount 
of the fund's assets becoming illiquid, an unusually high volume of redemption requests, or other reasons.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_Valuationrisk2_S000000073Summary1Member"
      id="ixv-384">&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Valuation 
risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  The price that the fund could receive upon the sale (or other disposition) of 
an investment may differ from the fund's valuation of the investment, particularly for investments that 
trade in lower volumes, investments that are valued using a fair valuation methodology or a price provided 
by an independent pricing service, or during market turmoil or volatility.  As a result, the price received 
upon the sale of an investment may be less than the value ascribed by the fund, and the fund could realize 
a greater than expected loss or lesser than expected gain upon the sale of the investment.  The fund's 
ability to value its investments also may be impacted by technological issues and/or errors by pricing 
services or other third-party service providers.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_Marketrisk2_S000000073Summary1Member"
      id="ixv-390">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Market risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The value 
of the securities in which the fund invests may be affected by political, regulatory, economic and social 
developments, and developments that impact specific economic sectors, industries or segments of the market.&#160; 
In addition, turbulence in financial markets and reduced liquidity in equity, credit and/or fixed-income 
markets may negatively affect many issuers, which could adversely affect the fund.&#160; Global economies 
and financial markets are becoming increasingly interconnected, and conditions and events in one country, 
region or financial market may adversely impact issuers in a different country, region or financial market.&#160; 
These risks may be magnified if certain events or developments adversely interrupt the global supply 
chain; in these and other circumstances, such risks might affect companies world-wide.  Local, regional 
or global events such as war, military conflicts, acts of terrorism, natural disasters, the spread of 
infectious illness or other public health issues, recessions, elevated levels of government debt, changes 
in trade regulation or economic sanctions, internal unrest and discord, or other events could have a 
significant impact on the fund and its investments.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_Prepaymentrisk2_S000000073Summary1Member"
      id="ixv-396">&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Prepayment risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Some 
securities give the issuer the option to prepay or call the securities before their maturity date, which 
may reduce the market value of the security and the anticipated yield-to-maturity.  Issuers often exercise 
this right when interest rates fall.  If an issuer "calls" its securities during a time of declining 
interest rates, the fund might have to reinvest the proceeds in an investment offering a lower yield, 
and therefore might not benefit from any increase in value as a result of declining interest rates.  
During periods of market illiquidity or rising interest rates, prices of "callable" issues are subject 
to increased price fluctuation.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_Managementrisk2_S000000073Summary1Member"
      id="ixv-402">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-8.65pt; font-weight:normal; margin-left:8.65pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Symbol; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&#xb7;&lt;/span&gt;&lt;span style="word-spacing:5.325pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;Management risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The investment 
process used by the fund's sub-adviser could fail to achieve the fund's investment goal and cause your 
fund investment to lose value.  &lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34478">Performance</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-411">&lt;p style="margin-top:revert; margin-bottom:revert;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The following bar chart and table provide some indication of the risks of investing 
in the fund.  The bar chart shows changes in the performance of the fund's shares from year to year. 
 The table compares the average annual total returns of the fund's shares to those of the Bloomberg U.S. 
Municipal Bond Index, a broad measure of market performance, and the Bloomberg Municipal Bond: 7 Year 
Index (6-8), an index reflecting the market segments in which the fund invests.  The fund's past performance 
(before and after taxes) is not necessarily an indication of how the fund will perform in the future. 
 More recent performance information may be available at http://www.bny.com/investments.&lt;/p&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34479">The fund's past performance 
(before and after taxes) is not necessarily an indication of how the fund will perform in the future.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34480">http://www.bny.com/investments</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34481">Year-by-Year 
Total Returns&#x2005;as of 12/31 each year (%)</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-433">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; font-weight:normal; text-decoration:none;"&gt;During the periods shown in the chart:&lt;/span&gt;&lt;br/&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Best&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt; Quarter&lt;/span&gt;&lt;br/&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;2023, 
Q4: 6.35&lt;/span&gt;&lt;br/&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Worst Quarter&lt;/span&gt;&lt;br/&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;2022, Q1: (5.63)&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top:revert; margin-bottom:revert;font-size:9.0pt; font-family:Serif; text-align:left; color:#000000; text-indent:-4.3pt; font-weight:normal; margin-left:8.6pt; text-decoration:none; font-style:italic;"&gt;The year-to-date total return of the fund's 
shares as of June 30, 2026 was 1.64%.&lt;/p&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      id="ixv-34482">Best Quarter</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      id="ixv-34483">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34484"
      unitRef="pure">0.0635</oef:BarChartHighestQuarterlyReturn>
    <oef:LowestQuarterlyReturnLabel
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      id="ixv-34485">Worst Quarter</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      id="ixv-34486">2022-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34487"
      unitRef="pure">-0.0563</oef:BarChartLowestQuarterlyReturn>
    <oef:YearToDateReturnLabel
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      id="ixv-34488">The year-to-date total return of the fund's 
shares as of</oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturnDate
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      id="ixv-34489">2026-06-30</oef:BarChartYearToDateReturnDate>
    <oef:BarChartYearToDateReturn
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34490"
      unitRef="pure">0.0164</oef:BarChartYearToDateReturn>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-449">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;After-tax returns are calculated 
using the historical highest individual federal marginal income tax rates, and do not reflect the impact 
of state and local taxes.  Actual after-tax returns depend on the investor's tax situation and may differ 
from those shown, and the after-tax returns shown are not relevant to investors who hold their shares 
through U.S. tax-deferred arrangements such as 401(k) plans or individual retirement accounts.  Returns 
after taxes on distributions and sale of fund shares may be higher than returns before taxes or returns 
after taxes on distributions due to an assumed tax benefit from losses on a sale of the fund's shares 
at the end of the period.&lt;/p&gt;</oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34491">After-tax returns are calculated 
using the historical highest individual federal marginal income tax rates, and do not reflect the impact 
of state and local taxes.</oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34492">Actual after-tax returns depend on the investor's tax situation and may differ 
from those shown, and the after-tax returns shown are not relevant to investors who hold their shares 
through U.S. tax-deferred arrangements such as 401(k) plans or individual retirement accounts.</oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableExplanationAfterTaxHigher
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34493">Returns 
after taxes on distributions and sale of fund shares may be higher than returns before taxes or returns 
after taxes on distributions due to an assumed tax benefit from losses on a sale of the fund's shares 
at the end of the period.</oef:PerformanceTableExplanationAfterTaxHigher>
    <oef:AverageAnnualReturnCaption
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34494">Average 
Annual Total Returns&#160;(as of 12/31/25)</oef:AverageAnnualReturnCaption>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20260531_20260531_C000000110Member_S000000073Member_S000000073Summary1Member"
      id="ixv-34495">returns before taxes</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20250101_20251231_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34496"
      unitRef="pure">0.0485</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20210101_20251231_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34497"
      unitRef="pure">0.0082</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20160101_20251231_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34498"
      unitRef="pure">0.0201</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20260531_20260531_AfterTaxesOnDistributionsMember_C000000110Member_S000000073Member_S000000073Summary1Member"
      id="ixv-34499">returns after taxes 
on distributions</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20250101_20251231_AfterTaxesOnDistributionsMember_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34500"
      unitRef="pure">0.0485</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20210101_20251231_AfterTaxesOnDistributionsMember_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34501"
      unitRef="pure">0.0078</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20160101_20251231_AfterTaxesOnDistributionsMember_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34502"
      unitRef="pure">0.0189</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20260531_20260531_AfterTaxesOnDistributionsAndSalesMember_C000000110Member_S000000073Member_S000000073Summary1Member"
      id="ixv-34503">returns after taxes on distributions and 
sale of fund shares</oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20250101_20251231_AfterTaxesOnDistributionsAndSalesMember_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34504"
      unitRef="pure">0.0405</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20210101_20251231_AfterTaxesOnDistributionsAndSalesMember_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34505"
      unitRef="pure">0.0116</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20160101_20251231_AfterTaxesOnDistributionsAndSalesMember_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34506"
      unitRef="pure">0.0207</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Context_20260531_20260531_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000073Member_S000000073Summary1Member"
      id="ixv-34507">Bloomberg 
U.S. Municipal Bond Index</oef:AverageAnnualReturnLabel>
    <oef:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34508">reflects no deductions for fees, expenses or taxes</oef:IndexNoDeductionForFeesExpensesTaxes>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20250101_20251231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34509"
      unitRef="pure">0.0425</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20210101_20251231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34510"
      unitRef="pure">0.0080</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20160101_20251231_BloombergUSMunicipalBondIndexreflectsnodeductionsforfeesexpensesortaxes31_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34511"
      unitRef="pure">0.0234</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20250101_20251231_BloombergMunicipalBond7YearIndex6-8reflectsnodeductionsforfeesexpensesortaxes32_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34512"
      unitRef="pure">0.0571</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20210101_20251231_BloombergMunicipalBond7YearIndex6-8reflectsnodeductionsforfeesexpensesortaxes32_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34513"
      unitRef="pure">0.0103</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Context_20160101_20251231_BloombergMunicipalBond7YearIndex6-8reflectsnodeductionsforfeesexpensesortaxes32_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34514"
      unitRef="pure">0.0224</oef:AvgAnnlRtrPct>
    <dei:DocumentType contextRef="Context_20260531_20260531" id="ixv-34517">485BPOS</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Context_20260531_20260531" id="ixv-34518">2026-05-31</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="Context_20260531_20260531" id="ixv-34519">0000718935</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="Context_20260531_20260531" id="ixv-34520">false</dei:AmendmentFlag>
    <dei:DocumentCreationDate contextRef="Context_20260531_20260531" id="ixv-34521">2026-09-25</dei:DocumentCreationDate>
    <oef:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34522">~ http://xbrl.sec.gov/rr/role/OperatingExpensesData row dei_DocumentInformationDocumentAxis compact cik0000718935_S000000073Summary1Member row dei_LegalEntityAxis compact cik0000718935_S000000073Member ~</oef:AnnualFundOperatingExpensesTableTextBlock>
    <oef:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34523">~ http://xbrl.sec.gov/rr/role/ExpenseExample row dei_DocumentInformationDocumentAxis compact cik0000718935_S000000073Summary1Member row dei_LegalEntityAxis compact cik0000718935_S000000073Member ~</oef:ExpenseExampleWithRedemptionTableTextBlock>
    <oef:PerformanceTableTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34524">~ http://xbrl.sec.gov/rr/role/PerformanceTableData column period compact * row dei_DocumentInformationDocumentAxis compact cik0000718935_S000000073Summary1Member row dei_LegalEntityAxis compact cik0000718935_S000000073Member row oef_ClassAxis compact * row oef_PerformanceMeasureAxis compact * ~</oef:PerformanceTableTextBlock>
    <oef:AnnlRtrPct
      contextRef="Context_20161231_20161231_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34925"
      unitRef="pure">-0.003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20171231_20171231_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34926"
      unitRef="pure">0.0461</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20181231_20181231_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34927"
      unitRef="pure">0.007</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20191231_20191231_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34928"
      unitRef="pure">0.0695</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20201231_20201231_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34929"
      unitRef="pure">0.0428</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20211231_20211231_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34930"
      unitRef="pure">0.0075</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20221231_20221231_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34931"
      unitRef="pure">-0.0729</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20231231_20231231_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34932"
      unitRef="pure">0.0533</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20241231_20241231_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34933"
      unitRef="pure">0.0096</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Context_20251231_20251231_C000000110Member_S000000073Member_S000000073Summary1Member"
      decimals="INF"
      id="ixv-34934"
      unitRef="pure">0.0485000038146973</oef:AnnlRtrPct>
    <cik0000718935:CustomRisksTableTextBlock
      contextRef="Context_20260531_20260531_S000000073Member_S000000073Summary1Member"
      id="ixv-34937">~ http://www.dreyfus.com/20260531/role/RRRiskTable3 ~</cik0000718935:CustomRisksTableTextBlock>
</xbrl>
