<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2020-01-31"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:rr="http://xbrl.sec.gov/rr/2018-01-31"
  xmlns:tpf="http://www.proofPlus.com/20220131"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="tpf-20220131.xsd" xlink:type="simple"/>
    <context id="Trust">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
        </entity>
        <period>
            <startDate>2021-04-29</startDate>
            <endDate>2021-04-29</endDate>
        </period>
    </context>
    <context id="D0228FidelityEnvironmentandAlternativeEnergyNaturalResourcesFundsComboPRO05Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">tpf:D0228FidelityEnvironmentandAlternativeEnergyNaturalResourcesFundsComboPRO05Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-04-29</startDate>
            <endDate>2021-04-29</endDate>
        </period>
    </context>
    <context id="S000007461_D0228FidelityEnvironmentandAlternativeEnergyNaturalResourcesFundsComboPRO05Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000320351</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">tpf:D0228FidelityEnvironmentandAlternativeEnergyNaturalResourcesFundsComboPRO05Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">tpf:S000007461Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-04-29</startDate>
            <endDate>2021-04-29</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <dei:DocumentType contextRef="Trust">497</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Trust">2021-02-28</dei:DocumentPeriodEndDate>
    <dei:AmendmentFlag contextRef="Trust">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="Trust">0000320351</dei:EntityCentralIndexKey>
    <dei:EntityInvCompanyType contextRef="Trust">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName contextRef="Trust">FIDELITY SELECT PORTFOLIOS</dei:EntityRegistrantName>
    <rr:SupplementToProspectusTextBlock contextRef="D0228FidelityEnvironmentandAlternativeEnergyNaturalResourcesFundsComboPRO05Member">         Supplement to theFidelity&#xae; Environment and Alternative Energy Fund and Fidelity&#xae; Natural Resources FundApril 29, 2021Prospectus&#160;

</rr:SupplementToProspectusTextBlock>
    <rr:StrategyNarrativeTextBlock contextRef="S000007461_D0228FidelityEnvironmentandAlternativeEnergyNaturalResourcesFundsComboPRO05Member">
            Employing sustainable investing exclusion criteria to avoid investments in issuers that are directly engaged in, and/or derive
               significant revenue from, certain industries.  Please see &#x93;Fund Basics &#x96; Investment Details &#x96; Sustainable Investing
               Exclusions&#x94; for additional information.



</rr:StrategyNarrativeTextBlock>
    <rr:RiskNarrativeTextBlock contextRef="S000007461_D0228FidelityEnvironmentandAlternativeEnergyNaturalResourcesFundsComboPRO05Member">
            Sustainability Risk.&#160;Application of FMR's ESG ratings process and/or its sustainable investing exclusion criteria may affect the fund&#x92;s exposure
               to certain issuers, sectors, regions, and countries and may affect the fund&#x92;s performance depending on whether certain
               investments are in or out of favor. The criteria related to the fund&#x92;s ESG ratings process and/or adherence to its sustainable
               investing exclusion criteria may result in the fund forgoing opportunities to buy certain securities when it might otherwise
               be advantageous to do so, or selling securities for ESG reasons when it might be otherwise disadvantageous for it to do so.
               As a result, the fund&#x92;s performance may at times be better or worse than the performance of funds that do not use ESG
               or sustainability criteria. There are significant differences in interpretations of what it means for an issuer to have positive
               ESG factors. While the Adviser believes its definitions are reasonable, the portfolio decisions it makes may differ with other
               investors&#x92; or advisers&#x92; views.



</rr:RiskNarrativeTextBlock>
</xbrl>
