<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:bmifiii="http://www.bny.com/20260826"
  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:us-gaap="http://fasb.org/us-gaap/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="cik0000053808-20260826.xsd" xlink:type="simple"/>
    <context id="D20251231_20260630_C000000790Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="D20251231_20260630_C000000792Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="D20251231_20260630_C000000793Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="DefaultContext">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="TI20260630_C000000790Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_AssetBackedSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:AssetBackedSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_BasicMaterialsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifiii:BasicMaterialsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_CollateralizedLoanObligationsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:CollateralizedLoanObligationsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_CommunicationsSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:CommunicationsSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_ConsumerCyclicalMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifiii:ConsumerCyclicalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_ConsumerNonCyclicalMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifiii:ConsumerNonCyclicalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_ConvertibleCorporateBondsAndNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:ConvertibleCorporateBondsAndNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_CorporateBondsAndNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:CorporateBondsAndNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_EnergySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:EnergySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_EquitySecuritiesCommonStocksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:EquitySecuritiesCommonStocksMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_EquitySecuritiesPreferredStocksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:EquitySecuritiesPreferredStocksMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_FinancialServicesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:FinancialServicesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_FixedRateLoanInterestsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:FixedRateLoanInterestsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_FloatingRateLoanInterestsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:FloatingRateLoanInterestsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_ForwardForeignCurrencyExchangeContractsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:ForwardForeignCurrencyExchangeContractsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_IndustrialSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:IndustrialSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_InvestmentCompaniesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:InvestmentCompaniesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_InvestmentCompaniesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifiii:InvestmentCompaniesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_NetOtherAssetsAndLiabilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifiii:NetOtherAssetsAndLiabilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_TechnologySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TechnologySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_UnfundedFloatingRateLoanInterestsCommitmentsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:UnfundedFloatingRateLoanInterestsCommitmentsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000790Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000790Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_AssetBackedSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:AssetBackedSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_BasicMaterialsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifiii:BasicMaterialsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_CollateralizedLoanObligationsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:CollateralizedLoanObligationsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_CommunicationsSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:CommunicationsSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_ConsumerCyclicalMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifiii:ConsumerCyclicalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_ConsumerNonCyclicalMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifiii:ConsumerNonCyclicalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_ConvertibleCorporateBondsAndNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:ConvertibleCorporateBondsAndNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_CorporateBondsAndNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:CorporateBondsAndNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_EnergySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:EnergySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_EquitySecuritiesCommonStocksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:EquitySecuritiesCommonStocksMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_EquitySecuritiesPreferredStocksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:EquitySecuritiesPreferredStocksMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_FinancialServicesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:FinancialServicesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_FixedRateLoanInterestsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:FixedRateLoanInterestsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_FloatingRateLoanInterestsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:FloatingRateLoanInterestsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_ForwardForeignCurrencyExchangeContractsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:ForwardForeignCurrencyExchangeContractsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_IndustrialSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:IndustrialSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_InvestmentCompaniesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:InvestmentCompaniesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_InvestmentCompaniesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifiii:InvestmentCompaniesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_NetOtherAssetsAndLiabilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifiii:NetOtherAssetsAndLiabilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_TechnologySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TechnologySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_UnfundedFloatingRateLoanInterestsCommitmentsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:UnfundedFloatingRateLoanInterestsCommitmentsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000792Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000792Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_AssetBackedSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:AssetBackedSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_BasicMaterialsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifiii:BasicMaterialsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_CollateralizedLoanObligationsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:CollateralizedLoanObligationsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_CommunicationsSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:CommunicationsSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_ConsumerCyclicalMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifiii:ConsumerCyclicalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_ConsumerNonCyclicalMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifiii:ConsumerNonCyclicalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_ConvertibleCorporateBondsAndNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:ConvertibleCorporateBondsAndNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_CorporateBondsAndNotesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:CorporateBondsAndNotesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_EnergySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:EnergySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_EquitySecuritiesCommonStocksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:EquitySecuritiesCommonStocksMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_EquitySecuritiesPreferredStocksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:EquitySecuritiesPreferredStocksMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_FinancialServicesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:FinancialServicesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_FixedRateLoanInterestsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:FixedRateLoanInterestsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_FloatingRateLoanInterestsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:FloatingRateLoanInterestsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_ForwardForeignCurrencyExchangeContractsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:ForwardForeignCurrencyExchangeContractsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_IndustrialSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:IndustrialSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_InvestmentCompaniesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:InvestmentCompaniesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_InvestmentCompaniesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifiii:InvestmentCompaniesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_NetOtherAssetsAndLiabilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:NetOtherAssetsAndLiabilitiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_NetOtherAssetsAndLiabilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">bmifiii:NetOtherAssetsAndLiabilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_TechnologySectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TechnologySectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_UnfundedFloatingRateLoanInterestsCommitmentsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">bmifiii:UnfundedFloatingRateLoanInterestsCommitmentsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="TI20260630_C000000793Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000053808</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">bmifiii:C000000793Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Holding">
        <measure>bmifiii:Holding</measure>
    </unit>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_UnfundedFloatingRateLoanInterestsCommitmentsMember"
      decimals="4"
      id="h_00f8ea56_999f_4e91_8fe5_aa33e5053ecf"
      unitRef="pure">0.000</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_EquitySecuritiesPreferredStocksMember"
      decimals="4"
      id="h_01ddc8bf_299a_43f0_94b1_a3b0487b3a02"
      unitRef="pure">0.001</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_ConsumerCyclicalMember"
      decimals="4"
      id="h_02d90b34_24a4_411a_aca7_02245a74404d"
      unitRef="pure">0.130</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_FloatingRateLoanInterestsMember"
      decimals="4"
      id="h_0a328e54_6aff_460b_b2a0_d7e6887fc2c0"
      unitRef="pure">0.046</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_ConsumerNonCyclicalMember"
      decimals="4"
      id="h_0fadbb2d_a4ba_4f37_a726_145a67a80793"
      unitRef="pure">0.157</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_CommunicationsSectorMember"
      decimals="4"
      id="h_10775753_322c_42e1_8531_61d97263e610"
      unitRef="pure">0.198</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_InvestmentCompaniesSectorMember"
      decimals="4"
      id="h_15e6b833_8343_4651_9d2b_26f8d94266c2"
      unitRef="pure">0.060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_FixedRateLoanInterestsMember"
      decimals="4"
      id="h_1792707a_033a_41f3_8e10_ba2ebad55a26"
      unitRef="pure">0.001</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_CommunicationsSectorMember"
      decimals="4"
      id="h_21329ffb_75c8_4a1b_99e8_cc1bcd767d51"
      unitRef="pure">0.198</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_UnfundedFloatingRateLoanInterestsCommitmentsMember"
      decimals="4"
      id="h_2757221f_c104_46a5_a24d_11f8c4bdf82a"
      unitRef="pure">0.000</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_NetOtherAssetsAndLiabilitiesSectorMember"
      decimals="4"
      id="h_2a04b4f7_0fcd_4583_97df_c9227ae50606"
      unitRef="pure">-0.005</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_TechnologySectorMember"
      decimals="4"
      id="h_30083427_2eeb_4823_8c18_687cde9b45bb"
      unitRef="pure">0.024</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_FloatingRateLoanInterestsMember"
      decimals="4"
      id="h_30fcfde9_4137_4899_b4e8_fd50f3bed66e"
      unitRef="pure">0.046</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_ConsumerNonCyclicalMember"
      decimals="4"
      id="h_3799db15_9913_4ffb_9844_1b874c18f40f"
      unitRef="pure">0.157</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_3b53c45e_8ed9_4932_9791_e0778340ffe7"
      unitRef="pure">-0.006</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_BasicMaterialsMember"
      decimals="4"
      id="h_3c794602_aa91_433c_a53e_6d7e94161cef"
      unitRef="pure">0.045</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_InvestmentCompaniesSectorMember"
      decimals="4"
      id="h_3f4d9b77_1627_48ad_b331_f089bf6c3440"
      unitRef="pure">0.060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_TechnologySectorMember"
      decimals="4"
      id="h_3f65db09_f2d1_4b3f_9440_c93014f9807b"
      unitRef="pure">0.024</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_44445865_8b2a_465e_815f_e67d4061f13e"
      unitRef="pure">-0.006</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_CorporateBondsAndNotesMember"
      decimals="4"
      id="h_44be51ad_031e_4200_a8b1_b3bb3c25d765"
      unitRef="pure">0.877</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_NetOtherAssetsAndLiabilitiesSectorMember"
      decimals="4"
      id="h_4a4fe9fd_8cbc_4d7c_8921_1b5fc808e9a7"
      unitRef="pure">-0.005</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_AssetBackedSecuritiesMember"
      decimals="4"
      id="h_4d786e20_8c2b_4e28_9c04_01f8ae45bdf2"
      unitRef="pure">0.012</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_EquitySecuritiesPreferredStocksMember"
      decimals="4"
      id="h_4eb96ef8_99d1_4653_a8db_b3ad9c8b854a"
      unitRef="pure">0.001</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_NetOtherAssetsAndLiabilitiesSectorMember"
      decimals="4"
      id="h_555a9f64_de72_499c_a317_07b1b1568e26"
      unitRef="pure">-0.005</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_CollateralizedLoanObligationsMember"
      decimals="4"
      id="h_586c8665_a50b_4f39_accd_747d0061b3fc"
      unitRef="pure">0.012</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_AssetBackedSecuritiesMember"
      decimals="4"
      id="h_58dd4c37_cdd5_4d19_aa56_f62caef58847"
      unitRef="pure">0.012</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_EnergySectorMember"
      decimals="4"
      id="h_5b642258_e541_4383_8d4e_19e5febf9de6"
      unitRef="pure">0.107</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_AssetBackedSecuritiesMember"
      decimals="4"
      id="h_5dc4d4a0_bdfd_46ed_aa93_17b298dc02d5"
      unitRef="pure">0.012</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_EquitySecuritiesCommonStocksMember"
      decimals="4"
      id="h_5e48c1ff_c63e_4e79_905d_667d720b4915"
      unitRef="pure">0.001</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_ForwardForeignCurrencyExchangeContractsMember"
      decimals="4"
      id="h_6065c9fb_8a99_42ea_9097_35ad4206944a"
      unitRef="pure">0.000</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_ConsumerNonCyclicalMember"
      decimals="4"
      id="h_68e24749_e9a4_4358_bd6b_4be042708898"
      unitRef="pure">0.157</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_UtilitiesSectorMember"
      decimals="4"
      id="h_69372f99_77d0_4df6_abc1_0c275f6d0bfb"
      unitRef="pure">0.048</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_EnergySectorMember"
      decimals="4"
      id="h_6f173824_1349_421a_ad44_9c4a2fa2f19f"
      unitRef="pure">0.107</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_FixedRateLoanInterestsMember"
      decimals="4"
      id="h_71c07caf_6dcd_43f7_bcb9_a8f6de71a1e1"
      unitRef="pure">0.001</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_BasicMaterialsMember"
      decimals="4"
      id="h_739fe3e2_7587_464b_bfbd_dd0c0fb3d0cc"
      unitRef="pure">0.045</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_ForwardForeignCurrencyExchangeContractsMember"
      decimals="4"
      id="h_7dec4b63_3266_4fdd_9841_34cda3741e21"
      unitRef="pure">0.000</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_ConvertibleCorporateBondsAndNotesMember"
      decimals="4"
      id="h_87da9cb4_49b9_41a3_9525_1e108a520462"
      unitRef="pure">0.008</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_EquitySecuritiesCommonStocksMember"
      decimals="4"
      id="h_92293244_43ea_4617_9123_46ba8e343edf"
      unitRef="pure">0.001</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_FixedRateLoanInterestsMember"
      decimals="4"
      id="h_9369461a_a577_42c3_8fb0_a0f0274d3fc0"
      unitRef="pure">0.001</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_EquitySecuritiesPreferredStocksMember"
      decimals="4"
      id="h_a276f733_62fb_4b3e_ba8d_d631455a233e"
      unitRef="pure">0.001</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_TechnologySectorMember"
      decimals="4"
      id="h_a2f12419_7a20_4eaa_b427_7212745ce1df"
      unitRef="pure">0.024</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_CorporateBondsAndNotesMember"
      decimals="4"
      id="h_a5bd8279_ecfc_4bef_96c8_4306a2ddc75e"
      unitRef="pure">0.877</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_FloatingRateLoanInterestsMember"
      decimals="4"
      id="h_a641d951_5bad_421c_a68c_0740dee6a960"
      unitRef="pure">0.046</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_IndustrialSectorMember"
      decimals="4"
      id="h_a742153b_5a05_4e4e_99ea_2b878bbbf051"
      unitRef="pure">0.101</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_BasicMaterialsMember"
      decimals="4"
      id="h_a75b4d41_0a10_4ef9_8bfe_c52265431f0b"
      unitRef="pure">0.045</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_ConvertibleCorporateBondsAndNotesMember"
      decimals="4"
      id="h_a94643d1_e1ab_41c9_8ee5_63be7a979923"
      unitRef="pure">0.008</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_CommunicationsSectorMember"
      decimals="4"
      id="h_af2736b7_063b_4b1d_93f7_31f5e19451a6"
      unitRef="pure">0.198</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_ConsumerCyclicalMember"
      decimals="4"
      id="h_b18a7b83_c0ce_4b9f_9c90_c36a7ed1a492"
      unitRef="pure">0.130</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_ConsumerCyclicalMember"
      decimals="4"
      id="h_b7b99367_a6e1_43bf_ad8e_8d998a372cc7"
      unitRef="pure">0.130</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_CollateralizedLoanObligationsMember"
      decimals="4"
      id="h_b7d8f7e3_d520_414a_a470_d80f055afe3c"
      unitRef="pure">0.012</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_FinancialServicesSectorMember"
      decimals="4"
      id="h_b8735aac_2660_4f26_bae9_4663f28ac546"
      unitRef="pure">0.123</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_UtilitiesSectorMember"
      decimals="4"
      id="h_bf4b3604_7963_4829_9063_3be8bd9d38cf"
      unitRef="pure">0.048</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_CorporateBondsAndNotesMember"
      decimals="4"
      id="h_cb306219_d682_46aa_a21a_de8c0b413e3c"
      unitRef="pure">0.877</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_IndustrialSectorMember"
      decimals="4"
      id="h_cc25ad49_9bda_4646_b75e_1ab511b939fe"
      unitRef="pure">0.101</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_InvestmentCompaniesSectorMember"
      decimals="4"
      id="h_cd007d42_9db0_4c60_afe2_1d661cd5ee92"
      unitRef="pure">0.060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_InvestmentCompaniesMember"
      decimals="4"
      id="h_ceb1bc31_d30b_4cea_b119_9a5cc245506e"
      unitRef="pure">0.060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_IndustrialSectorMember"
      decimals="4"
      id="h_cf3917b2_fb6e_42f4_bdfc_6205c9f6282f"
      unitRef="pure">0.101</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_FinancialServicesSectorMember"
      decimals="4"
      id="h_cff7e884_38cc_45d2_b22e_a2f28ae52262"
      unitRef="pure">0.123</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_UnfundedFloatingRateLoanInterestsCommitmentsMember"
      decimals="4"
      id="h_dd924053_8065_4046_a6a5_6ec31abc95c5"
      unitRef="pure">0.000</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_UtilitiesSectorMember"
      decimals="4"
      id="h_de74f6d7_2e29_4a02_b5c4_211b5fbaf4a4"
      unitRef="pure">0.048</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_ConvertibleCorporateBondsAndNotesMember"
      decimals="4"
      id="h_e8ed7658_1a17_453d_86fe_97917cf50ba1"
      unitRef="pure">0.008</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_EnergySectorMember"
      decimals="4"
      id="h_e9963db3_e225_4588_9bf2_81cc252e0793"
      unitRef="pure">0.107</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_ForwardForeignCurrencyExchangeContractsMember"
      decimals="4"
      id="h_f4d2a33a_9d6b_40c8_a5e8_466ce999421d"
      unitRef="pure">0.000</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_EquitySecuritiesCommonStocksMember"
      decimals="4"
      id="h_f535a239_ccbb_40ab_a7bc_05a66e681add"
      unitRef="pure">0.001</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_CollateralizedLoanObligationsMember"
      decimals="4"
      id="h_f642d655_ad21_42b8_94cd_b0399b47f688"
      unitRef="pure">0.012</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000793Member_InvestmentCompaniesMember"
      decimals="4"
      id="h_f7840acb_5aa6_4ea8_accf_4c984e6c24a7"
      unitRef="pure">0.060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_InvestmentCompaniesMember"
      decimals="4"
      id="h_f8f638d5_dfea_4a54_bfaf_fb16f4135ffb"
      unitRef="pure">0.060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000790Member_FinancialServicesSectorMember"
      decimals="4"
      id="h_ff795882_beab_48b0_bb3b_bdf7a19b513c"
      unitRef="pure">0.123</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="TI20260630_C000000792Member_NetOtherAssetsAndLiabilitiesMember"
      decimals="4"
      id="h_ffab1303_0bcb_4a28_ae66_206e95298395"
      unitRef="pure">-0.006</oef:PctOfNav>
    <dei:EntityCentralIndexKey
      contextRef="DefaultContext"
      id="h1_1b1db62c_8980_4485_b7bb_fcf53c613d2c">0000053808</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="DefaultContext"
      id="h3_f4645d10_88bd_41d3_bdfe_c319523cbdbe">false</dei:AmendmentFlag>
    <dei:EntityInvCompanyType
      contextRef="DefaultContext"
      id="h_4_246d1047-123f-82d3-e997-391dd58a9b8a">N-1A</dei:EntityInvCompanyType>
    <dei:DocumentType
      contextRef="DefaultContext"
      id="t_3_3cde9e69_de8d_7aa9_88c7_fda4b43bcb57">N-CSRS/A</dei:DocumentType>
    <dei:EntityRegistrantName
      contextRef="DefaultContext"
      id="t_1_59235201_bcda_e352_23c0_fc57836281d9">BNY Mellon Investment Funds III</dei:EntityRegistrantName>
    <dei:DocumentPeriodEndDate
      contextRef="DefaultContext"
      id="t_2_cca8fd96_a22b_a85b_12bb_bc8092f10f82">2026-06-30</dei:DocumentPeriodEndDate>
    <oef:FundName
      contextRef="D20251231_20260630_C000000790Member"
      id="t_32_4604f3a6_dff3_8a64_063e_2a20cfdd4358">BNY Mellon High Yield Fund</oef:FundName>
    <oef:ClassName
      contextRef="D20251231_20260630_C000000790Member"
      id="t_33_c83cc8f8_96ce_80b7_a807_9bf4de3144f7">Class A</oef:ClassName>
    <dei:TradingSymbol
      contextRef="D20251231_20260630_C000000790Member"
      id="t_34_1845db24_646d_47ee_9d8c_c4bddcba7adc">DPLTX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="D20251231_20260630_C000000790Member"
      id="t_1_bfba2a28_5b3e_43ec_88b4_42674976a4e1">This semi-annual shareholder report contains important information about BNY Mellon High Yield Fund (the &#x201c;Fund&#x201d;) for the period of January 1, 2026 to June 30, 2026.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="D20251231_20260630_C000000790Member"
      id="t_2_906e3cf5_2bc4_482c_b040_32d319cd9d5c">semi-annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="D20251231_20260630_C000000790Member"
      id="t_3_75d23a66_4acd_4d17_9c12_b29521e4f09a">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="D20251231_20260630_C000000790Member"
      id="t_5_3bc1bbbc_e190_4fca_aa83_c944a4d1bbd0">bny.com/investments/literaturecenter</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="D20251231_20260630_C000000790Member"
      id="t_6_9dc1eda1_d2af_4339_bab0_b685a48f24c7">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="D20251231_20260630_C000000790Member"
      id="t_4_675b70ea_9868_4360_bd56_82697a85128b">info@bny.com</oef:AddlInfoEmail>
    <oef:MaterialFundChngNoticeTextBlock
      contextRef="D20251231_20260630_C000000790Member"
      id="t_7_fe562911_1751_4659_9942_c78c260486c4">
&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;&lt;b&gt;This report describes changes to the Fund that occurred during the reporting period.&lt;/b&gt;&lt;/div&gt;
</oef:MaterialFundChngNoticeTextBlock>
    <oef:ExpensesTextBlock
      contextRef="D20251231_20260630_C000000790Member"
      id="t_8_cf0b2987_43ce_4ef9_8850_2c8febf9797d">
&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;six months&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; 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%; padding: 1pt 3pt 10pt 3pt;"&gt;Share Class&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); vertical-align: top; text-align: center; width: 30%; padding: 1pt 3pt 10pt 3pt;"&gt;Costs of a $10,000 investment&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); vertical-align: top; text-align: center; width: 40%; padding: 1pt 3pt 10pt 3pt;"&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; 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; padding: 1pt 3pt 3pt 6pt;"&gt;Class &lt;span style="white-space: nowrap;"&gt;A&lt;sup style="vertical-align: super; font-size: 5pt;"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;47&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; 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; padding: 1pt 3pt 3pt 3pt;"&gt;0.95&lt;span&gt;%&lt;/span&gt;&lt;sup style="vertical-align: super; font-size: 5pt;"&gt;**&lt;/sup&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid; break-inside: avoid; margin-bottom: 22pt;"&gt;

&lt;tr style="break-inside: avoid-page; page-break-inside: avoid; height: auto; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial;"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; width: 10pt; text-align: left; vertical-align: super; padding: 0;"&gt;*&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding: 0;"&gt;

&lt;div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); margin-bottom: 0px; padding: 0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc.&lt;/div&gt;

&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="break-inside: avoid-page; page-break-inside: avoid; height: auto; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial;"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; width: 10pt; text-align: left; vertical-align: super; padding: 0;"&gt;**&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding: 0;"&gt;

&lt;div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); margin-bottom: 0px; padding: 0px;"&gt;Annualized.&lt;/div&gt;

&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="D20251231_20260630_C000000790Member"
      decimals="INF"
      id="h_1_871f2b22_0785_487b_9146_130add8362a5"
      unitRef="USD">47</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="D20251231_20260630_C000000790Member"
      decimals="4"
      id="h_2_9490b345_4cbc_4295_b21c_7bc5336857d3"
      unitRef="pure">0.0095</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="D20251231_20260630_C000000790Member"
      id="t_9_357d9a44_074f_46f6_b6b6_2da1b047fae9">
&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;6/30/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); width: 170pt; vertical-align: top; text-align: center; padding: 1pt 3pt 10pt 3pt;"&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); width: 170pt; vertical-align: top; text-align: center; padding: 1pt 3pt 10pt 3pt;"&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); width: 170pt; vertical-align: top; text-align: center; padding: 1pt 3pt 10pt 3pt;"&gt;&lt;br/&gt;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; 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); border-left-color: initial; border-left-style: none; border-left-width: initial; padding: 1pt 3pt 1pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;427&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; 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); border-left-color: initial; border-left-style: none; border-left-width: initial; padding: 1pt 3pt 1pt 3pt;"&gt;307&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; 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); border-left-color: initial; border-left-style: none; border-left-width: initial; padding: 1pt 3pt 1pt 3pt;"&gt;45.18&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20260630_C000000790Member"
      decimals="INF"
      id="h_3_0ecf4e9b_e33f_41e6_b025_c63cbf66d85b"
      unitRef="USD">427000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20260630_C000000790Member"
      decimals="INF"
      id="h_4_f4c6107d_c623_47e9_9d27_dbd96addc1a3"
      unitRef="Holding">307</oef:HoldingsCount>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="D20251231_20260630_C000000790Member"
      decimals="4"
      id="h_5_170b5aa4_ba02_465d_a020_15a2f4570059"
      unitRef="pure">0.4518</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="D20251231_20260630_C000000790Member"
      id="t_35_b7dee3f3_a02c_6a60_cdfd_0f6456402524">
&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;6/30/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_12168674.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;Allocation of Holdings (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_12168612.jpg" style="margin-left: 29pt; width: 437pt;"/&gt; &lt;/div&gt;

&lt;div style="font-weight: 400; margin-top: 0px; margin-bottom: 10pt; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: normal; margin-left: 18pt;"&gt;* Amount represents less than .1%.&lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:AccountantChngDisagreementsTextBlock
      contextRef="D20251231_20260630_C000000790Member"
      id="t_44_ea01c0e0_b92f_fdaa_fa9c_ff7019861f43">&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;Changes in or Disagreements with Accountants&lt;/b&gt;&lt;/div&gt;
&lt;ul style="counter-reset: numberedlisting 0 letteringlisting 0 letteredhead 0 lcrmnhead 0 ucletteredhead 0 ucrmnhead 0; break-inside: avoid; padding: 0; margin: 0;"&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;Starting January 1, 2026, Ernst &amp;amp; Young LLP (&#x201c;EY&#x201d;) became the independent registered public accounting firm of the Fund. On that date, KPMG LLP was discharged as the Fund&#x2019;s accounting firm subject to completion of the December 31, 2025 fiscal year audit, which occurred on February 20, 2026. EY serves as the independent registered public accounting firm for all funds in the BNY Mellon Family of Funds. There were no disagreements with the former accounting firm during the Fund&#x2019;s fiscal years ended December 31, 2025 and December 31, 2024 and the subsequent interim period through February 20, 2026.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</oef:AccountantChngDisagreementsTextBlock>
    <oef:AccountantChngStatementTextBlock
      contextRef="D20251231_20260630_C000000790Member"
      id="t_45_9311708c_27a4_02c0_38b5_094aedbd0479">Starting January 1, 2026, Ernst &amp;amp; Young LLP (&#x201c;EY&#x201d;) became the independent registered public accounting firm of the Fund. On that date, KPMG LLP was discharged as the Fund&#x2019;s accounting firm subject to completion of the December 31, 2025 fiscal year audit, which occurred on February 20, 2026. EY serves as the independent registered public accounting firm for all funds in the BNY Mellon Family of Funds.</oef:AccountantChngStatementTextBlock>
    <oef:AccountantChngDate
      contextRef="D20251231_20260630_C000000790Member"
      id="t_46_c6b4a230_7a2d_b78a_794f_8a243852e736">2026-01-01</oef:AccountantChngDate>
    <oef:SummaryOfChngLegendTextBlock
      contextRef="D20251231_20260630_C000000790Member"
      id="t_41_fe82ca0a_4508_1af0_6369_1b4e42e56c82">
&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: 10pt;"&gt;&lt;b&gt;This is a summary of certain changes to the Fund since &lt;/b&gt; &lt;b&gt;January 1, 2026&lt;/b&gt; &lt;b&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/b&gt; &lt;b&gt;current prospectus dated &lt;/b&gt; &lt;b&gt;May 1, 2026&lt;/b&gt; &lt;b&gt; at &lt;/b&gt; &lt;span style="white-space: nowrap;"&gt; &lt;span style="text-decoration-line: underline; color: rgb(0, 0, 0); line-height: 8.5pt; word-break: break-all; white-space: nowrap; font-weight: bold; font-family: 'times new roman'; font-size: 10pt;"&gt;bny.com/investments/literaturecenter&lt;/span&gt; &lt;/span&gt; &lt;b&gt; or upon request at 1-800-373-9387.&lt;/b&gt;&lt;/div&gt;
</oef:SummaryOfChngLegendTextBlock>
    <oef:UpdProspectusWebAddress
      contextRef="D20251231_20260630_C000000790Member"
      id="t_42_2cc37a52_0963_7a04_91fa_6c71eb700588">bny.com/investments/literaturecenter</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="D20251231_20260630_C000000790Member"
      id="t_43_90c61578_8b69_a1d3_03ca_1160f24e20cb">1-800-373-9387</oef:UpdProspectusPhoneNumber>
    <oef:FundName
      contextRef="D20251231_20260630_C000000792Member"
      id="t_33_cf1b16cc_e966_1e52_5fe8_724064961ee9">BNY Mellon High Yield Fund</oef:FundName>
    <oef:ClassName
      contextRef="D20251231_20260630_C000000792Member"
      id="t_34_7fd5194b_867e_7a37_96c1_624c7cdd89c3">Class C</oef:ClassName>
    <dei:TradingSymbol
      contextRef="D20251231_20260630_C000000792Member"
      id="t_35_d649fc86_e185_08d8_e03f_8c7eeb8c50ee">PTHIX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="D20251231_20260630_C000000792Member"
      id="t_11_dc287dde_3b8a_41df_a019_06c868400bb3">This semi-annual shareholder report contains important information about BNY Mellon High Yield Fund (the &#x201c;Fund&#x201d;) for the period of January 1, 2026 to June 30, 2026.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="D20251231_20260630_C000000792Member"
      id="t_12_698077cf_20d6_4464_a886_ce42ac4e001b">semi-annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="D20251231_20260630_C000000792Member"
      id="t_13_e3d58f20_5740_493a_a29f_18aeda927186">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="D20251231_20260630_C000000792Member"
      id="t_15_7569649a_15a5_46d8_aed4_200c3c65800b">bny.com/investments/literaturecenter</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="D20251231_20260630_C000000792Member"
      id="t_16_ce19817e_0985_44ec_b1c2_1d80712e6ed5">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="D20251231_20260630_C000000792Member"
      id="t_14_0b74272e_331c_4c09_be8b_ebf9954d79b3">info@bny.com</oef:AddlInfoEmail>
    <oef:MaterialFundChngNoticeTextBlock
      contextRef="D20251231_20260630_C000000792Member"
      id="t_17_7a9aa8af_5333_4298_8abd_c91f6d494cbb">
&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;&lt;b&gt;This report describes changes to the Fund that occurred during the reporting period.&lt;/b&gt;&lt;/div&gt;
</oef:MaterialFundChngNoticeTextBlock>
    <oef:ExpensesTextBlock
      contextRef="D20251231_20260630_C000000792Member"
      id="t_18_43f7d27c_ed5c_472c_9a8d_624895700e83">
&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;six months&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; 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%; padding: 1pt 3pt 10pt 3pt;"&gt;Share Class&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); vertical-align: top; text-align: center; width: 30%; padding: 1pt 3pt 10pt 3pt;"&gt;Costs of a $10,000 investment&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); vertical-align: top; text-align: center; width: 40%; padding: 1pt 3pt 10pt 3pt;"&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; 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; padding: 1pt 3pt 3pt 6pt;"&gt;Class &lt;span style="white-space: nowrap;"&gt;C&lt;sup style="vertical-align: super; font-size: 5pt;"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;85&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; 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; padding: 1pt 3pt 3pt 3pt;"&gt;1.70&lt;span&gt;%&lt;/span&gt;&lt;sup style="vertical-align: super; font-size: 5pt;"&gt;**&lt;/sup&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid; break-inside: avoid; margin-bottom: 22pt;"&gt;

&lt;tr style="break-inside: avoid-page; page-break-inside: avoid; height: auto; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial;"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; width: 10pt; text-align: left; vertical-align: super; padding: 0;"&gt;*&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding: 0;"&gt;

&lt;div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); margin-bottom: 0px; padding: 0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc.&lt;/div&gt;

&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="break-inside: avoid-page; page-break-inside: avoid; height: auto; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial;"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; width: 10pt; text-align: left; vertical-align: super; padding: 0;"&gt;**&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding: 0;"&gt;

&lt;div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); margin-bottom: 0px; padding: 0px;"&gt;Annualized.&lt;/div&gt;

&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="D20251231_20260630_C000000792Member"
      decimals="INF"
      id="h_6_63e932f9_633e_4cf1_9924_76cedae17cc2"
      unitRef="USD">85</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="D20251231_20260630_C000000792Member"
      decimals="4"
      id="h_7_1fac6ea0_0152_457c_8e5b_fc7b007eeb1b"
      unitRef="pure">0.0170</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="D20251231_20260630_C000000792Member"
      id="t_19_7e7889e7_a61a_4b8e_b25b_2d49dda6904b">
&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;6/30/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); width: 170pt; vertical-align: top; text-align: center; padding: 1pt 3pt 10pt 3pt;"&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); width: 170pt; vertical-align: top; text-align: center; padding: 1pt 3pt 10pt 3pt;"&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); width: 170pt; vertical-align: top; text-align: center; padding: 1pt 3pt 10pt 3pt;"&gt;&lt;br/&gt;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; 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); border-left-color: initial; border-left-style: none; border-left-width: initial; padding: 1pt 3pt 1pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;427&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; 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); border-left-color: initial; border-left-style: none; border-left-width: initial; padding: 1pt 3pt 1pt 3pt;"&gt;307&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; 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); border-left-color: initial; border-left-style: none; border-left-width: initial; padding: 1pt 3pt 1pt 3pt;"&gt;45.18&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20260630_C000000792Member"
      decimals="INF"
      id="h_8_41449412_2bb0_451a_890c_7b427bbda34f"
      unitRef="USD">427000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20260630_C000000792Member"
      decimals="INF"
      id="h_9_e1b6a657_94d9_453d_8a67_eeab2e5700b6"
      unitRef="Holding">307</oef:HoldingsCount>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="D20251231_20260630_C000000792Member"
      decimals="4"
      id="h_10_42b4467f_5460_4a2a_a48e_be34b9028fde"
      unitRef="pure">0.4518</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="D20251231_20260630_C000000792Member"
      id="t_38_fb0d21d8_b72f_463e_cd15_a14b5ffa8068">
&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;6/30/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_12168675.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;Allocation of Holdings (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_12168610.jpg" style="margin-left: 29pt; width: 437pt;"/&gt; &lt;/div&gt;

&lt;div style="font-weight: 400; margin-top: 0px; margin-bottom: 10pt; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: normal; margin-left: 18pt;"&gt;*&#160;Amount represents less than .1%.&lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:AccountantChngDisagreementsTextBlock
      contextRef="D20251231_20260630_C000000792Member"
      id="t_41_6cb0d66a_6812_4ab0_0b41_cf9389e6aec1">
&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;Changes in or Disagreements with Accountants&lt;/b&gt;&lt;/div&gt;
&lt;ul style="counter-reset: numberedlisting 0 letteringlisting 0 letteredhead 0 lcrmnhead 0 ucletteredhead 0 ucrmnhead 0; break-inside: avoid; padding: 0; margin: 0;"&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;Starting January 1, 2026, Ernst &amp;amp; Young LLP (&#x201c;EY&#x201d;) became the independent registered public accounting firm of the Fund. On that date, KPMG LLP was discharged as the Fund&#x2019;s accounting firm subject to completion of the December 31, 2025 fiscal year audit, which occurred on February 20, 2026. EY serves as the independent registered public accounting firm for all funds in the BNY Mellon Family of Funds. There were no disagreements with the former accounting firm during the Fund&#x2019;s fiscal years ended December 31, 2025 and December 31, 2024 and the subsequent interim period through February 20, 2026.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</oef:AccountantChngDisagreementsTextBlock>
    <oef:AccountantChngStatementTextBlock
      contextRef="D20251231_20260630_C000000792Member"
      id="t_40_8cfc36bc_0eae_2cd9_16d3_eb2d7c34b053">Starting January 1, 2026, Ernst &amp;amp; Young LLP (&#x201c;EY&#x201d;) became the independent registered public accounting firm of the Fund. On that date, KPMG LLP was discharged as the Fund&#x2019;s accounting firm subject to completion of the December 31, 2025 fiscal year audit, which occurred on February 20, 2026. EY serves as the independent registered public accounting firm for all funds in the BNY Mellon Family of Funds.</oef:AccountantChngStatementTextBlock>
    <oef:AccountantChngDate
      contextRef="D20251231_20260630_C000000792Member"
      id="t_39_9b704831_d5db_47e3_55c0_49333857c811">2026-01-01</oef:AccountantChngDate>
    <oef:SummaryOfChngLegendTextBlock
      contextRef="D20251231_20260630_C000000792Member"
      id="t_32_7a71fc8a_25d5_48e7_94f3_937890e14ac2">
&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: 10pt;"&gt;&lt;b&gt;This is a summary of certain changes to the Fund since &lt;/b&gt; &lt;b&gt;January 1, 2026&lt;/b&gt; &lt;b&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/b&gt; &lt;b&gt;current prospectus dated &lt;/b&gt; &lt;b&gt;May 1, 2026&lt;/b&gt; &lt;b&gt; at &lt;/b&gt; &lt;span style="white-space: nowrap;"&gt; &lt;span style="text-decoration-line: underline; color: rgb(0, 0, 0); line-height: 8.5pt; word-break: break-all; white-space: nowrap; font-weight: bold; font-family: 'times new roman'; font-size: 10pt;"&gt;bny.com/investments/literaturecenter&lt;/span&gt; &lt;/span&gt; &lt;b&gt; or upon request at 1-800-373-9387.&lt;/b&gt;&lt;/div&gt;
</oef:SummaryOfChngLegendTextBlock>
    <oef:UpdProspectusWebAddress
      contextRef="D20251231_20260630_C000000792Member"
      id="t_36_e0bd1324_bebd_8e80_abaa_c8fe6bdb9871">bny.com/investments/literaturecenter</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="D20251231_20260630_C000000792Member"
      id="t_37_571c577d_ee6f_e89f_5fa8_b8f8b12a32e0">1-800-373-9387</oef:UpdProspectusPhoneNumber>
    <oef:FundName
      contextRef="D20251231_20260630_C000000793Member"
      id="t_34_cf0488cf_35f0_f67c_28d2_f097d3e31aab">BNY Mellon High Yield Fund</oef:FundName>
    <oef:ClassName
      contextRef="D20251231_20260630_C000000793Member"
      id="t_35_cd008ff9_85fd_19a3_1738_ea9824a4f731">Class I</oef:ClassName>
    <dei:TradingSymbol
      contextRef="D20251231_20260630_C000000793Member"
      id="t_36_d1acb9c5_cf78_999d_003e_f364d4db1181">DLHRX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="D20251231_20260630_C000000793Member"
      id="t_21_58be0b59_7ca7_4f9a_a8ff_c01b74f3c551">This semi-annual shareholder report contains important information about BNY Mellon High Yield Fund (the &#x201c;Fund&#x201d;) for the period of January 1, 2026 to June 30, 2026.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="D20251231_20260630_C000000793Member"
      id="t_22_09d6cd0e_7a5d_489c_b836_df48dfd854d9">semi-annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="D20251231_20260630_C000000793Member"
      id="t_23_561c8452_1e28_4dc9_881d_55f84e86b44a">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="D20251231_20260630_C000000793Member"
      id="t_25_19dd4b52_24e8_42b9_bef1_f60d102c939a">bny.com/investments/literaturecenter</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="D20251231_20260630_C000000793Member"
      id="t_26_dc34beff_b214_4556_8675_a691325d8af8">1-800-373-9387</oef:AddlInfoPhoneNumber>
    <oef:AddlInfoEmail
      contextRef="D20251231_20260630_C000000793Member"
      id="t_24_2f3c04aa_d80c_4053_ac00_267d12e1c3a8">info@bny.com</oef:AddlInfoEmail>
    <oef:MaterialFundChngNoticeTextBlock
      contextRef="D20251231_20260630_C000000793Member"
      id="t_27_d3ee673f_fa02_448b_8e91_7a77a5fe0dde">
&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;&lt;b&gt;This report describes changes to the Fund that occurred during the reporting period.&lt;/b&gt;&lt;/div&gt;
</oef:MaterialFundChngNoticeTextBlock>
    <oef:ExpensesTextBlock
      contextRef="D20251231_20260630_C000000793Member"
      id="t_28_38c73709_b83d_4ad1_b4d5_b29540471d60">
&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;six months&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; 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%; padding: 1pt 3pt 10pt 3pt;"&gt;Share Class&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); vertical-align: top; text-align: center; width: 30%; padding: 1pt 3pt 10pt 3pt;"&gt;Costs of a $10,000 investment&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); vertical-align: top; text-align: center; width: 40%; padding: 1pt 3pt 10pt 3pt;"&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; 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; padding: 1pt 3pt 3pt 6pt;"&gt;Class &lt;span style="white-space: nowrap;"&gt;I&lt;sup style="vertical-align: super; font-size: 5pt;"&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: 9pt; text-align: center; vertical-align: top; padding: 1pt 3pt 3pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;35&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; 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; padding: 1pt 3pt 3pt 3pt;"&gt;0.70&lt;span&gt;%&lt;/span&gt;&lt;sup style="vertical-align: super; font-size: 5pt;"&gt;**&lt;/sup&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid; break-inside: avoid; margin-bottom: 22pt;"&gt;

&lt;tr style="break-inside: avoid-page; page-break-inside: avoid; height: auto; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial;"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; width: 10pt; text-align: left; vertical-align: super; padding: 0;"&gt;*&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding: 0;"&gt;
&lt;div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); margin-bottom: 0px; padding: 0px;"&gt;During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="break-inside: avoid-page; page-break-inside: avoid; height: auto; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial;"&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-style: normal; font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 5pt; line-height: normal; width: 10pt; text-align: left; vertical-align: super; padding: 0;"&gt;**&lt;/td&gt;
&lt;td style="font-weight: 400; break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 0; font-family: 'Times New Roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); padding: 0;"&gt;
&lt;div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); margin-bottom: 0px; padding: 0px;"&gt;Annualized.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="D20251231_20260630_C000000793Member"
      decimals="INF"
      id="h_11_22ca0661_d2b0_4bda_86e3_818ddde21fe4"
      unitRef="USD">35</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="D20251231_20260630_C000000793Member"
      decimals="4"
      id="h_12_32723574_801c_4705_860e_74e3b2ac2bc8"
      unitRef="pure">0.0070</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="D20251231_20260630_C000000793Member"
      id="t_29_dcb4278d_efce_4a89_a715_4f1b6369de3a">
&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;6/30/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); width: 170pt; vertical-align: top; text-align: center; padding: 1pt 3pt 10pt 3pt;"&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); width: 170pt; vertical-align: top; text-align: center; padding: 1pt 3pt 10pt 3pt;"&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); width: 170pt; vertical-align: top; text-align: center; padding: 1pt 3pt 10pt 3pt;"&gt;&lt;br/&gt;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; 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); border-left-color: initial; border-left-style: none; border-left-width: initial; padding: 1pt 3pt 1pt 3pt;"&gt;&lt;span style="float: none;"&gt;$&lt;/span&gt;427&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; 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); border-left-color: initial; border-left-style: none; border-left-width: initial; padding: 1pt 3pt 1pt 3pt;"&gt;307&lt;/td&gt;
&lt;td style="break-inside: avoid-page; page-break-inside: avoid; 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); border-left-color: initial; border-left-style: none; border-left-width: initial; padding: 1pt 3pt 1pt 3pt;"&gt;45.18&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20260630_C000000793Member"
      decimals="INF"
      id="h_13_d6aedbd4_33d1_4b8f_b29f_f3e41323a9c1"
      unitRef="USD">427000000</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20260630_C000000793Member"
      decimals="INF"
      id="h_14_c4c826b0_40fa_48f6_ba4e_0732646f04df"
      unitRef="Holding">307</oef:HoldingsCount>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="D20251231_20260630_C000000793Member"
      decimals="4"
      id="h_15_013d8158_0c76_4901_9e35_a2a3d03ade56"
      unitRef="pure">0.4518</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="D20251231_20260630_C000000793Member"
      id="t_43_f6e084d6_f0c7_bd31_bb69_b6fae1c3f5a1">
&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;6/30/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_12168676.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;Allocation of Holdings (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_12168611.jpg" style="margin-left: 29pt; width: 437pt;"/&gt; &lt;/div&gt;

&lt;div style="font-weight: 400; margin-top: 0px; margin-bottom: 10pt; font-family: 'times new roman'; color: rgb(0, 0, 0); font-size: 9pt; line-height: normal; margin-left: 18pt;"&gt;* Amount represents less than .1%.&lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:AccountantChngDisagreementsTextBlock
      contextRef="D20251231_20260630_C000000793Member"
      id="t_46_82742168_540a_d54d_8d06_bcc9b71bc8e5">&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;Changes in or Disagreements with Accountants&lt;/b&gt;&lt;/div&gt;
&lt;ul style="counter-reset: numberedlisting 0 letteringlisting 0 letteredhead 0 lcrmnhead 0 ucletteredhead 0 ucrmnhead 0; break-inside: avoid; padding: 0; margin: 0;"&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;Starting January 1, 2026, Ernst &amp;amp; Young LLP (&#x201c;EY&#x201d;) became the independent registered public accounting firm of the Fund. On that date, KPMG LLP was discharged as the Fund&#x2019;s accounting firm subject to completion of the December 31, 2025 fiscal year audit, which occurred on February 20, 2026. EY serves as the independent registered public accounting firm for all funds in the BNY Mellon Family of Funds. There were no disagreements with the former accounting firm during the Fund&#x2019;s fiscal years ended December 31, 2025 and December 31, 2024 and the subsequent interim period through February 20, 2026.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</oef:AccountantChngDisagreementsTextBlock>
    <oef:AccountantChngStatementTextBlock
      contextRef="D20251231_20260630_C000000793Member"
      id="t_45_7f2aca7b_2203_4bce_4509_df45abb766a7">Starting January 1, 2026, Ernst &amp;amp; Young LLP (&#x201c;EY&#x201d;) became the independent registered public accounting firm of the Fund. On that date, KPMG LLP was discharged as the Fund&#x2019;s accounting firm subject to completion of the December 31, 2025 fiscal year audit, which occurred on February 20, 2026. EY serves as the independent registered public accounting firm for all funds in the BNY Mellon Family of Funds.</oef:AccountantChngStatementTextBlock>
    <oef:AccountantChngDate
      contextRef="D20251231_20260630_C000000793Member"
      id="t_44_05959fe7_b7b2_9430_a194_cdbb41d83e3f">2026-01-01</oef:AccountantChngDate>
    <oef:SummaryOfChngLegendTextBlock
      contextRef="D20251231_20260630_C000000793Member"
      id="t_33_9a735bb4_713e_436b_8f8e_9244c9a993e7">
&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: 10pt;"&gt;&lt;b&gt;This is a summary of certain changes to the Fund since &lt;/b&gt; &lt;b&gt;January 1, 2026&lt;/b&gt; &lt;b&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/b&gt; &lt;b&gt;current prospectus dated &lt;/b&gt; &lt;b&gt;May 1, 2026&lt;/b&gt; &lt;b&gt; at &lt;/b&gt; &lt;span style="white-space: nowrap;"&gt; &lt;span style="text-decoration-line: underline; color: rgb(0, 0, 0); line-height: 8.5pt; word-break: break-all; white-space: nowrap; font-weight: bold; font-family: 'times new roman'; font-size: 10pt;"&gt;bny.com/investments/literaturecenter&lt;/span&gt; &lt;/span&gt; &lt;b&gt; or upon request at 1-800-373-9387.&lt;/b&gt;&lt;/div&gt;
</oef:SummaryOfChngLegendTextBlock>
    <oef:UpdProspectusWebAddress
      contextRef="D20251231_20260630_C000000793Member"
      id="t_39_08140bfc_ac8b_b4fc_1480_071e140d4918">bny.com/investments/literaturecenter</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="D20251231_20260630_C000000793Member"
      id="t_40_b4573f29_38bb_3b3a_fa5f_db4d8e173dda">1-800-373-9387</oef:UpdProspectusPhoneNumber>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#h_00f8ea56_999f_4e91_8fe5_aa33e5053ecf"
          xlink:label="h_00f8ea56_999f_4e91_8fe5_aa33e5053ecf"
          xlink:type="locator"/>
        <link:footnote id="f_0001_000003" xlink:label="f_0001_000003" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Amount represents less than .1%.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_00f8ea56_999f_4e91_8fe5_aa33e5053ecf"
          xlink:to="f_0001_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_1_871f2b22_0785_487b_9146_130add8362a5"
          xlink:label="h_1_871f2b22_0785_487b_9146_130add8362a5"
          xlink:type="locator"/>
        <link:footnote id="f_0001_000001" xlink:label="f_0001_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); margin-bottom: 0px; padding: 0px;">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc.</xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_1_871f2b22_0785_487b_9146_130add8362a5"
          xlink:to="f_0001_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_11_22ca0661_d2b0_4bda_86e3_818ddde21fe4"
          xlink:label="h_11_22ca0661_d2b0_4bda_86e3_818ddde21fe4"
          xlink:type="locator"/>
        <link:footnote id="f_0005_000001" xlink:label="f_0005_000001" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_11_22ca0661_d2b0_4bda_86e3_818ddde21fe4"
          xlink:to="f_0005_000001"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_12_32723574_801c_4705_860e_74e3b2ac2bc8"
          xlink:label="h_12_32723574_801c_4705_860e_74e3b2ac2bc8"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_12_32723574_801c_4705_860e_74e3b2ac2bc8"
          xlink:to="f_0005_000001"
          xlink:type="arc"/>
        <link:footnote id="f_0005_000002" xlink:label="f_0005_000002" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Annualized.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_12_32723574_801c_4705_860e_74e3b2ac2bc8"
          xlink:to="f_0005_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_2_9490b345_4cbc_4295_b21c_7bc5336857d3"
          xlink:label="h_2_9490b345_4cbc_4295_b21c_7bc5336857d3"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_2_9490b345_4cbc_4295_b21c_7bc5336857d3"
          xlink:to="f_0001_000001"
          xlink:type="arc"/>
        <link:footnote id="f_0001_000002" xlink:label="f_0001_000002" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); margin-bottom: 0px; padding: 0px;">Annualized.</xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_2_9490b345_4cbc_4295_b21c_7bc5336857d3"
          xlink:to="f_0001_000002"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_2757221f_c104_46a5_a24d_11f8c4bdf82a"
          xlink:label="h_2757221f_c104_46a5_a24d_11f8c4bdf82a"
          xlink:type="locator"/>
        <link:footnote id="f_0003_000005" xlink:label="f_0003_000005" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">&#160;Amount represents less than .1%.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_2757221f_c104_46a5_a24d_11f8c4bdf82a"
          xlink:to="f_0003_000005"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_6_63e932f9_633e_4cf1_9924_76cedae17cc2"
          xlink:label="h_6_63e932f9_633e_4cf1_9924_76cedae17cc2"
          xlink:type="locator"/>
        <link:footnote id="f_0003_000003" xlink:label="f_0003_000003" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); margin-bottom: 0px; padding: 0px;">During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund&#x2019;s investment adviser, BNY Mellon Investment Adviser, Inc.</xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_6_63e932f9_633e_4cf1_9924_76cedae17cc2"
          xlink:to="f_0003_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_6065c9fb_8a99_42ea_9097_35ad4206944a"
          xlink:label="h_6065c9fb_8a99_42ea_9097_35ad4206944a"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_6065c9fb_8a99_42ea_9097_35ad4206944a"
          xlink:to="f_0001_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_7_1fac6ea0_0152_457c_8e5b_fc7b007eeb1b"
          xlink:label="h_7_1fac6ea0_0152_457c_8e5b_fc7b007eeb1b"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_7_1fac6ea0_0152_457c_8e5b_fc7b007eeb1b"
          xlink:to="f_0003_000003"
          xlink:type="arc"/>
        <link:footnote id="f_0003_000004" xlink:label="f_0003_000004" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="font-weight: 400; margin-top: 0px; font-family: 'times new roman'; font-size: 9pt; line-height: normal; font-style: normal; text-align: left; vertical-align: top; color: rgb(0, 0, 0); margin-bottom: 0px; padding: 0px;">Annualized.</xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_7_1fac6ea0_0152_457c_8e5b_fc7b007eeb1b"
          xlink:to="f_0003_000004"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_7dec4b63_3266_4fdd_9841_34cda3741e21"
          xlink:label="h_7dec4b63_3266_4fdd_9841_34cda3741e21"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_7dec4b63_3266_4fdd_9841_34cda3741e21"
          xlink:to="f_0003_000005"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_dd924053_8065_4046_a6a5_6ec31abc95c5"
          xlink:label="h_dd924053_8065_4046_a6a5_6ec31abc95c5"
          xlink:type="locator"/>
        <link:footnote id="f_0005_000003" xlink:label="f_0005_000003" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Amount represents less than .1%.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_dd924053_8065_4046_a6a5_6ec31abc95c5"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#h_f4d2a33a_9d6b_40c8_a5e8_466ce999421d"
          xlink:label="h_f4d2a33a_9d6b_40c8_a5e8_466ce999421d"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="h_f4d2a33a_9d6b_40c8_a5e8_466ce999421d"
          xlink:to="f_0005_000003"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
