<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:fmr="http://www.fidelity.com/20260829"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="fmr-20260829.xsd" xlink:type="simple"/>
    <context id="Trust">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_contentCd_C06-PRO">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Cid_C000212596">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212596Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_contentCd_C06-PRO_RiskMember_StockMarketVolatilityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:StockMarketVolatilityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_contentCd_C06-PRO_RiskMember_IssuerSpecificChangesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:IssuerSpecificChangesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_contentCd_C06-PRO_RiskMember_CorrelationToIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:CorrelationToIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_contentCd_C06-PRO_RiskMember_PassiveManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:PassiveManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_contentCd_C06-PRO_RiskMember_GrowthInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:GrowthInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_contentCd_C06-PRO_RiskMember_MidCapInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:MidCapInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_contentCd_C06-PRO_RiskMember_SecuritiesLendingRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:SecuritiesLendingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_contentCd_C06-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_contentCd_C06-PRO_RiskMember_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Cid_C000212596_2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212596Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Cid_C000212596_2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212596Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Cid_C000212596_2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212596Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Cid_C000212596_2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212596Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Cid_C000212596_2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212596Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Cid_C000212596_2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212596Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Cid_C000212596_ReturnBeforeTaxes_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212596Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Cid_C000212596_ReturnBeforeTaxes_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212596Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Cid_C000212596_ReturnBeforeTaxes_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212596Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Cid_C000212596_AfterTaxesOnDistributions_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212596Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Cid_C000212596_AfterTaxesOnDistributions_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212596Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Cid_C000212596_AfterTaxesOnDistributions_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212596Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Cid_C000212596_AfterTaxesOnDistributionsAndSales_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212596Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Cid_C000212596_AfterTaxesOnDistributionsAndSales_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212596Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Cid_C000212596_AfterTaxesOnDistributionsAndSales_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212596Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Indexid_RS012_contentCd_C06-PRO_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS012Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Indexid_RS012_contentCd_C06-PRO_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS012Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Indexid_RS012_contentCd_C06-PRO_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS012Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Indexid_RS003_contentCd_C06-PRO_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS003Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Indexid_RS003_contentCd_C06-PRO_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS003Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065748_Indexid_RS003_contentCd_C06-PRO_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065748Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS003Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_contentCd_C06-PRO">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Cid_C000212597">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212597Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_contentCd_C06-PRO_RiskMember_StockMarketVolatilityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:StockMarketVolatilityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_contentCd_C06-PRO_RiskMember_IssuerSpecificChangesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:IssuerSpecificChangesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_contentCd_C06-PRO_RiskMember_CorrelationToIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:CorrelationToIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_contentCd_C06-PRO_RiskMember_PassiveManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:PassiveManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_contentCd_C06-PRO_RiskMember_ValueInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:ValueInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_contentCd_C06-PRO_RiskMember_MidCapInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:MidCapInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_contentCd_C06-PRO_RiskMember_SecuritiesLendingRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:SecuritiesLendingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_contentCd_C06-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_contentCd_C06-PRO_RiskMember_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Cid_C000212597_2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212597Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Cid_C000212597_2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212597Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Cid_C000212597_2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212597Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Cid_C000212597_2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212597Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Cid_C000212597_2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212597Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Cid_C000212597_2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212597Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Cid_C000212597_ReturnBeforeTaxes_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212597Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Cid_C000212597_ReturnBeforeTaxes_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212597Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Cid_C000212597_ReturnBeforeTaxes_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212597Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Cid_C000212597_AfterTaxesOnDistributions_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212597Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Cid_C000212597_AfterTaxesOnDistributions_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212597Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Cid_C000212597_AfterTaxesOnDistributions_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212597Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Cid_C000212597_AfterTaxesOnDistributionsAndSales_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212597Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Cid_C000212597_AfterTaxesOnDistributionsAndSales_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212597Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Cid_C000212597_AfterTaxesOnDistributionsAndSales_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212597Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Indexid_RS013_contentCd_C06-PRO_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS013Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Indexid_RS013_contentCd_C06-PRO_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS013Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Indexid_RS013_contentCd_C06-PRO_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS013Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Indexid_RS003_contentCd_C06-PRO_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS003Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Indexid_RS003_contentCd_C06-PRO_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS003Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065749_Indexid_RS003_contentCd_C06-PRO_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065749Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS003Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_contentCd_C06-PRO">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Cid_C000212598">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212598Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_contentCd_C06-PRO_RiskMember_StockMarketVolatilityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:StockMarketVolatilityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_contentCd_C06-PRO_RiskMember_IssuerSpecificChangesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:IssuerSpecificChangesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_contentCd_C06-PRO_RiskMember_CorrelationToIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:CorrelationToIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_contentCd_C06-PRO_RiskMember_PassiveManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:PassiveManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_contentCd_C06-PRO_RiskMember_GrowthInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:GrowthInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_contentCd_C06-PRO_RiskMember_SmallCapInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:SmallCapInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_contentCd_C06-PRO_RiskMember_SecuritiesLendingRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:SecuritiesLendingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_contentCd_C06-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_contentCd_C06-PRO_RiskMember_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Cid_C000212598_2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212598Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Cid_C000212598_2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212598Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Cid_C000212598_2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212598Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Cid_C000212598_2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212598Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Cid_C000212598_2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212598Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Cid_C000212598_2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212598Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Cid_C000212598_ReturnBeforeTaxes_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212598Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Cid_C000212598_ReturnBeforeTaxes_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212598Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Cid_C000212598_ReturnBeforeTaxes_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212598Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Cid_C000212598_AfterTaxesOnDistributions_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212598Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Cid_C000212598_AfterTaxesOnDistributions_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212598Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Cid_C000212598_AfterTaxesOnDistributions_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212598Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Cid_C000212598_AfterTaxesOnDistributionsAndSales_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212598Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Cid_C000212598_AfterTaxesOnDistributionsAndSales_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212598Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Cid_C000212598_AfterTaxesOnDistributionsAndSales_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212598Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Indexid_RS014_contentCd_C06-PRO_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS014Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Indexid_RS014_contentCd_C06-PRO_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS014Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Indexid_RS014_contentCd_C06-PRO_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS014Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Indexid_RS003_contentCd_C06-PRO_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS003Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Indexid_RS003_contentCd_C06-PRO_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS003Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065750_Indexid_RS003_contentCd_C06-PRO_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065750Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS003Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_contentCd_C06-PRO">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Cid_C000212599">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212599Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_contentCd_C06-PRO_RiskMember_StockMarketVolatilityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:StockMarketVolatilityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_contentCd_C06-PRO_RiskMember_IssuerSpecificChangesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:IssuerSpecificChangesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_contentCd_C06-PRO_RiskMember_CorrelationToIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:CorrelationToIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_contentCd_C06-PRO_RiskMember_PassiveManagementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:PassiveManagementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_contentCd_C06-PRO_RiskMember_ValueInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:ValueInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_contentCd_C06-PRO_RiskMember_SmallCapInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:SmallCapInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_contentCd_C06-PRO_RiskMember_SecuritiesLendingRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:SecuritiesLendingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_contentCd_C06-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_contentCd_C06-PRO_RiskMember_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Cid_C000212599_2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212599Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Cid_C000212599_2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212599Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Cid_C000212599_2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212599Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Cid_C000212599_2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212599Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Cid_C000212599_2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212599Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Cid_C000212599_2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212599Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Cid_C000212599_ReturnBeforeTaxes_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212599Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Cid_C000212599_ReturnBeforeTaxes_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212599Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Cid_C000212599_ReturnBeforeTaxes_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212599Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Cid_C000212599_AfterTaxesOnDistributions_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212599Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Cid_C000212599_AfterTaxesOnDistributions_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212599Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Cid_C000212599_AfterTaxesOnDistributions_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212599Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Cid_C000212599_AfterTaxesOnDistributionsAndSales_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212599Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Cid_C000212599_AfterTaxesOnDistributionsAndSales_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212599Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Cid_C000212599_AfterTaxesOnDistributionsAndSales_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212599Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Indexid_RS015_contentCd_C06-PRO_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS015Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Indexid_RS015_contentCd_C06-PRO_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS015Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Indexid_RS015_contentCd_C06-PRO_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS015Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Indexid_RS003_contentCd_C06-PRO_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS003Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Indexid_RS003_contentCd_C06-PRO_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS003Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000065751_Indexid_RS003_contentCd_C06-PRO_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMidCapGrowthMidCapValueSmallCapGrowthSmallCapValueIndexFunds-ComboPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065751Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexRS003Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000090604_contentCd_SEB-PRO">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelitySAIEnhancedMunicipalIncomeFund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000090604Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000090604_Cid_C000257876">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelitySAIEnhancedMunicipalIncomeFund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000090604Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000257876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000090604_contentCd_SEB-PRO_RiskMember_MunicipalMarketVolatilityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelitySAIEnhancedMunicipalIncomeFund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000090604Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:MunicipalMarketVolatilityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000090604_contentCd_SEB-PRO_RiskMember_InterestRateChangesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelitySAIEnhancedMunicipalIncomeFund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000090604Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:InterestRateChangesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000090604_contentCd_SEB-PRO_RiskMember_IssuerSpecificChangesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelitySAIEnhancedMunicipalIncomeFund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000090604Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:IssuerSpecificChangesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000090604_contentCd_SEB-PRO_RiskMember_QuantitativeInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelitySAIEnhancedMunicipalIncomeFund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000090604Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:QuantitativeInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000090604_contentCd_SEB-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelitySAIEnhancedMunicipalIncomeFund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000090604Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <context id="Pid_S000090604_contentCd_SEB-PRO_RiskMember_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000035315</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelitySAIEnhancedMunicipalIncomeFund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000090604Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-29</startDate>
            <endDate>2026-08-29</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <dei:DocumentType contextRef="Trust" id="ixv-23277">485BPOS</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Trust" id="ixv-23278">2026-08-29</dei:DocumentPeriodEndDate>
    <dei:AmendmentFlag contextRef="Trust" id="ixv-23279">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="Trust" id="ixv-23280">0000035315</dei:EntityCentralIndexKey>
    <dei:EntityInvCompanyType contextRef="Trust" id="ixv-23281">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName contextRef="Trust" id="ixv-23282">Fidelity Salem Street Trust</dei:EntityRegistrantName>
    <oef:RiskReturnHeading contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-241">
     
       
     Fund Summary 
       
     Fund: 
     Fidelity&#xae; Mid Cap Growth Index Fund 
    
   </oef:RiskReturnHeading>
    <oef:ObjectiveHeading contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-250">
     
       
     Investment Objective 
       
    
   </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-255">
     
       
     Fidelity&#xae; Mid Cap Growth Index Fund seeks to provide investment results that correspond to the total return of stocks of mid-capitalization U.S. companies. 
       
    
   </oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-260">
     
       
     Fee Table 
       
    
   </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-266">
     
       
     The following table describes the fees and expenses that may be incurred when you buy, hold, and sell shares of the fund. You may pay other fees, such as brokerage commissions, which are not reflected in the tables and examples below. 
    
   </oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-277">
     
       
     Shareholder fees 
       
    
   </oef:ShareholderFeesCaption>
    <oef:ShareholderFeeOther
      contextRef="Pid_S000065748_contentCd_C06-PRO"
      decimals="0"
      id="ixv-24690"
      unitRef="usd">0</oef:ShareholderFeeOther>
    <oef:OperatingExpensesCaption contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-292">
     
       
     Annual Operating Expenses 
       
    
   </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="Pid_S000065748_Cid_C000212596"
      decimals="6"
      id="ixv-24691"
      unitRef="pure">0.0005</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Pid_S000065748_Cid_C000212596"
      decimals="6"
      id="ixv-24692"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Pid_S000065748_Cid_C000212596"
      decimals="6"
      id="ixv-24693"
      unitRef="pure">0.0000</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Pid_S000065748_Cid_C000212596"
      decimals="6"
      id="ixv-24694"
      unitRef="pure">0.0005</oef:ExpensesOverAssets>
    <oef:ExpenseExampleNarrativeTextBlock contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-339">
     
       
     This  
     example 
       
     helps compare the cost of investing in the fund with the cost of investing in other funds. 
       
     Let's say, hypothetically, that the annual return for shares of the fund is 5% and that the fees and the annual operating expenses for shares of the fund are exactly as described in the fee table. This example illustrates the effect of fees and expenses, but is not meant to suggest actual or expected fees and expenses or returns, all of which may vary. For every $10,000 you invested, here's how much you would pay in total expenses if you sell all of your shares at the end of each time period indicated: 
    
   </oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="Pid_S000065748_Cid_C000212596"
      decimals="0"
      id="ixv-24695"
      unitRef="usd">5</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="Pid_S000065748_Cid_C000212596"
      decimals="0"
      id="ixv-24696"
      unitRef="usd">16</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="Pid_S000065748_Cid_C000212596"
      decimals="0"
      id="ixv-24697"
      unitRef="usd">28</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="Pid_S000065748_Cid_C000212596"
      decimals="0"
      id="ixv-24698"
      unitRef="usd">64</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-396">
     
       
     Portfolio Turnover 
       
    
   </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-401">
     
       
     The fund pays transaction costs, such as commissions, when it buys and sells securities (or "turns over" its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when fund shares are held in a taxable account. These costs, which are not reflected in annual operating expenses or in the example, affect the fund's performance. During the most recent fiscal year, the fund's portfolio turnover rate was 
       
     
       
       61 
       
       
     % of the average value of its portfolio. 
       
    
   </oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="Pid_S000065748_contentCd_C06-PRO"
      decimals="4"
      id="ixv-24699"
      unitRef="pure">0.61</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-410">
     
       
     Principal Investment Strategies 
       
    
   </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-415">
     
       
      
       Normally investing at least 80% of assets in securities included in the Russell Midcap&#xae; Growth Index. 
     The Russell Midcap &#xae; Growth Index is a market capitalization-weighted index designed to measure the performance of the mid-cap growth segment of the U.S. equity market. It includes those Russell MidCap &#xae; Index companies with higher price-to-book ratios and higher forecasted growth values. 
      
       The Russell Midcap &#xae; Growth Index applies a capping methodology. Index constituents are capped quarterly so that no more than 22.5% of the index weight may be allocated to a single constituent, and the sum of the weights of all constituents representing more than 4.5% of the index should not exceed 45% of the total index weight. 
        
      
       Derivative instruments that provide investment exposure to the investments above or exposure to one or more market risk factors associated with such investments are included in the fund's 80% policy, consistent with the fund's investment policies and limitations with respect to investments in derivatives. 
      
       
        Primarily using replication; however, the fund may or may not hold all of the securities in the index. 
      Lending securities to earn income for the fund. 
      
    
   </oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065748_contentCd_C06-PRO_RiskMember_StockMarketVolatilityMember"
      id="ixv-453">
     
       
      
      Stock Market Volatility. 
      
     Stock markets are volatile and can decline significantly in response to adverse issuer, political, regulatory, market, or economic developments. Different parts of the market, including different market sectors, and different types of securities can react differently to these developments. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065748_contentCd_C06-PRO_RiskMember_IssuerSpecificChangesMember"
      id="ixv-462">
     
       
      
      Issuer-Specific Changes. 
      
     The value of an individual security or particular type of security can be more volatile than, and can perform differently from, the market as a whole. 
     Changes in the financial condition of an issuer or counterparty (e.g., broker-dealer or other borrower in a securities lending transaction) can increase the risk of default by an issuer or counterparty, which can affect a security's or instrument's value or result in delays in recovering securities and/or capital from a counterparty. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065748_contentCd_C06-PRO_RiskMember_CorrelationToIndexMember"
      id="ixv-473">
     
       
      
      Correlation to Index. 
      
     The performance of the fund and its underlying index may vary somewhat due to factors such as fees and expenses of the fund, transaction costs, sample selection, regulatory restrictions, and timing differences associated with additions to and deletions from the index. Errors in the construction or calculation of the index may occur from time to time and may not be identified and corrected for some period of time, which may have an adverse impact on the fund and its shareholders. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065748_contentCd_C06-PRO_RiskMember_PassiveManagementRiskMember"
      id="ixv-482">
     
       
      
      Passive Management Risk. 
      
     The fund is managed with a passive investment strategy, attempting to track the performance of an unmanaged index of securities, regardless of the current or projected performance of the fund's index or of the actual securities included in the index. This differs from an actively managed fund, which typically seeks to outperform a benchmark index. As a result, the fund's performance could be lower than actively managed funds that may shift their portfolio assets to take advantage of market opportunities or lessen the impact of a market decline or a decline in the value of one or more issuers. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065748_contentCd_C06-PRO_RiskMember_GrowthInvestingMember"
      id="ixv-491">
     
       
      
      "Growth" Investing. 
      
     "Growth" stocks can perform differently from the market as a whole and other types of stocks and can be more volatile than other types of stocks. &#160; &#160; &#160; 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065748_contentCd_C06-PRO_RiskMember_MidCapInvestingMember"
      id="ixv-506">
     
       
      
      Mid Cap Investing. 
      
     The value of securities of medium size, less well-known issuers can perform differently from the market as a whole and other types of stocks and can be more volatile than that of larger issuers. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065748_contentCd_C06-PRO_RiskMember_SecuritiesLendingRiskMember"
      id="ixv-515">
     
       
      
      Securities Lending Risk. 
      
     Securities lending involves the risk that the borrower may fail to return the securities loaned in a timely manner or at all. If the borrower defaults on its obligation to return the securities loaned because of insolvency or other reasons, a fund could experience delays and costs in recovering the securities loaned or in gaining access to the collateral. 
      
       
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065748_contentCd_C06-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember"
      id="ixv-525">
     
       
     An investment in the fund is not a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency 
       
     . 
       
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065748_contentCd_C06-PRO_RiskMember_RiskLoseMoneyMember"
      id="ixv-533">
     
       
     &#160; 
       
     You could lose money by investing in the fund. 
       
    
   </oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-540">
     
       
     Performance 
       
    
   </oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-545">
     
       
     The following information is intended to help you understand the risks of investing in the fund. 
      
        
      The information illustrates the changes in the performance of the fund's shares from year to year and compares the performance of the fund's shares to the performance of a securities market index and an additional index over various periods of time. 
        
      
       
     The additional index has characteristics relevant to the fund's investment strategies. Index descriptions appear in the "Additional Index Information" section of the prospectus. 
       
      
        
      Past performance (before and after taxes) is not an indication of future performance. 
        
      
     Visit 
       
      
        
      www.fidelity.com  
      
       
     for more recent performance information. 
    
   </oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-550"> 
        
      The information illustrates the changes in the performance of the fund's shares from year to year and compares the performance of the fund's shares to the performance of a securities market index and an additional index over various periods of time. 
        
     </oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-557"> 
        
      Past performance (before and after taxes) is not an indication of future performance. 
        
     </oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-563"> 
        
      www.fidelity.com  
     </oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-568">
     
       
     Year-by-Year Returns  
    
   </oef:BarChartHeading>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065748_Cid_C000212596_2020"
      decimals="INF"
      id="ixv-24700"
      unitRef="pure">0.3484</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065748_Cid_C000212596_2021"
      decimals="INF"
      id="ixv-24701"
      unitRef="pure">0.1271</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065748_Cid_C000212596_2022"
      decimals="INF"
      id="ixv-24702"
      unitRef="pure">-0.2667</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065748_Cid_C000212596_2023"
      decimals="INF"
      id="ixv-24703"
      unitRef="pure">0.2579</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065748_Cid_C000212596_2024"
      decimals="INF"
      id="ixv-24704"
      unitRef="pure">0.2202</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065748_Cid_C000212596_2025"
      decimals="INF"
      id="ixv-24705"
      unitRef="pure">0.0862</oef:AnnlRtrPct>
    <oef:HighestQuarterlyReturnLabel contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-666">
          &#160;&#160;&#160;Highest Quarter Return
        </oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="Pid_S000065748_contentCd_C06-PRO"
      decimals="4"
      id="ixv-24706"
      unitRef="pure">0.3008</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-676">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-681">
          &#160;&#160;&#160;Lowest Quarter Return
        </oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="Pid_S000065748_contentCd_C06-PRO"
      decimals="4"
      id="ixv-24707"
      unitRef="pure">-0.2104</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-692">2022-06-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:YearToDateReturnLabel contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-697">
          &#160;&#160;&#160;Year-to-Date Return
        </oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturn
      contextRef="Pid_S000065748_contentCd_C06-PRO"
      decimals="4"
      id="ixv-24708"
      unitRef="pure">0.0724</oef:BarChartYearToDateReturn>
    <oef:BarChartYearToDateReturnDate contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-707">2026-06-30</oef:BarChartYearToDateReturnDate>
    <oef:PerformanceTableHeading contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-712">
     
       
     Average Annual Returns 
       
    
   </oef:PerformanceTableHeading>
    <oef:PerformanceTableNarrativeTextBlock contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-717">
     
       
      
        
      After-tax returns are calculated using the historical highest individual federal marginal income tax rates, but do not reflect the impact of state or local taxes. 
        
      
       
     Actual after-tax returns may differ depending on your individual circumstances. 
       
      
        
      The after-tax returns shown are not relevant if you hold your shares in a retirement account or in another tax-deferred arrangement, such as an employee benefit plan (profit sharing, 401(k), or 403(b) plan). 
        
      
       
      
        
      Return After Taxes on Distributions and Sale of Fund Shares may be higher than other returns for the same period due to a tax benefit of realizing a capital loss upon the sale of fund shares. 
        
      
       
    
   </oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableUsesHighestFederalRate contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-720"> 
        
      After-tax returns are calculated using the historical highest individual federal marginal income tax rates, but do not reflect the impact of state or local taxes. 
        
     </oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-727"> 
        
      The after-tax returns shown are not relevant if you hold your shares in a retirement account or in another tax-deferred arrangement, such as an employee benefit plan (profit sharing, 401(k), or 403(b) plan). 
        
     </oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableExplanationAfterTaxHigher contextRef="Pid_S000065748_contentCd_C06-PRO" id="ixv-732"> 
        
      Return After Taxes on Distributions and Sale of Fund Shares may be higher than other returns for the same period due to a tax benefit of realizing a capital loss upon the sale of fund shares. 
        
     </oef:PerformanceTableExplanationAfterTaxHigher>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065748_Cid_C000212596_ReturnBeforeTaxes_01"
      id="ixv-778">
         Return Before Taxes
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065748_Cid_C000212596_ReturnBeforeTaxes_01"
      decimals="4"
      id="ixv-24709"
      unitRef="pure">0.0862</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065748_Cid_C000212596_ReturnBeforeTaxes_05"
      decimals="4"
      id="ixv-24710"
      unitRef="pure">0.0662</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065748_Cid_C000212596_ReturnBeforeTaxes_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteC06-PROS000065748AAR_A_RBT_loc"
      unitRef="pure">0.1087</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065748_Cid_C000212596_AfterTaxesOnDistributions_01"
      id="ixv-794">
         Return After Taxes on Distributions
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065748_Cid_C000212596_AfterTaxesOnDistributions_01"
      decimals="4"
      id="ixv-24712"
      unitRef="pure">0.0813</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065748_Cid_C000212596_AfterTaxesOnDistributions_05"
      decimals="4"
      id="ixv-24713"
      unitRef="pure">0.0601</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065748_Cid_C000212596_AfterTaxesOnDistributions_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteC06-PROS000065748AAR_A_ATD_loc"
      unitRef="pure">0.1034</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065748_Cid_C000212596_AfterTaxesOnDistributionsAndSales_01"
      id="ixv-810">
         Return After Taxes on Distributions and Sale of Fund Shares
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065748_Cid_C000212596_AfterTaxesOnDistributionsAndSales_01"
      decimals="4"
      id="ixv-24715"
      unitRef="pure">0.0542</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065748_Cid_C000212596_AfterTaxesOnDistributionsAndSales_05"
      decimals="4"
      id="ixv-24716"
      unitRef="pure">0.0501</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065748_Cid_C000212596_AfterTaxesOnDistributionsAndSales_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteC06-PROS000065748AAR_A_ATDS_loc"
      unitRef="pure">0.0861</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065748_Indexid_RS012_contentCd_C06-PRO_01"
      id="ixv-827">
         Russell Midcap&#xae; Growth Index
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065748_Indexid_RS012_contentCd_C06-PRO_01"
      decimals="4"
      id="ixv-24718"
      unitRef="pure">0.0866</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065748_Indexid_RS012_contentCd_C06-PRO_05"
      decimals="4"
      id="ixv-24719"
      unitRef="pure">0.0665</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065748_Indexid_RS012_contentCd_C06-PRO_AverageAnnualReturnSinceInception"
      decimals="4"
      id="ixv-24720"
      unitRef="pure">0.1099</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065748_Indexid_RS003_contentCd_C06-PRO_01"
      id="ixv-852">
         Russell 3000&#xae; Index
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065748_Indexid_RS003_contentCd_C06-PRO_01"
      decimals="4"
      id="ixv-24721"
      unitRef="pure">0.1715</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065748_Indexid_RS003_contentCd_C06-PRO_05"
      decimals="4"
      id="ixv-24722"
      unitRef="pure">0.1315</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065748_Indexid_RS003_contentCd_C06-PRO_AverageAnnualReturnSinceInception"
      decimals="4"
      id="ixv-24723"
      unitRef="pure">0.1468</oef:AvgAnnlRtrPct>
    <oef:AnnualReturnInceptionDate contextRef="Pid_S000065748_Cid_C000212596" id="ixv-893">2019-07-11</oef:AnnualReturnInceptionDate>
    <oef:RiskReturnHeading contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-985">
     
       
     Fund Summary 
       
     Fund: 
     Fidelity&#xae; Mid Cap Value Index Fund 
    
   </oef:RiskReturnHeading>
    <oef:ObjectiveHeading contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-994">
     
       
     Investment Objective 
       
    
   </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-999">
     
       
     Fidelity&#xae; Mid Cap Value Index Fund seeks to provide investment results that correspond to the total return of stocks of mid-capitalization U.S. companies. 
       
    
   </oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1004">
     
       
     Fee Table 
       
    
   </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1010">
     
       
     The following table describes the fees and expenses that may be incurred when you buy, hold, and sell shares of the fund. You may pay other fees, such as brokerage commissions, which are not reflected in the tables and examples below. 
    
   </oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1021">
     
       
     Shareholder fees 
       
    
   </oef:ShareholderFeesCaption>
    <oef:ShareholderFeeOther
      contextRef="Pid_S000065749_contentCd_C06-PRO"
      decimals="0"
      id="ixv-24724"
      unitRef="usd">0</oef:ShareholderFeeOther>
    <oef:OperatingExpensesCaption contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1036">
     
       
     Annual Operating Expenses 
       
    
   </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="Pid_S000065749_Cid_C000212597"
      decimals="6"
      id="ixv-24725"
      unitRef="pure">0.0005</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Pid_S000065749_Cid_C000212597"
      decimals="6"
      id="ixv-24726"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Pid_S000065749_Cid_C000212597"
      decimals="6"
      id="ixv-24727"
      unitRef="pure">0.0000</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Pid_S000065749_Cid_C000212597"
      decimals="6"
      id="ixv-24728"
      unitRef="pure">0.0005</oef:ExpensesOverAssets>
    <oef:ExpenseExampleNarrativeTextBlock contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1083">
     
       
     This  
     example 
       
     helps compare the cost of investing in the fund with the cost of investing in other funds. 
       
     Let's say, hypothetically, that the annual return for shares of the fund is 5% and that the fees and the annual operating expenses for shares of the fund are exactly as described in the fee table. This example illustrates the effect of fees and expenses, but is not meant to suggest actual or expected fees and expenses or returns, all of which may vary. For every $10,000 you invested, here's how much you would pay in total expenses if you sell all of your shares at the end of each time period indicated: 
    
   </oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="Pid_S000065749_Cid_C000212597"
      decimals="0"
      id="ixv-24729"
      unitRef="usd">5</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="Pid_S000065749_Cid_C000212597"
      decimals="0"
      id="ixv-24730"
      unitRef="usd">16</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="Pid_S000065749_Cid_C000212597"
      decimals="0"
      id="ixv-24731"
      unitRef="usd">28</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="Pid_S000065749_Cid_C000212597"
      decimals="0"
      id="ixv-24732"
      unitRef="usd">64</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1140">
     
       
     Portfolio Turnover 
       
    
   </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1145">
     
       
     The fund pays transaction costs, such as commissions, when it buys and sells securities (or "turns over" its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when fund shares are held in a taxable account. These costs, which are not reflected in annual operating expenses or in the example, affect the fund's performance. During the most recent fiscal year, the fund's portfolio turnover rate was 
       
     
       
       43 
       
       
     % of the average value of its portfolio. 
       
    
   </oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="Pid_S000065749_contentCd_C06-PRO"
      decimals="4"
      id="ixv-24733"
      unitRef="pure">0.43</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1154">
     
       
     Principal Investment Strategies 
       
    
   </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1159">
     
       
      
       Normally investing at least 80% of assets in securities included in the Russell Midcap&#xae; Value Index. 
     The Russell Midcap &#xae; Value Index is a market capitalization-weighted index designed to measure the performance of the mid-cap value segment of the U.S. equity market. It includes those Russell MidCap &#xae; Index companies with lower price-to-book ratios and lower forecasted growth values. 
      
       The Russell Midcap &#xae; Value Index applies a capping methodology. Index constituents are capped quarterly so that no more than 22.5% of the index weight may be allocated to a single constituent, and the sum of the weights of all constituents representing more than 4.5% of the index should not exceed 45% of the total index weight. 
        
      
       Derivative instruments that provide investment exposure to the investments above or exposure to one or more market risk factors associated with such investments are included in the fund's 80% policy, consistent with the fund's investment policies and limitations with respect to investments in derivatives. 
      
       
        Primarily using replication; however, the fund may or may not hold all of the securities in the index. 
      Lending securities to earn income for the fund. 
      
    
   </oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065749_contentCd_C06-PRO_RiskMember_StockMarketVolatilityMember"
      id="ixv-1197">
     
       
      
      Stock Market Volatility. 
      
     Stock markets are volatile and can decline significantly in response to adverse issuer, political, regulatory, market, or economic developments. Different parts of the market, including different market sectors, and different types of securities can react differently to these developments. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065749_contentCd_C06-PRO_RiskMember_IssuerSpecificChangesMember"
      id="ixv-1206">
     
       
      
      Issuer-Specific Changes. 
      
     The value of an individual security or particular type of security can be more volatile than, and can perform differently from, the market as a whole. 
     Changes in the financial condition of an issuer or counterparty (e.g., broker-dealer or other borrower in a securities lending transaction) can increase the risk of default by an issuer or counterparty, which can affect a security's or instrument's value or result in delays in recovering securities and/or capital from a counterparty. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065749_contentCd_C06-PRO_RiskMember_CorrelationToIndexMember"
      id="ixv-1217">
     
       
      
      Correlation to Index. 
      
     The performance of the fund and its underlying index may vary somewhat due to factors such as fees and expenses of the fund, transaction costs, sample selection, regulatory restrictions, and timing differences associated with additions to and deletions from the index. Errors in the construction or calculation of the index may occur from time to time and may not be identified and corrected for some period of time, which may have an adverse impact on the fund and its shareholders. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065749_contentCd_C06-PRO_RiskMember_PassiveManagementRiskMember"
      id="ixv-1226">
     
       
      
      Passive Management Risk. 
      
     The fund is managed with a passive investment strategy, attempting to track the performance of an unmanaged index of securities, regardless of the current or projected performance of the fund's index or of the actual securities included in the index. This differs from an actively managed fund, which typically seeks to outperform a benchmark index. As a result, the fund's performance could be lower than actively managed funds that may shift their portfolio assets to take advantage of market opportunities or lessen the impact of a market decline or a decline in the value of one or more issuers. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065749_contentCd_C06-PRO_RiskMember_ValueInvestingMember"
      id="ixv-1235">
     
       
      
      "Value" Investing. 
      
     "Value" stocks can perform differently from the market as a whole and other types of stocks and can continue to be undervalued by the market for long periods of time. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065749_contentCd_C06-PRO_RiskMember_MidCapInvestingMember"
      id="ixv-1244">
     
       
      
      Mid Cap Investing. 
      
     The value of securities of medium size, less well-known issuers can perform differently from the market as a whole and other types of stocks and can be more volatile than that of larger issuers. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065749_contentCd_C06-PRO_RiskMember_SecuritiesLendingRiskMember"
      id="ixv-1253">
     
       
      
      Securities Lending Risk. 
      
     Securities lending involves the risk that the borrower may fail to return the securities loaned in a timely manner or at all. If the borrower defaults on its obligation to return the securities loaned because of insolvency or other reasons, a fund could experience delays and costs in recovering the securities loaned or in gaining access to the collateral. 
      
       
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065749_contentCd_C06-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember"
      id="ixv-1263">
     
       
     An investment in the fund is not a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency 
       
     . 
       
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065749_contentCd_C06-PRO_RiskMember_RiskLoseMoneyMember"
      id="ixv-1271">
     
       
     &#160; 
       
     You could lose money by investing in the fund. 
       
    
   </oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1278">
     
       
     Performance 
       
    
   </oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1283">
     
       
     The following information is intended to help you understand the risks of investing in the fund. 
      
        
      The information illustrates the changes in the performance of the fund's shares from year to year and compares the performance of the fund's shares to the performance of a securities market index and an additional index over various periods of time. 
        
      
       
     The additional index has characteristics relevant to the fund's investment strategies. Index descriptions appear in the "Additional Index Information" section of the prospectus. 
       
      
        
      Past performance (before and after taxes) is not an indication of future performance. 
        
      
     Visit 
       
      
        
      www.fidelity.com  
      
       
     for more recent performance information. 
    
   </oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1288"> 
        
      The information illustrates the changes in the performance of the fund's shares from year to year and compares the performance of the fund's shares to the performance of a securities market index and an additional index over various periods of time. 
        
     </oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1295"> 
        
      Past performance (before and after taxes) is not an indication of future performance. 
        
     </oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1301"> 
        
      www.fidelity.com  
     </oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1306">
     
       
     Year-by-Year Returns  
    
   </oef:BarChartHeading>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065749_Cid_C000212597_2020"
      decimals="INF"
      id="ixv-24734"
      unitRef="pure">0.0474</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065749_Cid_C000212597_2021"
      decimals="INF"
      id="ixv-24735"
      unitRef="pure">0.2819</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065749_Cid_C000212597_2022"
      decimals="INF"
      id="ixv-24736"
      unitRef="pure">-0.1207</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065749_Cid_C000212597_2023"
      decimals="INF"
      id="ixv-24737"
      unitRef="pure">0.1276</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065749_Cid_C000212597_2024"
      decimals="INF"
      id="ixv-24738"
      unitRef="pure">0.1300</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065749_Cid_C000212597_2025"
      decimals="INF"
      id="ixv-24739"
      unitRef="pure">0.1100</oef:AnnlRtrPct>
    <oef:HighestQuarterlyReturnLabel contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1404">
          &#160;&#160;&#160;Highest Quarter Return
        </oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="Pid_S000065749_contentCd_C06-PRO"
      decimals="4"
      id="ixv-24740"
      unitRef="pure">0.2043</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1414">2020-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1419">
          &#160;&#160;&#160;Lowest Quarter Return
        </oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="Pid_S000065749_contentCd_C06-PRO"
      decimals="4"
      id="ixv-24741"
      unitRef="pure">-0.3167</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1430">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:YearToDateReturnLabel contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1435">
          &#160;&#160;&#160;Year-to-Date Return
        </oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturn
      contextRef="Pid_S000065749_contentCd_C06-PRO"
      decimals="4"
      id="ixv-24742"
      unitRef="pure">0.1756</oef:BarChartYearToDateReturn>
    <oef:BarChartYearToDateReturnDate contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1445">2026-06-30</oef:BarChartYearToDateReturnDate>
    <oef:PerformanceTableHeading contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1450">
     
       
     Average Annual Returns 
       
    
   </oef:PerformanceTableHeading>
    <oef:PerformanceTableNarrativeTextBlock contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1455">
     
       
      
        
      After-tax returns are calculated using the historical highest individual federal marginal income tax rates, but do not reflect the impact of state or local taxes. 
        
      
       
     Actual after-tax returns may differ depending on your individual circumstances. 
       
      
        
      The after-tax returns shown are not relevant if you hold your shares in a retirement account or in another tax-deferred arrangement, such as an employee benefit plan (profit sharing, 401(k), or 403(b) plan). 
        
      
       
      
        
      Return After Taxes on Distributions and Sale of Fund Shares may be higher than other returns for the same period due to a tax benefit of realizing a capital loss upon the sale of fund shares. 
        
      
       
    
   </oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableUsesHighestFederalRate contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1458"> 
        
      After-tax returns are calculated using the historical highest individual federal marginal income tax rates, but do not reflect the impact of state or local taxes. 
        
     </oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1465"> 
        
      The after-tax returns shown are not relevant if you hold your shares in a retirement account or in another tax-deferred arrangement, such as an employee benefit plan (profit sharing, 401(k), or 403(b) plan). 
        
     </oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableExplanationAfterTaxHigher contextRef="Pid_S000065749_contentCd_C06-PRO" id="ixv-1470"> 
        
      Return After Taxes on Distributions and Sale of Fund Shares may be higher than other returns for the same period due to a tax benefit of realizing a capital loss upon the sale of fund shares. 
        
     </oef:PerformanceTableExplanationAfterTaxHigher>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065749_Cid_C000212597_ReturnBeforeTaxes_01"
      id="ixv-1516">
         Return Before Taxes
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065749_Cid_C000212597_ReturnBeforeTaxes_01"
      decimals="4"
      id="ixv-24743"
      unitRef="pure">0.1100</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065749_Cid_C000212597_ReturnBeforeTaxes_05"
      decimals="4"
      id="ixv-24744"
      unitRef="pure">0.0978</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065749_Cid_C000212597_ReturnBeforeTaxes_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteC06-PROS000065749AAR_A_RBT_loc"
      unitRef="pure">0.0933</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065749_Cid_C000212597_AfterTaxesOnDistributions_01"
      id="ixv-1532">
         Return After Taxes on Distributions
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065749_Cid_C000212597_AfterTaxesOnDistributions_01"
      decimals="4"
      id="ixv-24746"
      unitRef="pure">0.1025</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065749_Cid_C000212597_AfterTaxesOnDistributions_05"
      decimals="4"
      id="ixv-24747"
      unitRef="pure">0.0873</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065749_Cid_C000212597_AfterTaxesOnDistributions_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteC06-PROS000065749AAR_A_ATD_loc"
      unitRef="pure">0.0844</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065749_Cid_C000212597_AfterTaxesOnDistributionsAndSales_01"
      id="ixv-1548">
         Return After Taxes on Distributions and Sale of Fund Shares
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065749_Cid_C000212597_AfterTaxesOnDistributionsAndSales_01"
      decimals="4"
      id="ixv-24749"
      unitRef="pure">0.0687</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065749_Cid_C000212597_AfterTaxesOnDistributionsAndSales_05"
      decimals="4"
      id="ixv-24750"
      unitRef="pure">0.0747</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065749_Cid_C000212597_AfterTaxesOnDistributionsAndSales_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteC06-PROS000065749AAR_A_ATDS_loc"
      unitRef="pure">0.0722</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065749_Indexid_RS013_contentCd_C06-PRO_01"
      id="ixv-1565">
         Russell Midcap&#xae; Value Index
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065749_Indexid_RS013_contentCd_C06-PRO_01"
      decimals="4"
      id="ixv-24752"
      unitRef="pure">0.1105</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065749_Indexid_RS013_contentCd_C06-PRO_05"
      decimals="4"
      id="ixv-24753"
      unitRef="pure">0.0983</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065749_Indexid_RS013_contentCd_C06-PRO_AverageAnnualReturnSinceInception"
      decimals="4"
      id="ixv-24754"
      unitRef="pure">0.0943</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065749_Indexid_RS003_contentCd_C06-PRO_01"
      id="ixv-1590">
         Russell 3000&#xae; Index
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065749_Indexid_RS003_contentCd_C06-PRO_01"
      decimals="4"
      id="ixv-24755"
      unitRef="pure">0.1715</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065749_Indexid_RS003_contentCd_C06-PRO_05"
      decimals="4"
      id="ixv-24756"
      unitRef="pure">0.1315</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065749_Indexid_RS003_contentCd_C06-PRO_AverageAnnualReturnSinceInception"
      decimals="4"
      id="ixv-24757"
      unitRef="pure">0.1468</oef:AvgAnnlRtrPct>
    <oef:AnnualReturnInceptionDate contextRef="Pid_S000065749_Cid_C000212597" id="ixv-1631">2019-07-11</oef:AnnualReturnInceptionDate>
    <oef:RiskReturnHeading contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-1723">
     
       
     Fund Summary 
       
     Fund: 
     Fidelity&#xae; Small Cap Growth Index Fund 
    
   </oef:RiskReturnHeading>
    <oef:ObjectiveHeading contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-1732">
     
       
     Investment Objective 
       
    
   </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-1737">
     
       
     Fidelity&#xae; Small Cap Growth Index Fund seeks to provide investment results that correspond to the total return of stocks of small-capitalization U.S. companies. 
       
    
   </oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-1742">
     
       
     Fee Table 
       
    
   </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-1748">
     
       
     The following table describes the fees and expenses that may be incurred when you buy, hold, and sell shares of the fund. You may pay other fees, such as brokerage commissions, which are not reflected in the tables and examples below. 
    
   </oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-1759">
     
       
     Shareholder fees 
       
    
   </oef:ShareholderFeesCaption>
    <oef:ShareholderFeeOther
      contextRef="Pid_S000065750_contentCd_C06-PRO"
      decimals="0"
      id="ixv-24758"
      unitRef="usd">0</oef:ShareholderFeeOther>
    <oef:OperatingExpensesCaption contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-1774">
     
       
     Annual Operating Expenses 
       
    
   </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="Pid_S000065750_Cid_C000212598"
      decimals="6"
      id="ixv-24759"
      unitRef="pure">0.0005</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Pid_S000065750_Cid_C000212598"
      decimals="6"
      id="ixv-24760"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Pid_S000065750_Cid_C000212598"
      decimals="6"
      id="ixv-24761"
      unitRef="pure">0.0000</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Pid_S000065750_Cid_C000212598"
      decimals="6"
      id="ixv-24762"
      unitRef="pure">0.0005</oef:ExpensesOverAssets>
    <oef:ExpenseExampleNarrativeTextBlock contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-1821">
     
       
     This  
     example 
       
     helps compare the cost of investing in the fund with the cost of investing in other funds. 
       
     Let's say, hypothetically, that the annual return for shares of the fund is 5% and that the fees and the annual operating expenses for shares of the fund are exactly as described in the fee table. This example illustrates the effect of fees and expenses, but is not meant to suggest actual or expected fees and expenses or returns, all of which may vary. For every $10,000 you invested, here's how much you would pay in total expenses if you sell all of your shares at the end of each time period indicated: 
    
   </oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="Pid_S000065750_Cid_C000212598"
      decimals="0"
      id="ixv-24763"
      unitRef="usd">5</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="Pid_S000065750_Cid_C000212598"
      decimals="0"
      id="ixv-24764"
      unitRef="usd">16</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="Pid_S000065750_Cid_C000212598"
      decimals="0"
      id="ixv-24765"
      unitRef="usd">28</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="Pid_S000065750_Cid_C000212598"
      decimals="0"
      id="ixv-24766"
      unitRef="usd">64</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-1878">
     
       
     Portfolio Turnover 
       
    
   </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-1883">
     
       
     The fund pays transaction costs, such as commissions, when it buys and sells securities (or "turns over" its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when fund shares are held in a taxable account. These costs, which are not reflected in annual operating expenses or in the example, affect the fund's performance. During the most recent fiscal year, the fund's portfolio turnover rate was 
       
     
       
       63 
       
       
     % of the average value of its portfolio. 
       
    
   </oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="Pid_S000065750_contentCd_C06-PRO"
      decimals="4"
      id="ixv-24767"
      unitRef="pure">0.63</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-1892">
     
       
     Principal Investment Strategies 
       
    
   </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-1897">
     
       
      
       Normally investing at least 80% of assets in securities included in the Russell 2000&#xae; Growth Index. 
     The Russell 2000 &#xae; Growth Index is a market capitalization-weighted index designed to measure the performance of the small-cap growth segment of the U.S. equity market. It includes those Russell 2000 &#xae; Index companies with higher price-to-book ratios and higher forecasted growth rates. 
      
       The Russell 2000 &#xae; Growth Index applies a capping methodology. Index constituents are capped quarterly so that no more than 22.5% of the index weight may be allocated to a single constituent, and the sum of the weights of all constituents representing more than 4.5% of the index should not exceed 45% of the total index weight. 
        
      
       Derivative instruments that provide investment exposure to the investments above or exposure to one or more market risk factors associated with such investments are included in the fund's 80% policy, consistent with the fund's investment policies and limitations with respect to investments in derivatives. 
      
       
        Primarily using replication; however, the fund may or may not hold all of the securities in the index. 
      Lending securities to earn income for the fund. 
      
    
   </oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065750_contentCd_C06-PRO_RiskMember_StockMarketVolatilityMember"
      id="ixv-1934">
     
       
      
      Stock Market Volatility. 
      
     Stock markets are volatile and can decline significantly in response to adverse issuer, political, regulatory, market, or economic developments. Different parts of the market, including different market sectors, and different types of securities can react differently to these developments. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065750_contentCd_C06-PRO_RiskMember_IssuerSpecificChangesMember"
      id="ixv-1943">
     
       
      
      Issuer-Specific Changes. 
      
     The value of an individual security or particular type of security can be more volatile than, and can perform differently from, the market as a whole. 
     Changes in the financial condition of an issuer or counterparty (e.g., broker-dealer or other borrower in a securities lending transaction) can increase the risk of default by an issuer or counterparty, which can affect a security's or instrument's value or result in delays in recovering securities and/or capital from a counterparty. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065750_contentCd_C06-PRO_RiskMember_CorrelationToIndexMember"
      id="ixv-1954">
     
       
      
      Correlation to Index. 
      
     The performance of the fund and its underlying index may vary somewhat due to factors such as fees and expenses of the fund, transaction costs, sample selection, regulatory restrictions, and timing differences associated with additions to and deletions from the index. Errors in the construction or calculation of the index may occur from time to time and may not be identified and corrected for some period of time, which may have an adverse impact on the fund and its shareholders. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065750_contentCd_C06-PRO_RiskMember_PassiveManagementRiskMember"
      id="ixv-1963">
     
       
      
      Passive Management Risk. 
      
     The fund is managed with a passive investment strategy, attempting to track the performance of an unmanaged index of securities, regardless of the current or projected performance of the fund's index or of the actual securities included in the index. This differs from an actively managed fund, which typically seeks to outperform a benchmark index. As a result, the fund's performance could be lower than actively managed funds that may shift their portfolio assets to take advantage of market opportunities or lessen the impact of a market decline or a decline in the value of one or more issuers. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065750_contentCd_C06-PRO_RiskMember_GrowthInvestingMember"
      id="ixv-1972">
     
       
      
      "Growth" Investing. 
      
     "Growth" stocks can perform differently from the market as a whole and other types of stocks and can be more volatile than other types of stocks. &#160; &#160; &#160; 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065750_contentCd_C06-PRO_RiskMember_SmallCapInvestingMember"
      id="ixv-1987">
     
       
      
      Small Cap Investing. 
      
     The value of securities of smaller, less well-known issuers can perform differently from the market as a whole and other types of stocks and can be more volatile than that of larger issuers. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065750_contentCd_C06-PRO_RiskMember_SecuritiesLendingRiskMember"
      id="ixv-1996">
     
       
      
      Securities Lending Risk. 
      
     Securities lending involves the risk that the borrower may fail to return the securities loaned in a timely manner or at all. If the borrower defaults on its obligation to return the securities loaned because of insolvency or other reasons, a fund could experience delays and costs in recovering the securities loaned or in gaining access to the collateral. 
      
       
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065750_contentCd_C06-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember"
      id="ixv-2006">
     
       
     An investment in the fund is not a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency 
       
     . 
       
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065750_contentCd_C06-PRO_RiskMember_RiskLoseMoneyMember"
      id="ixv-2014">
     
       
     &#160; 
       
     You could lose money by investing in the fund. 
       
    
   </oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2021">
     
       
     Performance 
       
    
   </oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2026">
     
       
     The following information is intended to help you understand the risks of investing in the fund. 
      
        
      The information illustrates the changes in the performance of the fund's shares from year to year and compares the performance of the fund's shares to the performance of a securities market index and an additional index over various periods of time. 
        
      
       
     The additional index has characteristics relevant to the fund's investment strategies. Index descriptions appear in the "Additional Index Information" section of the prospectus. 
       
      
        
      Past performance (before and after taxes) is not an indication of future performance. 
        
      
     Visit 
       
      
        
      www.fidelity.com  
      
       
     for more recent performance information. 
    
   </oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2031"> 
        
      The information illustrates the changes in the performance of the fund's shares from year to year and compares the performance of the fund's shares to the performance of a securities market index and an additional index over various periods of time. 
        
     </oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2038"> 
        
      Past performance (before and after taxes) is not an indication of future performance. 
        
     </oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2044"> 
        
      www.fidelity.com  
     </oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2049">
     
       
     Year-by-Year Returns  
    
   </oef:BarChartHeading>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065750_Cid_C000212598_2020"
      decimals="INF"
      id="ixv-24768"
      unitRef="pure">0.3440</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065750_Cid_C000212598_2021"
      decimals="INF"
      id="ixv-24769"
      unitRef="pure">0.0282</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065750_Cid_C000212598_2022"
      decimals="INF"
      id="ixv-24770"
      unitRef="pure">-0.2617</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065750_Cid_C000212598_2023"
      decimals="INF"
      id="ixv-24771"
      unitRef="pure">0.1890</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065750_Cid_C000212598_2024"
      decimals="INF"
      id="ixv-24772"
      unitRef="pure">0.1525</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065750_Cid_C000212598_2025"
      decimals="INF"
      id="ixv-24773"
      unitRef="pure">0.1303</oef:AnnlRtrPct>
    <oef:HighestQuarterlyReturnLabel contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2147">
          &#160;&#160;&#160;Highest Quarter Return
        </oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="Pid_S000065750_contentCd_C06-PRO"
      decimals="4"
      id="ixv-24774"
      unitRef="pure">0.3043</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2157">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2162">
          &#160;&#160;&#160;Lowest Quarter Return
        </oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="Pid_S000065750_contentCd_C06-PRO"
      decimals="4"
      id="ixv-24775"
      unitRef="pure">-0.2577</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2173">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:YearToDateReturnLabel contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2178">
          &#160;&#160;&#160;Year-to-Date Return
        </oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturn
      contextRef="Pid_S000065750_contentCd_C06-PRO"
      decimals="4"
      id="ixv-24776"
      unitRef="pure">0.2225</oef:BarChartYearToDateReturn>
    <oef:BarChartYearToDateReturnDate contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2188">2026-06-30</oef:BarChartYearToDateReturnDate>
    <oef:PerformanceTableHeading contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2193">
     
       
     Average Annual Returns 
       
    
   </oef:PerformanceTableHeading>
    <oef:PerformanceTableNarrativeTextBlock contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2198">
     
       
      
        
      After-tax returns are calculated using the historical highest individual federal marginal income tax rates, but do not reflect the impact of state or local taxes. 
        
      
       
     Actual after-tax returns may differ depending on your individual circumstances. 
       
      
        
      The after-tax returns shown are not relevant if you hold your shares in a retirement account or in another tax-deferred arrangement, such as an employee benefit plan (profit sharing, 401(k), or 403(b) plan). 
        
      
       
      
        
      Return After Taxes on Distributions and Sale of Fund Shares may be higher than other returns for the same period due to a tax benefit of realizing a capital loss upon the sale of fund shares. 
        
      
       
    
   </oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableUsesHighestFederalRate contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2201"> 
        
      After-tax returns are calculated using the historical highest individual federal marginal income tax rates, but do not reflect the impact of state or local taxes. 
        
     </oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2208"> 
        
      The after-tax returns shown are not relevant if you hold your shares in a retirement account or in another tax-deferred arrangement, such as an employee benefit plan (profit sharing, 401(k), or 403(b) plan). 
        
     </oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableExplanationAfterTaxHigher contextRef="Pid_S000065750_contentCd_C06-PRO" id="ixv-2213"> 
        
      Return After Taxes on Distributions and Sale of Fund Shares may be higher than other returns for the same period due to a tax benefit of realizing a capital loss upon the sale of fund shares. 
        
     </oef:PerformanceTableExplanationAfterTaxHigher>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065750_Cid_C000212598_ReturnBeforeTaxes_01"
      id="ixv-2259">
         Return Before Taxes
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065750_Cid_C000212598_ReturnBeforeTaxes_01"
      decimals="4"
      id="ixv-24777"
      unitRef="pure">0.1303</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065750_Cid_C000212598_ReturnBeforeTaxes_05"
      decimals="4"
      id="ixv-24778"
      unitRef="pure">0.0329</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065750_Cid_C000212598_ReturnBeforeTaxes_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteC06-PROS000065750AAR_A_RBT_loc"
      unitRef="pure">0.0845</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065750_Cid_C000212598_AfterTaxesOnDistributions_01"
      id="ixv-2275">
         Return After Taxes on Distributions
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065750_Cid_C000212598_AfterTaxesOnDistributions_01"
      decimals="4"
      id="ixv-24780"
      unitRef="pure">0.1284</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065750_Cid_C000212598_AfterTaxesOnDistributions_05"
      decimals="4"
      id="ixv-24781"
      unitRef="pure">0.0288</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065750_Cid_C000212598_AfterTaxesOnDistributions_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteC06-PROS000065750AAR_A_ATD_loc"
      unitRef="pure">0.0803</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065750_Cid_C000212598_AfterTaxesOnDistributionsAndSales_01"
      id="ixv-2291">
         Return After Taxes on Distributions and Sale of Fund Shares
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065750_Cid_C000212598_AfterTaxesOnDistributionsAndSales_01"
      decimals="4"
      id="ixv-24783"
      unitRef="pure">0.0778</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065750_Cid_C000212598_AfterTaxesOnDistributionsAndSales_05"
      decimals="4"
      id="ixv-24784"
      unitRef="pure">0.0242</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065750_Cid_C000212598_AfterTaxesOnDistributionsAndSales_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteC06-PROS000065750AAR_A_ATDS_loc"
      unitRef="pure">0.0660</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065750_Indexid_RS014_contentCd_C06-PRO_01"
      id="ixv-2308">
         Russell 2000&#xae; Growth Index
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065750_Indexid_RS014_contentCd_C06-PRO_01"
      decimals="4"
      id="ixv-24786"
      unitRef="pure">0.1301</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065750_Indexid_RS014_contentCd_C06-PRO_05"
      decimals="4"
      id="ixv-24787"
      unitRef="pure">0.0318</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065750_Indexid_RS014_contentCd_C06-PRO_AverageAnnualReturnSinceInception"
      decimals="4"
      id="ixv-24788"
      unitRef="pure">0.0838</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065750_Indexid_RS003_contentCd_C06-PRO_01"
      id="ixv-2333">
         Russell 3000&#xae; Index
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065750_Indexid_RS003_contentCd_C06-PRO_01"
      decimals="4"
      id="ixv-24789"
      unitRef="pure">0.1715</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065750_Indexid_RS003_contentCd_C06-PRO_05"
      decimals="4"
      id="ixv-24790"
      unitRef="pure">0.1315</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065750_Indexid_RS003_contentCd_C06-PRO_AverageAnnualReturnSinceInception"
      decimals="4"
      id="ixv-24791"
      unitRef="pure">0.1468</oef:AvgAnnlRtrPct>
    <oef:AnnualReturnInceptionDate contextRef="Pid_S000065750_Cid_C000212598" id="ixv-2374">2019-07-11</oef:AnnualReturnInceptionDate>
    <oef:RiskReturnHeading contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2466">
     
       
     Fund Summary 
       
     Fund: 
     Fidelity&#xae; Small Cap Value Index Fund 
    
   </oef:RiskReturnHeading>
    <oef:ObjectiveHeading contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2475">
     
       
     Investment Objective 
       
    
   </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2480">
     
       
     Fidelity&#xae; Small Cap Value Index Fund seeks to provide investment results that correspond to the total return of stocks of small-capitalization U.S. companies. 
       
    
   </oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2485">
     
       
     Fee Table 
       
    
   </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2491">
     
       
     The following table describes the fees and expenses that may be incurred when you buy, hold, and sell shares of the fund. You may pay other fees, such as brokerage commissions, which are not reflected in the tables and examples below. 
    
   </oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2502">
     
       
     Shareholder fees 
       
    
   </oef:ShareholderFeesCaption>
    <oef:ShareholderFeeOther
      contextRef="Pid_S000065751_contentCd_C06-PRO"
      decimals="0"
      id="ixv-24792"
      unitRef="usd">0</oef:ShareholderFeeOther>
    <oef:OperatingExpensesCaption contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2517">
     
       
     Annual Operating Expenses 
       
    
   </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="Pid_S000065751_Cid_C000212599"
      decimals="6"
      id="ixv-24793"
      unitRef="pure">0.0005</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Pid_S000065751_Cid_C000212599"
      decimals="6"
      id="ixv-24794"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Pid_S000065751_Cid_C000212599"
      decimals="6"
      id="ixv-24795"
      unitRef="pure">0.0000</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Pid_S000065751_Cid_C000212599"
      decimals="6"
      id="ixv-24796"
      unitRef="pure">0.0005</oef:ExpensesOverAssets>
    <oef:ExpenseExampleNarrativeTextBlock contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2564">
     
       
     This  
     example 
       
     helps compare the cost of investing in the fund with the cost of investing in other funds. 
       
     Let's say, hypothetically, that the annual return for shares of the fund is 5% and that the fees and the annual operating expenses for shares of the fund are exactly as described in the fee table. This example illustrates the effect of fees and expenses, but is not meant to suggest actual or expected fees and expenses or returns, all of which may vary. For every $10,000 you invested, here's how much you would pay in total expenses if you sell all of your shares at the end of each time period indicated: 
    
   </oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="Pid_S000065751_Cid_C000212599"
      decimals="0"
      id="ixv-24797"
      unitRef="usd">5</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="Pid_S000065751_Cid_C000212599"
      decimals="0"
      id="ixv-24798"
      unitRef="usd">16</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="Pid_S000065751_Cid_C000212599"
      decimals="0"
      id="ixv-24799"
      unitRef="usd">28</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="Pid_S000065751_Cid_C000212599"
      decimals="0"
      id="ixv-24800"
      unitRef="usd">64</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2621">
     
       
     Portfolio Turnover 
       
    
   </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2626">
     
       
     The fund pays transaction costs, such as commissions, when it buys and sells securities (or "turns over" its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when fund shares are held in a taxable account. These costs, which are not reflected in annual operating expenses or in the example, affect the fund's performance. During the most recent fiscal year, the fund's portfolio turnover rate was 
       
     
       
       41 
       
       
     % of the average value of its portfolio. 
       
    
   </oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="Pid_S000065751_contentCd_C06-PRO"
      decimals="4"
      id="ixv-24801"
      unitRef="pure">0.41</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2635">
     
       
     Principal Investment Strategies 
       
    
   </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2640">
     
       
      
       Normally investing at least 80% of assets in securities included in the Russell 2000&#xae; Value Index. 
     The Russell 2000 &#xae; Value Index is a market capitalization-weighted index designed to measure the performance of the small-cap value segment of the U.S. equity market. It includes those Russell 2000 &#xae; Index companies with lower price-to-book ratios and lower forecasted growth rates. 
      
       The Russell 2000 &#xae; Value Index applies a capping methodology. Index constituents are capped quarterly so that no more than 22.5% of the index weight may be allocated to a single constituent, and the sum of the weights of all constituents representing more than 4.5% of the index should not exceed 45% of the total index weight. 
        
      
       Derivative instruments that provide investment exposure to the investments above or exposure to one or more market risk factors associated with such investments are included in the fund's 80% policy, consistent with the fund's investment policies and limitations with respect to investments in derivatives. 
      
       
        Primarily using replication; however, the fund may or may not hold all of the securities in the index. 
      Lending securities to earn income for the fund. 
      
    
   </oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065751_contentCd_C06-PRO_RiskMember_StockMarketVolatilityMember"
      id="ixv-2678">
     
       
      
      Stock Market Volatility. 
      
     Stock markets are volatile and can decline significantly in response to adverse issuer, political, regulatory, market, or economic developments. Different parts of the market, including different market sectors, and different types of securities can react differently to these developments. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065751_contentCd_C06-PRO_RiskMember_IssuerSpecificChangesMember"
      id="ixv-2687">
     
       
      
      Issuer-Specific Changes. 
      
     The value of an individual security or particular type of security can be more volatile than, and can perform differently from, the market as a whole. 
     Changes in the financial condition of an issuer or counterparty (e.g., broker-dealer or other borrower in a securities lending transaction) can increase the risk of default by an issuer or counterparty, which can affect a security's or instrument's value or result in delays in recovering securities and/or capital from a counterparty. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065751_contentCd_C06-PRO_RiskMember_CorrelationToIndexMember"
      id="ixv-2698">
     
       
      
      Correlation to Index. 
      
     The performance of the fund and its underlying index may vary somewhat due to factors such as fees and expenses of the fund, transaction costs, sample selection, regulatory restrictions, and timing differences associated with additions to and deletions from the index. Errors in the construction or calculation of the index may occur from time to time and may not be identified and corrected for some period of time, which may have an adverse impact on the fund and its shareholders. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065751_contentCd_C06-PRO_RiskMember_PassiveManagementRiskMember"
      id="ixv-2707">
     
       
      
      Passive Management Risk. 
      
     The fund is managed with a passive investment strategy, attempting to track the performance of an unmanaged index of securities, regardless of the current or projected performance of the fund's index or of the actual securities included in the index. This differs from an actively managed fund, which typically seeks to outperform a benchmark index. As a result, the fund's performance could be lower than actively managed funds that may shift their portfolio assets to take advantage of market opportunities or lessen the impact of a market decline or a decline in the value of one or more issuers. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065751_contentCd_C06-PRO_RiskMember_ValueInvestingMember"
      id="ixv-2716">
     
       
      
      "Value" Investing. 
      
     "Value" stocks can perform differently from the market as a whole and other types of stocks and can continue to be undervalued by the market for long periods of time. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065751_contentCd_C06-PRO_RiskMember_SmallCapInvestingMember"
      id="ixv-2725">
     
       
      
      Small Cap Investing. 
      
     The value of securities of smaller, less well-known issuers can perform differently from the market as a whole and other types of stocks and can be more volatile than that of larger issuers. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065751_contentCd_C06-PRO_RiskMember_SecuritiesLendingRiskMember"
      id="ixv-2734">
     
       
      
      Securities Lending Risk. 
      
     Securities lending involves the risk that the borrower may fail to return the securities loaned in a timely manner or at all. If the borrower defaults on its obligation to return the securities loaned because of insolvency or other reasons, a fund could experience delays and costs in recovering the securities loaned or in gaining access to the collateral. 
      
       
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065751_contentCd_C06-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember"
      id="ixv-2744">
     
       
     An investment in the fund is not a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency 
       
     . 
       
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065751_contentCd_C06-PRO_RiskMember_RiskLoseMoneyMember"
      id="ixv-2752">
     
       
     &#160; 
       
     You could lose money by investing in the fund. 
       
    
   </oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2759">
     
       
     Performance 
       
    
   </oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2764">
     
       
     The following information is intended to help you understand the risks of investing in the fund. 
      
        
      The information illustrates the changes in the performance of the fund's shares from year to year and compares the performance of the fund's shares to the performance of a securities market index and an additional index over various periods of time. 
        
      
       
     The additional index has characteristics relevant to the fund's investment strategies. Index descriptions appear in the "Additional Index Information" section of the prospectus. 
       
      
        
      Past performance (before and after taxes) is not an indication of future performance. 
        
      
     Visit 
       
      
        
      www.fidelity.com  
      
       
     for more recent performance information. 
    
   </oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2769"> 
        
      The information illustrates the changes in the performance of the fund's shares from year to year and compares the performance of the fund's shares to the performance of a securities market index and an additional index over various periods of time. 
        
     </oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2776"> 
        
      Past performance (before and after taxes) is not an indication of future performance. 
        
     </oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2782"> 
        
      www.fidelity.com  
     </oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2787">
     
       
     Year-by-Year Returns  
    
   </oef:BarChartHeading>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065751_Cid_C000212599_2020"
      decimals="INF"
      id="ixv-24802"
      unitRef="pure">0.0448</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065751_Cid_C000212599_2021"
      decimals="INF"
      id="ixv-24803"
      unitRef="pure">0.2814</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065751_Cid_C000212599_2022"
      decimals="INF"
      id="ixv-24804"
      unitRef="pure">-0.1443</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065751_Cid_C000212599_2023"
      decimals="INF"
      id="ixv-24805"
      unitRef="pure">0.1473</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065751_Cid_C000212599_2024"
      decimals="INF"
      id="ixv-24806"
      unitRef="pure">0.0816</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065751_Cid_C000212599_2025"
      decimals="INF"
      id="ixv-24807"
      unitRef="pure">0.1270</oef:AnnlRtrPct>
    <oef:HighestQuarterlyReturnLabel contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2885">
          &#160;&#160;&#160;Highest Quarter Return
        </oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="Pid_S000065751_contentCd_C06-PRO"
      decimals="4"
      id="ixv-24808"
      unitRef="pure">0.3320</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2895">2020-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2900">
          &#160;&#160;&#160;Lowest Quarter Return
        </oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="Pid_S000065751_contentCd_C06-PRO"
      decimals="4"
      id="ixv-24809"
      unitRef="pure">-0.3572</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2911">2020-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:YearToDateReturnLabel contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2916">
          &#160;&#160;&#160;Year-to-Date Return
        </oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturn
      contextRef="Pid_S000065751_contentCd_C06-PRO"
      decimals="4"
      id="ixv-24810"
      unitRef="pure">0.2291</oef:BarChartYearToDateReturn>
    <oef:BarChartYearToDateReturnDate contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2926">2026-06-30</oef:BarChartYearToDateReturnDate>
    <oef:PerformanceTableHeading contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2931">
     
       
     Average Annual Returns 
       
    
   </oef:PerformanceTableHeading>
    <oef:PerformanceTableNarrativeTextBlock contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2936">
     
       
      
        
      After-tax returns are calculated using the historical highest individual federal marginal income tax rates, but do not reflect the impact of state or local taxes. 
        
      
       
     Actual after-tax returns may differ depending on your individual circumstances. 
       
      
        
      The after-tax returns shown are not relevant if you hold your shares in a retirement account or in another tax-deferred arrangement, such as an employee benefit plan (profit sharing, 401(k), or 403(b) plan). 
        
      
       
      
        
      Return After Taxes on Distributions and Sale of Fund Shares may be higher than other returns for the same period due to a tax benefit of realizing a capital loss upon the sale of fund shares. 
        
      
       
    
   </oef:PerformanceTableNarrativeTextBlock>
    <oef:PerformanceTableUsesHighestFederalRate contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2939"> 
        
      After-tax returns are calculated using the historical highest individual federal marginal income tax rates, but do not reflect the impact of state or local taxes. 
        
     </oef:PerformanceTableUsesHighestFederalRate>
    <oef:PerformanceTableNotRelevantToTaxDeferred contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2946"> 
        
      The after-tax returns shown are not relevant if you hold your shares in a retirement account or in another tax-deferred arrangement, such as an employee benefit plan (profit sharing, 401(k), or 403(b) plan). 
        
     </oef:PerformanceTableNotRelevantToTaxDeferred>
    <oef:PerformanceTableExplanationAfterTaxHigher contextRef="Pid_S000065751_contentCd_C06-PRO" id="ixv-2951"> 
        
      Return After Taxes on Distributions and Sale of Fund Shares may be higher than other returns for the same period due to a tax benefit of realizing a capital loss upon the sale of fund shares. 
        
     </oef:PerformanceTableExplanationAfterTaxHigher>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065751_Cid_C000212599_ReturnBeforeTaxes_01"
      id="ixv-2997">
         Return Before Taxes
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065751_Cid_C000212599_ReturnBeforeTaxes_01"
      decimals="4"
      id="ixv-24811"
      unitRef="pure">0.1270</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065751_Cid_C000212599_ReturnBeforeTaxes_05"
      decimals="4"
      id="ixv-24812"
      unitRef="pure">0.0893</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065751_Cid_C000212599_ReturnBeforeTaxes_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteC06-PROS000065751AAR_A_RBT_loc"
      unitRef="pure">0.0894</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065751_Cid_C000212599_AfterTaxesOnDistributions_01"
      id="ixv-3013">
         Return After Taxes on Distributions
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065751_Cid_C000212599_AfterTaxesOnDistributions_01"
      decimals="4"
      id="ixv-24814"
      unitRef="pure">0.1195</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065751_Cid_C000212599_AfterTaxesOnDistributions_05"
      decimals="4"
      id="ixv-24815"
      unitRef="pure">0.0772</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065751_Cid_C000212599_AfterTaxesOnDistributions_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteC06-PROS000065751AAR_A_ATD_loc"
      unitRef="pure">0.0791</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065751_Cid_C000212599_AfterTaxesOnDistributionsAndSales_01"
      id="ixv-3029">
         Return After Taxes on Distributions and Sale of Fund Shares
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065751_Cid_C000212599_AfterTaxesOnDistributionsAndSales_01"
      decimals="4"
      id="ixv-24817"
      unitRef="pure">0.0777</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065751_Cid_C000212599_AfterTaxesOnDistributionsAndSales_05"
      decimals="4"
      id="ixv-24818"
      unitRef="pure">0.0667</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065751_Cid_C000212599_AfterTaxesOnDistributionsAndSales_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteC06-PROS000065751AAR_A_ATDS_loc"
      unitRef="pure">0.0681</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065751_Indexid_RS015_contentCd_C06-PRO_01"
      id="ixv-3046">
         Russell 2000&#xae; Value Index
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065751_Indexid_RS015_contentCd_C06-PRO_01"
      decimals="4"
      id="ixv-24820"
      unitRef="pure">0.1259</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065751_Indexid_RS015_contentCd_C06-PRO_05"
      decimals="4"
      id="ixv-24821"
      unitRef="pure">0.0888</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065751_Indexid_RS015_contentCd_C06-PRO_AverageAnnualReturnSinceInception"
      decimals="4"
      id="ixv-24822"
      unitRef="pure">0.0894</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065751_Indexid_RS003_contentCd_C06-PRO_01"
      id="ixv-3071">
         Russell 3000&#xae; Index
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065751_Indexid_RS003_contentCd_C06-PRO_01"
      decimals="4"
      id="ixv-24823"
      unitRef="pure">0.1715</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065751_Indexid_RS003_contentCd_C06-PRO_05"
      decimals="4"
      id="ixv-24824"
      unitRef="pure">0.1315</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065751_Indexid_RS003_contentCd_C06-PRO_AverageAnnualReturnSinceInception"
      decimals="4"
      id="ixv-24825"
      unitRef="pure">0.1468</oef:AvgAnnlRtrPct>
    <oef:AnnualReturnInceptionDate contextRef="Pid_S000065751_Cid_C000212599" id="ixv-3112">2019-07-11</oef:AnnualReturnInceptionDate>
    <oef:RiskReturnHeading contextRef="Pid_S000090604_contentCd_SEB-PRO" id="ixv-7850">
     
       
     Fund Summary 
       
     Fund: 
     Fidelity&#xae; SAI Enhanced Municipal Income Fund 
    
   </oef:RiskReturnHeading>
    <oef:ObjectiveHeading contextRef="Pid_S000090604_contentCd_SEB-PRO" id="ixv-7859">
     
       
     Investment Objective 
       
    
   </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock contextRef="Pid_S000090604_contentCd_SEB-PRO" id="ixv-7864">
     
       
     Fidelity&#xae; SAI Enhanced Municipal Income Fund seeks to provide a high current yield exempt from federal income tax. 
       
    
   </oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading contextRef="Pid_S000090604_contentCd_SEB-PRO" id="ixv-7869">
     
       
     Fee Table 
       
    
   </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock contextRef="Pid_S000090604_contentCd_SEB-PRO" id="ixv-7875">
     
       
     The following table describes the fees and expenses that may be incurred when you buy, hold, and sell shares of the fund. 
    
   </oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption contextRef="Pid_S000090604_contentCd_SEB-PRO" id="ixv-7885">
     
       
     Shareholder fees 
       
    
   </oef:ShareholderFeesCaption>
    <oef:ShareholderFeeOther
      contextRef="Pid_S000090604_contentCd_SEB-PRO"
      decimals="0"
      id="ixv-24826"
      unitRef="usd">0</oef:ShareholderFeeOther>
    <oef:OperatingExpensesCaption contextRef="Pid_S000090604_contentCd_SEB-PRO" id="ixv-7900">
     
       
     Annual Operating Expenses 
       
    
   </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="Pid_S000090604_Cid_C000257876"
      decimals="6"
      id="ixv-24827"
      unitRef="pure">0.0020</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Pid_S000090604_Cid_C000257876"
      decimals="6"
      id="ixv-24828"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Pid_S000090604_Cid_C000257876"
      decimals="6"
      id="ixv-24829"
      unitRef="pure">0.0005</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Pid_S000090604_Cid_C000257876"
      decimals="6"
      id="ixv-24830"
      unitRef="pure">0.0025</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="Pid_S000090604_Cid_C000257876"
      decimals="6"
      id="footnoteS000090604SEB-PROAOE_AC000257876_FW"
      unitRef="pure">-0.0010</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="Pid_S000090604_Cid_C000257876"
      decimals="6"
      id="ixv-24832"
      unitRef="pure">0.0015</oef:NetExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination contextRef="Pid_S000090604_contentCd_SEB-PRO" id="ixv-7975">2027-10-31</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleNarrativeTextBlock contextRef="Pid_S000090604_contentCd_SEB-PRO" id="ixv-7984">
     
       
     This  
     example 
       
     helps compare the cost of investing in the fund with the cost of investing in other funds. 
       
     Let's say, hypothetically, that the annual return for shares of the fund is 5% and that the fees and the annual operating expenses for shares of the fund are exactly as described in the fee table. This example illustrates the effect of fees and expenses, but is not meant to suggest actual or expected fees and expenses or returns, all of which may vary. For every $10,000 you invested, here's how much you would pay in total expenses if you sell all of your shares at the end of each time period indicated: 
    
   </oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="Pid_S000090604_Cid_C000257876"
      decimals="0"
      id="ixv-24833"
      unitRef="usd">15</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="Pid_S000090604_Cid_C000257876"
      decimals="0"
      id="ixv-24834"
      unitRef="usd">67</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="Pid_S000090604_Cid_C000257876"
      decimals="0"
      id="ixv-24835"
      unitRef="usd">127</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="Pid_S000090604_Cid_C000257876"
      decimals="0"
      id="ixv-24836"
      unitRef="usd">305</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading contextRef="Pid_S000090604_contentCd_SEB-PRO" id="ixv-8042">
     
       
     Portfolio Turnover 
       
    
   </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock contextRef="Pid_S000090604_contentCd_SEB-PRO" id="ixv-8047">
     
       
     The fund pays transaction costs, such as commissions, when it buys and sells securities (or "turns over" its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when fund shares are held in a taxable account. These costs, which are not reflected in annual operating expenses or in the example, affect the fund's performance. During the most recent fiscal year, the fund's portfolio turnover rate was 
       
     
       
       23 
       
       
     % of the average value of its portfolio. 
       
    
   </oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="Pid_S000090604_contentCd_SEB-PRO"
      decimals="4"
      id="ixv-24837"
      unitRef="pure">0.23</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading contextRef="Pid_S000090604_contentCd_SEB-PRO" id="ixv-8056">
     
       
     Principal Investment Strategies 
       
    
   </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock contextRef="Pid_S000090604_contentCd_SEB-PRO" id="ixv-8061">
     
       
      
       
        Normally investing at least 80% of assets in municipal securities whose interest is exempt from federal income tax. The municipal securities in which the fund invests are normally investment-grade (those of medium and high quality). 
      
     Municipal debt securities are issued to raise money for a variety of public and private purposes, including general financing for state and local governments, financing for eligible non-profit organizations, or financing for a specific project or public facility. Municipal debt securities in which the fund invests include securities issued by U.S. territories and possessions, general obligation bonds of municipalities, local or state governments, project or revenue-specific bonds, or pre-refunded or escrowed bonds, municipal money market securities, and synthetic securities. Municipal securities usually pay a fixed, variable, or floating rate of interest, and must repay the amount borrowed, usually at the maturity of the security. 
     Investment grade securities in which the fund invests include securities or issuers rated at least BBB- or its equivalent by at least one nationally recognized statistical ratings organization (NRSRO), or, if unrated, determined by the Adviser to be of comparable quality. 
      
       Derivative instruments that provide investment exposure to the investments above or exposure to one or more market risk factors associated with such investments are included in the fund's 80% policy, consistent with the fund's investment policies and limitations with respect to investments in derivatives. 
      
      Using the Bloomberg Municipal Bond Index as a guide in structuring the fund and selecting its investments as it relates to credit quality distribution and risk characteristics. 
      Potentially investing more than 25% of total assets in municipal securities that finance similar projects. 
      Generally utilizing a research-driven approach identifying long-term drivers of municipal debt security returns that may include, but are not limited to, valuation, quality, momentum, and other factors. The research is systematically applied alongside a proprietary portfolio construction and risk management framework to select a broadly diversified group of debt securities that may have the potential to provide a higher total return than that of the Bloomberg Municipal Bond Index. 
      
    
   </oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000090604_contentCd_SEB-PRO_RiskMember_MunicipalMarketVolatilityMember"
      id="ixv-8085">
     
       
      
      Municipal Market Volatility. 
      
     The municipal market is volatile and can be significantly affected by adverse tax, legislative, or political changes and the financial condition of the issuers of municipal securities. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000090604_contentCd_SEB-PRO_RiskMember_InterestRateChangesMember"
      id="ixv-8094">
     
       
      
      Interest Rate Changes. 
      
     Interest rate increases can cause the price of a debt security to decrease. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000090604_contentCd_SEB-PRO_RiskMember_IssuerSpecificChangesMember"
      id="ixv-8103">
     
       
      
      Issuer-Specific Changes. 
      
     The value of an individual security or particular type of security can be more volatile than, and can perform differently from, the market as a whole. 
     A decline in the credit quality of an issuer or a provider of credit support (such as guarantees) or a maturity-shortening structure (such as demand and put features) for a security can cause the price of a security to decrease. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000090604_contentCd_SEB-PRO_RiskMember_QuantitativeInvestingMember"
      id="ixv-8114">
     
       
      
      Quantitative Investing. 
      
     Securities selected using quantitative analysis can perform differently from the market as a whole as a result of the factors used in the analysis, the weight placed on each factor, and changes in the factors' historical trends. 
      
       
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000090604_contentCd_SEB-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember"
      id="ixv-8124">
     
       
     An investment in the fund is not a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency 
       
     . 
       
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000090604_contentCd_SEB-PRO_RiskMember_RiskLoseMoneyMember"
      id="ixv-8132">
     
       
     &#160; 
       
     You could lose money by investing in the fund. 
       
    
   </oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading contextRef="Pid_S000090604_contentCd_SEB-PRO" id="ixv-8141">
     
       
     Performance 
       
    
   </oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock contextRef="Pid_S000090604_contentCd_SEB-PRO" id="ixv-8146">
     
       
      
       
      
        
      Performance history will be available for the fund after the fund has been in operation for one calendar year. 
        
      
    
   </oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceOneYearOrLess contextRef="Pid_S000090604_contentCd_SEB-PRO" id="ixv-8150"> 
        
      Performance history will be available for the fund after the fund has been in operation for one calendar year. 
        
     </oef:PerformanceOneYearOrLess>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#footnoteC06-PROS000065748AAR_A_RBT_loc"
          xlink:label="footnoteC06-PROS000065748AAR_A_RBT_loc"
          xlink:type="locator"/>
        <link:footnote id="footnoteC06-PROS000065748AAR_A" xlink:label="footnoteC06-PROS000065748AAR_A" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="padding:2px"><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:4.67pt; vertical-align:super">A</xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">From </xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">July 11, 2019</xhtml:span><xhtml:span> </xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">.</xhtml:span><xhtml:span> </xhtml:span></xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteC06-PROS000065748AAR_A_RBT_loc"
          xlink:to="footnoteC06-PROS000065748AAR_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteC06-PROS000065748AAR_A_ATD_loc"
          xlink:label="footnoteC06-PROS000065748AAR_A_ATD_loc"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteC06-PROS000065748AAR_A_ATD_loc"
          xlink:to="footnoteC06-PROS000065748AAR_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteC06-PROS000065748AAR_A_ATDS_loc"
          xlink:label="footnoteC06-PROS000065748AAR_A_ATDS_loc"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteC06-PROS000065748AAR_A_ATDS_loc"
          xlink:to="footnoteC06-PROS000065748AAR_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteC06-PROS000065749AAR_A_RBT_loc"
          xlink:label="footnoteC06-PROS000065749AAR_A_RBT_loc"
          xlink:type="locator"/>
        <link:footnote id="footnoteC06-PROS000065749AAR_A" xlink:label="footnoteC06-PROS000065749AAR_A" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="padding:2px"><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:4.67pt; vertical-align:super">A</xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">From </xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">July 11, 2019</xhtml:span><xhtml:span> </xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">.</xhtml:span><xhtml:span> </xhtml:span></xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteC06-PROS000065749AAR_A_RBT_loc"
          xlink:to="footnoteC06-PROS000065749AAR_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteC06-PROS000065749AAR_A_ATD_loc"
          xlink:label="footnoteC06-PROS000065749AAR_A_ATD_loc"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteC06-PROS000065749AAR_A_ATD_loc"
          xlink:to="footnoteC06-PROS000065749AAR_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteC06-PROS000065749AAR_A_ATDS_loc"
          xlink:label="footnoteC06-PROS000065749AAR_A_ATDS_loc"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteC06-PROS000065749AAR_A_ATDS_loc"
          xlink:to="footnoteC06-PROS000065749AAR_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteC06-PROS000065750AAR_A_RBT_loc"
          xlink:label="footnoteC06-PROS000065750AAR_A_RBT_loc"
          xlink:type="locator"/>
        <link:footnote id="footnoteC06-PROS000065750AAR_A" xlink:label="footnoteC06-PROS000065750AAR_A" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="padding:2px"><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:4.67pt; vertical-align:super">A</xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">From </xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">July 11, 2019</xhtml:span><xhtml:span> </xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">.</xhtml:span><xhtml:span> </xhtml:span></xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteC06-PROS000065750AAR_A_RBT_loc"
          xlink:to="footnoteC06-PROS000065750AAR_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteC06-PROS000065750AAR_A_ATD_loc"
          xlink:label="footnoteC06-PROS000065750AAR_A_ATD_loc"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteC06-PROS000065750AAR_A_ATD_loc"
          xlink:to="footnoteC06-PROS000065750AAR_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteC06-PROS000065750AAR_A_ATDS_loc"
          xlink:label="footnoteC06-PROS000065750AAR_A_ATDS_loc"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteC06-PROS000065750AAR_A_ATDS_loc"
          xlink:to="footnoteC06-PROS000065750AAR_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteC06-PROS000065751AAR_A_RBT_loc"
          xlink:label="footnoteC06-PROS000065751AAR_A_RBT_loc"
          xlink:type="locator"/>
        <link:footnote id="footnoteC06-PROS000065751AAR_A" xlink:label="footnoteC06-PROS000065751AAR_A" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="padding:2px"><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:4.67pt; vertical-align:super">A</xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">From </xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">July 11, 2019</xhtml:span><xhtml:span> </xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">.</xhtml:span><xhtml:span> </xhtml:span></xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteC06-PROS000065751AAR_A_RBT_loc"
          xlink:to="footnoteC06-PROS000065751AAR_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteC06-PROS000065751AAR_A_ATD_loc"
          xlink:label="footnoteC06-PROS000065751AAR_A_ATD_loc"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteC06-PROS000065751AAR_A_ATD_loc"
          xlink:to="footnoteC06-PROS000065751AAR_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteC06-PROS000065751AAR_A_ATDS_loc"
          xlink:label="footnoteC06-PROS000065751AAR_A_ATDS_loc"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteC06-PROS000065751AAR_A_ATDS_loc"
          xlink:to="footnoteC06-PROS000065751AAR_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteS000090604SEB-PROAOE_AC000257876_FW"
          xlink:label="footnoteS000090604SEB-PROAOE_AC000257876_FW"
          xlink:type="locator"/>
        <link:footnote id="footnoteS000090604SEB-PROAOE_A" xlink:label="footnoteS000090604SEB-PROAOE_A" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:div style="padding:2px"><xhtml:span> </xhtml:span><xhtml:span class="delClass" style="color:#ff0000; display:none;"> 
      </xhtml:span><xhtml:span
      class="redlineClass"
      style="font-family:Arial; font-size:4.5pt; vertical-align:3pt; ">A</xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">Fidelity Management &amp; Research Company LLC (FMR) has contractually agreed to reimburse the fund to the extent that total operating expenses (excluding interest, certain taxes, fees and expenses of the Independent Trustees, proxy and shareholder meeting expenses, extraordinary expenses, and acquired fund fees and expenses (including fees and expenses associated with a wholly owned subsidiary), if any, as well as non-operating expenses such as brokerage commissions and fees and expenses associated with the fund's securities lending program, if applicable), as a percentage of its average net assets, exceed 0.15% (the Expense Cap). If at any time during the current fiscal year expenses for the fund fall below the Expense Cap, FMR reserves the right to recoup through the end of the fiscal year any expenses that were reimbursed during the current fiscal year up to, but not in excess of, the Expense Cap. This arrangement will remain in effect through </xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">October 31, </xhtml:span><xhtml:span class="delClass" style="color:#ff0000; display:none;"> 
       </xhtml:span><xhtml:span
      class="redlineClass"
      style="font-family:Arial; font-size:8.5pt; font-style:italic; ">2027</xhtml:span><xhtml:span> </xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">. FMR may not terminate this arrangement before the expiration date without the approval of the Board of Trustees and may extend it in its discretion after that date.</xhtml:span><xhtml:span> </xhtml:span></xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteS000090604SEB-PROAOE_AC000257876_FW"
          xlink:to="footnoteS000090604SEB-PROAOE_A"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
