<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.1.1.u2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>15</ContextCount>
  <ElementCount>66</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>15</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>2</UnitCount>
  <MyReports>
    <Report instance="filing7671.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fidelity.com/role/DocumentInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Risk/Return</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="filing7671.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>000001 - Document - Risk/Return Summary - SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fidelity.com/role/SummaryS000007491_SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</Role>
      <ShortName>Risk/Return Summary - SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</ShortName>
      <MenuCategory>Risk/Return</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="filing7671.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>000002 - Schedule - Shareholder Fees - SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fidelity.com/role/ShareholderFeesS000007491_SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</Role>
      <ShortName>Shareholder Fees - SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</ShortName>
      <MenuCategory>Risk/Return</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="filing7671.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>000003 - Schedule - Annual Operating Expenses - SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fidelity.com/role/OperatingExpensesS000007491_SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</Role>
      <ShortName>Annual Operating Expenses - SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</ShortName>
      <MenuCategory>Risk/Return</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="filing7671.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>000004 - Schedule - Expense Example - SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fidelity.com/role/ExpenseExampleS000007491_SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</Role>
      <ShortName>Expense Example - SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</ShortName>
      <MenuCategory>Risk/Return</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="filing7671.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>000006 - Schedule - Annual Total Returns - SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fidelity.com/role/AnnualTotalReturnsBarChartS000007491_SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</Role>
      <ShortName>Annual Total Returns - SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</ShortName>
      <MenuCategory>Risk/Return</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="filing7671.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>000007 - Schedule - Average Annual Total Returns - SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fidelity.com/role/AverageAnnualTotalReturnsS000007491_SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</Role>
      <ShortName>Average Annual Total Returns - SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</ShortName>
      <MenuCategory>Risk/Return</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="filing7671.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>000009 - Disclosure - Risk/Return Detail Data - SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fidelity.com/role/DisclosureDetailS000007491_SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</Role>
      <ShortName>Risk/Return Detail Data - SelectPortfoliosEnterpriseTechnologyServicesPortfolio-PRO</ShortName>
      <MenuCategory>Risk/Return</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="filing7671.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9999.htm</HtmlFileName>
      <LongName>Uncategorized Items - filing7671.htm</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/role/uncategorizedFacts</Role>
      <ShortName>Uncategorized Items - filing7671.htm</ShortName>
      <MenuCategory>Risk/Return</MenuCategory>
      <Position>9</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" isN1a="true" isRR="true" isRRorOEF="true" original="filing7671.htm">filing7671.htm</File>
    <File>fmr-20240614.xsd</File>
    <File>fmr-20240614_cal.xml</File>
    <File>fmr-20240614_def.xml</File>
    <File>fmr-20240614_lab.xml</File>
    <File>fmr-20240614_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img97075_1.jpg</File>
    <File>img97075_4.jpg</File>
    <File>img97078_1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="6">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="82">http://xbrl.sec.gov/rr/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
