<?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/20260530"
  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-20260530.xsd" xlink:type="simple"/>
    <context id="Trust">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_contentCd_MAG-K6-PRO">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_Cid_C000212498">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212498Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_contentCd_MAG-K6-PRO_RiskMember_StockMarketVolatilityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:StockMarketVolatilityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_contentCd_MAG-K6-PRO_RiskMember_ForeignExposureMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:ForeignExposureMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_contentCd_MAG-K6-PRO_RiskMember_IssuerSpecificChangesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:IssuerSpecificChangesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_contentCd_MAG-K6-PRO_RiskMember_GrowthInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:GrowthInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_contentCd_MAG-K6-PRO_RiskMember_ValueInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:ValueInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_contentCd_MAG-K6-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_contentCd_MAG-K6-PRO_RiskMember_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_Cid_C000212498_2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212498Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_Cid_C000212498_2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212498Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_Cid_C000212498_2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212498Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_Cid_C000212498_2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212498Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_Cid_C000212498_2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212498Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_Cid_C000212498_2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212498Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_Cid_C000212498_ReturnBeforeTaxes_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212498Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_Cid_C000212498_ReturnBeforeTaxes_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212498Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_Cid_C000212498_ReturnBeforeTaxes_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000212498Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_Indexid_SP001_contentCd_MAG-K6-PRO_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_Indexid_SP001_contentCd_MAG-K6-PRO_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000065695_Indexid_SP001_contentCd_MAG-K6-PRO_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanK6Fund-PROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000065695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_MAG-PRO">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_MAG-PRO_RiskMember_StockMarketVolatilityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:StockMarketVolatilityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_MAG-PRO_RiskMember_ForeignExposureMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:ForeignExposureMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_MAG-PRO_RiskMember_IssuerSpecificChangesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:IssuerSpecificChangesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_MAG-PRO_RiskMember_GrowthInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:GrowthInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_MAG-PRO_RiskMember_ValueInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:ValueInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_MAG-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_MAG-PRO_RiskMember_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_ReturnBeforeTaxes_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_ReturnBeforeTaxes_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_ReturnBeforeTaxes_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_AfterTaxesOnDistributions_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_AfterTaxesOnDistributions_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_AfterTaxesOnDistributions_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_AfterTaxesOnDistributionsAndSales_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_AfterTaxesOnDistributionsAndSales_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000019441_AfterTaxesOnDistributionsAndSales_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000019441Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Indexid_SP001_contentCd_MAG-PRO_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Indexid_SP001_contentCd_MAG-PRO_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Indexid_SP001_contentCd_MAG-PRO_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-RetailPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_MAG-K-PRO">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000064273">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000064273Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_MAG-K-PRO_RiskMember_StockMarketVolatilityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:StockMarketVolatilityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_MAG-K-PRO_RiskMember_ForeignExposureMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:ForeignExposureMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_MAG-K-PRO_RiskMember_IssuerSpecificChangesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:IssuerSpecificChangesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_MAG-K-PRO_RiskMember_GrowthInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:GrowthInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_MAG-K-PRO_RiskMember_ValueInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:ValueInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_MAG-K-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_MAG-K-PRO_RiskMember_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000064273_2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000064273Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000064273_2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000064273Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000064273_2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000064273Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000064273_2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000064273Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000064273_2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000064273Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000064273_2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000064273Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000064273_2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000064273Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000064273_2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000064273Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000064273_2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000064273Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000064273_2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000064273Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000064273_ReturnBeforeTaxes_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000064273Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000064273_ReturnBeforeTaxes_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000064273Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000064273_ReturnBeforeTaxes_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000064273Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Indexid_SP001_contentCd_MAG-K-PRO_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Indexid_SP001_contentCd_MAG-K-PRO_05">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Indexid_SP001_contentCd_MAG-K-PRO_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-KPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_AMAG-PRO">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254566">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254566Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254567">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254567Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254568">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254568Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254565">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254565Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254564">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254564Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_AMAG-PRO_RiskMember_StockMarketVolatilityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:StockMarketVolatilityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_AMAG-PRO_RiskMember_ForeignExposureMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:ForeignExposureMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_AMAG-PRO_RiskMember_IssuerSpecificChangesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:IssuerSpecificChangesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_AMAG-PRO_RiskMember_GrowthInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:GrowthInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_AMAG-PRO_RiskMember_ValueInvestingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">fmr:ValueInvestingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_AMAG-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_contentCd_AMAG-PRO_RiskMember_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254566_2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254566Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254566_ReturnBeforeTaxes_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254566Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254566_ReturnBeforeTaxes_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254566Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254566_AfterTaxesOnDistributions_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254566Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254566_AfterTaxesOnDistributions_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254566Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254566_AfterTaxesOnDistributionsAndSales_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254566Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254566_AfterTaxesOnDistributionsAndSales_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254566Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">oef:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254567_ReturnBeforeTaxes_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254567Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254567_ReturnBeforeTaxes_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254567Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254568_ReturnBeforeTaxes_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254568Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254568_ReturnBeforeTaxes_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254568Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254565_ReturnBeforeTaxes_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254565Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254565_ReturnBeforeTaxes_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254565Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254564_ReturnBeforeTaxes_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254564Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Cid_C000254564_ReturnBeforeTaxes_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">fmr:C000254564Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Indexid_SP001_contentCd_AMAG-PRO_01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <context id="Pid_S000007112_Indexid_SP001_contentCd_AMAG-PRO_AverageAnnualReturnSinceInception">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000061397</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">fmr:FidelityMagellanFund-AMCIZPROMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">fmr:S000007112Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">fmr:IndexSP001Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-30</startDate>
            <endDate>2026-05-30</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <dei:DocumentType contextRef="Trust" id="ixv-31954">485BPOS</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Trust" id="ixv-31955">2026-05-30</dei:DocumentPeriodEndDate>
    <dei:AmendmentFlag contextRef="Trust" id="ixv-31956">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="Trust" id="ixv-31957">0000061397</dei:EntityCentralIndexKey>
    <dei:EntityInvCompanyType contextRef="Trust" id="ixv-31958">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName contextRef="Trust" id="ixv-31959">Fidelity Magellan Fund</dei:EntityRegistrantName>
    <oef:RiskReturnHeading
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-211">
     
       
     Fund Summary 
       
     Fund: 
     Fidelity&#xae; Magellan&#xae; K6 Fund 
    
   </oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-220">
     
       
     Investment Objective 
       
    
   </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-225">
     
       
     Fidelity&#xae; Magellan&#xae; K6 Fund seeks capital appreciation. 
       
    
   </oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-230">
     
       
     Fee Table 
       
    
   </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-236">
     
       
     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_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-247">
     
       
     Shareholder fees 
       
    
   </oef:ShareholderFeesCaption>
    <oef:ShareholderFeeOther
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      decimals="0"
      id="ixv-33069"
      unitRef="usd">0</oef:ShareholderFeeOther>
    <oef:OperatingExpensesCaption
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-262">
     
       
     Annual Operating Expenses 
       
    
   </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="Pid_S000065695_Cid_C000212498"
      decimals="6"
      id="ixv-33070"
      unitRef="pure">0.0045</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Pid_S000065695_Cid_C000212498"
      decimals="6"
      id="ixv-33071"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Pid_S000065695_Cid_C000212498"
      decimals="6"
      id="ixv-33072"
      unitRef="pure">0.0000</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Pid_S000065695_Cid_C000212498"
      decimals="6"
      id="ixv-33073"
      unitRef="pure">0.0045</oef:ExpensesOverAssets>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-309">
     
       
     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_S000065695_Cid_C000212498"
      decimals="0"
      id="ixv-33074"
      unitRef="usd">46</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="Pid_S000065695_Cid_C000212498"
      decimals="0"
      id="ixv-33075"
      unitRef="usd">144</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="Pid_S000065695_Cid_C000212498"
      decimals="0"
      id="ixv-33076"
      unitRef="usd">252</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="Pid_S000065695_Cid_C000212498"
      decimals="0"
      id="ixv-33077"
      unitRef="usd">567</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-366">
     
       
     Portfolio Turnover 
       
    
   </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-371">
     
       
     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 
       
     
       
       57 
       
       
     % of the average value of its portfolio. 
       
    
   </oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      decimals="4"
      id="ixv-33078"
      unitRef="pure">0.57</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-380">
     
       
     Principal Investment Strategies 
       
    
   </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-385">
     
       
      
       
        Normally investing primarily in common stocks. 
      Investing in domestic and foreign issuers. 
      Investing in either "growth" stocks or "value" stocks or both. 
      Using fundamental analysis of factors such as each issuer's financial condition and industry position, as well as market and economic conditions, to select investments. 
      
    
   </oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO_RiskMember_StockMarketVolatilityMember"
      id="ixv-400">
     
       
      
      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_S000065695_contentCd_MAG-K6-PRO_RiskMember_ForeignExposureMember"
      id="ixv-409">
     
       
      
      Foreign Exposure. 
      
     Foreign markets can be more volatile than the U.S. market due to increased risks of adverse issuer, political, regulatory, market, or economic developments and can perform differently from the U.S. market. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO_RiskMember_IssuerSpecificChangesMember"
      id="ixv-418">
     
       
      
      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. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO_RiskMember_GrowthInvestingMember"
      id="ixv-427">
     
       
      
      "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_S000065695_contentCd_MAG-K6-PRO_RiskMember_ValueInvestingMember"
      id="ixv-442">
     
       
      
      "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_S000065695_contentCd_MAG-K6-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember"
      id="ixv-452">
     
       
     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_S000065695_contentCd_MAG-K6-PRO_RiskMember_RiskLoseMoneyMember"
      id="ixv-460">
     
       
     &#160; 
       
     You could lose money by investing in the fund. 
       
    
   </oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-467">
     
       
     Performance 
       
    
   </oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-472">
     
       
     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 over various periods of time. 
        
      
       
     The index description appears in the "Additional Index Information" section of the prospectus. 
       
      
        
      Past performance is not an indication of future performance. 
        
      
     Visit 
       
      
        
      www.401k.com  
      
       
     and log in for more recent performance information. 
    
   </oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-477"> 
        
      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 over various periods of time. 
        
     </oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-484"> 
        
      Past performance is not an indication of future performance. 
        
     </oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-490"> 
        
      www.401k.com  
     </oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-495">
     
       
     Year-by-Year Returns  
    
   </oef:BarChartHeading>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065695_Cid_C000212498_2020"
      decimals="INF"
      id="ixv-33079"
      unitRef="pure">0.2914</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065695_Cid_C000212498_2021"
      decimals="INF"
      id="ixv-33080"
      unitRef="pure">0.2746</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065695_Cid_C000212498_2022"
      decimals="INF"
      id="ixv-33081"
      unitRef="pure">-0.2685</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065695_Cid_C000212498_2023"
      decimals="INF"
      id="ixv-33082"
      unitRef="pure">0.3131</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065695_Cid_C000212498_2024"
      decimals="INF"
      id="ixv-33083"
      unitRef="pure">0.2835</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000065695_Cid_C000212498_2025"
      decimals="INF"
      id="ixv-33084"
      unitRef="pure">0.1090</oef:AnnlRtrPct>
    <oef:HighestQuarterlyReturnLabel
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-593">
          &#160;&#160;&#160;Highest Quarter Return
        </oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      decimals="4"
      id="ixv-33085"
      unitRef="pure">0.2422</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-603">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-608">
          &#160;&#160;&#160;Lowest Quarter Return
        </oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      decimals="4"
      id="ixv-33086"
      unitRef="pure">-0.1678</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-619">2022-06-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:YearToDateReturnLabel
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-624">
          &#160;&#160;&#160;Year-to-Date Return
        </oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturn
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      decimals="4"
      id="ixv-33087"
      unitRef="pure">-0.0751</oef:BarChartYearToDateReturn>
    <oef:BarChartYearToDateReturnDate
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-635">2026-03-31</oef:BarChartYearToDateReturnDate>
    <oef:PerformanceTableHeading
      contextRef="Pid_S000065695_contentCd_MAG-K6-PRO"
      id="ixv-640">
     
       
     Average Annual Returns 
       
    
   </oef:PerformanceTableHeading>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065695_Cid_C000212498_ReturnBeforeTaxes_01"
      id="ixv-674">
         Fidelity&#xae; Magellan&#xae; K6 Fund
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065695_Cid_C000212498_ReturnBeforeTaxes_01"
      decimals="4"
      id="ixv-33088"
      unitRef="pure">0.1090</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065695_Cid_C000212498_ReturnBeforeTaxes_05"
      decimals="4"
      id="ixv-33089"
      unitRef="pure">0.1175</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065695_Cid_C000212498_ReturnBeforeTaxes_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteMAG-K6-PROS000065695AAR_A_RBT_locC000212498"
      unitRef="pure">0.1502</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000065695_Indexid_SP001_contentCd_MAG-K6-PRO_01"
      id="ixv-689">
         S&amp;P 500&#xae; Index
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065695_Indexid_SP001_contentCd_MAG-K6-PRO_01"
      decimals="4"
      id="ixv-33091"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065695_Indexid_SP001_contentCd_MAG-K6-PRO_05"
      decimals="4"
      id="ixv-33092"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000065695_Indexid_SP001_contentCd_MAG-K6-PRO_AverageAnnualReturnSinceInception"
      decimals="4"
      id="ixv-33093"
      unitRef="pure">0.1584</oef:AvgAnnlRtrPct>
    <oef:AnnualReturnInceptionDate contextRef="Pid_S000065695_Cid_C000212498" id="ixv-730">2019-06-13</oef:AnnualReturnInceptionDate>
    <oef:RiskReturnHeading contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2392">
     
       
     Fund Summary 
       
     Fund /Class: 
     Fidelity&#xae; Magellan&#xae; Fund 
     /Fidelity&#xae; Magellan&#xae; Fund  
    
   </oef:RiskReturnHeading>
    <oef:ObjectiveHeading contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2405">
     
       
     Investment Objective 
       
    
   </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2410">
     
       
     Fidelity&#xae; Magellan&#xae; Fund seeks capital appreciation. 
       
    
   </oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2415">
     
       
     Fee Table 
       
    
   </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2421">
     
       
     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 and other fees to financial intermediaries, which are not reflected in the tables and examples below. 
    
   </oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2432">
     
       
     Shareholder fees 
       
    
   </oef:ShareholderFeesCaption>
    <oef:ShareholderFeeOther
      contextRef="Pid_S000007112_contentCd_MAG-PRO"
      decimals="0"
      id="ixv-33094"
      unitRef="usd">0</oef:ShareholderFeeOther>
    <oef:OperatingExpensesCaption contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2447">
     
       
     Annual Operating Expenses 
       
    
   </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="Pid_S000007112_Cid_C000019441"
      decimals="6"
      id="footnoteS000007112MAG-PROAOE_AC000019441_MF"
      unitRef="pure">0.0064</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Pid_S000007112_Cid_C000019441"
      decimals="6"
      id="ixv-33096"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Pid_S000007112_Cid_C000019441"
      decimals="6"
      id="ixv-33097"
      unitRef="pure">0.0000</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Pid_S000007112_Cid_C000019441"
      decimals="6"
      id="ixv-33098"
      unitRef="pure">0.0064</oef:ExpensesOverAssets>
    <oef:ExpenseExampleNarrativeTextBlock contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2506">
     
       
     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_S000007112_Cid_C000019441"
      decimals="0"
      id="ixv-33099"
      unitRef="usd">65</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="Pid_S000007112_Cid_C000019441"
      decimals="0"
      id="ixv-33100"
      unitRef="usd">205</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="Pid_S000007112_Cid_C000019441"
      decimals="0"
      id="ixv-33101"
      unitRef="usd">357</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="Pid_S000007112_Cid_C000019441"
      decimals="0"
      id="ixv-33102"
      unitRef="usd">798</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2563">
     
       
     Portfolio Turnover 
       
    
   </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2568">
     
       
     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 
       
     
       
       54 
       
       
     % of the average value of its portfolio. 
       
    
   </oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="Pid_S000007112_contentCd_MAG-PRO"
      decimals="4"
      id="ixv-33103"
      unitRef="pure">0.54</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2577">
     
       
     Principal Investment Strategies 
       
    
   </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2582">
     
       
      
       
        Normally investing primarily in common stocks. 
      Investing in domestic and foreign issuers. 
      Investing in either "growth" stocks or "value" stocks or both. 
      Using fundamental analysis of factors such as each issuer's financial condition and industry position, as well as market and economic conditions, to select investments. 
      
    
   </oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007112_contentCd_MAG-PRO_RiskMember_StockMarketVolatilityMember"
      id="ixv-2597">
     
       
      
      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_S000007112_contentCd_MAG-PRO_RiskMember_ForeignExposureMember"
      id="ixv-2606">
     
       
      
      Foreign Exposure. 
      
     Foreign markets can be more volatile than the U.S. market due to increased risks of adverse issuer, political, regulatory, market, or economic developments and can perform differently from the U.S. market. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007112_contentCd_MAG-PRO_RiskMember_IssuerSpecificChangesMember"
      id="ixv-2615">
     
       
      
      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. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007112_contentCd_MAG-PRO_RiskMember_GrowthInvestingMember"
      id="ixv-2624">
     
       
      
      "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_S000007112_contentCd_MAG-PRO_RiskMember_ValueInvestingMember"
      id="ixv-2639">
     
       
      
      "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_S000007112_contentCd_MAG-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember"
      id="ixv-2649">
     
       
     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_S000007112_contentCd_MAG-PRO_RiskMember_RiskLoseMoneyMember"
      id="ixv-2657">
     
       
     &#160; 
       
     You could lose money by investing in the fund. 
       
    
   </oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2664">
     
       
     Performance 
       
    
   </oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2669">
     
       
     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 over various periods of time. 
        
      
       
     The index description appears 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_S000007112_contentCd_MAG-PRO" id="ixv-2674"> 
        
      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 over various periods of time. 
        
     </oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2681"> 
        
      Past performance (before and after taxes) is not an indication of future performance. 
        
     </oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2687"> 
        
      www.fidelity.com  
     </oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2692">
     
       
     Year-by-Year Returns  
    
   </oef:BarChartHeading>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_2016"
      decimals="INF"
      id="ixv-33104"
      unitRef="pure">0.0524</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_2017"
      decimals="INF"
      id="ixv-33105"
      unitRef="pure">0.2651</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_2018"
      decimals="INF"
      id="ixv-33106"
      unitRef="pure">-0.0560</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_2019"
      decimals="INF"
      id="ixv-33107"
      unitRef="pure">0.3116</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_2020"
      decimals="INF"
      id="ixv-33108"
      unitRef="pure">0.2834</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_2021"
      decimals="INF"
      id="ixv-33109"
      unitRef="pure">0.2698</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_2022"
      decimals="INF"
      id="ixv-33110"
      unitRef="pure">-0.2715</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_2023"
      decimals="INF"
      id="ixv-33111"
      unitRef="pure">0.3095</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_2024"
      decimals="INF"
      id="ixv-33112"
      unitRef="pure">0.2803</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_2025"
      decimals="INF"
      id="ixv-33113"
      unitRef="pure">0.1058</oef:AnnlRtrPct>
    <oef:HighestQuarterlyReturnLabel contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2803">
          &#160;&#160;&#160;Highest Quarter Return
        </oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="Pid_S000007112_contentCd_MAG-PRO"
      decimals="4"
      id="ixv-33114"
      unitRef="pure">0.2395</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2813">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2818">
          &#160;&#160;&#160;Lowest Quarter Return
        </oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="Pid_S000007112_contentCd_MAG-PRO"
      decimals="4"
      id="ixv-33115"
      unitRef="pure">-0.1703</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2829">2022-06-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:YearToDateReturnLabel contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2834">
          &#160;&#160;&#160;Year-to-Date Return
        </oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturn
      contextRef="Pid_S000007112_contentCd_MAG-PRO"
      decimals="4"
      id="ixv-33116"
      unitRef="pure">-0.0756</oef:BarChartYearToDateReturn>
    <oef:BarChartYearToDateReturnDate contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2845">2026-03-31</oef:BarChartYearToDateReturnDate>
    <oef:PerformanceTableHeading contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2850">
     
       
     Average Annual Returns 
       
    
   </oef:PerformanceTableHeading>
    <oef:PerformanceTableNarrativeTextBlock contextRef="Pid_S000007112_contentCd_MAG-PRO" id="ixv-2855">
     
       
      
        
      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_S000007112_contentCd_MAG-PRO" id="ixv-2858"> 
        
      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_S000007112_contentCd_MAG-PRO" id="ixv-2865"> 
        
      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_S000007112_contentCd_MAG-PRO" id="ixv-2870"> 
        
      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_S000007112_Cid_C000019441_ReturnBeforeTaxes_01"
      id="ixv-2915">
         Return Before Taxes
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_ReturnBeforeTaxes_01"
      decimals="4"
      id="ixv-33117"
      unitRef="pure">0.1058</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_ReturnBeforeTaxes_05"
      decimals="4"
      id="ixv-33118"
      unitRef="pure">0.1139</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_ReturnBeforeTaxes_10"
      decimals="4"
      id="ixv-33119"
      unitRef="pure">0.1375</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007112_Cid_C000019441_AfterTaxesOnDistributions_01"
      id="ixv-2930">
         Return After Taxes on Distributions
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_AfterTaxesOnDistributions_01"
      decimals="4"
      id="ixv-33120"
      unitRef="pure">0.0821</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_AfterTaxesOnDistributions_05"
      decimals="4"
      id="ixv-33121"
      unitRef="pure">0.0932</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_AfterTaxesOnDistributions_10"
      decimals="4"
      id="ixv-33122"
      unitRef="pure">0.1172</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007112_Cid_C000019441_AfterTaxesOnDistributionsAndSales_01"
      id="ixv-2945">
         Return After Taxes on Distributions and Sale of Fund Shares
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_AfterTaxesOnDistributionsAndSales_01"
      decimals="4"
      id="ixv-33123"
      unitRef="pure">0.0781</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_AfterTaxesOnDistributionsAndSales_05"
      decimals="4"
      id="ixv-33124"
      unitRef="pure">0.0863</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000019441_AfterTaxesOnDistributionsAndSales_10"
      decimals="4"
      id="ixv-33125"
      unitRef="pure">0.1084</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007112_Indexid_SP001_contentCd_MAG-PRO_01"
      id="ixv-2961">
         S&amp;P 500&#xae; Index
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Indexid_SP001_contentCd_MAG-PRO_01"
      decimals="4"
      id="ixv-33126"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Indexid_SP001_contentCd_MAG-PRO_05"
      decimals="4"
      id="ixv-33127"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Indexid_SP001_contentCd_MAG-PRO_10"
      decimals="4"
      id="ixv-33128"
      unitRef="pure">0.1482</oef:AvgAnnlRtrPct>
    <oef:RiskReturnHeading
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5035">
     
       
     Fund Summary 
       
     Fund /Class: 
     Fidelity&#xae; Magellan&#xae; Fund 
     /K &#160; 
    
   </oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5050">
     
       
     Investment Objective 
       
    
   </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5055">
     
       
     Fidelity&#xae; Magellan&#xae; Fund seeks capital appreciation. 
       
    
   </oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5060">
     
       
     Fee Table 
       
    
   </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5066">
     
       
     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 and other fees to financial intermediaries, which are not reflected in the tables and examples below. 
    
   </oef:ExpenseNarrativeTextBlock>
    <oef:ShareholderFeesCaption
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5077">
     
       
     Shareholder fees 
       
    
   </oef:ShareholderFeesCaption>
    <oef:ShareholderFeeOther
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      decimals="0"
      id="ixv-33129"
      unitRef="usd">0</oef:ShareholderFeeOther>
    <oef:OperatingExpensesCaption
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5092">
     
       
     Annual Operating Expenses 
       
    
   </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="Pid_S000007112_Cid_C000064273"
      decimals="6"
      id="footnoteS000007112MAG-K-PROAOE_AC000064273_MF"
      unitRef="pure">0.0057</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Pid_S000007112_Cid_C000064273"
      decimals="6"
      id="ixv-33131"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Pid_S000007112_Cid_C000064273"
      decimals="6"
      id="ixv-33132"
      unitRef="pure">0.0000</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Pid_S000007112_Cid_C000064273"
      decimals="6"
      id="ixv-33133"
      unitRef="pure">0.0057</oef:ExpensesOverAssets>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5151">
     
       
     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_S000007112_Cid_C000064273"
      decimals="0"
      id="ixv-33134"
      unitRef="usd">58</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="Pid_S000007112_Cid_C000064273"
      decimals="0"
      id="ixv-33135"
      unitRef="usd">183</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="Pid_S000007112_Cid_C000064273"
      decimals="0"
      id="ixv-33136"
      unitRef="usd">318</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="Pid_S000007112_Cid_C000064273"
      decimals="0"
      id="ixv-33137"
      unitRef="usd">714</oef:ExpenseExampleYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5208">
     
       
     Portfolio Turnover 
       
    
   </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5213">
     
       
     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 
       
     
       
       54 
       
       
     % of the average value of its portfolio. 
       
    
   </oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      decimals="4"
      id="ixv-33138"
      unitRef="pure">0.54</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5222">
     
       
     Principal Investment Strategies 
       
    
   </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5227">
     
       
      
       
        Normally investing primarily in common stocks. 
      Investing in domestic and foreign issuers. 
      Investing in either "growth" stocks or "value" stocks or both. 
      Using fundamental analysis of factors such as each issuer's financial condition and industry position, as well as market and economic conditions, to select investments. 
      
    
   </oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO_RiskMember_StockMarketVolatilityMember"
      id="ixv-5242">
     
       
      
      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_S000007112_contentCd_MAG-K-PRO_RiskMember_ForeignExposureMember"
      id="ixv-5251">
     
       
      
      Foreign Exposure. 
      
     Foreign markets can be more volatile than the U.S. market due to increased risks of adverse issuer, political, regulatory, market, or economic developments and can perform differently from the U.S. market. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO_RiskMember_IssuerSpecificChangesMember"
      id="ixv-5260">
     
       
      
      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. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO_RiskMember_GrowthInvestingMember"
      id="ixv-5269">
     
       
      
      "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_S000007112_contentCd_MAG-K-PRO_RiskMember_ValueInvestingMember"
      id="ixv-5284">
     
       
      
      "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_S000007112_contentCd_MAG-K-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember"
      id="ixv-5294">
     
       
     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_S000007112_contentCd_MAG-K-PRO_RiskMember_RiskLoseMoneyMember"
      id="ixv-5302">
     
       
     &#160; 
       
     You could lose money by investing in the fund. 
       
    
   </oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5309">
     
       
     Performance 
       
    
   </oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5314">
     
       
     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 over various periods of time. 
        
      
       
     The index description appears in the "Additional Index Information" section of the prospectus. 
       
      
        
      Past performance is not an indication of future performance. 
        
      
     Visit 
       
      
        
      www.401k.com  
      
       
     and log in for more recent performance information. 
    
   </oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5319"> 
        
      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 over various periods of time. 
        
     </oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5326"> 
        
      Past performance is not an indication of future performance. 
        
     </oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5332"> 
        
      www.401k.com  
     </oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5337">
     
       
     Year-by-Year Returns  
    
   </oef:BarChartHeading>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000064273_2016"
      decimals="INF"
      id="ixv-33139"
      unitRef="pure">0.0534</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000064273_2017"
      decimals="INF"
      id="ixv-33140"
      unitRef="pure">0.2663</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000064273_2018"
      decimals="INF"
      id="ixv-33141"
      unitRef="pure">-0.0558</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000064273_2019"
      decimals="INF"
      id="ixv-33142"
      unitRef="pure">0.3131</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000064273_2020"
      decimals="INF"
      id="ixv-33143"
      unitRef="pure">0.2849</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000064273_2021"
      decimals="INF"
      id="ixv-33144"
      unitRef="pure">0.2698</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000064273_2022"
      decimals="INF"
      id="ixv-33145"
      unitRef="pure">-0.2708</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000064273_2023"
      decimals="INF"
      id="ixv-33146"
      unitRef="pure">0.3105</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000064273_2024"
      decimals="INF"
      id="ixv-33147"
      unitRef="pure">0.2813</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000064273_2025"
      decimals="INF"
      id="ixv-33148"
      unitRef="pure">0.1066</oef:AnnlRtrPct>
    <oef:HighestQuarterlyReturnLabel
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5448">
          &#160;&#160;&#160;Highest Quarter Return
        </oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      decimals="4"
      id="ixv-33149"
      unitRef="pure">0.2412</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5458">2020-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5463">
          &#160;&#160;&#160;Lowest Quarter Return
        </oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      decimals="4"
      id="ixv-33150"
      unitRef="pure">-0.1697</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5474">2022-06-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:YearToDateReturnLabel
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5479">
          &#160;&#160;&#160;Year-to-Date Return
        </oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturn
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      decimals="4"
      id="ixv-33151"
      unitRef="pure">-0.0756</oef:BarChartYearToDateReturn>
    <oef:BarChartYearToDateReturnDate
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5490">2026-03-31</oef:BarChartYearToDateReturnDate>
    <oef:PerformanceTableHeading
      contextRef="Pid_S000007112_contentCd_MAG-K-PRO"
      id="ixv-5495">
     
       
     Average Annual Returns 
       
    
   </oef:PerformanceTableHeading>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007112_Cid_C000064273_ReturnBeforeTaxes_01"
      id="ixv-5528">
         Class K
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000064273_ReturnBeforeTaxes_01"
      decimals="4"
      id="ixv-33152"
      unitRef="pure">0.1066</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000064273_ReturnBeforeTaxes_05"
      decimals="4"
      id="ixv-33153"
      unitRef="pure">0.1146</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000064273_ReturnBeforeTaxes_10"
      decimals="4"
      id="ixv-33154"
      unitRef="pure">0.1384</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007112_Indexid_SP001_contentCd_MAG-K-PRO_01"
      id="ixv-5542">
         S&amp;P 500&#xae; Index
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Indexid_SP001_contentCd_MAG-K-PRO_01"
      decimals="4"
      id="ixv-33155"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Indexid_SP001_contentCd_MAG-K-PRO_05"
      decimals="4"
      id="ixv-33156"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Indexid_SP001_contentCd_MAG-K-PRO_10"
      decimals="4"
      id="ixv-33157"
      unitRef="pure">0.1482</oef:AvgAnnlRtrPct>
    <oef:RiskReturnHeading
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-7406">
     
       
     Fund Summary 
       
     Fund /Class: 
     Fidelity&#xae; Magellan&#xae; Fund 
     /Fidelity Advisor&#xae; Magellan&#xae; Fund A, M, C, I, Z &#160; 
    
   </oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-7421">
     
       
     Investment Objective 
       
    
   </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-7426">
     
       
     Fidelity&#xae; Magellan&#xae; Fund seeks capital appreciation. 
       
    
   </oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-7431">
     
       
     Fee Table 
       
    
   </oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-7437">
     
       
     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 and other fees to financial intermediaries, which are not reflected in the tables and examples below. 
      
        
      You may qualify for sales charge discounts if you and your family invest, or agree to invest in the future, at least $ 
        
       
         
       50,000 
         
       
        
      in the fund or certain other Fidelity 
        
      &#xae; 
        
      funds. More information about these and other discounts is available from your investment professional and in the "Fund Distribution" section beginning on page 31 
        
      of the prospectus 
        
      
       
     and in 
       
     the sales charge 
       
     waiver appendix to the prospectus. 
    
   </oef:ExpenseNarrativeTextBlock>
    <oef:ExpenseBreakpointDiscounts
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-7443"> 
        
      You may qualify for sales charge discounts if you and your family invest, or agree to invest in the future, at least $ 
        
       
         
       50,000 
         
       
        
      in the fund or certain other Fidelity 
        
      &#xae; 
        
      funds. More information about these and other discounts is available from your investment professional and in the "Fund Distribution" section beginning on page 31 
        
      of the prospectus 
        
     </oef:ExpenseBreakpointDiscounts>
    <oef:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      decimals="0"
      id="ixv-33158"
      unitRef="usd">50000</oef:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <oef:ShareholderFeesCaption
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-7464">
     
       
     Shareholder fees 
       
    
   </oef:ShareholderFeesCaption>
    <oef:MaximumCumulativeSalesChargeOverOfferingPrice
      contextRef="Pid_S000007112_Cid_C000254566"
      decimals="4"
      id="ixv-33159"
      unitRef="pure">0.0575</oef:MaximumCumulativeSalesChargeOverOfferingPrice>
    <oef:MaximumCumulativeSalesChargeOverOfferingPrice
      contextRef="Pid_S000007112_Cid_C000254567"
      decimals="4"
      id="ixv-33160"
      unitRef="pure">0.0350</oef:MaximumCumulativeSalesChargeOverOfferingPrice>
    <oef:MaximumCumulativeSalesChargeOverOfferingPrice
      contextRef="Pid_S000007112_Cid_C000254568"
      decimals="4"
      id="ixv-33161"
      unitRef="pure">0</oef:MaximumCumulativeSalesChargeOverOfferingPrice>
    <oef:MaximumCumulativeSalesChargeOverOfferingPrice
      contextRef="Pid_S000007112_Cid_C000254565"
      decimals="4"
      id="ixv-33162"
      unitRef="pure">0</oef:MaximumCumulativeSalesChargeOverOfferingPrice>
    <oef:MaximumCumulativeSalesChargeOverOfferingPrice
      contextRef="Pid_S000007112_Cid_C000254564"
      decimals="4"
      id="ixv-33163"
      unitRef="pure">0</oef:MaximumCumulativeSalesChargeOverOfferingPrice>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="Pid_S000007112_Cid_C000254566"
      decimals="4"
      id="footnoteAMAG-PROS000007112SHF_AC000254566"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="Pid_S000007112_Cid_C000254567"
      decimals="4"
      id="footnoteAMAG-PROS000007112SHF_AC000254567"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="Pid_S000007112_Cid_C000254568"
      decimals="4"
      id="footnoteAMAG-PROS000007112SHF_BC000254568"
      unitRef="pure">0.0100</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="Pid_S000007112_Cid_C000254565"
      decimals="4"
      id="ixv-33167"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:MaximumDeferredSalesChargeOverOther
      contextRef="Pid_S000007112_Cid_C000254564"
      decimals="4"
      id="ixv-33168"
      unitRef="pure">0</oef:MaximumDeferredSalesChargeOverOther>
    <oef:ExpensesDeferredChargesTextBlock
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-7570"> 
        
      Class A and Class M purchases of $1 million or more will not be subject to a front-end sales charge. Such Class A and Class M purchases may be subject, upon redemption, to a contingent deferred sales charge (CDSC) of 1.00% and 0.25%, respectively. 
        
     </oef:ExpensesDeferredChargesTextBlock>
    <oef:ExpensesDeferredChargesTextBlock contextRef="Pid_S000007112_Cid_C000254568" id="ixv-7580"> 
        
      On Class C shares redeemed less than one year after purchase. 
        
     </oef:ExpensesDeferredChargesTextBlock>
    <oef:OperatingExpensesCaption
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-7585">
     
       
     Annual Operating Expenses 
       
    
   </oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="Pid_S000007112_Cid_C000254566"
      decimals="6"
      id="footnoteS000007112AMAG-PROAOE_AC000254566_MF"
      unitRef="pure">0.0068</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="Pid_S000007112_Cid_C000254567"
      decimals="6"
      id="footnoteS000007112AMAG-PROAOE_AC000254567_MF"
      unitRef="pure">0.0068</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="Pid_S000007112_Cid_C000254568"
      decimals="6"
      id="footnoteS000007112AMAG-PROAOE_AC000254568_MF"
      unitRef="pure">0.0068</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="Pid_S000007112_Cid_C000254565"
      decimals="6"
      id="footnoteS000007112AMAG-PROAOE_AC000254565_MF"
      unitRef="pure">0.0068</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="Pid_S000007112_Cid_C000254564"
      decimals="6"
      id="footnoteS000007112AMAG-PROAOE_AC000254564_MF"
      unitRef="pure">0.0057</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Pid_S000007112_Cid_C000254566"
      decimals="6"
      id="ixv-33174"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Pid_S000007112_Cid_C000254567"
      decimals="6"
      id="ixv-33175"
      unitRef="pure">0.0050</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Pid_S000007112_Cid_C000254568"
      decimals="6"
      id="ixv-33176"
      unitRef="pure">0.0100</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Pid_S000007112_Cid_C000254565"
      decimals="6"
      id="ixv-33177"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="Pid_S000007112_Cid_C000254564"
      decimals="6"
      id="ixv-33178"
      unitRef="pure">0</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Pid_S000007112_Cid_C000254566"
      decimals="6"
      id="ixv-33179"
      unitRef="pure">0.0000</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Pid_S000007112_Cid_C000254567"
      decimals="6"
      id="ixv-33180"
      unitRef="pure">0.0000</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Pid_S000007112_Cid_C000254568"
      decimals="6"
      id="ixv-33181"
      unitRef="pure">0.0000</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Pid_S000007112_Cid_C000254565"
      decimals="6"
      id="ixv-33182"
      unitRef="pure">0.0000</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="Pid_S000007112_Cid_C000254564"
      decimals="6"
      id="ixv-33183"
      unitRef="pure">0.0000</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Pid_S000007112_Cid_C000254566"
      decimals="6"
      id="ixv-33184"
      unitRef="pure">0.0093</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Pid_S000007112_Cid_C000254567"
      decimals="6"
      id="ixv-33185"
      unitRef="pure">0.0118</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Pid_S000007112_Cid_C000254568"
      decimals="6"
      id="ixv-33186"
      unitRef="pure">0.0168</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Pid_S000007112_Cid_C000254565"
      decimals="6"
      id="ixv-33187"
      unitRef="pure">0.0068</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="Pid_S000007112_Cid_C000254564"
      decimals="6"
      id="ixv-33188"
      unitRef="pure">0.0057</oef:ExpensesOverAssets>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-7757">
     
       
     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 and if you hold your shares: 
    
   </oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="Pid_S000007112_Cid_C000254566"
      decimals="0"
      id="ixv-33189"
      unitRef="usd">664</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="Pid_S000007112_Cid_C000254566"
      decimals="0"
      id="ixv-33190"
      unitRef="usd">664</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleYear01
      contextRef="Pid_S000007112_Cid_C000254567"
      decimals="0"
      id="ixv-33191"
      unitRef="usd">466</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="Pid_S000007112_Cid_C000254567"
      decimals="0"
      id="ixv-33192"
      unitRef="usd">466</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleYear01
      contextRef="Pid_S000007112_Cid_C000254568"
      decimals="0"
      id="ixv-33193"
      unitRef="usd">271</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="Pid_S000007112_Cid_C000254568"
      decimals="0"
      id="ixv-33194"
      unitRef="usd">171</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleYear01
      contextRef="Pid_S000007112_Cid_C000254565"
      decimals="0"
      id="ixv-33195"
      unitRef="usd">69</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="Pid_S000007112_Cid_C000254565"
      decimals="0"
      id="ixv-33196"
      unitRef="usd">69</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleYear01
      contextRef="Pid_S000007112_Cid_C000254564"
      decimals="0"
      id="ixv-33197"
      unitRef="usd">58</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleNoRedemptionYear01
      contextRef="Pid_S000007112_Cid_C000254564"
      decimals="0"
      id="ixv-33198"
      unitRef="usd">58</oef:ExpenseExampleNoRedemptionYear01>
    <oef:ExpenseExampleYear03
      contextRef="Pid_S000007112_Cid_C000254566"
      decimals="0"
      id="ixv-33199"
      unitRef="usd">854</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="Pid_S000007112_Cid_C000254566"
      decimals="0"
      id="ixv-33200"
      unitRef="usd">854</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleYear03
      contextRef="Pid_S000007112_Cid_C000254567"
      decimals="0"
      id="ixv-33201"
      unitRef="usd">712</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="Pid_S000007112_Cid_C000254567"
      decimals="0"
      id="ixv-33202"
      unitRef="usd">712</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleYear03
      contextRef="Pid_S000007112_Cid_C000254568"
      decimals="0"
      id="ixv-33203"
      unitRef="usd">530</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="Pid_S000007112_Cid_C000254568"
      decimals="0"
      id="ixv-33204"
      unitRef="usd">530</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleYear03
      contextRef="Pid_S000007112_Cid_C000254565"
      decimals="0"
      id="ixv-33205"
      unitRef="usd">218</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="Pid_S000007112_Cid_C000254565"
      decimals="0"
      id="ixv-33206"
      unitRef="usd">218</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleYear03
      contextRef="Pid_S000007112_Cid_C000254564"
      decimals="0"
      id="ixv-33207"
      unitRef="usd">183</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleNoRedemptionYear03
      contextRef="Pid_S000007112_Cid_C000254564"
      decimals="0"
      id="ixv-33208"
      unitRef="usd">183</oef:ExpenseExampleNoRedemptionYear03>
    <oef:ExpenseExampleYear05
      contextRef="Pid_S000007112_Cid_C000254566"
      decimals="0"
      id="ixv-33209"
      unitRef="usd">1060</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="Pid_S000007112_Cid_C000254566"
      decimals="0"
      id="ixv-33210"
      unitRef="usd">1060</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleYear05
      contextRef="Pid_S000007112_Cid_C000254567"
      decimals="0"
      id="ixv-33211"
      unitRef="usd">976</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="Pid_S000007112_Cid_C000254567"
      decimals="0"
      id="ixv-33212"
      unitRef="usd">976</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleYear05
      contextRef="Pid_S000007112_Cid_C000254568"
      decimals="0"
      id="ixv-33213"
      unitRef="usd">913</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="Pid_S000007112_Cid_C000254568"
      decimals="0"
      id="ixv-33214"
      unitRef="usd">913</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleYear05
      contextRef="Pid_S000007112_Cid_C000254565"
      decimals="0"
      id="ixv-33215"
      unitRef="usd">379</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="Pid_S000007112_Cid_C000254565"
      decimals="0"
      id="ixv-33216"
      unitRef="usd">379</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleYear05
      contextRef="Pid_S000007112_Cid_C000254564"
      decimals="0"
      id="ixv-33217"
      unitRef="usd">318</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleNoRedemptionYear05
      contextRef="Pid_S000007112_Cid_C000254564"
      decimals="0"
      id="ixv-33218"
      unitRef="usd">318</oef:ExpenseExampleNoRedemptionYear05>
    <oef:ExpenseExampleYear10
      contextRef="Pid_S000007112_Cid_C000254566"
      decimals="0"
      id="ixv-33219"
      unitRef="usd">1652</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="Pid_S000007112_Cid_C000254566"
      decimals="0"
      id="ixv-33220"
      unitRef="usd">1652</oef:ExpenseExampleNoRedemptionYear10>
    <oef:ExpenseExampleYear10
      contextRef="Pid_S000007112_Cid_C000254567"
      decimals="0"
      id="ixv-33221"
      unitRef="usd">1732</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="Pid_S000007112_Cid_C000254567"
      decimals="0"
      id="ixv-33222"
      unitRef="usd">1732</oef:ExpenseExampleNoRedemptionYear10>
    <oef:ExpenseExampleYear10
      contextRef="Pid_S000007112_Cid_C000254568"
      decimals="0"
      id="ixv-33223"
      unitRef="usd">1788</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="Pid_S000007112_Cid_C000254568"
      decimals="0"
      id="ixv-33224"
      unitRef="usd">1788</oef:ExpenseExampleNoRedemptionYear10>
    <oef:ExpenseExampleYear10
      contextRef="Pid_S000007112_Cid_C000254565"
      decimals="0"
      id="ixv-33225"
      unitRef="usd">847</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="Pid_S000007112_Cid_C000254565"
      decimals="0"
      id="ixv-33226"
      unitRef="usd">847</oef:ExpenseExampleNoRedemptionYear10>
    <oef:ExpenseExampleYear10
      contextRef="Pid_S000007112_Cid_C000254564"
      decimals="0"
      id="ixv-33227"
      unitRef="usd">714</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleNoRedemptionYear10
      contextRef="Pid_S000007112_Cid_C000254564"
      decimals="0"
      id="ixv-33228"
      unitRef="usd">714</oef:ExpenseExampleNoRedemptionYear10>
    <oef:PortfolioTurnoverHeading
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8066">
     
       
     Portfolio Turnover 
       
    
   </oef:PortfolioTurnoverHeading>
    <oef:PortfolioTurnoverTextBlock
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8071">
     
       
     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 
       
     
       
       54 
       
       
     % of the average value of its portfolio. 
       
    
   </oef:PortfolioTurnoverTextBlock>
    <oef:PortfolioTurnoverRate
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      decimals="4"
      id="ixv-33229"
      unitRef="pure">0.54</oef:PortfolioTurnoverRate>
    <oef:StrategyHeading
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8080">
     
       
     Principal Investment Strategies 
       
    
   </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8085">
     
       
      
       
        Normally investing primarily in common stocks. 
      Investing in domestic and foreign issuers. 
      Investing in either "growth" stocks or "value" stocks or both. 
      Using fundamental analysis of factors such as each issuer's financial condition and industry position, as well as market and economic conditions, to select investments. 
      
    
   </oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007112_contentCd_AMAG-PRO_RiskMember_StockMarketVolatilityMember"
      id="ixv-8100">
     
       
      
      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_S000007112_contentCd_AMAG-PRO_RiskMember_ForeignExposureMember"
      id="ixv-8109">
     
       
      
      Foreign Exposure. 
      
     Foreign markets can be more volatile than the U.S. market due to increased risks of adverse issuer, political, regulatory, market, or economic developments and can perform differently from the U.S. market. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007112_contentCd_AMAG-PRO_RiskMember_IssuerSpecificChangesMember"
      id="ixv-8118">
     
       
      
      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. 
    
   </oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Pid_S000007112_contentCd_AMAG-PRO_RiskMember_GrowthInvestingMember"
      id="ixv-8127">
     
       
      
      "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_S000007112_contentCd_AMAG-PRO_RiskMember_ValueInvestingMember"
      id="ixv-8142">
     
       
      
      "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_S000007112_contentCd_AMAG-PRO_RiskMember_RiskNotInsuredDepositoryInstitutionMember"
      id="ixv-8151">
     
       
     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_S000007112_contentCd_AMAG-PRO_RiskMember_RiskLoseMoneyMember"
      id="ixv-8159">
     
       
     &#160; 
       
     You could lose money by investing in the fund. 
       
    
   </oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8166">
     
       
     Performance 
       
    
   </oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8171">
     
       
     The following information is intended to help you understand the risks of investing in the fund. 
      
        
      The information illustrates the  
       
        
      performance of  
       
        
      the fund's 
       shares  
       
        
      over 
       the  
       
        
      past 
       year  
       
        
      and compares the performance of  
       
        
      the fund's shares 
       to the performance of a securities market index over various periods of time.  
      
       
     The index description appears in the "Additional Index Information" section of the prospectus.  
      
        
      Past performance (before and after taxes) is not an indication of future performance. 
        
      
     Visit 
       
      
        
       
        
      institutional 
      .fidelity.com  
      
       
     for more recent performance information 
      
       
     . 
    
   </oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8176"> 
        
      The information illustrates the  
       
        
      performance of  
       
        
      the fund's 
       shares  
       
        
      over 
       the  
       
        
      past 
       year  
       
        
      and compares the performance of  
       
        
      the fund's shares 
       to the performance of a securities market index over various periods of time.  
     </oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8197"> 
        
      Past performance (before and after taxes) is not an indication of future performance. 
        
     </oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8203"> 
        
       
        
      institutional 
      .fidelity.com  
     </oef:PerformanceAvailabilityWebSiteAddress>
    <oef:BarChartHeading
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8213">
     
       
     Year-by-Year Returns  
    
   </oef:BarChartHeading>
    <oef:BarChartNarrativeTextBlock
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8217">
     
       
      
        
      The returns in the bar chart do not reflect any applicable sales charges; if sales charges were reflected, returns would be lower than those shown 
      . 
        
      
       
    
   </oef:BarChartNarrativeTextBlock>
    <oef:BarChartDoesNotReflectSalesLoads
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8220"> 
        
      The returns in the bar chart do not reflect any applicable sales charges; if sales charges were reflected, returns would be lower than those shown 
      . 
        
     </oef:BarChartDoesNotReflectSalesLoads>
    <oef:AnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000254566_2025"
      decimals="INF"
      id="ixv-33230"
      unitRef="pure">0.1027</oef:AnnlRtrPct>
    <oef:HighestQuarterlyReturnLabel
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8304">
          &#160;&#160;&#160;Highest Quarter Return
        </oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      decimals="4"
      id="ixv-33231"
      unitRef="pure">0.1768</oef:BarChartHighestQuarterlyReturn>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8314">2025-06-30</oef:BarChartHighestQuarterlyReturnDate>
    <oef:LowestQuarterlyReturnLabel
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8319">
          &#160;&#160;&#160;Lowest Quarter Return
        </oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      decimals="4"
      id="ixv-33232"
      unitRef="pure">-0.0595</oef:BarChartLowestQuarterlyReturn>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8330">2025-03-31</oef:BarChartLowestQuarterlyReturnDate>
    <oef:YearToDateReturnLabel
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8335">
          &#160;&#160;&#160;Year-to-Date Return
        </oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturn
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      decimals="4"
      id="ixv-33233"
      unitRef="pure">-0.0768</oef:BarChartYearToDateReturn>
    <oef:BarChartYearToDateReturnDate
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8346">2026-03-31</oef:BarChartYearToDateReturnDate>
    <oef:PerformanceTableHeading
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8352">
     
       
     Average Annual Returns 
       
    
   </oef:PerformanceTableHeading>
    <oef:PerformanceTableNarrativeTextBlock
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8357">
     
       
      
        
      Unlike the returns in the bar chart, the returns in the table reflect the maximum applicable sales charges. 
        
      
       
      
       
      
        
      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. 
        
      
       
      
        
      After-tax returns for Class A are shown in the table below and after-tax returns for other classes will vary. 
        
      
       
     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:PerformanceTableDoesReflectSalesLoads
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8360"> 
        
      Unlike the returns in the bar chart, the returns in the table reflect the maximum applicable sales charges. 
        
     </oef:PerformanceTableDoesReflectSalesLoads>
    <oef:PerformanceTableUsesHighestFederalRate
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8366"> 
        
      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:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8371"> 
        
      After-tax returns for Class A are shown in the table below and after-tax returns for other classes will vary. 
        
     </oef:PerformanceTableOneClassOfAfterTaxShown>
    <oef:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Pid_S000007112_contentCd_AMAG-PRO"
      id="ixv-8378"> 
        
      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_S000007112_contentCd_AMAG-PRO"
      id="ixv-8383"> 
        
      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_S000007112_Cid_C000254566_ReturnBeforeTaxes_01"
      id="ixv-8409">
         Return Before Taxes 
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000254566_ReturnBeforeTaxes_01"
      decimals="4"
      id="ixv-33234"
      unitRef="pure">0.0393</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000254566_ReturnBeforeTaxes_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteAMAG-PROS000007112AAR_A_RBT_loc"
      unitRef="pure">0.0349</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007112_Cid_C000254566_AfterTaxesOnDistributions_01"
      id="ixv-8424">
         Return After Taxes on Distributions
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000254566_AfterTaxesOnDistributions_01"
      decimals="4"
      id="ixv-33236"
      unitRef="pure">0.0169</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000254566_AfterTaxesOnDistributions_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteAMAG-PROS000007112AAR_A_ATD_loc"
      unitRef="pure">0.0103</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007112_Cid_C000254566_AfterTaxesOnDistributionsAndSales_01"
      id="ixv-8437">
          Return After Taxes on Distributions and Sale of Fund Shares
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000254566_AfterTaxesOnDistributionsAndSales_01"
      decimals="4"
      id="ixv-33238"
      unitRef="pure">0.0379</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000254566_AfterTaxesOnDistributionsAndSales_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteAMAG-PROS000007112AAR_A_ATDS_loc"
      unitRef="pure">0.0258</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007112_Cid_C000254567_ReturnBeforeTaxes_01"
      id="ixv-8450">
         Return Before Taxes 
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000254567_ReturnBeforeTaxes_01"
      decimals="4"
      id="ixv-33240"
      unitRef="pure">0.0613</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000254567_ReturnBeforeTaxes_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteAMAG-PROS000007112AAR_B_RBT_loc"
      unitRef="pure">0.0524</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007112_Cid_C000254568_ReturnBeforeTaxes_01"
      id="ixv-8463">
         Return Before Taxes 
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000254568_ReturnBeforeTaxes_01"
      decimals="4"
      id="ixv-33242"
      unitRef="pure">0.0842</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000254568_ReturnBeforeTaxes_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteAMAG-PROS000007112AAR_C_RBT_loc"
      unitRef="pure">0.0778</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007112_Cid_C000254565_ReturnBeforeTaxes_01"
      id="ixv-8476">
         Return Before Taxes 
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000254565_ReturnBeforeTaxes_01"
      decimals="4"
      id="ixv-33244"
      unitRef="pure">0.1054</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000254565_ReturnBeforeTaxes_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteAMAG-PROS000007112AAR_D_RBT_loc"
      unitRef="pure">0.0887</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007112_Cid_C000254564_ReturnBeforeTaxes_01"
      id="ixv-8489">
         Return Before Taxes 
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000254564_ReturnBeforeTaxes_01"
      decimals="4"
      id="ixv-33246"
      unitRef="pure">0.1069</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Cid_C000254564_ReturnBeforeTaxes_AverageAnnualReturnSinceInception"
      decimals="4"
      id="footnoteAMAG-PROS000007112AAR_E_RBT_loc"
      unitRef="pure">0.0901</oef:AvgAnnlRtrPct>
    <oef:AverageAnnualReturnLabel
      contextRef="Pid_S000007112_Indexid_SP001_contentCd_AMAG-PRO_01"
      id="ixv-8501">
         S&amp;P 500&#xae; Index
        </oef:AverageAnnualReturnLabel>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Indexid_SP001_contentCd_AMAG-PRO_01"
      decimals="4"
      id="ixv-33248"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="Pid_S000007112_Indexid_SP001_contentCd_AMAG-PRO_AverageAnnualReturnSinceInception"
      decimals="4"
      id="ixv-33249"
      unitRef="pure">0.1670</oef:AvgAnnlRtrPct>
    <oef:AnnualReturnInceptionDate contextRef="Pid_S000007112_Cid_C000254566" id="ixv-8534">2024-10-08</oef:AnnualReturnInceptionDate>
    <oef:AnnualReturnInceptionDate contextRef="Pid_S000007112_Cid_C000254567" id="ixv-8547">2024-10-08</oef:AnnualReturnInceptionDate>
    <oef:AnnualReturnInceptionDate contextRef="Pid_S000007112_Cid_C000254568" id="ixv-8560">2024-10-08</oef:AnnualReturnInceptionDate>
    <oef:AnnualReturnInceptionDate contextRef="Pid_S000007112_Cid_C000254565" id="ixv-8573">2024-10-08</oef:AnnualReturnInceptionDate>
    <oef:AnnualReturnInceptionDate contextRef="Pid_S000007112_Cid_C000254564" id="ixv-8586">2024-10-08</oef:AnnualReturnInceptionDate>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#footnoteMAG-K6-PROS000065695AAR_A_RBT_locC000212498"
          xlink:label="footnoteMAG-K6-PROS000065695AAR_A_RBT_locC000212498"
          xlink:type="locator"/>
        <link:footnote id="footnoteMAG-K6-PROS000065695AAR_A" xlink:label="footnoteMAG-K6-PROS000065695AAR_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">June 13, 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="footnoteMAG-K6-PROS000065695AAR_A_RBT_locC000212498"
          xlink:to="footnoteMAG-K6-PROS000065695AAR_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteS000007112MAG-PROAOE_AC000019441_MF"
          xlink:label="footnoteS000007112MAG-PROAOE_AC000019441_MF"
          xlink:type="locator"/>
        <link:footnote id="footnoteS000007112MAG-PROAOE_A" xlink:label="footnoteS000007112MAG-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 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">The management fee comprises a basic fee, which may vary by class, that is adjusted up or down by</xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">a maximum of 0.20%</xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">based on the performance of the fund or a designated class of the fund relative to that of the S&amp;P 500&#xae; Index. Please see "Fund Services - Fund Management - Advisory Fee(s)" for additional information.</xhtml:span><xhtml:span> </xhtml:span></xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteS000007112MAG-PROAOE_AC000019441_MF"
          xlink:to="footnoteS000007112MAG-PROAOE_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteS000007112MAG-K-PROAOE_AC000064273_MF"
          xlink:label="footnoteS000007112MAG-K-PROAOE_AC000064273_MF"
          xlink:type="locator"/>
        <link:footnote id="footnoteS000007112MAG-K-PROAOE_A" xlink:label="footnoteS000007112MAG-K-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 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">The management fee comprises a basic fee, which may vary by class, that is adjusted up or down by</xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">a maximum of 0.20%</xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">based on the performance of the fund or a designated class of the fund relative to that of the S&amp;P 500&#xae; Index. Please see "Fund Services - Fund Management - Advisory Fee(s)" for additional information.</xhtml:span><xhtml:span> </xhtml:span></xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteS000007112MAG-K-PROAOE_AC000064273_MF"
          xlink:to="footnoteS000007112MAG-K-PROAOE_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteAMAG-PROS000007112SHF_AC000254566"
          xlink:label="footnoteAMAG-PROS000007112SHF_AC000254566"
          xlink:type="locator"/>
        <link:footnote id="footnoteAMAG-PROS000007112SHF_A" xlink:label="footnoteAMAG-PROS000007112SHF_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:7pt">A</xhtml:span><xhtml:span> </xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">Class A and Class M purchases of $1 million or more will not be subject to a front-end sales charge. Such Class A and Class M purchases may be subject, upon redemption, to a contingent deferred sales charge (CDSC) of 1.00% and 0.25%, respectively.</xhtml:span><xhtml:span> </xhtml:span><xhtml:span> </xhtml:span></xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteAMAG-PROS000007112SHF_AC000254566"
          xlink:to="footnoteAMAG-PROS000007112SHF_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteAMAG-PROS000007112SHF_AC000254567"
          xlink:label="footnoteAMAG-PROS000007112SHF_AC000254567"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteAMAG-PROS000007112SHF_AC000254567"
          xlink:to="footnoteAMAG-PROS000007112SHF_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteAMAG-PROS000007112SHF_BC000254568"
          xlink:label="footnoteAMAG-PROS000007112SHF_BC000254568"
          xlink:type="locator"/>
        <link:footnote id="footnoteAMAG-PROS000007112SHF_B" xlink:label="footnoteAMAG-PROS000007112SHF_B" 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:7pt">B</xhtml:span><xhtml:span> </xhtml:span><xhtml:span> </xhtml:span><xhtml:span style="font-family:Arial; font-size:8.5pt; font-style:italic">On Class C shares redeemed less than one year after purchase.</xhtml:span><xhtml:span> </xhtml:span><xhtml:span> </xhtml:span></xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteAMAG-PROS000007112SHF_BC000254568"
          xlink:to="footnoteAMAG-PROS000007112SHF_B"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteS000007112AMAG-PROAOE_AC000254566_MF"
          xlink:label="footnoteS000007112AMAG-PROAOE_AC000254566_MF"
          xlink:type="locator"/>
        <link:footnote id="footnoteS000007112AMAG-PROAOE_A" xlink:label="footnoteS000007112AMAG-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 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">The management fee comprises a basic fee, which may vary by class, that is adjusted up or down by a maximum of 0.20% based on the performance of the fund or a designated class of the fund relative to that of the S&amp;P 500&#xae; Index. Please see "Fund Services - Fund Management - Advisory Fee(s)" for additional information.</xhtml:span><xhtml:span> </xhtml:span></xhtml:div></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteS000007112AMAG-PROAOE_AC000254566_MF"
          xlink:to="footnoteS000007112AMAG-PROAOE_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteS000007112AMAG-PROAOE_AC000254567_MF"
          xlink:label="footnoteS000007112AMAG-PROAOE_AC000254567_MF"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteS000007112AMAG-PROAOE_AC000254567_MF"
          xlink:to="footnoteS000007112AMAG-PROAOE_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteS000007112AMAG-PROAOE_AC000254568_MF"
          xlink:label="footnoteS000007112AMAG-PROAOE_AC000254568_MF"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteS000007112AMAG-PROAOE_AC000254568_MF"
          xlink:to="footnoteS000007112AMAG-PROAOE_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteS000007112AMAG-PROAOE_AC000254565_MF"
          xlink:label="footnoteS000007112AMAG-PROAOE_AC000254565_MF"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteS000007112AMAG-PROAOE_AC000254565_MF"
          xlink:to="footnoteS000007112AMAG-PROAOE_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteS000007112AMAG-PROAOE_AC000254564_MF"
          xlink:label="footnoteS000007112AMAG-PROAOE_AC000254564_MF"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteS000007112AMAG-PROAOE_AC000254564_MF"
          xlink:to="footnoteS000007112AMAG-PROAOE_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteAMAG-PROS000007112AAR_A_RBT_loc"
          xlink:label="footnoteAMAG-PROS000007112AAR_A_RBT_loc"
          xlink:type="locator"/>
        <link:footnote id="footnoteAMAG-PROS000007112AAR_A" xlink:label="footnoteAMAG-PROS000007112AAR_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="redlineClass"
      style="font-family:Arial; font-size:4.5pt; vertical-align:3pt; ">A</xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      style="font-family:Arial; font-size:8.5pt; font-style:italic; ">From </xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      style="font-family:Arial; font-size:8.5pt; font-style:italic; ">October 8, 2024</xhtml:span><xhtml:span> </xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      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="footnoteAMAG-PROS000007112AAR_A_RBT_loc"
          xlink:to="footnoteAMAG-PROS000007112AAR_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteAMAG-PROS000007112AAR_A_ATD_loc"
          xlink:label="footnoteAMAG-PROS000007112AAR_A_ATD_loc"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteAMAG-PROS000007112AAR_A_ATD_loc"
          xlink:to="footnoteAMAG-PROS000007112AAR_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteAMAG-PROS000007112AAR_A_ATDS_loc"
          xlink:label="footnoteAMAG-PROS000007112AAR_A_ATDS_loc"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="footnoteAMAG-PROS000007112AAR_A_ATDS_loc"
          xlink:to="footnoteAMAG-PROS000007112AAR_A"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteAMAG-PROS000007112AAR_B_RBT_loc"
          xlink:label="footnoteAMAG-PROS000007112AAR_B_RBT_loc"
          xlink:type="locator"/>
        <link:footnote id="footnoteAMAG-PROS000007112AAR_B" xlink:label="footnoteAMAG-PROS000007112AAR_B" 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="redlineClass"
      style="font-family:Arial; font-size:4.5pt; vertical-align:3pt; ">B</xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      style="font-family:Arial; font-size:8.5pt; font-style:italic; ">From </xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      style="font-family:Arial; font-size:8.5pt; font-style:italic; ">October 8, 2024</xhtml:span><xhtml:span> </xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      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="footnoteAMAG-PROS000007112AAR_B_RBT_loc"
          xlink:to="footnoteAMAG-PROS000007112AAR_B"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteAMAG-PROS000007112AAR_C_RBT_loc"
          xlink:label="footnoteAMAG-PROS000007112AAR_C_RBT_loc"
          xlink:type="locator"/>
        <link:footnote id="footnoteAMAG-PROS000007112AAR_C" xlink:label="footnoteAMAG-PROS000007112AAR_C" 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="redlineClass"
      style="font-family:Arial; font-size:4.5pt; vertical-align:3pt; ">C</xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      style="font-family:Arial; font-size:8.5pt; font-style:italic; ">From </xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      style="font-family:Arial; font-size:8.5pt; font-style:italic; ">October 8, 2024</xhtml:span><xhtml:span> </xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      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="footnoteAMAG-PROS000007112AAR_C_RBT_loc"
          xlink:to="footnoteAMAG-PROS000007112AAR_C"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteAMAG-PROS000007112AAR_D_RBT_loc"
          xlink:label="footnoteAMAG-PROS000007112AAR_D_RBT_loc"
          xlink:type="locator"/>
        <link:footnote id="footnoteAMAG-PROS000007112AAR_D" xlink:label="footnoteAMAG-PROS000007112AAR_D" 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="redlineClass"
      style="font-family:Arial; font-size:4.5pt; vertical-align:3pt; ">D</xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      style="font-family:Arial; font-size:8.5pt; font-style:italic; ">From </xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      style="font-family:Arial; font-size:8.5pt; font-style:italic; ">October 8, 2024</xhtml:span><xhtml:span> </xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      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="footnoteAMAG-PROS000007112AAR_D_RBT_loc"
          xlink:to="footnoteAMAG-PROS000007112AAR_D"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#footnoteAMAG-PROS000007112AAR_E_RBT_loc"
          xlink:label="footnoteAMAG-PROS000007112AAR_E_RBT_loc"
          xlink:type="locator"/>
        <link:footnote id="footnoteAMAG-PROS000007112AAR_E" xlink:label="footnoteAMAG-PROS000007112AAR_E" 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="redlineClass"
      style="font-family:Arial; font-size:4.5pt; vertical-align:3pt; ">E</xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      style="font-family:Arial; font-size:8.5pt; font-style:italic; ">From </xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      style="font-family:Arial; font-size:8.5pt; font-style:italic; ">October 8, 2024</xhtml:span><xhtml:span> </xhtml:span><xhtml:span> </xhtml:span><xhtml:span
      class="redlineClass"
      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="footnoteAMAG-PROS000007112AAR_E_RBT_loc"
          xlink:to="footnoteAMAG-PROS000007112AAR_E"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
