<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:ck0001591556="http://www.bny.com/20260306"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ck0001591556-20260306.xsd" xlink:type="simple"/>
    <context id="c0">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001591556</identifier>
        </entity>
        <period>
            <startDate>2026-03-06</startDate>
            <endDate>2026-03-06</endDate>
        </period>
    </context>
    <context id="c1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001591556</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">ck0001591556:S000096656Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-06</startDate>
            <endDate>2026-03-06</endDate>
        </period>
    </context>
    <oef:SupplementToProspectusTextBlock contextRef="c1" id="ixv-9">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:center; font-weight:bold; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;BNY MELLON INVESTMENT FUNDS II, INC.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;BNY Mellon Fixed Income
Completion Funds (FICS) &#x2014;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt; CP&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:center; font-weight:bold; text-decoration:none;"&gt;Supplement to Current
Summary Prospectus and Prospectus&lt;/p&gt;</oef:SupplementToProspectusTextBlock>
    <oef:RiskReturnHeading contextRef="c1" id="ixv-13">BNY Mellon Fixed Income
Completion Funds (FICS) &#x2014; CP</oef:RiskReturnHeading>
    <oef:StrategyNarrativeTextBlock contextRef="c1" id="ixv-17">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;The following information
supplements and supersedes any contrary information in the sections "&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;BNY Mellon
Fixed Income Completion Funds (FICS) &#x2014; CP&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;&#x2013; Principal Investment Strategy"
in the summary prospectus and "Fund Summary &#x2013; BNY Mellon Fixed Income Completion
Funds (FICS) &#x2014; CP&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;&#x2013; Principal Investment Strategy"
in the prospectus:&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund may invest in the securities of U.S.
and foreign issuers, including up to 40% of its net assets in securities of issuers in emerging market
countries, and securities denominated in a currency other than the U.S. dollar.&lt;/p&gt;</oef:StrategyNarrativeTextBlock>
    <dei:DocumentType contextRef="c0" id="ixv-44">497</dei:DocumentType>
    <dei:EntityInvCompanyType contextRef="c0" id="ixv-45">N-1A</dei:EntityInvCompanyType>
    <dei:EntityCentralIndexKey contextRef="c0" id="ixv-46">0001591556</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="c0" id="ixv-47">false</dei:AmendmentFlag>
    <dei:DocumentPeriodEndDate contextRef="c0" id="ixv-48">2026-03-06</dei:DocumentPeriodEndDate>
    <oef:ProspectusDate contextRef="c0" id="ixv-49">2025-11-10</oef:ProspectusDate>
    <dei:EntityRegistrantName contextRef="c0" id="ixv-50">BNY Mellon Investment Funds II, Inc.</dei:EntityRegistrantName>
</xbrl>
