<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.21.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>15</ContextCount>
  <ElementCount>173</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>11</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>2</UnitCount>
  <MyReports>
    <Report instance="d273002d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000000 - Document - Document and Entity Information {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/DocumentDocumentandEntityInformationElements000000</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory></MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="d273002d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>000021 - Document - Risk/Return Summary {Unlabeled} - BLACKROCK MANAGED INCOME FUND (Investor A, C and Institutional)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/DocumentRiskReturnSummaryUnlabeledBLACKROCKMANAGEDINCOMEFUNDInvestorACandInstitutional</Role>
      <ShortName>Risk/Return Summary- BLACKROCK MANAGED INCOME FUND (Investor A, C and Institutional)</ShortName>
      <MenuCategory></MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="d273002d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>000022 - Schedule - Shareholder Fees</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/ScheduleShareholderFees000022</Role>
      <ShortName>Shareholder Fees</ShortName>
      <MenuCategory></MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="d273002d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>000023 - Schedule - Annual Fund Operating Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/ScheduleAnnualFundOperatingExpenses000023</Role>
      <ShortName>Annual Fund Operating Expenses</ShortName>
      <MenuCategory></MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="d273002d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>000024 - Schedule - Expense Example</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/ScheduleExpenseExample000024</Role>
      <ShortName>Expense Example</ShortName>
      <MenuCategory></MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="d273002d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>000025 - Schedule - Expense Example, No Redemption</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/ScheduleExpenseExampleNoRedemption000025</Role>
      <ShortName>Expense Example, No Redemption</ShortName>
      <MenuCategory></MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="d273002d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>000026 - Schedule - Annual Total Returns - BLACKROCK MANAGED INCOME FUND (INSTITUTIONAL SHARES, INVESTOR C SHARES and INVESTOR A SHARES) [BarChart]</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/ScheduleAnnualTotalReturnsBarChart000026</Role>
      <ShortName>Annual Total Returns - BLACKROCK MANAGED INCOME FUND (INSTITUTIONAL SHARES, INVESTOR C SHARES and INVESTOR A SHARES) [BarChart]</ShortName>
      <MenuCategory></MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="d273002d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>000027 - Schedule - Average Annual Total Returns</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/ScheduleAverageAnnualTotalReturns000027</Role>
      <ShortName>Average Annual Total Returns</ShortName>
      <MenuCategory></MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="d273002d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>000029 - Disclosure - Risk/Return Detail Data {Elements} - BLACKROCK MANAGED INCOME FUND (Investor A, C and Institutional)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/DisclosureRiskReturnDetailDataElementsBLACKROCKMANAGEDINCOMEFUNDInvestorACandInstitutional</Role>
      <ShortName>Risk/Return Detail Data- BLACKROCK MANAGED INCOME FUND (Investor A, C and Institutional)</ShortName>
      <MenuCategory></MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="d273002d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>000041 - Document - Risk/Return Summary {Unlabeled} - BLACKROCK MANAGED INCOME FUND (Class K)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/DocumentRiskReturnSummaryUnlabeledBLACKROCKMANAGEDINCOMEFUNDClassK</Role>
      <ShortName>Risk/Return Summary- BLACKROCK MANAGED INCOME FUND (Class K)</ShortName>
      <MenuCategory></MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="d273002d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>000043 - Schedule - Annual Fund Operating Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/ScheduleAnnualFundOperatingExpenses000043</Role>
      <ShortName>Annual Fund Operating Expenses</ShortName>
      <MenuCategory></MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="d273002d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>000044 - Schedule - Expense Example</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/ScheduleExpenseExample000044</Role>
      <ShortName>Expense Example</ShortName>
      <MenuCategory></MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="d273002d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>000046 - Schedule - Annual Total Returns - BLACKROCK MANAGED INCOME FUND (CLASS K SHARES) [BarChart]</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/ScheduleAnnualTotalReturnsBarChart000046</Role>
      <ShortName>Annual Total Returns - BLACKROCK MANAGED INCOME FUND (CLASS K SHARES) [BarChart]</ShortName>
      <MenuCategory></MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="d273002d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>000047 - Schedule - Average Annual Total Returns</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/ScheduleAverageAnnualTotalReturns000047</Role>
      <ShortName>Average Annual Total Returns</ShortName>
      <MenuCategory></MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="d273002d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>000049 - Disclosure - Risk/Return Detail Data {Elements} - BLACKROCK MANAGED INCOME FUND (Class K)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/DisclosureRiskReturnDetailDataElementsBLACKROCKMANAGEDINCOMEFUNDClassK</Role>
      <ShortName>Risk/Return Detail Data- BLACKROCK MANAGED INCOME FUND (Class K)</ShortName>
      <MenuCategory></MenuCategory>
      <Position>15</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="485BPOS" original="d273002d485bpos.htm">d273002d485bpos.htm</File>
    <File>bf2-20210428.xsd</File>
    <File>bf2-20210428_cal.xml</File>
    <File>bf2-20210428_def.xml</File>
    <File>bf2-20210428_lab.xml</File>
    <File>bf2-20210428_pre.xml</File>
    <File>d273002dex9910a.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>g273002bar.jpg</File>
    <File>g273002c000050820202_dgf.jpg</File>
    <File>g273002g1bar.jpg</File>
    <File>g273002g1c000050817_dgf.jpg</File>
    <File>g273002g1img02ba40561.gif</File>
    <File>g273002img95d770471.gif</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/rr/2018-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
