<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.2.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>19</ContextCount>
  <ElementCount>85</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>13</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>2</UnitCount>
  <MyReports>
    <Report instance="d300208d485bpos.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="d300208d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>000021 - Disclosure - Risk/Return Detail Data {Elements} - BLACKROCK HEALTH SCIENCES OPPORTUNITIES PORTFOLIO (Investor A, C, Institutional and Class R)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/DisclosureRiskReturnDetailDataElementsBLACKROCKHEALTHSCIENCESOPPORTUNITIESPORTFOLIOInvestorACInstitutionalandClassR</Role>
      <ShortName>Risk/Return Detail Data- BLACKROCK HEALTH SCIENCES OPPORTUNITIES PORTFOLIO (Investor A, C, Institutional and Class R)</ShortName>
      <MenuCategory></MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="d300208d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>000041 - Disclosure - Risk/Return Detail Data {Elements} - BLACKROCK HEALTH SCIENCES OPPORTUNITIES PORTFOLIO (Class K)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/DisclosureRiskReturnDetailDataElementsBLACKROCKHEALTHSCIENCESOPPORTUNITIESPORTFOLIOClassK000041</Role>
      <ShortName>Risk/Return Detail Data- BLACKROCK HEALTH SCIENCES OPPORTUNITIES PORTFOLIO (Class K)</ShortName>
      <MenuCategory></MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="d300208d485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>000061 - Disclosure - Risk/Return Detail Data {Elements} - BLACKROCK HEALTH SCIENCES OPPORTUNITIES PORTFOLIO (Service)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.blackrock.com/role/DisclosureRiskReturnDetailDataElementsBLACKROCKHEALTHSCIENCESOPPORTUNITIESPORTFOLIOService</Role>
      <ShortName>Risk/Return Detail Data- BLACKROCK HEALTH SCIENCES OPPORTUNITIES PORTFOLIO (Service)</ShortName>
      <MenuCategory></MenuCategory>
      <Position>4</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="d300208d485bpos.htm">d300208d485bpos.htm</File>
    <File>bf12-20220922.xsd</File>
    <File>bf12-20220922_cal.xml</File>
    <File>bf12-20220922_def.xml</File>
    <File>bf12-20220922_lab.xml</File>
    <File>bf12-20220922_pre.xml</File>
    <File>d300208dex9910a.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>g300208bar.jpg</File>
    <File>g300208c000004914_dgf.jpg</File>
    <File>g300208g1bar.jpg</File>
    <File>g300208g1cnew_dgf.jpg</File>
    <File>g300208g1imgbb3060471.gif</File>
    <File>g300208g2bar.jpg</File>
    <File>g300208g2c000004913_dgf.jpg</File>
    <File>g300208g2imgebd8a2441.gif</File>
    <File>g300208img269909be1.gif</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="8">http://xbrl.sec.gov/dei/2021</BaseTaxonomy>
    <BaseTaxonomy items="273">http://xbrl.sec.gov/rr/2021</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
