<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cik0001065698="http://www.MFS.com/20241231"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:rr="http://xbrl.sec.gov/rr/2023"
  xmlns:utr="http://www.xbrl.org/2009/utr"
  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="c485bpos-20250429.xsd" xlink:type="simple"/>
    <context id="Context_20241231_20241231">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023374Member_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000068446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000068447Member_S000023374Member_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000068447Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023374Member_PrincipalRisks_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023374Member_RiskLoseMoneyMember_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023374Member_RiskNotInsuredMember_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023374Member_InvestmentSelectionRisk_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023374Member_EquityMarketRiskCompanyRisk_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:EquityMarketRiskCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023374Member_ValueCompanyRisk_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:ValueCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023374Member_SmallCapRisk_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:SmallCapRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023374Member_ForeignRisk_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023374Member_REITsRisk_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:REITsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023374Member_FocusRisk_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023374Member_LiquidityRisk_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023374Member_LargeShareholderRisk_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_Russell3000Index1_S000023374Member_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:Russell3000Index1Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_Russell2000ValueIndex2_S000023374Member_S000023374Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023374Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:Russell2000ValueIndex2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000068440Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000068441Member_S000023371Member_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000068441Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_PrincipalRisks_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_RiskLoseMoneyMember_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_RiskNotInsuredMember_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_AllocationRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:AllocationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_UnderlyingFundsRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:UnderlyingFundsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_InvestmentSelectionRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_DebtMarketRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_InterestRateRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_CreditRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_PrepaymentExtensionRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_Inflation-AdjustedDebtInstrumentsRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:Inflation-AdjustedDebtInstrumentsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_EquityMarketRiskCompanyRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:EquityMarketRiskCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_GrowthCompanyRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:GrowthCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_ValueCompanyRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:ValueCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_IntrinsicValueStrategyRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:IntrinsicValueStrategyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_FocusRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_ForeignRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_EmergingMarketsRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:EmergingMarketsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_CurrencyRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:CurrencyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_RealEstate-RelatedInvestmentRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:RealEstate-RelatedInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_When-IssuedDelayedDeliveryandForwardCommitmentTransactionRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:When-IssuedDelayedDeliveryandForwardCommitmentTransactionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_DerivativesRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_LeveragingRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_CounterpartyandThirdPartyRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_LiquidityRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023371Member_LargeShareholderRisk_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_BloombergUSAggregateBondIndex3_S000023371Member_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:BloombergUSAggregateBondIndex3Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_MFSConservativeAllocationPortfolioBlendedIndex4_S000023371Member_S000023371Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023371Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:MFSConservativeAllocationPortfolioBlendedIndex4Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000068444Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000068445Member_S000023373Member_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000068445Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_PrincipalRisks_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_RiskLoseMoneyMember_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_RiskNotInsuredMember_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_AllocationRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:AllocationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_UnderlyingFundsRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:UnderlyingFundsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_InvestmentSelectionRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_EquityMarketRiskCompanyRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:EquityMarketRiskCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_GrowthCompanyRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:GrowthCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_ValueCompanyRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:ValueCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_IntrinsicValueStrategyRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:IntrinsicValueStrategyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_DebtMarketRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_InterestRateRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_CreditRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_PrepaymentExtensionRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_Inflation-AdjustedDebtInstrumentsRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:Inflation-AdjustedDebtInstrumentsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_FocusRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_ForeignRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_EmergingMarketsRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:EmergingMarketsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_CurrencyRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:CurrencyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_RealEstate-RelatedInvestmentRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:RealEstate-RelatedInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_When-IssuedDelayedDeliveryandForwardCommitmentTransactionRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:When-IssuedDelayedDeliveryandForwardCommitmentTransactionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_DerivativesRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_LeveragingRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_CounterpartyandThirdPartyRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_LiquidityRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023373Member_LargeShareholderRisk_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_StandardPoors500StockIndex5_S000023373Member_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:StandardPoors500StockIndex5Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_MFSGrowthAllocationPortfolioBlendedIndex6_S000023373Member_S000023373Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023373Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:MFSGrowthAllocationPortfolioBlendedIndex6Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000068442Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000068443Member_S000023372Member_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000068443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_PrincipalRisks_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_RiskLoseMoneyMember_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_RiskNotInsuredMember_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_AllocationRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:AllocationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_UnderlyingFundsRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:UnderlyingFundsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_InvestmentSelectionRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_EquityMarketRiskCompanyRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:EquityMarketRiskCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_GrowthCompanyRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:GrowthCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_ValueCompanyRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:ValueCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_IntrinsicValueStrategyRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:IntrinsicValueStrategyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_DebtMarketRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_InterestRateRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_CreditRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_PrepaymentExtensionRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_Inflation-AdjustedDebtInstrumentsRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:Inflation-AdjustedDebtInstrumentsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_FocusRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_ForeignRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_EmergingMarketsRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:EmergingMarketsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_CurrencyRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:CurrencyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_RealEstate-RelatedInvestmentRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:RealEstate-RelatedInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_When-IssuedDelayedDeliveryandForwardCommitmentTransactionRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:When-IssuedDelayedDeliveryandForwardCommitmentTransactionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_DerivativesRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_LeveragingRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_CounterpartyandThirdPartyRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_LiquidityRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023372Member_LargeShareholderRisk_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_StandardPoors500StockIndex7_S000023372Member_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:StandardPoors500StockIndex7Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_MFSModerateAllocationPortfolioBlendedIndex8_S000023372Member_S000023372Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023372Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:MFSModerateAllocationPortfolioBlendedIndex8Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018843Member_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000052149Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000052150Member_S000018843Member_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000052150Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018843Member_PrincipalRisks_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018843Member_RiskLoseMoneyMember_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018843Member_RiskNotInsuredMember_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018843Member_InvestmentSelectionRisk_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018843Member_EquityMarketRiskCompanyRisk_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:EquityMarketRiskCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018843Member_ValueCompanyRisk_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:ValueCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018843Member_MidCapRisk_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:MidCapRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018843Member_ForeignRisk_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018843Member_REITsRisk_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:REITsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018843Member_FocusRisk_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018843Member_LiquidityRisk_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018843Member_LargeShareholderRisk_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_Russell3000Index9_S000018843Member_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:Russell3000Index9Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_RussellMidcapValueIndex10_S000018843Member_S000018843Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018843Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:RussellMidcapValueIndex10Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000068454Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000068455Member_S000023378Member_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000068455Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_PrincipalRisks_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_RiskLoseMoneyMember_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_RiskNotInsuredMember_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_InvestmentSelectionRisk_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_DebtMarketRisk_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_InterestRateRisk_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_CreditRisk_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_Inflation-AdjustedDebtInstrumentsRisk_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:Inflation-AdjustedDebtInstrumentsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_ForeignRisk_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_CurrencyRisk_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:CurrencyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_FocusRisk_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_RiskNondiversifiedStatusMember_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNondiversifiedStatusMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_DerivativesRisk_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_LeveragingRisk_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_CounterpartyandThirdPartyRisk_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_LiquidityRisk_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000023378Member_LargeShareholderRisk_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_BloombergGlobalAggregateIndex11_S000023378Member_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:BloombergGlobalAggregateIndex11Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_BloombergWorldGovernmentInflation-LinkedBondIndex12_S000023378Member_S000023378Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000023378Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:BloombergWorldGovernmentInflation-LinkedBondIndex12Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018844Member_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000052151Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000052152Member_S000018844Member_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000052152Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018844Member_PrincipalRisks_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018844Member_RiskLoseMoneyMember_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018844Member_RiskNotInsuredMember_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018844Member_InvestmentSelectionRisk_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018844Member_DebtMarketRisk_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018844Member_InterestRateRisk_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018844Member_CreditRisk_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018844Member_ForeignRisk_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018844Member_FocusRisk_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018844Member_PrepaymentExtensionRisk_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018844Member_DerivativesRisk_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018844Member_LeveragingRisk_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018844Member_CounterpartyandThirdPartyRisk_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018844Member_LiquidityRisk_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000018844Member_LargeShareholderRisk_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_BloombergUSAggregateBondIndex13_S000018844Member_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:BloombergUSAggregateBondIndex13Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_Bloomberg1-3YearUSGovernmentCreditBondIndex14_S000018844Member_S000018844Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000018844Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:Bloomberg1-3YearUSGovernmentCreditBondIndex14Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008071Member_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000021905Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000021906Member_S000008071Member_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000021906Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008071Member_PrincipalRisks_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008071Member_RiskLoseMoneyMember_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008071Member_RiskNotInsuredMember_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008071Member_InvestmentSelectionRisk_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008071Member_EquityMarketRiskCompanyRisk_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:EquityMarketRiskCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008071Member_SmallCapRisk_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:SmallCapRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008071Member_InvestmentStrategyRisk_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:InvestmentStrategyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008071Member_ForeignRisk_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008071Member_REITsRisk_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:REITsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008071Member_FocusRisk_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008071Member_LiquidityRisk_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008071Member_LargeShareholderRisk_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_Russell3000Index15_S000008071Member_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:Russell3000Index15Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_Russell2000Index16_S000008071Member_S000008071Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008071Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:Russell2000Index16Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008069Member_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000021901Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_C000021902Member_S000008069Member_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0001065698:C000021902Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008069Member_PrincipalRisks_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008069Member_RiskLoseMoneyMember_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008069Member_RiskNotInsuredMember_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008069Member_RealEstate-RelatedInvestmentRisk_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:RealEstate-RelatedInvestmentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008069Member_InvestmentSelectionRisk_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008069Member_EquityMarketRiskCompanyRisk_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:EquityMarketRiskCompanyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008069Member_SmalltoMediumCapRisk_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:SmalltoMediumCapRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008069Member_ForeignRisk_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:ForeignRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008069Member_EmergingMarketsRisk_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:EmergingMarketsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008069Member_CurrencyRisk_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:CurrencyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008069Member_FocusRisk_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008069Member_LiquidityRisk_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_S000008069Member_LargeShareholderRisk_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0001065698:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_MSCIAllCountryWorldIndexnetdiv17_S000008069Member_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:MSCIAllCountryWorldIndexnetdiv17Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="Context_20241231_20241231_FTSEEPRANareitDevelopedRealEstateIndexnetdiv18_S000008069Member_S000008069Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001065698</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0001065698:S000008069Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0001065698:FTSEEPRANareitDevelopedRealEstateIndexnetdiv18Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Years">
        <measure>utr:Y</measure>
    </unit>
    <dei:EntityInvCompanyType contextRef="Context_20241231_20241231" id="ixv-40335">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName contextRef="Context_20241231_20241231" id="ixv-40336">MFS&#xae;  VARIABLE INSURANCE TRUST III</dei:EntityRegistrantName>
    <dei:DocumentEffectiveDate contextRef="Context_20241231_20241231" id="ixv-40337">2025-04-30</dei:DocumentEffectiveDate>
    <rr:ProspectusDate contextRef="Context_20241231_20241231" id="ixv-40338">2025-04-30</rr:ProspectusDate>
    <rr:RiskReturnHeading
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40339">MFS&#xae;
New Discovery Value Portfolio  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      id="ixv-40340">N/A</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000068447Member_S000023374Member_S000023374Summary1Member"
      id="ixv-40341">N/A</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40343">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-204">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund&#x2019;s
investment objective is to seek capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40344">Fees and Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-207">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This
table describes the fees and expenses that you may pay when you hold shares of the fund.  If the fees
and expenses imposed by the insurance company that issued your variable contracts or other eligible investor
through which the fund is offered were included, your expenses would be higher.&lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:OperatingExpensesCaption
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40345">Annual Fund Operating Expenses (expenses that you pay each year as a percentage
of the value of your investment):</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40347"
      unitRef="pure">0.0090</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000068447Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40348"
      unitRef="pure">0.0090</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40349"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000068447Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40350"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40351"
      unitRef="pure">0.0026</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068447Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40352"
      unitRef="pure">0.0026</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40353"
      unitRef="pure">0.0116</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068447Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40354"
      unitRef="pure">0.0141</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="_30_"
      unitRef="pure">-0.0028</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20241231_20241231_C000068447Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="_31_"
      unitRef="pure">-0.0028</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40357"
      unitRef="pure">0.0088</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068447Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40358"
      unitRef="pure">0.0113</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40359">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-330">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This example is intended to help you compare the cost of investing
in the fund with the cost of investing in other mutual funds. If the fees and expenses imposed by the
insurance company that issued your variable contracts or other eligible investor through which an investment
in the fund is made were included, your expenses would be higher.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The example
assumes that: you invest $10,000 in the fund for the time periods indicated and you redeem your shares
at the end of the time periods; your investment has a 5% return each year; and the fund&#x2019;s operating
expenses remain the same. &lt;/p&gt;</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleByYearCaption
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40360">Although your actual costs will likely be higher
or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40361"
      unitRef="usd">90</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40362"
      unitRef="usd">341</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40363"
      unitRef="usd">611</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40364"
      unitRef="usd">1384</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000068447Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40365"
      unitRef="usd">115</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000068447Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40366"
      unitRef="usd">419</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000068447Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40367"
      unitRef="usd">744</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000068447Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40368"
      unitRef="usd">1667</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40369">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-421">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund pays transaction costs, such as commissions,
when it buys and sells securities (or &#x201c;turns over&#x201d; its portfolio). A higher portfolio turnover rate
may indicate higher transaction costs. These transaction costs, which are not reflected in &#x201c;Annual
Fund Operating Expenses&#x201d; or in the &#x201c;Example,&#x201d; affect the fund&#x2019;s performance.  During the most
recent fiscal year, the fund&#x2019;s portfolio turnover rate was 44% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40370"
      unitRef="pure">0.44</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40371">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-424">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS (Massachusetts Financial Services Company,
the fund's investment adviser) normally invests the fund&#x2019;s assets primarily in equity securities. Equity
securities include common stocks, depositary receipts, equity interests in real estate investment trusts
(REITs), and other securities that represent an ownership interest (or right to acquire an ownership
interest) in a company or other issuer.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS focuses on investing the
fund's assets in the stocks of companies it believes are undervalued compared to their perceived worth
(value companies). &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;While MFS may invest the fund&#x2019;s assets in
securities of companies of any size, MFS primarily invests in securities of companies with small capitalizations.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS may invest the fund&#x2019;s assets in foreign securities. &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS
normally invests the fund's assets across different industries and sectors, but MFS may invest a significant
percentage of the fund's assets in issuers in a single industry or sector.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS
uses an active bottom-up investment approach to buying and selling investments for the fund. Investments
are selected primarily based on fundamental analysis of individual issuers. Quantitative screening tools
that systematically evaluate issuers may also be considered.&lt;/p&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_PrincipalRisks_S000023374Summary1Member"
      id="ixv-431">&lt;p style="font-size:11.0pt; font-family:Arial; text-align:left; color:#000000; font-weight:bold; text-decoration:none;"&gt;Principal Risks &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As
with any mutual fund, the fund may not achieve its objective and/or you could lose money on your investment
in the fund. An investment in the fund is not a bank deposit and is not insured or guaranteed by the
Federal Deposit Insurance Corporation or any other governmental agency.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The
principal risks of investing in the fund are:&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskHeading
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40372">Principal Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_RiskLoseMoneyMember_S000023374Summary1Member"
      id="ixv-40373">As
with any mutual fund, the fund may not achieve its objective and/or you could lose money on your investment
in the fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_RiskNotInsuredMember_S000023374Summary1Member"
      id="ixv-40374">An investment in the fund is not a bank deposit and is not insured or guaranteed by the
Federal Deposit Insurance Corporation or any other governmental agency.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_InvestmentSelectionRisk_S000023374Summary1Member"
      id="ixv-435">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Investment Selection Risk:
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; MFS' investment analysis and its selection of investments may not produce the
intended results and/or can lead to an investment focus that results in the fund underperforming other
funds with similar investment strategies and/or underperforming the markets in which the fund invests.
 In addition, to the extent MFS considers quantitative tools in managing the fund, such tools may not
produce the intended results. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_EquityMarketRiskCompanyRisk_S000023374Summary1Member"
      id="ixv-439">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Equity Market Risk/Company
Risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Equity markets are volatile and can decline
significantly in response to changes in, or investor perceptions of, issuer, market, economic, industry,
political, regulatory, geopolitical, environmental, public health, and other conditions.  These conditions
can affect a single issuer or type of security, issuers within a broad market sector, industry or geographic
region, or the equity markets in general.  Certain events can have a dramatic adverse effect on equity
markets and may lead to periods of high volatility in an equity market or a segment of an equity market.
 The value of an investment held by the fund may decline due to factors directly related to the issuer.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_ValueCompanyRisk_S000023374Summary1Member"
      id="ixv-444">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Value
Company Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The stocks of value companies
can continue to be undervalued for long periods of time and not realize their expected value and can
be more volatile than the market in general.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_SmallCapRisk_S000023374Summary1Member"
      id="ixv-449">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Small Cap
Risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The stocks of small cap companies can be more
volatile and their shares can be less liquid than those of larger companies.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_ForeignRisk_S000023374Summary1Member"
      id="ixv-454">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:bold; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Foreign
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; Exposure to foreign markets through issuers or currencies can involve additional
risks relating to market, economic, industry, political, regulatory, geopolitical, environmental, public
health, and other conditions. These factors can make foreign investments, especially those tied economically
to countries with developing economies or countries subject to sanctions or the threat of new or modified
sanctions, more volatile and less liquid than U.S. investments. In addition, foreign markets can react
differently to these conditions than the U.S. market.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_REITsRisk_S000023374Summary1Member"
      id="ixv-458">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;REITs Risk:
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The risks of investing in REITs include certain risks associated with the direct
ownership of real estate and the real estate industry in general. These include risks related to general,
regional and local economic conditions; difficulties in valuing and disposing of real estate; fluctuations
in interest rates and property tax rates; shifts in zoning laws, environmental regulations and other
governmental action; cash flow dependency; increased operating expenses; lack of availability of mortgage
funds; losses due to natural disasters; overbuilding; losses due to casualty or condemnation; changes
in property values and rental rates; the management skill and creditworthiness of the REIT manager; and
other factors.  The securities of smaller real estate-related issuers can be more volatile and less liquid
than securities of larger issuers and their issuers can have more limited financial resources.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_FocusRisk_S000023374Summary1Member"
      id="ixv-462">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Focus
Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Issuers in a single industry, sector, country, or region can react similarly to
market, currency, political, economic, regulatory, geopolitical, environmental, public health, and other
conditions, and the fund's performance will be affected by the conditions in the industries, sectors,
countries, and regions to which the fund is exposed.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_LiquidityRisk_S000023374Summary1Member"
      id="ixv-466">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Liquidity
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;It may be difficult to value, and it may not be possible to
sell, certain investments, types of investments, and/or investments in certain segments of the market,
and the fund may have to sell certain of these investments at prices or times that are not advantageous
in order to meet redemptions or other cash needs.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_LargeShareholderRisk_S000023374Summary1Member"
      id="ixv-471">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Large Shareholder
Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;From time to time, shareholders of the fund (which may include institutional investors,
financial intermediaries, or other MFS funds) may make relatively large redemptions or purchases of fund
shares.  These transactions may cause the fund to sell securities or invest additional cash, as the case
may be, at disadvantageous prices.  Redemptions of a large number &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;of shares also may increase transaction and other costs or have adverse tax consequences
for shareholders of the fund by requiring a sale of portfolio securities.  Purchases of a large number
of shares may adversely affect the fund's performance to the extent that it takes time to invest new
cash and the fund maintains a larger cash position than it ordinarily would.&lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40375">Performance
Information</rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-484">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The bar&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#221E1F; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;chart
and performance table below are intended to provide some indication of the risks of investing in the
fund by showing changes in the fund&#x2019;s performance over time and how the fund's performance over time
compares with that of (i) a broad measure of market performance and (ii) the performance of an additional
index that the adviser believes more closely reflects the market segments in which the fund invests.&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The
fund&#x2019;s past performance does not necessarily indicate how the fund will perform in the future. Updated
performance is available at &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;mfs.com&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; or by
calling 1-877-411-3325. If the fees and expenses imposed by the insurance company that issued your variable
contracts or other eligible investor through which an investment in the fund is made were included, they
would reduce the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40376">The bar chart
and performance table below are intended to provide some indication of the risks of investing in the
fund by showing changes in the fund&#x2019;s performance over time and how the fund's performance over time
compares with that of (i) a broad measure of market performance and (ii) the performance of an additional
index that the adviser believes more closely reflects the market segments in which the fund invests.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40378">The
fund&#x2019;s past performance does not necessarily indicate how the fund will perform in the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40379">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40380">1-877-411-3325</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40381">Initial Class Bar Chart.</rr:BarChartHeading>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-497">&lt;p style="-sec-ix-redline:true;font-size:1.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The total return for the three-month period ended March 31,
2025, was (5.38)%. During the period(s) shown in the bar chart, the highest quarterly return was 31.09%
(for the calendar quarter ended December 31, 2020) and the lowest quarterly return was (34.08)% (for
the calendar quarter ended March 31, 2020).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      id="ixv-40382">The total return for the three-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      id="ixv-40383">2025-03-31</rr:BarChartYearToDateReturnDate>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      id="ixv-40384">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40385"
      unitRef="pure">0.3109</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      id="ixv-40386">2020-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      id="ixv-40387">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40388"
      unitRef="pure">-0.3408</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      id="ixv-40389">2020-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40390">Performance
Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40391">Average Annual Total Returns (For the Periods Ended December
31, 2024)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40392"
      unitRef="pure">0.0952</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40393"
      unitRef="pure">0.0871</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40394"
      unitRef="pure">0.0995</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000068447Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40395"
      unitRef="pure">0.0918</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000068447Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40396"
      unitRef="pure">0.0840</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000068447Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40397"
      unitRef="pure">0.0967</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_Russell3000Index1_S000023374Member_S000023374Summary1Member"
      id="ixv-40398">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_Russell2000ValueIndex2_S000023374Member_S000023374Summary1Member"
      id="ixv-40399">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_Russell3000Index1_S000023374Member_S000023374Summary1Member"
      id="ixv-40400">Russell 3000&#xae; Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_Russell3000Index1_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40401"
      unitRef="pure">0.2381</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_Russell3000Index1_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40402"
      unitRef="pure">0.1386</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_Russell3000Index1_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40403"
      unitRef="pure">0.1255</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_Russell2000ValueIndex2_S000023374Member_S000023374Summary1Member"
      id="ixv-40404">Russell 2000&#xae; Value Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_Russell2000ValueIndex2_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40405"
      unitRef="pure">0.0805</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_Russell2000ValueIndex2_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40406"
      unitRef="pure">0.0729</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_Russell2000ValueIndex2_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-40407"
      unitRef="pure">0.0714</rr:AverageAnnualReturnYear10>
    <rr:RiskReturnHeading
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40408">MFS&#xae;
Conservative Allocation Portfolio  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      id="ixv-40409">N/A</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000068441Member_S000023371Member_S000023371Summary2Member"
      id="ixv-40410">N/A</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40412">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-1906">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund's
investment objective is to seek a high level of total return consistent with a conservative level of
risk relative to the other MFS Asset Allocation Portfolios. (The MFS Asset Allocation Portfolios currently
are MFS Conservative Allocation Portfolio, MFS&#160;Moderate Allocation Portfolio, and MFS&#160;Growth Allocation
Portfolio.)&lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40413">Fees and Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-1909">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This table describes the fees
and expenses that you may pay when you hold shares of the fund.  If the fees and expenses imposed by
the insurance company that issued your variable contracts or other eligible investor through which the
fund is offered were included, your expenses would be higher.&lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:OperatingExpensesCaption
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40414">Annual
Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment):</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40416"
      unitRef="pure">0.0000</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000068441Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40417"
      unitRef="pure">0.0000</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40418"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000068441Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40419"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40420"
      unitRef="pure">0.0005</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068441Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40421"
      unitRef="pure">0.0005</rr:OtherExpensesOverAssets>
    <rr:AcquiredFundFeesAndExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40422"
      unitRef="pure">0.0064</rr:AcquiredFundFeesAndExpensesOverAssets>
    <rr:AcquiredFundFeesAndExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068441Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40423"
      unitRef="pure">0.0064</rr:AcquiredFundFeesAndExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40424"
      unitRef="pure">0.0069</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068441Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40425"
      unitRef="pure">0.0094</rr:ExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40426">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-2011">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This example is intended to help you compare the cost of investing
in the fund with the cost of investing in other mutual funds. If the fees and expenses imposed by the
insurance company that issued your variable contracts or other eligible investor through which an investment
in the fund is made were included, your expenses would be higher.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The example
assumes that: you invest $10,000 in the fund for the time periods indicated and you redeem your shares
at the end of the time periods; your investment has a 5% return each year; and the fund&#x2019;s operating
expenses remain the same. &lt;/p&gt;</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleByYearCaption
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40427">Although your actual costs will likely be higher
or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40428"
      unitRef="usd">70</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40429"
      unitRef="usd">221</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40430"
      unitRef="usd">384</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40431"
      unitRef="usd">859</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000068441Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40432"
      unitRef="usd">96</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000068441Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40433"
      unitRef="usd">300</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000068441Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40434"
      unitRef="usd">520</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000068441Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40435"
      unitRef="usd">1155</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40436">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-2102">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund pays transaction costs, such as commissions,
when it buys and sells securities (or &#x201c;turns over&#x201d; its portfolio). A higher portfolio turnover rate
may indicate higher transaction costs. These transaction costs, which are not reflected in &#x201c;Annual
Fund Operating Expenses&#x201d; or in the &#x201c;Example,&#x201d; affect the fund&#x2019;s performance.  During the most
recent fiscal year, the fund&#x2019;s portfolio turnover rate was 2% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40437"
      unitRef="pure">0.02</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40438">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-2105">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund is designed to provide diversification
among different asset classes by investing its assets in other mutual funds advised by MFS (Massachusetts
Financial Services Company, the fund&#x2019;s investment adviser), referred to as underlying funds.  &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:justify; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS selects the asset class allocations based on a strategic asset allocation
process that takes into account a variety of factors, including historical risk and performance, projected
performance, and other factors. MFS&#x2019; analyses of projected performance are primarily based on quantitative
models using various inputs such as valuation metrics, growth rates, profitability, yields, and inflation.
MFS may also consider current market conditions, its qualitative assessment of the risk/return characteristics
of asset classes, and other factors in determining these allocations.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS
employs the strategic asset allocation process described above to determine the amount of the fund's
assets invested in (1) underlying funds that invest primarily in equity securities (&#x201c;Equity Funds&#x201d;)
and underlying funds that provide exposure to less traditional asset classes, such as real estate (&#x201c;Non-Traditional
Funds&#x201d;) and (2) underlying funds that invest primarily in debt instruments (&#x201c;Bond Funds&#x201d;) and an
underlying fund that invests in cash and/or cash equivalents (&#x201c;Money Market Fund&#x201d;).  &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS
selects the underlying funds within each asset class based on underlying fund classifications, historical
risk, historical and projected performance of the represented asset classes, as well as other factors.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Within the Equity Fund allocation, MFS seeks to diversify by geography (by including
domestic and international underlying funds), in terms of market capitalization (by including large,
mid, and small capitalization underlying funds), and by style (by including both growth and value underlying
funds). A portion of the fund&#x2019;s assets is also allocated to Non-Traditional Funds (i.e., asset classes
less correlated to the overall equity and debt markets), which MFS believes provides further diversification
benefits.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Within the Bond Fund allocation, MFS includes underlying funds
with varying degrees of geographic, interest rate, and credit exposure, including exposure to below investment
grade quality debt instruments. A portion of the fund&#x2019;s assets may also be allocated to the Money Market
Fund.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS normally invests the underlying funds&#x2019; assets across
different industries, sectors, countries, and regions, but MFS may invest a significant percentage of
the underlying funds' assets in issuers in a single industry, sector, country, or region.  &lt;/p&gt;&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As of April 1, 2025, the fund&#x2019;s approximate long-term strategic allocation among
asset classes was:&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse:collapse" width="100%"&gt;&lt;tr style="font-size:1pt;"&gt;&lt;td style="width:73.84%;"&gt;&#160;&lt;/td&gt;&lt;td style="width:26.16%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Equity
Funds and Non-Traditional Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;40%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Bond Funds and Money Market Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;60%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;p style="-sec-ix-redline:true;font-size:8.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;All
percentages are rounded to the nearest percent.  &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS may
deviate from the long-term strategic allocations set forth above; however, any deviation from the long-term
strategic allocation is not expected to be greater than plus or minus 10% under normal market conditions.
Additionally, the fund&#x2019;s allocation to Non-Traditional Funds will not typically exceed 20% of the fund&#x2019;s
assets.&lt;/p&gt;&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As of April 1, 2025, the fund&#x2019;s approximate
strategic allocation among asset classes was:&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="-sec-ix-redline:true;border-collapse:collapse" width="100%"&gt;&lt;tr style="font-size:1pt;"&gt;&lt;td style="width:73.84%;"&gt;&#160;&lt;/td&gt;&lt;td style="width:26.16%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:bold; text-decoration:none;"&gt;Equity
Funds and Non-Traditional Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:bold; text-decoration:none;"&gt;38.5%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;U.S. Equity Funds&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;27.5%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;International
Equity Funds&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;9.0%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Non-Traditional Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;2.0%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:bold; text-decoration:none;"&gt;Bond
Funds and Money Market Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:bold; text-decoration:none;"&gt;61.5%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Bond Funds&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;59.0%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Money
Market Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;2.5%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;p style="font-size:8.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;All percentages are rounded to the nearest tenth of a percent.  As a result, the
sum of the asset class allocations presented in the table may not total 100%.&lt;/p&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_PrincipalRisks_S000023371Summary2Member"
      id="ixv-2171">&lt;p style="font-size:11.0pt; font-family:Arial; text-align:left; color:#000000; font-weight:bold; text-decoration:none;"&gt;Principal
Risks &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As with any mutual fund, the fund may not achieve its objective
and/or you could lose money on your investment in the fund. An investment in the fund is not a bank deposit
and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other governmental
agency.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The principal risks of investing in the fund are:&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskHeading
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40439">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_RiskLoseMoneyMember_S000023371Summary2Member"
      id="ixv-40440">As with any mutual fund, the fund may not achieve its objective
and/or you could lose money on your investment in the fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_RiskNotInsuredMember_S000023371Summary2Member"
      id="ixv-40441">An investment in the fund is not a bank deposit
and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other governmental
agency.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_AllocationRisk_S000023371Summary2Member"
      id="ixv-2175">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Allocation
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; MFS' assessment of the risk/return potential of asset classes
and underlying funds, and the resulting allocation among asset classes and underlying funds, may not
produce the intended results and/or can lead to an investment focus that results in the fund underperforming
other funds with similar investment strategies and/or underperforming the markets in which the fund invests.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_UnderlyingFundsRisk_S000023371Summary2Member"
      id="ixv-2180">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Underlying
Funds Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; MFS' strategy of investing in underlying funds exposes the
fund to the risks of the underlying funds. Each underlying fund pursues its own investment objective
and strategies and may not achieve its objective.  In addition to the fees and expenses the fund bears
directly, shareholders of the fund will indirectly bear the&#160;fees and expenses of the underlying funds.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_InvestmentSelectionRisk_S000023371Summary2Member"
      id="ixv-2184">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Investment
Selection Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; MFS' investment analysis, its development and use of quantitative
models, and its selection of investments may not produce the intended results and/or can lead to &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;an investment focus that results in the fund underperforming other funds with
similar investment strategies and/or underperforming the markets in which the fund invests. The quantitative
models used by MFS (both proprietary and third-party) may not produce the intended results for a variety
of reasons, including the factors used in the models, the weight placed on each factor in the models,
changes from the market factors' historical trends, changing sources of market return or market risk,
and technical issues in the design, development, implementation, application, and maintenance of the
models (e.g., incomplete, stale, or inaccurate data, human error, programming or other software issues,
coding errors, and technology failures).&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_DebtMarketRisk_S000023371Summary2Member"
      id="ixv-2196">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Debt Market Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Debt
markets can be volatile and can decline significantly in response to changes in, or investor perceptions
of, issuer, market, economic, industry, political, regulatory, geopolitical, environmental, public health,
and other conditions.  These conditions can affect a single instrument, issuer, or borrower, a particular
type of instrument, issuer, or borrower, a segment of the debt markets or the debt markets generally.
Certain events can have a dramatic adverse effect on debt markets and may lead to periods of high volatility
and reduced liquidity in a debt market or segment of a debt market.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_InterestRateRisk_S000023371Summary2Member"
      id="ixv-2200">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Interest
Rate Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;In general, the price of
a debt instrument falls when interest rates rise and rises when interest rates fall. Interest rate risk
is generally greater for instruments with longer maturities or durations, or that do not pay current
interest.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_CreditRisk_S000023371Summary2Member"
      id="ixv-2205">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Credit Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; The
price of a debt instrument depends, in part, on the credit quality of the issuer, borrower, counterparty,
or other entity responsible for payment, or underlying collateral or assets and the terms of the instrument.
The price of a debt instrument can decline in response to changes in, or perceptions of, the financial
condition of the issuer, borrower, counterparty, or other entity, or underlying collateral or assets,
or changes in, or perceptions of, specific or general market, economic, industry, political, regulatory,
geopolitical, environmental, public health, and other conditions. Debt instruments may be more susceptible
to downgrades or defaults during economic downturns or similar periods of economic stress, which in turn
could negatively affect the market value and liquidity of a debt instrument.&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Below
investment grade quality debt instruments (commonly referred to as &#x201c;high yield securities&#x201d; or &#x201c;junk
bonds&#x201d;) can involve a substantially greater risk of default or can already be in default, and their
values can decline significantly. Below investment grade quality debt instruments are regarded as having
predominantly speculative characteristics. Below investment grade quality debt instruments tend to be
more sensitive to adverse news about the issuer, or the market or economy in general, than higher quality
debt instruments.&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_PrepaymentExtensionRisk_S000023371Summary2Member"
      id="ixv-2210">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Prepayment/Extension Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Instruments
subject to prepayment and/or extension can reduce the potential for gain for the instrument&#x2019;s holders
if the instrument is prepaid and increase the potential for loss if the maturity of the instrument is
extended.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_Inflation-AdjustedDebtInstrumentsRisk_S000023371Summary2Member"
      id="ixv-2215">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Inflation-Adjusted Debt Instruments Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Interest payments on inflation-adjusted debt instruments can be unpredictable
and vary based on the level of inflation. If inflation is negative, principal and income can both decline.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_EquityMarketRiskCompanyRisk_S000023371Summary2Member"
      id="ixv-2220">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Equity
Market Risk/Company Risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Equity markets are volatile
and can decline significantly in response to changes in, or investor perceptions of, issuer, market,
economic, industry, political, regulatory, geopolitical, environmental, public health, and other conditions.
 These conditions can affect a single issuer or type of security, issuers within a broad market sector,
industry or geographic region, or the equity markets in general.  Certain events can have a dramatic
adverse effect on equity markets and may lead to periods of high volatility in an equity market or a
segment of an equity market.  The value of an investment held by the fund may decline due to factors
directly related to the issuer.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_GrowthCompanyRisk_S000023371Summary2Member"
      id="ixv-2225">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Growth Company Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
The stocks of growth companies can be more sensitive to the company&#x2019;s earnings and more volatile than
the market in general.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_ValueCompanyRisk_S000023371Summary2Member"
      id="ixv-2229">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Value Company Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The
stocks of value companies can continue to be undervalued for long periods of time and not realize their
expected value and can be more volatile than the market in general.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_IntrinsicValueStrategyRisk_S000023371Summary2Member"
      id="ixv-2234">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Intrinsic
Value Strategy Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The stocks of companies
that MFS believes are undervalued compared to their intrinsic value can continue to be undervalued for
long periods of time, may not realize their expected value, and can be volatile.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_FocusRisk_S000023371Summary2Member"
      id="ixv-2239">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Focus Risk:
 &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Issuers in a single industry, sector, country, or region can react similarly to
market, currency, political, economic, regulatory, geopolitical, environmental, public health, and other
conditions, and the fund's performance will be affected by the conditions in the industries, sectors,
countries, and regions to which the fund is exposed.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_ForeignRisk_S000023371Summary2Member"
      id="ixv-2243">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Foreign
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; Exposure to foreign markets through issuers or currencies can involve additional
risks relating to market, economic, industry, political, regulatory, geopolitical, environmental, public
health, and other conditions. These factors can make foreign investments, especially those tied economically
to emerging markets or countries subject to sanctions or the threat of new or modified sanctions, more
volatile and less liquid than U.S. investments. In addition, foreign markets can react differently to
these conditions than the U.S. market. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_EmergingMarketsRisk_S000023371Summary2Member"
      id="ixv-2247">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Emerging Markets Risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
 Investments tied economically to emerging markets, especially frontier markets, can involve additional
and greater risks than the risks associated with investments in developed markets.  Emerging markets
can have less developed markets&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;,&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; greater custody and operational
risk, less developed legal, regulatory, and accounting systems, greater government involvement in the
economy, greater risk of new or inconsistent government treatment of or restrictions on issuers and instruments,
and greater political, social, geopolitical, and economic instability than developed markets. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_CurrencyRisk_S000023371Summary2Member"
      id="ixv-2253">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Currency
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; The value of foreign currencies relative to the U.S. dollar fluctuates in response
to market, economic, industry, political, regulatory, geopolitical, environmental, public health, and
other conditions, and changes in currency exchange rates impact the financial condition of companies
or other issuers and may change the value in U.S. dollars of investments denominated in foreign currencies.
 &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_RealEstate-RelatedInvestmentRisk_S000023371Summary2Member"
      id="ixv-2257">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Real Estate-Related Investment Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The risks
of investing in real estate-related securities include certain risks associated with the direct ownership
of real estate and the real estate industry in general. These include risks related to general, regional
and local economic conditions; difficulties in valuing and disposing of real estate; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;fluctuations
in interest rates and property tax rates; shifts in zoning laws, environmental regulations and other
governmental action; cash flow dependency; increased operating expenses; lack of availability of mortgage
funds; losses due to natural disasters; overbuilding; losses due to casualty or condemnation; changes
in property values and rental rates; the management skill and creditworthiness of the real estate investment
trust (REIT) manager; and other factors.  The securities of smaller real estate-related issuers can be
more volatile and less liquid than securities of larger issuers and their issuers can have more limited
financial resources.&lt;/span&gt;&lt;/p&gt;
</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_When-IssuedDelayedDeliveryandForwardCommitmentTransactionRisk_S000023371Summary2Member"
      id="ixv-2269">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;When-Issued, Delayed Delivery, and Forward Commitment Transaction
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The purchaser in a when-issued, delayed delivery or forward commitment transaction
assumes the rights and risks of ownership, including the risks of price and yield fluctuations and the
risk that the security will not be issued or delivered as anticipated.  When-issued, delayed delivery,
and forward commitment transactions can involve leverage. To be announced (TBA) transactions may significantly
increase the fund's portfolio turnover rate.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_DerivativesRisk_S000023371Summary2Member"
      id="ixv-2273">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Derivatives
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Derivatives can be highly volatile and involve risks in addition
to the risks of the underlying indicator(s) on which the derivative is based. Gains or losses from derivatives
can be substantially greater than the derivatives&#x2019; original cost.  Derivatives can involve leverage.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_LeveragingRisk_S000023371Summary2Member"
      id="ixv-2278">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Leveraging
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Leverage involves investment exposure in an amount exceeding
the initial investment. Leverage can cause increased volatility by magnifying gains or losses. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_CounterpartyandThirdPartyRisk_S000023371Summary2Member"
      id="ixv-2283">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Counterparty
and Third Party Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Transactions involving a
counterparty or third party other than the issuer of the instrument are subject to the credit risk of
the counterparty or third party, and to the counterparty&#x2019;s or third party&#x2019;s ability or willingness
to perform in accordance with the terms of the transaction.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_LiquidityRisk_S000023371Summary2Member"
      id="ixv-2288">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Liquidity
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;It may be difficult to value, and it may not be possible to
sell, certain investments, types of investments, and/or investments in certain segments of the market,
and the fund may have to sell certain of these investments at prices or times that are not advantageous
in order to meet redemptions or other cash needs.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_LargeShareholderRisk_S000023371Summary2Member"
      id="ixv-2293">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Large Shareholder
Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;From time to time, shareholders of the fund (which may include institutional investors,
financial intermediaries, or other MFS funds) may make relatively large redemptions or purchases of fund
shares.  These transactions may cause the fund to sell securities or invest additional cash, as the case
may be, at disadvantageous prices.  Redemptions of a large number of shares also may increase transaction
and other costs or have adverse tax consequences for shareholders of the fund by requiring a sale of
portfolio securities.  Purchases of a large number of shares may adversely affect the fund's performance
to the extent that it takes time to invest new cash and the fund maintains a larger cash position than
it ordinarily would.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40442">Performance Information</rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-2298">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The bar&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#221E1F; font-weight:normal; text-decoration:none;"&gt;
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;chart and performance table below are intended to provide some indication of the
risks of investing in the fund by showing changes in the fund&#x2019;s performance over time and how the fund's
performance over time compares with that of (i) a broad measure of market performance and (ii) the performance
of an additional index that the adviser believes more closely reflects the market segments in which the
fund invests.&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund&#x2019;s past performance does not necessarily
indicate how the fund will perform in the future. Updated performance is available at &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;mfs.com&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
or by calling 1-877-411-3325. If the fees and expenses imposed by the insurance company that issued your
variable contracts or other eligible investor through which an investment in the fund is made were included,
they would reduce the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40443">The bar
chart and performance table below are intended to provide some indication of the
risks of investing in the fund by showing changes in the fund&#x2019;s performance over time and how the fund's
performance over time compares with that of (i) a broad measure of market performance and (ii) the performance
of an additional index that the adviser believes more closely reflects the market segments in which the
fund invests.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40445">The fund&#x2019;s past performance does not necessarily
indicate how the fund will perform in the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40446">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40447">1-877-411-3325</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40448">Initial Class Bar Chart.</rr:BarChartHeading>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-2311">&lt;p style="-sec-ix-redline:true;font-size:1.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The total return for the three-month period ended March 31,
2025, was 1.04%. During the period(s) shown in the bar chart, the highest quarterly return was 10.49%
(for the calendar quarter ended June 30, 2020) and the lowest quarterly return was (9.41)% (for the calendar
quarter ended June 30, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      id="ixv-40449">The total return for the three-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      id="ixv-40450">2025-03-31</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40451"
      unitRef="pure">0.0104</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      id="ixv-40452">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40453"
      unitRef="pure">0.1049</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      id="ixv-40454">2020-06-30</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      id="ixv-40455">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40456"
      unitRef="pure">-0.0941</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      id="ixv-40457">2022-06-30</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40458">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40459">Average Annual Total Returns (For the Periods Ended December
31, 2024)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40460"
      unitRef="pure">0.0586</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40461"
      unitRef="pure">0.0352</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40462"
      unitRef="pure">0.0468</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000068441Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40463"
      unitRef="pure">0.0565</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000068441Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40464"
      unitRef="pure">0.0326</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000068441Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40465"
      unitRef="pure">0.0441</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_BloombergUSAggregateBondIndex3_S000023371Member_S000023371Summary2Member"
      id="ixv-40466">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_MFSConservativeAllocationPortfolioBlendedIndex4_S000023371Member_S000023371Summary2Member"
      id="ixv-40467">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_BloombergUSAggregateBondIndex3_S000023371Member_S000023371Summary2Member"
      id="ixv-40468">Bloomberg U.S. Aggregate Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_BloombergUSAggregateBondIndex3_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40469"
      unitRef="pure">0.0125</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_BloombergUSAggregateBondIndex3_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40470"
      unitRef="pure">-0.0033</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_BloombergUSAggregateBondIndex3_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40471"
      unitRef="pure">0.0135</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_MFSConservativeAllocationPortfolioBlendedIndex4_S000023371Member_S000023371Summary2Member"
      id="ixv-40472">MFS Conservative Allocation Portfolio Blended
Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_MFSConservativeAllocationPortfolioBlendedIndex4_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40473"
      unitRef="pure">0.0801</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_MFSConservativeAllocationPortfolioBlendedIndex4_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40474"
      unitRef="pure">0.0441</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_MFSConservativeAllocationPortfolioBlendedIndex4_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-40475"
      unitRef="pure">0.0514</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-2475">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As
of December 31, 2024, the MFS Conservative Allocation Portfolio Blended Index (the Blended Index) consisted
of the following indices and weightings: 29% Standard &amp;amp; Poor&#x2019;s 500 Stock Index; 9% MSCI EAFE (Europe,
Australasia, Far East) Index (net div); 2% FTSE EPRA Nareit Developed Real Estate Index (net div); and
60% Bloomberg U.S. Aggregate Bond Index.  The components and weightings of the Blended Index may have
differed during the periods and may differ in the future.&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceAdditionalMarketIndex
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40476">As
of December 31, 2024, the MFS Conservative Allocation Portfolio Blended Index (the Blended Index) consisted
of the following indices and weightings: 29% Standard &amp; Poor&#x2019;s 500 Stock Index; 9% MSCI EAFE (Europe,
Australasia, Far East) Index (net div); 2% FTSE EPRA Nareit Developed Real Estate Index (net div); and
60% Bloomberg U.S. Aggregate Bond Index.  The components and weightings of the Blended Index may have
differed during the periods and may differ in the future.</rr:PerformanceAdditionalMarketIndex>
    <rr:RiskReturnHeading
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40477">MFS&#xae;
Growth Allocation Portfolio  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      id="ixv-40478">N/A</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000068445Member_S000023373Member_S000023373Summary3Member"
      id="ixv-40479">N/A</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40481">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-4408">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund's
investment objective is to seek a high level of total return consistent with a greater than moderate
level of risk relative to the other MFS Asset Allocation Portfolios.  (The MFS Asset Allocation Portfolios
currently are MFS Conservative Allocation Portfolio, MFS Moderate Allocation Portfolio, and MFS Growth
Allocation Portfolio.)&lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40482">Fees and Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-4411">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This table
describes the fees and expenses that you may pay when you hold shares of the fund.  If the fees and expenses
imposed by the insurance company that issued your variable contracts or other eligible investor through
which the fund is offered were included, your expenses would be higher.&lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:OperatingExpensesCaption
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40483">Annual Fund Operating Expenses (expenses that you pay each year as a percentage
of the value of your investment):</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40485"
      unitRef="pure">0.0000</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000068445Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40486"
      unitRef="pure">0.0000</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40487"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000068445Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40488"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40489"
      unitRef="pure">0.0004</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068445Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40490"
      unitRef="pure">0.0004</rr:OtherExpensesOverAssets>
    <rr:AcquiredFundFeesAndExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40491"
      unitRef="pure">0.0075</rr:AcquiredFundFeesAndExpensesOverAssets>
    <rr:AcquiredFundFeesAndExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068445Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40492"
      unitRef="pure">0.0075</rr:AcquiredFundFeesAndExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40493"
      unitRef="pure">0.0079</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068445Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40494"
      unitRef="pure">0.0104</rr:ExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40495">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-4513">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This example is intended to help you compare the cost of investing
in the fund with the cost of investing in other mutual funds. If the fees and expenses imposed by the
insurance company that issued your variable contracts or other eligible investor through which an investment
in the fund is made were included, your expenses would be higher.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The example
assumes that: you invest $10,000 in the fund for the time periods indicated and you redeem your shares
at the end of the time periods; your investment has a 5% return each year; and the fund&#x2019;s operating
expenses remain the same. &lt;/p&gt;</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleByYearCaption
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40496">Although your actual costs will likely be higher
or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40497"
      unitRef="usd">81</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40498"
      unitRef="usd">252</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40499"
      unitRef="usd">439</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40500"
      unitRef="usd">978</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000068445Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40501"
      unitRef="usd">106</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000068445Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40502"
      unitRef="usd">331</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000068445Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40503"
      unitRef="usd">574</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000068445Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40504"
      unitRef="usd">1271</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40505">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-4604">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund pays transaction costs, such as commissions,
when it buys and sells securities (or &#x201c;turns over&#x201d; its portfolio). A higher portfolio turnover rate
may indicate higher transaction costs. These transaction costs, which are not reflected in &#x201c;Annual
Fund Operating Expenses&#x201d; or in the &#x201c;Example,&#x201d; affect the fund&#x2019;s performance.  During the most
recent fiscal year, the fund&#x2019;s portfolio turnover rate was 12% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40506"
      unitRef="pure">0.12</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40507">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-4607">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund is designed to provide diversification
among different asset classes by investing its assets in other mutual funds advised by MFS (Massachusetts
Financial Services Company, the fund&#x2019;s investment adviser), referred to as underlying funds.  &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:justify; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS selects the asset class allocations based on a strategic asset allocation
process that takes into account a variety of factors, including historical risk and performance, projected
performance, and other factors. MFS&#x2019; analyses of projected performance are primarily based on quantitative
models using various inputs such as valuation metrics, growth rates, profitability, yields, and inflation.
MFS may also consider current market conditions, its qualitative assessment of the risk/return characteristics
of asset classes, and other factors in determining these allocations.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS
employs the strategic asset allocation process described above to determine the amount of the fund's
assets invested in (1) underlying funds that invest primarily in equity securities (&#x201c;Equity Funds&#x201d;)
and underlying funds that provide exposure to less traditional asset classes, such as real estate (&#x201c;Non-Traditional
Funds&#x201d;) and (2) underlying funds that invest primarily in debt instruments (&#x201c;Bond Funds&#x201d;) and an
underlying fund that invests in cash and/or cash equivalents (&#x201c;Money Market Fund&#x201d;).  &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS
selects the underlying funds within each asset class based on underlying fund classifications, historical
risk, historical and projected performance of the represented asset classes, as well as other factors.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Within the Equity Fund allocation, MFS seeks to diversify by geography (by including
domestic and international underlying funds), in terms of market capitalization (by including large,
mid, and small capitalization underlying funds), and by style (by including both growth and value underlying
funds). A portion of the fund&#x2019;s assets is also allocated to Non-Traditional Funds (i.e., asset classes
less correlated to the overall equity and debt markets), which MFS believes provides further diversification
benefits.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Within the Bond Fund allocation, MFS includes underlying funds
with varying degrees of geographic, interest rate, and credit exposure, including exposure to below investment
grade quality debt instruments. A portion of the fund&#x2019;s assets may also be allocated to the Money Market
Fund.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS normally invests the underlying funds&#x2019; assets across
different industries, sectors, countries, and regions, but MFS may invest a significant percentage of
the underlying funds' assets in issuers in a single industry, sector, country, or region.  &lt;/p&gt;&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As of April 1, 2025, the fund&#x2019;s approximate long-term strategic allocation among
asset classes was:&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse:collapse" width="100%"&gt;&lt;tr style="font-size:1pt;"&gt;&lt;td style="width:73.84%;"&gt;&#160;&lt;/td&gt;&lt;td style="width:26.16%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Equity
Funds and Non-Traditional Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; text-align:center; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;80&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;%&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Bond
Funds and Money Market Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;20%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;p style="-sec-ix-redline:true;font-size:8.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;All percentages are rounded to the nearest percent.  &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS
may deviate from the long-term strategic allocations set forth above; however, any deviation from the
long-term strategic allocation is not expected to be greater than plus or minus 10% under normal market
conditions. Additionally, the fund&#x2019;s allocation to Non-Traditional Funds will not typically exceed
20% of the fund&#x2019;s assets.&lt;/p&gt;&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As of April 1, 2025, the fund&#x2019;s
approximate strategic allocation among asset classes was:&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="-sec-ix-redline:true;border-collapse:collapse" width="100%"&gt;&lt;tr style="font-size:1pt;"&gt;&lt;td style="width:73.84%;"&gt;&#160;&lt;/td&gt;&lt;td style="width:26.16%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:bold; text-decoration:none;"&gt;Equity
Funds and Non-Traditional Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:bold; text-decoration:none;"&gt;78.5%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;U.S. Equity Funds&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;52.5%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;International
Equity Funds&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;21.0%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Non-Traditional Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;5.0%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:bold; text-decoration:none;"&gt;Bond
Funds and Money Market Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:bold; text-decoration:none;"&gt;21.5%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Bond Funds&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;19.5%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Money
Market Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;2.0%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;p style="font-size:8.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;All percentages are rounded to the nearest tenth of a percent.  As a result, the
sum of the asset class allocations presented in the table may not total 100%.&lt;/p&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_PrincipalRisks_S000023373Summary3Member"
      id="ixv-4675">&lt;p style="font-size:11.0pt; font-family:Arial; text-align:left; color:#000000; font-weight:bold; text-decoration:none;"&gt;Principal
Risks &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As with any mutual fund, the fund may not achieve its objective
and/or you could lose money on your investment in the fund. An investment in the fund is not a bank deposit
and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other governmental
agency.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The principal risks of investing in the fund are:&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskHeading
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40508">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_RiskLoseMoneyMember_S000023373Summary3Member"
      id="ixv-40509">As with any mutual fund, the fund may not achieve its objective
and/or you could lose money on your investment in the fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_RiskNotInsuredMember_S000023373Summary3Member"
      id="ixv-40510">An investment in the fund is not a bank deposit
and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other governmental
agency.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_AllocationRisk_S000023373Summary3Member"
      id="ixv-4679">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Allocation
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; MFS' assessment of the risk/return potential of asset classes
and underlying funds, and the resulting allocation among asset classes and underlying funds, may not
produce the intended results and/or can lead to an investment focus that results in the fund underperforming
other funds with similar investment strategies and/or underperforming the markets in which the fund invests.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_UnderlyingFundsRisk_S000023373Summary3Member"
      id="ixv-4684">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Underlying
Funds Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; MFS' strategy of investing in underlying funds exposes the
fund to the risks of the underlying funds. Each underlying fund pursues its own investment objective
and strategies and may not achieve its objective.  In addition to the fees and expenses the fund bears
directly, shareholders of the fund will indirectly bear the fees and expenses of the underlying funds.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_InvestmentSelectionRisk_S000023373Summary3Member"
      id="ixv-4688">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Investment
Selection Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; MFS' investment analysis, its development and use of quantitative
models, and its selection of investments may not produce the intended results and/or can lead to &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;an investment focus that results in the fund underperforming other funds with
similar investment strategies and/or underperforming the markets in which the fund invests. The quantitative
models used by MFS (both proprietary and third-party) may not produce the intended results for a variety
of reasons, including the factors used in the models, the weight placed on each factor in the models,
changes from the market factors' historical trends, changing sources of market return or market risk,
and technical issues in the design, development, implementation, application, and maintenance of the
models (e.g., incomplete, stale, or inaccurate data, human error, programming or other software issues,
coding errors, and technology failures).&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_EquityMarketRiskCompanyRisk_S000023373Summary3Member"
      id="ixv-4700">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Equity Market Risk/Company
Risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Equity markets are volatile and can decline
significantly in response to changes in, or investor perceptions of, issuer, market, economic, industry,
political, regulatory, geopolitical, environmental, public health, and other conditions.  These conditions
can affect a single issuer or type of security, issuers within a broad market sector, industry or geographic
region, or the equity markets in general.  Certain events can have a dramatic adverse effect on equity
markets and may lead to periods of high volatility in an equity market or a segment of an equity market.
 The value of an investment held by the fund may decline due to factors directly related to the issuer.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_GrowthCompanyRisk_S000023373Summary3Member"
      id="ixv-4705">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Growth
Company Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; The stocks of growth companies can be more sensitive to the
company&#x2019;s earnings and more volatile than the market in general.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_ValueCompanyRisk_S000023373Summary3Member"
      id="ixv-4709">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Value Company
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The stocks of value companies can continue to be undervalued
for long periods of time and not realize their expected value and can be more volatile than the market
in general.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_IntrinsicValueStrategyRisk_S000023373Summary3Member"
      id="ixv-4714">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Intrinsic Value Strategy Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The
stocks of companies that MFS believes are undervalued compared to their intrinsic value can continue
to be undervalued for long periods of time, may not realize their expected value, and can be volatile.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_DebtMarketRisk_S000023373Summary3Member"
      id="ixv-4719">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Debt
Market Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Debt markets can be volatile and can decline significantly
in response to changes in, or investor perceptions of, issuer, market, economic, industry, political,
regulatory, geopolitical, environmental, public health, and other conditions.  These conditions can affect
a single instrument, issuer, or borrower, a particular type of instrument, issuer, or borrower, a segment
of the debt markets or the debt markets generally. Certain events can have a dramatic adverse effect
on debt markets and may lead to periods of high volatility and reduced liquidity in a debt market or
segment of a debt market.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_InterestRateRisk_S000023373Summary3Member"
      id="ixv-4723">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Interest Rate Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;In general, the price of a debt instrument falls when interest rates rise and
rises when interest rates fall. Interest rate risk is generally greater for instruments with longer maturities
or durations, or that do not pay current interest.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_CreditRisk_S000023373Summary3Member"
      id="ixv-4728">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Credit
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; The price of a debt instrument depends, in part, on the credit quality of the
issuer, borrower, counterparty, or other entity responsible for payment, or underlying collateral or
assets and the terms of the instrument. The price of a debt instrument can decline in response to changes
in, or perceptions of, the financial condition of the issuer, borrower, counterparty, or other entity,
or underlying collateral or assets, or changes in, or perceptions of, specific or general market, economic,
industry, political, regulatory, geopolitical, environmental, public health, and other conditions. Debt
instruments may be more susceptible to downgrades or defaults during economic downturns or similar periods
of economic stress, which in turn could negatively affect the market value and liquidity of a debt instrument.&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Below investment grade quality debt instruments (commonly referred to as &#x201c;high
yield securities&#x201d; or &#x201c;junk bonds&#x201d;) can involve a substantially greater risk of default or can already
be in default, and their values can decline significantly. Below investment grade quality debt instruments
are regarded as having predominantly speculative characteristics. Below investment grade quality debt
instruments tend to be more sensitive to adverse news about the issuer, or the market or economy in general,
than higher quality debt instruments.&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_PrepaymentExtensionRisk_S000023373Summary3Member"
      id="ixv-4733">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Prepayment/Extension Risk:
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Instruments subject to prepayment and/or extension can reduce
the potential for gain for the instrument&#x2019;s holders if the instrument is prepaid and increase the potential
for loss if the maturity of the instrument is extended.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_Inflation-AdjustedDebtInstrumentsRisk_S000023373Summary3Member"
      id="ixv-4738">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Inflation-Adjusted
Debt Instruments Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Interest payments on inflation-adjusted
debt instruments can be unpredictable and vary based on the level of inflation. If inflation is negative,
principal and income can both decline.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_FocusRisk_S000023373Summary3Member"
      id="ixv-4743">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Focus Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Issuers
in a single industry, sector, country, or region can react similarly to market, currency, political,
economic, regulatory, geopolitical, environmental, public health, and other conditions, and the fund's
performance will be affected by the conditions in the industries, sectors, countries, and regions to
which the fund is exposed.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_ForeignRisk_S000023373Summary3Member"
      id="ixv-4747">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Foreign Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
Exposure to foreign markets through issuers or currencies can involve additional risks relating to market,
economic, industry, political, regulatory, geopolitical, environmental, public health, and other conditions.
These factors can make foreign investments, especially those tied economically to emerging markets or
countries subject to sanctions or the threat of new or modified sanctions, more volatile and less liquid
than U.S. investments. In addition, foreign markets can react differently to these conditions than the
U.S. market. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_EmergingMarketsRisk_S000023373Summary3Member"
      id="ixv-4751">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Emerging Markets Risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  Investments
tied economically to emerging markets, especially frontier markets, can involve additional and greater
risks than the risks associated with investments in developed markets.  Emerging markets can have less
developed markets&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;,&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; greater custody and operational
risk, less developed legal, regulatory, and accounting systems, greater government involvement in the
economy, greater risk of new or inconsistent government treatment of or restrictions on issuers and instruments,
and greater political, social, geopolitical, and economic instability than developed markets. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_CurrencyRisk_S000023373Summary3Member"
      id="ixv-4757">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Currency
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; The value of foreign currencies relative to the U.S. dollar fluctuates in response
to market, economic, industry, political, regulatory, geopolitical, environmental, public health, and
other conditions, and changes in currency exchange rates impact the financial condition of companies
or other issuers and may change the value in U.S. dollars of investments denominated in foreign currencies.
 &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_RealEstate-RelatedInvestmentRisk_S000023373Summary3Member"
      id="ixv-4761">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Real Estate-Related Investment Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The risks
of investing in real estate-related securities include certain risks associated with the direct ownership
of real estate and the real estate industry in general. These include risks related to general, regional
and local economic conditions; difficulties in valuing and disposing of real estate; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;fluctuations
in interest rates and property tax rates; shifts in zoning laws, environmental regulations and other
governmental action; cash flow dependency; increased operating expenses; lack of availability of mortgage
funds; losses due to natural disasters; overbuilding; losses due to casualty or condemnation; changes
in property values and rental rates; the management skill and creditworthiness of the real estate investment
trust (REIT) manager; and other factors.  The securities of smaller real estate-related issuers can be
more volatile and less liquid than securities of larger issuers and their issuers can have more limited
financial resources.&lt;/span&gt;&lt;/p&gt;
</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_When-IssuedDelayedDeliveryandForwardCommitmentTransactionRisk_S000023373Summary3Member"
      id="ixv-4773">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;When-Issued, Delayed Delivery, and Forward Commitment Transaction
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The purchaser in a when-issued, delayed delivery or forward commitment transaction
assumes the rights and risks of ownership, including the risks of price and yield fluctuations and the
risk that the security will not be issued or delivered as anticipated.  When-issued, delayed delivery,
and forward commitment transactions can involve leverage. To be announced (TBA) transactions may significantly
increase the fund's portfolio turnover rate.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_DerivativesRisk_S000023373Summary3Member"
      id="ixv-4777">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Derivatives
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Derivatives can be highly volatile and involve risks in addition
to the risks of the underlying indicator(s) on which the derivative is based. Gains or losses from derivatives
can be substantially greater than the derivatives&#x2019; original cost.  Derivatives can involve leverage.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_LeveragingRisk_S000023373Summary3Member"
      id="ixv-4782">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Leveraging
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Leverage involves investment exposure in an amount exceeding
the initial investment. Leverage can cause increased volatility by magnifying gains or losses. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_CounterpartyandThirdPartyRisk_S000023373Summary3Member"
      id="ixv-4787">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Counterparty
and Third Party Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Transactions involving a
counterparty or third party other than the issuer of the instrument are subject to the credit risk of
the counterparty or third party, and to the counterparty&#x2019;s or third party&#x2019;s ability or willingness
to perform in accordance with the terms of the transaction.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_LiquidityRisk_S000023373Summary3Member"
      id="ixv-4792">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Liquidity
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;It may be difficult to value, and it may not be possible to
sell, certain investments, types of investments, and/or investments in certain segments of the market,
and the fund may have to sell certain of these investments at prices or times that are not advantageous
in order to meet redemptions or other cash needs.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_LargeShareholderRisk_S000023373Summary3Member"
      id="ixv-4797">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Large Shareholder
Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;From time to time, shareholders of the fund (which may include institutional investors,
financial intermediaries, or other MFS funds) may make relatively large redemptions or purchases of fund
shares.  These transactions may cause the fund to sell securities or invest additional cash, as the case
may be, at disadvantageous prices.  Redemptions of a large number of shares also may increase transaction
and other costs or have adverse tax consequences for shareholders of the fund by requiring a sale of
portfolio securities.  Purchases of a large number of shares may adversely affect the fund's performance
to the extent that it takes time to invest new cash and the fund maintains a larger cash position than
it ordinarily would.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40511">Performance Information</rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-4802">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The bar&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#221E1F; font-weight:normal; text-decoration:none;"&gt;
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;chart and performance table below are intended to provide some indication of the
risks of investing in the fund by showing changes in the fund&#x2019;s performance over time and how the fund's
performance over time compares with that of (i) a broad measure of market performance and (ii) the performance
of an additional index that the adviser believes more closely reflects the market segments in which the
fund invests.&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund&#x2019;s past performance does not necessarily
indicate how the fund will perform in the future. Updated performance is available at &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;mfs.com&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
or by calling 1-877-411-3325. If the fees and expenses imposed by the insurance company that issued your
variable contracts or other eligible investor through which an investment in the fund is made were included,
they would reduce the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40512">The bar
chart and performance table below are intended to provide some indication of the
risks of investing in the fund by showing changes in the fund&#x2019;s performance over time and how the fund's
performance over time compares with that of (i) a broad measure of market performance and (ii) the performance
of an additional index that the adviser believes more closely reflects the market segments in which the
fund invests.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40514">The fund&#x2019;s past performance does not necessarily
indicate how the fund will perform in the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40515">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40516">1-877-411-3325</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40517">Initial Class Bar Chart.</rr:BarChartHeading>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-4815">&lt;p style="-sec-ix-redline:true;font-size:1.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The total return for the three-month period ended March 31,
2025, was (0.40)%. During the period(s) shown in the bar chart, the highest quarterly return was 16.78%
(for the calendar quarter ended June 30, 2020) and the lowest quarterly return was (16.60)% (for the
calendar quarter ended March 31, 2020).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      id="ixv-40518">The total return for the three-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      id="ixv-40519">2025-03-31</rr:BarChartYearToDateReturnDate>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      id="ixv-40520">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40521"
      unitRef="pure">0.1678</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      id="ixv-40522">2020-06-30</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      id="ixv-40523">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40524"
      unitRef="pure">-0.1660</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      id="ixv-40525">2020-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40526">Performance
Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40527">Average Annual Total Returns (For the Periods Ended December
31, 2024)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40528"
      unitRef="pure">0.1034</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40529"
      unitRef="pure">0.0686</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40530"
      unitRef="pure">0.0803</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000068445Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40531"
      unitRef="pure">0.1005</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000068445Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40532"
      unitRef="pure">0.0660</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000068445Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40533"
      unitRef="pure">0.0777</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_StandardPoors500StockIndex5_S000023373Member_S000023373Summary3Member"
      id="ixv-40534">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_MFSGrowthAllocationPortfolioBlendedIndex6_S000023373Member_S000023373Summary3Member"
      id="ixv-40535">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_StandardPoors500StockIndex5_S000023373Member_S000023373Summary3Member"
      id="ixv-40536">Standard &amp; Poor's 500 Stock Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_StandardPoors500StockIndex5_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40537"
      unitRef="pure">0.2502</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_StandardPoors500StockIndex5_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40538"
      unitRef="pure">0.1453</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_StandardPoors500StockIndex5_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40539"
      unitRef="pure">0.1310</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_MFSGrowthAllocationPortfolioBlendedIndex6_S000023373Member_S000023373Summary3Member"
      id="ixv-40540">MFS Growth Allocation Portfolio Blended Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_MFSGrowthAllocationPortfolioBlendedIndex6_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40541"
      unitRef="pure">0.1422</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_MFSGrowthAllocationPortfolioBlendedIndex6_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40542"
      unitRef="pure">0.0878</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_MFSGrowthAllocationPortfolioBlendedIndex6_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-40543"
      unitRef="pure">0.0864</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-4979">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As
of December 31, 2024, the MFS Growth Allocation Portfolio Blended Index (the Blended Index) consisted
of the following indices and weightings: 54% Standard &amp;amp; Poor&#x2019;s 500 Stock Index; 21% MSCI EAFE (Europe,
Australasia, Far East) Index (net div); 5% FTSE EPRA Nareit Developed Real Estate Index (net div); and
20% Bloomberg U.S. Aggregate Bond Index.  The components and weightings of the Blended Index may have
differed during the periods and may differ in the future.&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceAdditionalMarketIndex
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40544">As
of December 31, 2024, the MFS Growth Allocation Portfolio Blended Index (the Blended Index) consisted
of the following indices and weightings: 54% Standard &amp; Poor&#x2019;s 500 Stock Index; 21% MSCI EAFE (Europe,
Australasia, Far East) Index (net div); 5% FTSE EPRA Nareit Developed Real Estate Index (net div); and
20% Bloomberg U.S. Aggregate Bond Index.  The components and weightings of the Blended Index may have
differed during the periods and may differ in the future.</rr:PerformanceAdditionalMarketIndex>
    <rr:RiskReturnHeading
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40545">MFS&#xae;
Moderate Allocation Portfolio  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      id="ixv-40546">N/A</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000068443Member_S000023372Member_S000023372Summary4Member"
      id="ixv-40547">N/A</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40549">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-6911">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund's
investment objective is to seek a high level of total return consistent with a moderate level of risk
relative to the other MFS Asset Allocation Portfolios.  (The MFS Asset Allocation Portfolios currently
are MFS Conservative Allocation Portfolio, MFS Moderate Allocation Portfolio, and MFS Growth Allocation
Portfolio.)&lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40550">Fees and Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-6914">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This table describes the fees
and expenses that you may pay when you hold shares of the fund.  If the fees and expenses imposed by
the insurance company that issued your variable contracts or other eligible investor through which the
fund is offered were included, your expenses would be higher.&lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:OperatingExpensesCaption
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40551">Annual
Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment):</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40553"
      unitRef="pure">0.0000</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000068443Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40554"
      unitRef="pure">0.0000</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40555"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000068443Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40556"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40557"
      unitRef="pure">0.0002</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068443Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40558"
      unitRef="pure">0.0002</rr:OtherExpensesOverAssets>
    <rr:AcquiredFundFeesAndExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40559"
      unitRef="pure">0.0069</rr:AcquiredFundFeesAndExpensesOverAssets>
    <rr:AcquiredFundFeesAndExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068443Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40560"
      unitRef="pure">0.0069</rr:AcquiredFundFeesAndExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40561"
      unitRef="pure">0.0071</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068443Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40562"
      unitRef="pure">0.0096</rr:ExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40563">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-7016">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This example is intended to help you compare the cost of investing
in the fund with the cost of investing in other mutual funds. If the fees and expenses imposed by the
insurance company that issued your variable contracts or other eligible investor through which an investment
in the fund is made were included, your expenses would be higher.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The example
assumes that: you invest $10,000 in the fund for the time periods indicated and you redeem your shares
at the end of the time periods; your investment has a 5% return each year; and the fund&#x2019;s operating
expenses remain the same. &lt;/p&gt;</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleByYearCaption
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40564">Although your actual costs will likely be higher
or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40565"
      unitRef="usd">73</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40566"
      unitRef="usd">227</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40567"
      unitRef="usd">395</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40568"
      unitRef="usd">883</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000068443Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40569"
      unitRef="usd">98</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000068443Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40570"
      unitRef="usd">306</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000068443Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40571"
      unitRef="usd">531</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000068443Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40572"
      unitRef="usd">1178</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40573">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-7107">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund pays transaction costs, such as commissions, when
it buys and sells securities (or &#x201c;turns over&#x201d; its portfolio). A higher portfolio turnover rate may
indicate higher transaction costs. These transaction costs, which are not reflected in &#x201c;Annual Fund
Operating Expenses&#x201d; or in the &#x201c;Example,&#x201d; affect the fund&#x2019;s performance.  During the most recent
fiscal year, the fund&#x2019;s portfolio turnover rate was 2% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40574"
      unitRef="pure">0.02</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40575">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-7110">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund is designed to provide diversification
among different asset classes by investing its assets in other mutual funds advised by MFS (Massachusetts
Financial Services Company, the fund&#x2019;s investment adviser), referred to as underlying funds.  &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:justify; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS selects the asset class allocations based on a strategic asset allocation
process that takes into account a variety of factors, including historical risk and performance, projected
performance, and other factors. MFS&#x2019; analyses of projected performance are primarily based on quantitative
models using various inputs such as valuation metrics, growth rates, profitability, yields, and inflation.
MFS may also consider current market conditions, its qualitative assessment of the risk/return characteristics
of asset classes, and other factors in determining these allocations.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS
employs the strategic asset allocation process described above to determine the amount of the fund's
assets invested in (1) underlying funds that invest primarily in equity securities (&#x201c;Equity Funds&#x201d;)
and underlying funds that provide exposure to less traditional asset classes, such as real estate (&#x201c;Non-Traditional
Funds&#x201d;) and (2) underlying funds that invest primarily in debt instruments (&#x201c;Bond Funds&#x201d;) and an
underlying fund that invests in cash and/or cash equivalents (&#x201c;Money Market Fund&#x201d;).  &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS
selects the underlying funds within each asset class based on underlying fund classifications, historical
risk, historical and projected performance of the represented asset classes, as well as other factors.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Within the Equity Fund allocation, MFS seeks to diversify by geography (by including
domestic and international underlying funds), in terms of market capitalization (by including large,
mid, and small capitalization underlying funds), and by style (by including both growth and value underlying
funds). A portion of the fund&#x2019;s assets is also allocated to Non-Traditional Funds (i.e., asset classes
less correlated to the overall equity and debt markets), which MFS believes provides further diversification
benefits.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Within the Bond Fund allocation, MFS includes underlying funds
with varying degrees of geographic, interest rate, and credit exposure, including exposure to below investment
grade quality debt instruments. A portion of the fund&#x2019;s assets may also be allocated to the Money Market
Fund.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS normally invests the underlying funds&#x2019; assets across
different industries, sectors, countries, and regions, but MFS may invest a significant percentage of
the underlying funds' assets in issuers in a single industry, sector, country, or region.  &lt;/p&gt;&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As of April 1, 2025, the fund&#x2019;s approximate long-term strategic allocation among
asset classes was:&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse:collapse" width="100%"&gt;&lt;tr style="font-size:1pt;"&gt;&lt;td style="width:73.84%;"&gt;&#160;&lt;/td&gt;&lt;td style="width:26.16%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Equity
Funds and Non-Traditional Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;60%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Bond Funds and Money Market Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;40%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;p style="-sec-ix-redline:true;font-size:8.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;All
percentages are rounded to the nearest percent.  &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS may
deviate from the long-term strategic allocations set forth above; however, any deviation from the long-term
strategic allocation is not expected to be greater than plus or minus 10% under normal market conditions.
Additionally, the fund&#x2019;s allocation to Non-Traditional Funds will not typically exceed 20% of the fund&#x2019;s
assets.&lt;/p&gt;&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As of April 1, 2025, the fund&#x2019;s approximate
strategic allocation among asset classes was:&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="-sec-ix-redline:true;border-collapse:collapse" width="100%"&gt;&lt;tr style="font-size:1pt;"&gt;&lt;td style="width:73.84%;"&gt;&#160;&lt;/td&gt;&lt;td style="width:26.16%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:bold; text-decoration:none;"&gt;Equity
Funds and Non-Traditional Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:bold; text-decoration:none;"&gt;58.5%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;U.S. Equity Funds&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;41.5%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;International
Equity Funds&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;14.0%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Non-Traditional Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;3.0%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:bold; text-decoration:none;"&gt;Bond
Funds and Money Market Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:bold; text-decoration:none;"&gt;41.5%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Bond Funds&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;39.0%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-right:0.5pt; border-right-style:solid; border-right-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Money
Market Fund&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:bottom; border-bottom:0.5pt; border-bottom-style:solid; border-bottom-color:#000000; border-top:0.5pt; border-top-style:solid; border-top-color:#000000; border-left:0.5pt; border-left-style:solid; border-left-color:#000000;"&gt;&lt;p style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; text-align:center; color:#000000; font-weight:normal; text-decoration:none;"&gt;2.5%&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;p style="font-size:8.0pt; font-family:Sans-Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;All percentages are rounded to the nearest tenth of a percent.  As a result, the
sum of the asset class allocations presented in the table may not total 100%.&lt;/p&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_PrincipalRisks_S000023372Summary4Member"
      id="ixv-7176">&lt;p style="font-size:11.0pt; font-family:Arial; text-align:left; color:#000000; font-weight:bold; text-decoration:none;"&gt;Principal
Risks &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As with any mutual fund, the fund may not achieve its objective
and/or you could lose money on your investment in the fund. An investment in the fund is not a bank deposit
and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other governmental
agency.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The principal risks of investing in the fund are:&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskHeading
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40576">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_RiskLoseMoneyMember_S000023372Summary4Member"
      id="ixv-40577">As with any mutual fund, the fund may not achieve its objective
and/or you could lose money on your investment in the fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_RiskNotInsuredMember_S000023372Summary4Member"
      id="ixv-40578">An investment in the fund is not a bank deposit
and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other governmental
agency.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_AllocationRisk_S000023372Summary4Member"
      id="ixv-7180">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Allocation
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; MFS' assessment of the risk/return potential of asset classes
and underlying funds, and the resulting allocation among asset classes and underlying funds, may not
produce the intended results and/or can lead to an investment focus that results in the fund underperforming
other funds with similar investment strategies and/or underperforming the markets in which the fund invests.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_UnderlyingFundsRisk_S000023372Summary4Member"
      id="ixv-7185">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Underlying
Funds Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; MFS' strategy of investing in underlying funds exposes the
fund to the risks of the underlying funds. Each underlying fund pursues its own investment objective
and strategies and may not achieve its objective.  In addition to the fees and expenses the fund bears
directly, shareholders of the fund will indirectly bear the&#160;fees and expenses of the underlying funds.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_InvestmentSelectionRisk_S000023372Summary4Member"
      id="ixv-7189">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Investment
Selection Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; MFS' investment analysis, its development and use of quantitative
models, and its selection of investments may not produce the intended results and/or can lead to &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;an investment focus that results in the fund underperforming other funds with
similar investment strategies and/or underperforming the markets in which the fund invests. The quantitative
models used by MFS (both proprietary and third-party) may not produce the intended results for a variety
of reasons, including the factors used in the models, the weight placed on each factor in the models,
changes from the market factors' historical trends, changing sources of market return or market risk,
and technical issues in the design, development, implementation, application, and maintenance of the
models (e.g., incomplete, stale, or inaccurate data, human error, programming or other software issues,
coding errors, and technology failures).&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_EquityMarketRiskCompanyRisk_S000023372Summary4Member"
      id="ixv-7201">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Equity Market Risk/Company
Risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Equity markets are volatile and can decline
significantly in response to changes in, or investor perceptions of, issuer, market, economic, industry,
political, regulatory, geopolitical, environmental, public health, and other conditions.  These conditions
can affect a single issuer or type of security, issuers within a broad market sector, industry or geographic
region, or the equity markets in general.  Certain events can have a dramatic adverse effect on equity
markets and may lead to periods of high volatility in an equity market or a segment of an equity market.
 The value of an investment held by the fund may decline due to factors directly related to the issuer.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_GrowthCompanyRisk_S000023372Summary4Member"
      id="ixv-7206">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Growth
Company Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; The stocks of growth companies can be more sensitive to the
company&#x2019;s earnings and more volatile than the market in general.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_ValueCompanyRisk_S000023372Summary4Member"
      id="ixv-7210">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Value Company
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The stocks of value companies can continue to be undervalued
for long periods of time and not realize their expected value and can be more volatile than the market
in general.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_IntrinsicValueStrategyRisk_S000023372Summary4Member"
      id="ixv-7215">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Intrinsic Value Strategy Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The
stocks of companies that MFS believes are undervalued compared to their intrinsic value can continue
to be undervalued for long periods of time, may not realize their expected value, and can be volatile.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_DebtMarketRisk_S000023372Summary4Member"
      id="ixv-7220">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Debt
Market Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Debt markets can be volatile and can decline significantly
in response to changes in, or investor perceptions of, issuer, market, economic, industry, political,
regulatory, geopolitical, environmental, public health, and other conditions.  These conditions can affect
a single instrument, issuer, or borrower, a particular type of instrument, issuer, or borrower, a segment
of the debt markets or the debt markets generally. Certain events can have a dramatic adverse effect
on debt markets and may lead to periods of high volatility and reduced liquidity in a debt market or
segment of a debt market.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_InterestRateRisk_S000023372Summary4Member"
      id="ixv-7224">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Interest Rate Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;In general, the price of a debt instrument falls when interest rates rise and
rises when interest rates fall. Interest rate risk is generally greater for instruments with longer maturities
or durations, or that do not pay current interest.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_CreditRisk_S000023372Summary4Member"
      id="ixv-7229">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Credit
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; The price of a debt instrument depends, in part, on the credit quality of the
issuer, borrower, counterparty, or other entity responsible for payment, or underlying collateral or
assets and the terms of the instrument. The price of a debt instrument can decline in response to changes
in, or perceptions of, the financial condition of the issuer, borrower, counterparty, or other entity,
or underlying collateral or assets, or changes in, or perceptions of, specific or general market, economic,
industry, political, regulatory, geopolitical, environmental, public health, and other conditions. Debt
instruments may be more susceptible to downgrades or defaults during economic downturns or similar periods
of economic stress, which in turn could negatively affect the market value and liquidity of a debt instrument.&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Below investment grade quality debt instruments (commonly referred to as &#x201c;high
yield securities&#x201d; or &#x201c;junk bonds&#x201d;) can involve a substantially greater risk of default or can already
be in default, and their values can decline significantly. Below investment grade quality debt instruments
are regarded as having predominantly speculative characteristics. Below investment grade quality debt
instruments tend to be more sensitive to adverse news about the issuer, or the market or economy in general,
than higher quality debt instruments.&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_PrepaymentExtensionRisk_S000023372Summary4Member"
      id="ixv-7234">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Prepayment/Extension Risk:
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Instruments subject to prepayment and/or extension can reduce
the potential for gain for the instrument&#x2019;s holders if the instrument is prepaid and increase the potential
for loss if the maturity of the instrument is extended.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_Inflation-AdjustedDebtInstrumentsRisk_S000023372Summary4Member"
      id="ixv-7239">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Inflation-Adjusted
Debt Instruments Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Interest payments on inflation-adjusted
debt instruments can be unpredictable and vary based on the level of inflation. If inflation is negative,
principal and income can both decline.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_FocusRisk_S000023372Summary4Member"
      id="ixv-7244">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Focus Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Issuers
in a single industry, sector, country, or region can react similarly to market, currency, political,
economic, regulatory, geopolitical, environmental, public health, and other conditions, and the fund's
performance will be affected by the conditions in the industries, sectors, countries, and regions to
which the fund is exposed.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_ForeignRisk_S000023372Summary4Member"
      id="ixv-7248">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Foreign Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
Exposure to foreign markets through issuers or currencies can involve additional risks relating to market,
economic, industry, political, regulatory, geopolitical, environmental, public health, and other conditions.
These factors can make foreign investments, especially those tied economically to emerging markets or
countries subject to sanctions or the threat of new or modified sanctions, more volatile and less liquid
than U.S. investments. In addition, foreign markets can react differently to these conditions than the
U.S. market. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_EmergingMarketsRisk_S000023372Summary4Member"
      id="ixv-7252">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Emerging Markets Risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  Investments
tied economically to emerging markets, especially frontier markets, can involve additional and greater
risks than the risks associated with investments in developed markets.  Emerging markets can have less
developed markets&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;,&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; greater custody and operational
risk, less developed legal, regulatory, and accounting systems, greater government involvement in the
economy, greater risk of new or inconsistent government treatment of or restrictions on issuers and instruments,
and greater political, social, geopolitical, and economic instability than developed markets. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_CurrencyRisk_S000023372Summary4Member"
      id="ixv-7258">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Currency
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; The value of foreign currencies relative to the U.S. dollar fluctuates in response
to market, economic, industry, political, regulatory, geopolitical, environmental, public health, and
other conditions, and changes in currency exchange rates impact the financial condition of companies
or other issuers and may change the value in U.S. dollars of investments denominated in foreign currencies.
 &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_RealEstate-RelatedInvestmentRisk_S000023372Summary4Member"
      id="ixv-7262">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Real Estate-Related Investment Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The risks
of investing in real estate-related securities include certain risks associated with the direct ownership
of real estate and the real estate industry in general. These include risks related to general, regional
and local economic conditions; difficulties in valuing and disposing of real estate; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;fluctuations
in interest rates and property tax rates; shifts in zoning laws, environmental regulations and other
governmental action; cash flow dependency; increased operating expenses; lack of availability of mortgage
funds; losses due to natural disasters; overbuilding; losses due to casualty or condemnation; changes
in property values and rental rates; the management skill and creditworthiness of the real estate investment
trust (REIT) manager; and other factors.  The securities of smaller real estate-related issuers can be
more volatile and less liquid than securities of larger issuers and their issuers can have more limited
financial resources.&lt;/span&gt;&lt;/p&gt;
</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_When-IssuedDelayedDeliveryandForwardCommitmentTransactionRisk_S000023372Summary4Member"
      id="ixv-7274">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;When-Issued, Delayed Delivery, and Forward Commitment Transaction
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The purchaser in a when-issued, delayed delivery or forward commitment transaction
assumes the rights and risks of ownership, including the risks of price and yield fluctuations and the
risk that the security will not be issued or delivered as anticipated.  When-issued, delayed delivery,
and forward commitment transactions can involve leverage. To be announced (TBA) transactions may significantly
increase the fund's portfolio turnover rate.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_DerivativesRisk_S000023372Summary4Member"
      id="ixv-7278">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Derivatives
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Derivatives can be highly volatile and involve risks in addition
to the risks of the underlying indicator(s) on which the derivative is based. Gains or losses from derivatives
can be substantially greater than the derivatives&#x2019; original cost.  Derivatives can involve leverage.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_LeveragingRisk_S000023372Summary4Member"
      id="ixv-7283">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Leveraging
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Leverage involves investment exposure in an amount exceeding
the initial investment. Leverage can cause increased volatility by magnifying gains or losses. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_CounterpartyandThirdPartyRisk_S000023372Summary4Member"
      id="ixv-7288">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Counterparty
and Third Party Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Transactions involving a
counterparty or third party other than the issuer of the instrument are subject to the credit risk of
the counterparty or third party, and to the counterparty&#x2019;s or third party&#x2019;s ability or willingness
to perform in accordance with the terms of the transaction.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_LiquidityRisk_S000023372Summary4Member"
      id="ixv-7293">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Liquidity
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;It may be difficult to value, and it may not be possible to
sell, certain investments, types of investments, and/or investments in certain segments of the market,
and the fund may have to sell certain of these investments at prices or times that are not advantageous
in order to meet redemptions or other cash needs.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_LargeShareholderRisk_S000023372Summary4Member"
      id="ixv-7298">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Large Shareholder
Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;From time to time, shareholders of the fund (which may include institutional investors,
financial intermediaries, or other MFS funds) may make relatively large redemptions or purchases of fund
shares.  These transactions may cause the fund to sell securities or invest additional cash, as the case
may be, at disadvantageous prices.  Redemptions of a large number of shares also may increase transaction
and other costs or have adverse tax consequences for shareholders of the fund by requiring a sale of
portfolio securities.  Purchases of a large number of shares may adversely affect the fund's performance
to the extent that it takes time to invest new cash and the fund maintains a larger cash position than
it ordinarily would.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40579">Performance Information</rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-7303">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The bar&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#221E1F; font-weight:normal; text-decoration:none;"&gt;
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;chart and performance table below are intended to provide some indication of the
risks of investing in the fund by showing changes in the fund&#x2019;s performance over time and how the fund's
performance over time compares with that of (i) a broad measure of market performance and (ii) the performance
of an additional index that the adviser believes more closely reflects the market segments in which the
fund invests.&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund&#x2019;s past performance does not necessarily
indicate how the fund will perform in the future. Updated performance is available at &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;mfs.com&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
or by calling 1-877-411-3325. If the fees and expenses imposed by the insurance company that issued your
variable contracts or other eligible investor through which an investment in the fund is made were included,
they would reduce the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40580">The bar
chart and performance table below are intended to provide some indication of the
risks of investing in the fund by showing changes in the fund&#x2019;s performance over time and how the fund's
performance over time compares with that of (i) a broad measure of market performance and (ii) the performance
of an additional index that the adviser believes more closely reflects the market segments in which the
fund invests.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40582">The fund&#x2019;s past performance does not necessarily
indicate how the fund will perform in the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40583">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40584">1-877-411-3325</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40585">Initial Class Bar Chart.</rr:BarChartHeading>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-7316">&lt;p style="-sec-ix-redline:true;font-size:1.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The total return for the three-month period ended March 31,
2025, was 0.27%. During the period(s) shown in the bar chart, the highest quarterly return was 13.62%
(for the calendar quarter ended June 30, 2020) and the lowest quarterly return was (12.32)% (for the
calendar quarter ended March 31, 2020).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      id="ixv-40586">The total return for the three-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      id="ixv-40587">2025-03-31</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40588"
      unitRef="pure">0.0027</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      id="ixv-40589">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40590"
      unitRef="pure">0.1362</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      id="ixv-40591">2020-06-30</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      id="ixv-40592">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40593"
      unitRef="pure">-0.1232</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      id="ixv-40594">2020-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40595">Performance
Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40596">Average Annual Total Returns (For the Periods Ended December
31, 2024)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40597"
      unitRef="pure">0.0831</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40598"
      unitRef="pure">0.0538</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40599"
      unitRef="pure">0.0651</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000068443Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40600"
      unitRef="pure">0.0812</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000068443Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40601"
      unitRef="pure">0.0513</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000068443Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40602"
      unitRef="pure">0.0625</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_StandardPoors500StockIndex7_S000023372Member_S000023372Summary4Member"
      id="ixv-40603">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_MFSModerateAllocationPortfolioBlendedIndex8_S000023372Member_S000023372Summary4Member"
      id="ixv-40604">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_StandardPoors500StockIndex7_S000023372Member_S000023372Summary4Member"
      id="ixv-40605">Standard &amp; Poor's 500 Stock Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_StandardPoors500StockIndex7_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40606"
      unitRef="pure">0.2502</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_StandardPoors500StockIndex7_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40607"
      unitRef="pure">0.1453</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_StandardPoors500StockIndex7_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40608"
      unitRef="pure">0.1310</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_MFSModerateAllocationPortfolioBlendedIndex8_S000023372Member_S000023372Summary4Member"
      id="ixv-40609">MFS Moderate Allocation Portfolio Blended Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_MFSModerateAllocationPortfolioBlendedIndex8_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40610"
      unitRef="pure">0.1141</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_MFSModerateAllocationPortfolioBlendedIndex8_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40611"
      unitRef="pure">0.0684</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_MFSModerateAllocationPortfolioBlendedIndex8_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-40612"
      unitRef="pure">0.0709</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-7480">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As
of December 31, 2024, the MFS Moderate Allocation Portfolio Blended Index (the Blended Index) consisted
of the following indices and weightings: 43% Standard &amp;amp; Poor&#x2019;s 500 Stock Index; 14% MSCI EAFE (Europe,
Australasia, Far East) Index (net div); 3% FTSE EPRA Nareit Developed Real Estate Index (net div); and
40% Bloomberg U.S. Aggregate Bond Index. The components and weightings of the Blended Index may have
differed during the periods and may differ in the future.&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceAdditionalMarketIndex
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40613">As
of December 31, 2024, the MFS Moderate Allocation Portfolio Blended Index (the Blended Index) consisted
of the following indices and weightings: 43% Standard &amp; Poor&#x2019;s 500 Stock Index; 14% MSCI EAFE (Europe,
Australasia, Far East) Index (net div); 3% FTSE EPRA Nareit Developed Real Estate Index (net div); and
40% Bloomberg U.S. Aggregate Bond Index. The components and weightings of the Blended Index may have
differed during the periods and may differ in the future.</rr:PerformanceAdditionalMarketIndex>
    <rr:RiskReturnHeading
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40614">MFS&#xae;
Mid Cap Value Portfolio  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      id="ixv-40615">N/A</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000052150Member_S000018843Member_S000018843Summary5Member"
      id="ixv-40616">N/A</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40618">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-9405">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund&#x2019;s
investment objective is to seek capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40619">Fees and Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-9408">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This
table describes the fees and expenses that you may pay when you hold shares of the fund.  If the fees
and expenses imposed by the insurance company that issued your variable contracts or other eligible investor
through which the fund is offered were included, your expenses would be higher.&lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:OperatingExpensesCaption
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40620">Annual Fund Operating Expenses (expenses that you pay each year as a percentage
of the value of your investment):</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40622"
      unitRef="pure">0.0075</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000052150Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40623"
      unitRef="pure">0.0075</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40624"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000052150Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40625"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40626"
      unitRef="pure">0.0005</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000052150Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40627"
      unitRef="pure">0.0005</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40628"
      unitRef="pure">0.0080</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000052150Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40629"
      unitRef="pure">0.0105</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="_509_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20241231_20241231_C000052150Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="_510_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40632"
      unitRef="pure">0.0079</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20241231_20241231_C000052150Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40633"
      unitRef="pure">0.0104</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40634">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-9531">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This example is intended to help you compare the cost of investing
in the fund with the cost of investing in other mutual funds. If the fees and expenses imposed by the
insurance company that issued your variable contracts or other eligible investor through which an investment
in the fund is made were included, your expenses would be higher.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The example
assumes that: you invest $10,000 in the fund for the time periods indicated and you redeem your shares
at the end of the time periods; your investment has a 5% return each year; and the fund&#x2019;s operating
expenses remain the same. &lt;/p&gt;</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleByYearCaption
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40635">Although your actual costs will likely be higher
or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40636"
      unitRef="usd">81</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40637"
      unitRef="usd">254</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40638"
      unitRef="usd">443</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40639"
      unitRef="usd">989</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000052150Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40640"
      unitRef="usd">106</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000052150Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40641"
      unitRef="usd">333</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000052150Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40642"
      unitRef="usd">578</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000052150Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40643"
      unitRef="usd">1282</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40644">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-9622">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund pays transaction costs, such as commissions,
when it buys and sells securities (or &#x201c;turns over&#x201d; its portfolio). A higher portfolio turnover rate
may indicate higher transaction costs. These transaction costs, which are not reflected in &#x201c;Annual
Fund Operating Expenses&#x201d; or in the &#x201c;Example,&#x201d; affect the fund&#x2019;s performance.  During the most
recent fiscal year, the fund&#x2019;s portfolio turnover rate was 27% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40645"
      unitRef="pure">0.27</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40646">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-9625">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS (Massachusetts Financial Services Company,
the fund&#x2019;s investment adviser) normally invests at least 80% of the fund&#x2019;s net assets in issuers
with medium market capitalizations. MFS generally defines medium market capitalization issuers as issuers
with market capitalizations similar to those of issuers included in the Russell Midcap&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&lt;sup&gt;&#xae;&lt;/sup&gt;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
Value Index over the last 13 months at the time of purchase. As of March 31, 2025, the range of the market
capitalizations of the issuers in the Russell Midcap&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&lt;sup&gt;&#xae;&lt;/sup&gt;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
Value Index was between approximately $272.6 million and $88.3 billion. &lt;/span&gt;&lt;/p&gt;&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS
normally invests the fund&#x2019;s assets primarily in equity securities. Equity securities include common
stocks, depositary receipts,&#160;equity interests in real estate investment trusts (REITs), and other securities
that represent an ownership interest (or right to acquire an ownership interest) in a company or other
issuer.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS focuses on investing the fund's assets
in the stocks of companies it believes are undervalued compared to their perceived worth (value companies).
&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS may invest the fund&#x2019;s assets in foreign securities.
&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS normally invests the fund's assets across different industries
and sectors, but MFS may invest a significant percentage of the fund's assets in issuers in a single
industry or sector.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS uses an active bottom-up investment approach
to buying and selling investments for the fund. Investments are selected primarily based on fundamental
analysis of individual issuers. Quantitative screening tools that systematically evaluate issuers may
also be considered.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;For purposes of the fund's 80% policy, net
assets include the amount of any borrowings for investment purposes.&lt;/p&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_PrincipalRisks_S000018843Summary5Member"
      id="ixv-9640">&lt;p style="font-size:11.0pt; font-family:Arial; text-align:left; color:#000000; font-weight:bold; text-decoration:none;"&gt;Principal Risks &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As
with any mutual fund, the fund may not achieve its objective and/or you could lose money on your investment
in the fund. An investment in the fund is not a bank deposit and is not insured or guaranteed by the
Federal Deposit Insurance Corporation or any other governmental agency.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The
principal risks of investing in the fund are:&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskHeading
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40647">Principal Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_RiskLoseMoneyMember_S000018843Summary5Member"
      id="ixv-40648">As
with any mutual fund, the fund may not achieve its objective and/or you could lose money on your investment
in the fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_RiskNotInsuredMember_S000018843Summary5Member"
      id="ixv-40649">An investment in the fund is not a bank deposit and is not insured or guaranteed by the
Federal Deposit Insurance Corporation or any other governmental agency.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_InvestmentSelectionRisk_S000018843Summary5Member"
      id="ixv-9644">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Investment Selection Risk:
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; MFS' investment analysis and its selection of investments may not produce the
intended results and/or can lead to an investment focus that results in the fund underperforming other
funds with similar investment strategies and/or underperforming the markets in which the fund invests.
 In addition, to the extent MFS considers quantitative tools in managing the fund, such tools may not
produce the intended results. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_EquityMarketRiskCompanyRisk_S000018843Summary5Member"
      id="ixv-9648">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Equity Market Risk/Company
Risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Equity markets are volatile and can decline
significantly in response to changes in, or investor perceptions of, issuer, market, economic, industry,
political, regulatory, geopolitical, environmental, public health, and other conditions.  These conditions
can affect a single issuer or type of security, issuers within a broad market sector, industry or geographic
region, or the equity markets in general.  Certain events can have a dramatic adverse effect on equity
markets and may lead to periods of high volatility in an equity market or a segment of an equity market.
 The value of an investment held by the fund may decline due to factors directly related to the issuer.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_ValueCompanyRisk_S000018843Summary5Member"
      id="ixv-9653">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Value
Company Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The stocks of value companies
can continue to be undervalued for long periods of time and not realize their expected value and can
be more volatile than the market in general.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_MidCapRisk_S000018843Summary5Member"
      id="ixv-9658">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Mid Cap
Risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The stocks of mid cap companies can be more
volatile and their shares can be less liquid than those of larger companies.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_ForeignRisk_S000018843Summary5Member"
      id="ixv-9663">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:bold; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Foreign
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; Exposure to foreign markets through issuers or currencies can involve additional
risks relating to market, economic, industry, political, regulatory, geopolitical, environmental, public
health, and other conditions. These factors can make foreign investments, especially those tied economically
to countries with developing economies or countries subject to sanctions or the threat of new or modified
sanctions, more volatile and less liquid than U.S. investments. In addition, foreign markets can react
differently to these conditions than the U.S. market.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_REITsRisk_S000018843Summary5Member"
      id="ixv-9667">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;REITs Risk:
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The risks of investing in REITs include certain risks associated with the direct
ownership of real estate and the real estate industry in general. These include risks related to general,
regional and local economic conditions; difficulties in valuing and disposing of real estate; fluctuations
in interest rates and property tax rates; shifts in zoning laws, environmental regulations and other
governmental action; cash flow dependency; increased operating expenses; lack of availability of mortgage
funds; losses due to natural disasters; overbuilding; losses due to casualty or condemnation; changes
in property values and rental rates; the management skill and creditworthiness of the REIT manager; and
other factors.  The securities of smaller real estate-related issuers can be more volatile and less liquid
than securities of larger issuers and their issuers can have more limited financial resources.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_FocusRisk_S000018843Summary5Member"
      id="ixv-9671">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Focus
Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Issuers in a single industry, sector, country, or region can react similarly to
market, currency, political, economic, regulatory, geopolitical, environmental, public health, and other
conditions, and the fund's performance will be affected by the conditions in the industries, sectors,
countries, and regions to which the fund is exposed.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_LiquidityRisk_S000018843Summary5Member"
      id="ixv-9675">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Liquidity
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;It may be difficult to value, and it may not be possible to
sell, certain investments, types of investments, and/or investments in certain segments of the market,
and the fund may have to sell certain of these investments at prices or times that are not advantageous
in order to meet redemptions or other cash needs.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_LargeShareholderRisk_S000018843Summary5Member"
      id="ixv-9686">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Large
Shareholder Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;From time to time, shareholders of the fund (which may include
institutional investors, financial intermediaries, or other MFS funds) may make relatively large redemptions
or purchases of fund shares.  These transactions may cause the fund to sell securities or invest additional
cash, as the case may be, at disadvantageous prices.  Redemptions of a large number of shares also may
increase transaction and other costs or have adverse tax consequences for shareholders of the fund by
requiring a sale of portfolio securities.  Purchases of a large number of shares may adversely affect
the fund's performance to the extent that it takes time to invest new cash and the fund maintains a larger
cash position than it ordinarily would.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40650">Performance Information</rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-9691">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The bar&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#221E1F; font-weight:normal; text-decoration:none;"&gt;
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;chart and performance table below are intended to provide some indication of the
risks of investing in the fund by showing changes in the fund&#x2019;s performance over time and how the fund's
performance over time compares with that of (i) a broad measure of market performance and (ii) the performance
of an additional index that the adviser believes more closely reflects the market segments in which the
fund invests.&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund&#x2019;s past performance does not necessarily
indicate how the fund will perform in the future. Updated performance is available at &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;mfs.com&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
or by calling 1-877-411-3325. If the fees and expenses imposed by the insurance company that issued your
variable contracts or other eligible investor through which an investment in the fund is made were included,
they would reduce the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40651">The bar
chart and performance table below are intended to provide some indication of the
risks of investing in the fund by showing changes in the fund&#x2019;s performance over time and how the fund's
performance over time compares with that of (i) a broad measure of market performance and (ii) the performance
of an additional index that the adviser believes more closely reflects the market segments in which the
fund invests.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40653">The fund&#x2019;s past performance does not necessarily
indicate how the fund will perform in the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40654">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40655">1-877-411-3325</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40656">Initial Class Bar Chart.</rr:BarChartHeading>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-9704">&lt;p style="-sec-ix-redline:true;font-size:1.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The total return for the three-month period ended March 31,
2025, was (2.64)%. During the period(s) shown in the bar chart, the highest quarterly return was 19.90%
(for the calendar quarter ended June 30, 2020) and the lowest quarterly return was (31.01)% (for the
calendar quarter ended March 31, 2020).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      id="ixv-40657">The total return for the three-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      id="ixv-40658">2025-03-31</rr:BarChartYearToDateReturnDate>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      id="ixv-40659">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40660"
      unitRef="pure">0.1990</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      id="ixv-40661">2020-06-30</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      id="ixv-40662">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40663"
      unitRef="pure">-0.3101</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      id="ixv-40664">2020-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40665">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40666">Average Annual
Total Returns (For the Periods Ended December
31, 2024)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40667"
      unitRef="pure">0.1375</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40668"
      unitRef="pure">0.0974</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40669"
      unitRef="pure">0.0905</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000052150Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40670"
      unitRef="pure">0.1352</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000052150Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40671"
      unitRef="pure">0.0947</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000052150Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40672"
      unitRef="pure">0.0878</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_Russell3000Index9_S000018843Member_S000018843Summary5Member"
      id="ixv-40673">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_RussellMidcapValueIndex10_S000018843Member_S000018843Summary5Member"
      id="ixv-40674">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_Russell3000Index9_S000018843Member_S000018843Summary5Member"
      id="ixv-40675">Russell 3000&#xae; Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_Russell3000Index9_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40676"
      unitRef="pure">0.2381</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_Russell3000Index9_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40677"
      unitRef="pure">0.1386</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_Russell3000Index9_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40678"
      unitRef="pure">0.1255</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_RussellMidcapValueIndex10_S000018843Member_S000018843Summary5Member"
      id="ixv-40679">Russell Midcap&#xae; Value Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_RussellMidcapValueIndex10_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40680"
      unitRef="pure">0.1307</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_RussellMidcapValueIndex10_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40681"
      unitRef="pure">0.0859</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_RussellMidcapValueIndex10_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-40682"
      unitRef="pure">0.0810</rr:AverageAnnualReturnYear10>
    <rr:RiskReturnHeading
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40683">MFS&#xae;
Inflation-Adjusted Bond Portfolio  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      id="ixv-40684">N/A</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000068455Member_S000023378Member_S000023378Summary6Member"
      id="ixv-40685">N/A</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40687">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-11080">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund&#x2019;s
investment objective is to seek total return that exceeds the rate of inflation over the long-term, with
an emphasis on current income, but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40688">Fees and
Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-11083">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This table describes the fees and expenses that you may pay
when you hold shares of the fund.  If the fees and expenses imposed by the insurance company that issued
your variable contracts or other eligible investor through which the fund is offered were included, your
expenses would be higher.&lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:OperatingExpensesCaption
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40689">Annual Fund
Operating Expenses (expenses that you pay each year as a percentage of the value of your investment):</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40691"
      unitRef="pure">0.0050</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000068455Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40692"
      unitRef="pure">0.0050</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40693"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000068455Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40694"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40695"
      unitRef="pure">0.0011</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068455Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40696"
      unitRef="pure">0.0011</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40697"
      unitRef="pure">0.0061</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068455Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40698"
      unitRef="pure">0.0086</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="_619_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20241231_20241231_C000068455Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="_620_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40701"
      unitRef="pure">0.0060</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20241231_20241231_C000068455Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40702"
      unitRef="pure">0.0085</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40703">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-11206">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This example is intended to help you compare the cost of investing
in the fund with the cost of investing in other mutual funds. If the fees and expenses imposed by the
insurance company that issued your variable contracts or other eligible investor through which an investment
in the fund is made were included, your expenses would be higher.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The example
assumes that: you invest $10,000 in the fund for the time periods indicated and you redeem your shares
at the end of the time periods; your investment has a 5% return each year; and the fund&#x2019;s operating
expenses remain the same. &lt;/p&gt;</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleByYearCaption
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40704">Although your actual costs will likely be higher
or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40705"
      unitRef="usd">61</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40706"
      unitRef="usd">194</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40707"
      unitRef="usd">339</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40708"
      unitRef="usd">761</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000068455Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40709"
      unitRef="usd">87</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000068455Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40710"
      unitRef="usd">273</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000068455Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40711"
      unitRef="usd">476</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000068455Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40712"
      unitRef="usd">1060</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40713">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-11297">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund pays transaction costs, such as commissions,
when it buys and sells securities (or &#x201c;turns over&#x201d; its portfolio). A higher portfolio turnover rate
may indicate higher transaction costs. These transaction costs, which are not reflected in &#x201c;Annual
Fund Operating Expenses&#x201d; or in the &#x201c;Example,&#x201d; affect the fund&#x2019;s performance.  During the most
recent fiscal year, the fund&#x2019;s portfolio turnover rate was 43% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40714"
      unitRef="pure">0.43</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40715">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-11300">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS (Massachusetts Financial Services Company,
the fund's investment adviser) normally invests at least 80% of the fund&#x2019;s net assets in inflation-adjusted
debt instruments and other instruments with similar economic characteristics. &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS
generally focuses the fund&#x2019;s investments in inflation-adjusted debt instruments issued by U.S. and
foreign governments. MFS may also invest the fund&#x2019;s assets in inflation-adjusted debt instruments of
other issuers, other instruments with similar economic characteristics to these instruments, including
derivatives, and non-inflation-adjusted debt instruments.&lt;/p&gt;&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS primarily
invests the fund&#x2019;s assets in investment grade quality debt instruments, but may also invest the fund&#x2019;s
assets in below investment grade quality debt instruments. &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS invests
the fund&#x2019;s assets in U.S. and foreign securities.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS normally
invests the fund's assets across different countries and regions, but MFS may invest a significant percentage
of the fund's assets in issuers in a single country or region.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund
is a non-diversified fund. This means that MFS may invest a significant percentage of the fund&#x2019;s assets
in a single issuer or a small number of issuers. &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;While MFS may use derivatives
for any investment purpose, to the extent MFS uses derivatives, MFS expects to use derivatives primarily
to increase or decrease exposure to a particular market, segment of the market, or security, to increase
or decrease interest rate or currency exposure, or as alternatives to direct investments. Derivatives
include futures, forward contracts, options, and swaps.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS allocates
the fund&#x2019;s assets across countries, maturities, and types of debt instruments based on its evaluation
of U.S. and foreign macroeconomic factors, including interest rates, inflation rates, and monetary and
fiscal policies.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS uses an active bottom-up investment approach
to buying and selling investments for the fund. Investments are selected primarily based on fundamental
analysis of individual instruments and their issuers. Quantitative screening tools that systematically
evaluate instruments may also be considered. In structuring the fund, MFS also considers top-down factors.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;For purposes of the fund's 80% policy, net assets include the amount of any borrowings
for investment purposes.&lt;/p&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_PrincipalRisks_S000023378Summary6Member"
      id="ixv-11311">&lt;p style="font-size:11.0pt; font-family:Arial; text-align:left; color:#000000; font-weight:bold; text-decoration:none;"&gt;Principal Risks &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As with
any mutual fund, the fund may not achieve its objective and/or you could lose money on your investment
in the fund. An investment in the fund is not a bank deposit and is not insured or guaranteed by the
Federal Deposit Insurance Corporation or any other governmental agency.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The
principal risks of investing in the fund are:&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskHeading
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40716">Principal Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_RiskLoseMoneyMember_S000023378Summary6Member"
      id="ixv-40717">As with
any mutual fund, the fund may not achieve its objective and/or you could lose money on your investment
in the fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_RiskNotInsuredMember_S000023378Summary6Member"
      id="ixv-40718">An investment in the fund is not a bank deposit and is not insured or guaranteed by the
Federal Deposit Insurance Corporation or any other governmental agency.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_InvestmentSelectionRisk_S000023378Summary6Member"
      id="ixv-11315">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Investment Selection Risk:
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; MFS' investment analysis and its selection of investments may not produce the
intended results and/or can lead to an investment focus that results in the fund underperforming other
funds with similar investment strategies and/or underperforming the markets in which the fund invests.
 In addition, to the extent MFS considers quantitative tools in managing the fund, such tools may not
produce the intended results. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_DebtMarketRisk_S000023378Summary6Member"
      id="ixv-11319">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Debt Market Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Debt
markets can be volatile and can decline significantly in response to changes in, or investor perceptions
of, issuer, market, economic, industry, political, regulatory, geopolitical, environmental, public health,
and other conditions.  These conditions can affect a single instrument, issuer, or borrower, a particular
type of instrument, issuer, or borrower, a segment of the debt markets or the debt markets generally.
Certain events can have a dramatic adverse effect on debt markets and may lead to periods of high volatility
and reduced liquidity in a debt market or segment of a debt market.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_InterestRateRisk_S000023378Summary6Member"
      id="ixv-11323">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Interest
Rate Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;In general, the price of
a debt instrument falls when interest rates rise and rises when interest rates fall. Interest rate risk
is generally greater for instruments with longer maturities or durations, or that do not pay current
interest.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_CreditRisk_S000023378Summary6Member"
      id="ixv-11328">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Credit Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; The
price of a debt instrument depends, in part, on the credit quality of the issuer, borrower, counterparty,
or other entity responsible for payment, or underlying collateral or assets and the terms of the instrument.
The price of a debt instrument can decline in response to changes in, or perceptions of, the financial
condition of the issuer, borrower, counterparty, or other entity, or underlying collateral or assets,
or changes in, or perceptions of, specific or general market, economic, industry, political, regulatory,
geopolitical, environmental, public health, and other conditions. Debt instruments may be more susceptible
to downgrades or defaults during economic downturns or similar periods of economic stress, which in turn
could negatively affect the market value and liquidity of a debt instrument.&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Below
investment grade quality debt instruments (commonly referred to as &#x201c;high yield securities&#x201d; or &#x201c;junk
bonds&#x201d;) can involve a substantially greater risk of default or can already be in default, and their
values can decline significantly. Below investment grade quality debt instruments are regarded as having
predominantly speculative characteristics. Below investment grade quality debt instruments tend to be
more sensitive to adverse news about the issuer, or the market or economy in general, than higher quality
debt instruments.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Government securities not supported as to the
payment of principal or interest by the full faith and credit of the government are subject to greater
credit risk than are government securities supported by the full faith and credit of the government.&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_Inflation-AdjustedDebtInstrumentsRisk_S000023378Summary6Member"
      id="ixv-11340">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Inflation-Adjusted
Debt Instruments Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Interest payments on inflation-adjusted
debt instruments can be unpredictable and vary based on the level of inflation. If inflation is negative,
principal and income can both decline.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_ForeignRisk_S000023378Summary6Member"
      id="ixv-11345">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Foreign
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; Exposure to foreign markets through issuers or currencies can involve additional
risks relating to market, economic, industry, political, regulatory, geopolitical, environmental, public
health, and other conditions. These factors can make foreign investments, especially those tied economically
to countries with developing economies, more volatile and less liquid than U.S. investments. In addition,
foreign markets can react differently to these conditions than the U.S. market. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_CurrencyRisk_S000023378Summary6Member"
      id="ixv-11349">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Currency
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; The value of foreign currencies relative to the U.S. dollar fluctuates in response
to market, economic, industry, political, regulatory, geopolitical, environmental, public health, and
other conditions, and changes in currency exchange rates impact the financial condition of companies
or other issuers and may change the value in U.S. dollars of investments denominated in foreign currencies.
 &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_FocusRisk_S000023378Summary6Member"
      id="ixv-11353">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Focus Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Issuers in a single country
or region can react similarly to market, currency, political, economic, regulatory, geopolitical, environmental,
public health, and other conditions, and the fund's performance will be affected by the conditions in
the countries and regions to which the fund is exposed.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_RiskNondiversifiedStatusMember_S000023378Summary6Member"
      id="ixv-11357">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Non-Diversification
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Because MFS may invest a significant percentage of the fund&#x2019;s
assets in a single issuer or small number of issuers, the fund&#x2019;s performance could be closely tied
to the value of that one issuer or issuers, and could be more volatile than the performance of diversified
funds. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_DerivativesRisk_S000023378Summary6Member"
      id="ixv-11362">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Derivatives Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Derivatives
can be highly volatile and involve risks in addition to the risks of the underlying indicator(s) on which
the derivative is based. Gains or losses from derivatives can be substantially greater than the derivatives&#x2019;
original cost.  Derivatives can involve leverage.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_LeveragingRisk_S000023378Summary6Member"
      id="ixv-11367">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Leveraging
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Leverage involves investment exposure in an amount exceeding
the initial investment. Leverage can cause increased volatility by magnifying gains or losses. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_CounterpartyandThirdPartyRisk_S000023378Summary6Member"
      id="ixv-11372">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Counterparty
and Third Party Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Transactions involving a
counterparty or third party other than the issuer of the instrument are subject to the credit risk of
the counterparty or third party, and to the counterparty&#x2019;s or third party&#x2019;s ability or willingness
to perform in accordance with the terms of the transaction.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_LiquidityRisk_S000023378Summary6Member"
      id="ixv-11377">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Liquidity
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;It may be difficult to value, and it may not be possible to
sell, certain investments, types of investments, and/or investments in certain segments of the market,
and the fund may have to sell certain of these investments at prices or times that are not advantageous
in order to meet redemptions or other cash needs.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_LargeShareholderRisk_S000023378Summary6Member"
      id="ixv-11382">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Large Shareholder
Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;From time to time, shareholders of the fund (which may include institutional investors,
financial intermediaries, or other MFS funds) may make relatively large redemptions or purchases of fund
shares.  These transactions may cause the fund to sell securities or invest additional cash, as the case
may be, at disadvantageous prices.  Redemptions of a large number of shares also may increase transaction
and other costs or have adverse tax consequences for shareholders of the fund by requiring a sale of
portfolio securities.  Purchases of a large number of shares may adversely affect the fund's performance
to the extent that it takes time to invest new cash and the fund maintains a larger cash position than
it ordinarily would.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40719">Performance Information</rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-11387">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The bar&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#221E1F; font-weight:normal; text-decoration:none;"&gt;
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;chart and performance table below are intended to provide some indication of the
risks of investing in the fund by showing changes in the fund&#x2019;s performance over time and how the fund's
performance over time compares with that of&#160;(i) a broad measure of market performance&#160;and (ii) the
performance of an additional index that the adviser believes more closely reflects the market segments
in which the fund invests.&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund&#x2019;s past performance
does not necessarily indicate how the fund will perform in the future. Updated performance is available
at &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;mfs.com&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; or by calling 1-877-411-3325. If the fees
and expenses imposed by the insurance company that issued your variable contracts or other eligible investor
through which an investment in the fund is made were included, they would reduce the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40720">The bar
chart and performance table below are intended to provide some indication of the
risks of investing in the fund by showing changes in the fund&#x2019;s performance over time and how the fund's
performance over time compares with that of&#160;(i) a broad measure of market performance&#160;and (ii) the
performance of an additional index that the adviser believes more closely reflects the market segments
in which the fund invests.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40722">The fund&#x2019;s past performance
does not necessarily indicate how the fund will perform in the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40723">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40724">1-877-411-3325</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40725">Initial Class Bar Chart.</rr:BarChartHeading>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-11400">&lt;p style="-sec-ix-redline:true;font-size:1.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The total return for the three-month period ended March 31,
2025, was 3.63%. During the period(s) shown in the bar chart, the highest quarterly return was 8.49%
(for the calendar quarter ended December 31, 2023) and the lowest quarterly return was (12.69)% (for
the calendar quarter ended June 30, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      id="ixv-40726">The total return for the three-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      id="ixv-40727">2025-03-31</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40728"
      unitRef="pure">0.0363</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      id="ixv-40729">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40730"
      unitRef="pure">0.0849</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      id="ixv-40731">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      id="ixv-40732">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40733"
      unitRef="pure">-0.1269</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      id="ixv-40734">2022-06-30</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40735">Performance
Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40736">Average Annual Total Returns (For the Periods Ended December
31, 2024)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40737"
      unitRef="pure">-0.0394</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40738"
      unitRef="pure">-0.0223</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40739"
      unitRef="pure">-0.0025</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000068455Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40740"
      unitRef="pure">-0.0413</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000068455Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40741"
      unitRef="pure">-0.0247</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000068455Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40742"
      unitRef="pure">-0.0049</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_BloombergGlobalAggregateIndex11_S000023378Member_S000023378Summary6Member"
      id="ixv-40743">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_BloombergWorldGovernmentInflation-LinkedBondIndex12_S000023378Member_S000023378Summary6Member"
      id="ixv-40744">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_BloombergGlobalAggregateIndex11_S000023378Member_S000023378Summary6Member"
      id="ixv-40745">Bloomberg Global Aggregate Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_BloombergGlobalAggregateIndex11_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40746"
      unitRef="pure">-0.0169</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_BloombergGlobalAggregateIndex11_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40747"
      unitRef="pure">-0.0196</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_BloombergGlobalAggregateIndex11_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40748"
      unitRef="pure">0.0015</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_BloombergWorldGovernmentInflation-LinkedBondIndex12_S000023378Member_S000023378Summary6Member"
      id="ixv-40749">Bloomberg World Government Inflation-Linked
Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_BloombergWorldGovernmentInflation-LinkedBondIndex12_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40750"
      unitRef="pure">-0.0310</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_BloombergWorldGovernmentInflation-LinkedBondIndex12_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40751"
      unitRef="pure">-0.0151</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_BloombergWorldGovernmentInflation-LinkedBondIndex12_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-40752"
      unitRef="pure">0.0034</rr:AverageAnnualReturnYear10>
    <rr:RiskReturnHeading
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40753">MFS&#xae;
Limited Maturity Portfolio  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      id="ixv-40754">N/A</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000052152Member_S000018844Member_S000018844Summary7Member"
      id="ixv-40755">N/A</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40757">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-12818">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund&#x2019;s
investment objective is to seek total return with an emphasis on current income, but also considering
capital preservation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40758">Fees and Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-12821">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This table
describes the fees and expenses that you may pay when you hold shares of the fund.  If the fees and expenses
imposed by the insurance company that issued your variable contracts or other eligible investor through
which the fund is offered were included, your expenses would be higher.&lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:OperatingExpensesCaption
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40759">Annual Fund Operating Expenses (expenses that you pay each year as a percentage
of the value of your investment):</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40761"
      unitRef="pure">0.0040</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000052152Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40762"
      unitRef="pure">0.0040</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40763"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000052152Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40764"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40765"
      unitRef="pure">0.0009</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000052152Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40766"
      unitRef="pure">0.0009</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40767"
      unitRef="pure">0.0049</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000052152Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40768"
      unitRef="pure">0.0074</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="_734_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20241231_20241231_C000052152Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="_735_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40771"
      unitRef="pure">0.0048</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20241231_20241231_C000052152Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40772"
      unitRef="pure">0.0073</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40773">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-12944">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This example is intended to help you compare the cost of investing
in the fund with the cost of investing in other mutual funds. If the fees and expenses imposed by the
insurance company that issued your variable contracts or other eligible investor through which an investment
in the fund is made were included, your expenses would be higher.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The example
assumes that: you invest $10,000 in the fund for the time periods indicated and you redeem your shares
at the end of the time periods; your investment has a 5% return each year; and the fund&#x2019;s operating
expenses remain the same. &lt;/p&gt;</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleByYearCaption
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40774">Although your actual costs will likely be higher
or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40775"
      unitRef="usd">49</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40776"
      unitRef="usd">156</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40777"
      unitRef="usd">273</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40778"
      unitRef="usd">615</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000052152Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40779"
      unitRef="usd">75</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000052152Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40780"
      unitRef="usd">236</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000052152Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40781"
      unitRef="usd">410</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000052152Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40782"
      unitRef="usd">917</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40783">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-13035">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund pays transaction costs, such as commissions,
when it buys and sells securities (or &#x201c;turns over&#x201d; its portfolio). A higher portfolio turnover rate
may indicate higher transaction costs. These transaction costs, which are not reflected in &#x201c;Annual
Fund Operating Expenses&#x201d; or in the &#x201c;Example,&#x201d; affect the fund&#x2019;s performance.  During the most
recent fiscal year, the fund&#x2019;s portfolio turnover rate was 40% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40784"
      unitRef="pure">0.40</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40785">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-13038">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS (Massachusetts Financial Services Company,
the fund's investment adviser) normally invests the fund&#x2019;s assets primarily in debt instruments. &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Debt instruments include U.S. Government securities, corporate bonds, foreign
government securities, securitized instruments (including mortgage-backed securities and other asset-backed
securities), and other obligations to repay money borrowed.  &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund&#x2019;s
dollar-weighted average effective maturity will normally not exceed five years.  &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS
generally invests substantially all of the fund&#x2019;s assets in investment grade quality debt instruments.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS invests the fund&#x2019;s assets in U.S. securities and U.S. dollar-denominated
foreign securities.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS normally invests the fund's assets across
different industries, sectors, countries, and regions, but MFS may invest a significant percentage of
the fund&#x2019;s assets in issuers in a single industry, sector, country, or region.  &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS
may invest a significant percentage of the fund&#x2019;s assets in a single issuer or a small number of issuers.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;While MFS may use derivatives for any investment purpose, to the extent MFS uses
derivatives, MFS expects to use derivatives primarily to increase or decrease exposure to a particular
market, segment of the market, or security, to increase or decrease interest rate exposure, or as alternatives
to direct investments. Derivatives include futures, forward contracts, options, and swaps.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS
uses an active bottom-up investment approach to buying and selling investments for the fund. Investments
are selected primarily based on fundamental analysis of individual instruments and their issuers. Quantitative
screening tools that systematically evaluate instruments may also be considered. In structuring the fund,
MFS also considers top-down factors.&lt;/p&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_PrincipalRisks_S000018844Summary7Member"
      id="ixv-13048">&lt;p style="font-size:11.0pt; font-family:Arial; text-align:left; color:#000000; font-weight:bold; text-decoration:none;"&gt;Principal Risks &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As
with any mutual fund, the fund may not achieve its objective and/or you could lose money on your investment
in the fund. An investment in the fund is not a bank deposit and is not insured or guaranteed by the
Federal Deposit Insurance Corporation or any other governmental agency.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The
principal risks of investing in the fund are:&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskHeading
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40786">Principal Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_RiskLoseMoneyMember_S000018844Summary7Member"
      id="ixv-40787">As
with any mutual fund, the fund may not achieve its objective and/or you could lose money on your investment
in the fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_RiskNotInsuredMember_S000018844Summary7Member"
      id="ixv-40788">An investment in the fund is not a bank deposit and is not insured or guaranteed by the
Federal Deposit Insurance Corporation or any other governmental agency.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_InvestmentSelectionRisk_S000018844Summary7Member"
      id="ixv-13052">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Investment Selection Risk:
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; MFS' investment analysis and its selection of investments may not produce the
intended results and/or can lead to an investment focus that results in the fund underperforming other
funds with similar investment strategies and/or underperforming the markets in which the fund invests.
 In addition, to the extent MFS considers quantitative tools in managing the fund, such tools may not
produce the intended results. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_DebtMarketRisk_S000018844Summary7Member"
      id="ixv-13056">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Debt Market Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Debt
markets can be volatile and can decline significantly in response to changes in, or investor perceptions
of, issuer, market, economic, industry, political, regulatory, geopolitical, environmental, public health,
and other conditions.  These conditions can affect a single instrument, issuer, or borrower, a particular
type of instrument, issuer, or borrower, a segment of the debt markets or the debt markets generally.
Certain events can have a dramatic adverse effect on debt markets and may lead to periods of high volatility
and reduced liquidity in a debt market or segment of a debt market.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_InterestRateRisk_S000018844Summary7Member"
      id="ixv-13060">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Interest
Rate Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;In general, the price of
a debt instrument falls when interest rates rise and rises when interest rates fall. Interest rate risk
is generally greater for instruments with longer maturities or durations, or that do not pay current
interest.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_CreditRisk_S000018844Summary7Member"
      id="ixv-13065">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Credit Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; The
price of a debt instrument depends, in part, on the credit quality of the issuer, borrower, counterparty,
or other entity responsible for payment, or underlying collateral or assets and the terms of the instrument.
The price of a debt instrument can decline in response to changes in, or perceptions of, the financial
condition of the issuer, borrower, counterparty, or other entity, or underlying collateral or assets,
or changes in, or perceptions of, specific or general market, economic, industry, political, regulatory,
geopolitical, environmental, public health, and other conditions. Debt instruments may be more susceptible
to downgrades or defaults during economic downturns or similar periods of economic stress, which in turn
could negatively affect the market value and liquidity of a debt instrument.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_ForeignRisk_S000018844Summary7Member"
      id="ixv-13069">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Foreign
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; Exposure to foreign markets through issuers can involve additional risks relating
to market, economic, industry, political, regulatory, geopolitical, environmental, public health, and
other conditions. These factors can make foreign investments, especially those tied economically to countries
with developing economies or countries subject to sanctions or the threat of new or modified sanctions,
more volatile and less liquid than U.S. investments. In addition, foreign markets can react differently
to these conditions than the U.S. market.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_FocusRisk_S000018844Summary7Member"
      id="ixv-13073">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Focus Risk:
 &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Issuers in a single industry, sector, country, or region can react similarly to
market, currency, political, economic, regulatory, geopolitical, environmental, public health, and other
conditions, and the fund's performance will be affected by the conditions in the industries, sectors,
countries, and regions to which the fund is exposed.  &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;If MFS
invests a significant percentage of the fund's assets in a single issuer or small number of issuers,
the fund&#x2019;s performance could be more volatile than the performance of more diversified funds. &lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_PrepaymentExtensionRisk_S000018844Summary7Member"
      id="ixv-13078">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Prepayment/Extension
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Instruments subject to prepayment and/or extension can reduce
the potential for gain for the &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;instrument&#x2019;s holders if the instrument is prepaid and increase the potential
for loss if the maturity of the instrument is extended.  &lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_DerivativesRisk_S000018844Summary7Member"
      id="ixv-13091">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Derivatives
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Derivatives can be highly volatile and involve risks in addition
to the risks of the underlying indicator(s) on which the derivative is based. Gains or losses from derivatives
can be substantially greater than the derivatives&#x2019; original cost.  Derivatives can involve leverage.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_LeveragingRisk_S000018844Summary7Member"
      id="ixv-13096">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Leveraging
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Leverage involves investment exposure in an amount exceeding
the initial investment. Leverage can cause increased volatility by magnifying gains or losses. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_CounterpartyandThirdPartyRisk_S000018844Summary7Member"
      id="ixv-13101">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Counterparty
and Third Party Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Transactions involving a
counterparty or third party other than the issuer of the instrument are subject to the credit risk of
the counterparty or third party, and to the counterparty&#x2019;s or third party&#x2019;s ability or willingness
to perform in accordance with the terms of the transaction.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_LiquidityRisk_S000018844Summary7Member"
      id="ixv-13106">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Liquidity
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;It may be difficult to value, and it may not be possible to
sell, certain investments, types of investments, and/or investments in certain segments of the market,
and the fund may have to sell certain of these investments at prices or times that are not advantageous
in order to meet redemptions or other cash needs.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_LargeShareholderRisk_S000018844Summary7Member"
      id="ixv-13111">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Large Shareholder
Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;From time to time, shareholders of the fund (which may include institutional investors,
financial intermediaries, or other MFS funds) may make relatively large redemptions or purchases of fund
shares.  These transactions may cause the fund to sell securities or invest additional cash, as the case
may be, at disadvantageous prices.  Redemptions of a large number of shares also may increase transaction
and other costs or have adverse tax consequences for shareholders of the fund by requiring a sale of
portfolio securities.  Purchases of a large number of shares may adversely affect the fund's performance
to the extent that it takes time to invest new cash and the fund maintains a larger cash position than
it ordinarily would.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40789">Performance Information</rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-13116">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The bar&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#221E1F; font-weight:normal; text-decoration:none;"&gt;
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;chart and performance table below are intended to provide some indication of the
risks of investing in the fund by showing changes in the fund&#x2019;s performance over time and how the fund's
performance over time compares with that of&#160;(i) a broad measure of market performance&#160;and (ii) the
performance of an additional index that the adviser believes more closely reflects the market segments
in which the fund invests.&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund&#x2019;s past performance
does not necessarily indicate how the fund will perform in the future. Updated performance is available
at &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;mfs.com&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; or by calling 1-877-411-3325. If the fees
and expenses imposed by the insurance company that issued your variable contracts or other eligible investor
through which an investment in the fund is made were included, they would reduce the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40790">The bar
chart and performance table below are intended to provide some indication of the
risks of investing in the fund by showing changes in the fund&#x2019;s performance over time and how the fund's
performance over time compares with that of&#160;(i) a broad measure of market performance&#160;and (ii) the
performance of an additional index that the adviser believes more closely reflects the market segments
in which the fund invests.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40792">The fund&#x2019;s past performance
does not necessarily indicate how the fund will perform in the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40793">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40794">1-877-411-3325</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40795">Initial Class Bar Chart.</rr:BarChartHeading>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-13129">&lt;p style="-sec-ix-redline:true;font-size:1.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The total return for the three-month period ended March 31,
2025, was 1.68%. During the period(s) shown in the bar chart, the highest quarterly return was 5.19%
(for the calendar quarter ended June 30, 2020) and the lowest quarterly return was (3.09)% (for the calendar
quarter ended March 31, 2020).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      id="ixv-40796">The total return for the three-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      id="ixv-40797">2025-03-31</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40798"
      unitRef="pure">0.0168</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      id="ixv-40799">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40800"
      unitRef="pure">0.0519</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      id="ixv-40801">2020-06-30</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      id="ixv-40802">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40803"
      unitRef="pure">-0.0309</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      id="ixv-40804">2020-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40805">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40806">Average Annual Total Returns (For the Periods Ended December
31, 2024)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40807"
      unitRef="pure">0.0530</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40808"
      unitRef="pure">0.0227</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40809"
      unitRef="pure">0.0217</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000052152Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40810"
      unitRef="pure">0.0502</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000052152Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40811"
      unitRef="pure">0.0203</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000052152Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40812"
      unitRef="pure">0.0192</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_BloombergUSAggregateBondIndex13_S000018844Member_S000018844Summary7Member"
      id="ixv-40813">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_Bloomberg1-3YearUSGovernmentCreditBondIndex14_S000018844Member_S000018844Summary7Member"
      id="ixv-40814">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_BloombergUSAggregateBondIndex13_S000018844Member_S000018844Summary7Member"
      id="ixv-40815">Bloomberg U.S. Aggregate Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_BloombergUSAggregateBondIndex13_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40816"
      unitRef="pure">0.0125</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_BloombergUSAggregateBondIndex13_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40817"
      unitRef="pure">-0.0033</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_BloombergUSAggregateBondIndex13_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40818"
      unitRef="pure">0.0135</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_Bloomberg1-3YearUSGovernmentCreditBondIndex14_S000018844Member_S000018844Summary7Member"
      id="ixv-40819">Bloomberg 1-3 Year U.S. Government/Credit Bond
Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_Bloomberg1-3YearUSGovernmentCreditBondIndex14_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40820"
      unitRef="pure">0.0436</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_Bloomberg1-3YearUSGovernmentCreditBondIndex14_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40821"
      unitRef="pure">0.0158</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_Bloomberg1-3YearUSGovernmentCreditBondIndex14_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-40822"
      unitRef="pure">0.0163</rr:AverageAnnualReturnYear10>
    <rr:RiskReturnHeading
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40823">MFS&#xae;
Blended Research&#xae; Small Cap Equity Portfolio  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      id="ixv-40824">N/A</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000021906Member_S000008071Member_S000008071Summary8Member"
      id="ixv-40825">N/A</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40827">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-14521">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund&#x2019;s
investment objective is to seek capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40828">Fees and Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-14524">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This
table describes the fees and expenses that you may pay when you hold shares of the fund.  If the fees
and expenses imposed by the insurance company that issued your variable contracts or other eligible investor
through which the fund is offered were included, your expenses would be higher.&lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:OperatingExpensesCaption
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40829">Annual Fund Operating Expenses (expenses that you pay each year as a percentage
of the value of your investment):</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40831"
      unitRef="pure">0.0040</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000021906Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40832"
      unitRef="pure">0.0040</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40833"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000021906Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40834"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40835"
      unitRef="pure">0.0018</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000021906Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40836"
      unitRef="pure">0.0018</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40837"
      unitRef="pure">0.0058</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000021906Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40838"
      unitRef="pure">0.0083</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="_847_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20241231_20241231_C000021906Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="_848_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40841"
      unitRef="pure">0.0057</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20241231_20241231_C000021906Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40842"
      unitRef="pure">0.0082</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40843">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-14647">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This example is intended to help you compare the cost of investing
in the fund with the cost of investing in other mutual funds. If the fees and expenses imposed by the
insurance company that issued your variable contracts or other eligible investor through which an investment
in the fund is made were included, your expenses would be higher.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The example
assumes that: you invest $10,000 in the fund for the time periods indicated and you redeem your shares
at the end of the time periods; your investment has a 5% return each year; and the fund&#x2019;s operating
expenses remain the same. &lt;/p&gt;</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleByYearCaption
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40844">Although your actual costs will likely be higher
or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40845"
      unitRef="usd">58</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40846"
      unitRef="usd">185</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40847"
      unitRef="usd">323</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40848"
      unitRef="usd">725</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000021906Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40849"
      unitRef="usd">84</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000021906Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40850"
      unitRef="usd">264</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000021906Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40851"
      unitRef="usd">460</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000021906Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40852"
      unitRef="usd">1024</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40853">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-14738">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund pays transaction costs, such as commissions,
when it buys and sells securities (or &#x201c;turns over&#x201d; its portfolio). A higher portfolio turnover rate
may indicate higher transaction costs. These transaction costs, which are not reflected in &#x201c;Annual
Fund Operating Expenses&#x201d; or in the &#x201c;Example,&#x201d; affect the fund&#x2019;s performance.  During the most
recent fiscal year, the fund&#x2019;s portfolio turnover rate was 66% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40854"
      unitRef="pure">0.66</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40855">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-14741">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS (Massachusetts Financial Services Company,
the fund's investment adviser) seeks to achieve the fund's objective by actively identifying potential
investments based on fundamental and quantitative analysis and then constructing a portfolio from these
potential investments while managing various risk factors (e.g., &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;issuer,
industry, and sector weightings, market capitalization, and volatility&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;) compared
to the Russell 2000&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&lt;sup&gt;&#xae;&lt;/sup&gt;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; Index, which represents
the fund's investment universe.  &lt;/span&gt;&lt;/p&gt;&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS normally invests at
least 80% of the fund&#x2019;s net assets in equity securities of issuers with small market capitalizations.
MFS generally defines small market capitalization issuers as issuers with market capitalizations similar
to those of issuers included in the Russell 2000&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&lt;sup&gt;&#xae;&lt;/sup&gt;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
Index over the last 13 months at the time of purchase. As of March 31, 2025, the range of the market
capitalizations of the issuers in the Russell 2000&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&lt;sup&gt;&#xae;&lt;/sup&gt;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
Index was between approximately $5.2 million and $15.0 billion. &lt;/span&gt;&lt;/p&gt;&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;Equity
securities include common stocks, depositary receipts,&#160;equity interests in real estate investment trusts
(REITs), and other securities that represent an ownership interest (or right to acquire an ownership
interest) in a company or other issuer.  &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;In selecting investments for
the fund, MFS is not constrained by any particular investment style. MFS may invest the fund&#x2019;s assets
in the stocks of companies it believes to have above average earnings growth potential compared to other
companies (growth companies), in the stocks of companies it believes are undervalued compared to their
perceived worth (value companies), or in a combination of growth and value companies. &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS
may invest the fund&#x2019;s assets in foreign securities. &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS normally
invests the fund's assets across different industries and sectors, but MFS may invest a significant percentage
of the fund's assets in issuers in a single industry or sector.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS uses
an active bottom-up approach to buying and selling investments for the fund. Investments are selected
primarily based on blending fundamental and quantitative research. MFS uses fundamental analysis of individual
issuers to determine a fundamental rating for an issuer.  MFS uses quantitative analysis to determine
a quantitative rating for an issuer. &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS combines the fundamental rating with the
quantitative rating to create a blended rating for an issuer. &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;When the fundamental rating
is not available, MFS treats the issuer as having a neutral fundamental rating.  &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:bold; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS constructs
the portfolio &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;using a portfolio optimization process that considers&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
the blended rating, as well as issuer, industry, and sector weightings, market capitalization, volatility,
and other factors.  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The portfolio managers have the discretion to adjust the inputs
and parameters used in the optimization process and the fund's portfolio holdings based on factors such
as the desired portfolio characteristics and the portfolio managers&#x2019; qualitative assessment of the
optimization results.  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS' goal is to construct an actively managed &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;portfolio
with a target&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; predicted tracking error of approximately 3% compared to
the Russell 2000&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&lt;sup&gt;&#xae;&lt;/sup&gt;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; Index.  Tracking error
generally measures how the differences between the fund's returns and the Russell 2000&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&lt;sup&gt;&#xae;&lt;/sup&gt;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
Index's returns have varied over a period of time.  &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;For purposes
of the fund's 80% policy, net assets include the amount of any borrowings for investment purposes.&lt;/p&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_PrincipalRisks_S000008071Summary8Member"
      id="ixv-14780">&lt;p style="font-size:11.0pt; font-family:Arial; text-align:left; color:#000000; font-weight:bold; text-decoration:none;"&gt;Principal
Risks &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As with any mutual fund, the fund may not achieve its objective
and/or you could lose money on your investment in the fund. An investment in the fund is not a bank deposit
and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other governmental
agency.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The principal risks of investing in the fund are:&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskHeading
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40856">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_RiskLoseMoneyMember_S000008071Summary8Member"
      id="ixv-40857">As with any mutual fund, the fund may not achieve its objective
and/or you could lose money on your investment in the fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_RiskNotInsuredMember_S000008071Summary8Member"
      id="ixv-40858">An investment in the fund is not a bank deposit
and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other governmental
agency.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_InvestmentSelectionRisk_S000008071Summary8Member"
      id="ixv-14784">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Investment
Selection Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; MFS' investment analysis, its development and use of quantitative
models, and its selection of investments may not produce the intended results and/or can lead to an investment
focus that results in the fund underperforming other funds with similar investment strategies and/or
underperforming the markets in which the fund invests. The quantitative models used by MFS (both proprietary
and third-party) may not produce the intended results for a variety of reasons, including the factors
used in the models, the weight placed on each factor in the models, changes from the market factors'
historical trends, changing sources of market return or market risk, and technical issues in the design,
development, implementation, application, and maintenance of the models (e.g., incomplete, stale, or
inaccurate data, human error, programming or other software issues, coding errors, and technology failures).&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_EquityMarketRiskCompanyRisk_S000008071Summary8Member"
      id="ixv-14788">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Equity
Market Risk/Company Risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Equity markets are volatile
and can decline significantly in response to changes in, or investor perceptions of, issuer, market,
economic, industry, political, regulatory, geopolitical, environmental, public health, and other conditions.
 These conditions can affect a single issuer or type of security, issuers within a broad market sector,
industry or geographic region, or the equity markets in general.  Certain events can have a dramatic
adverse effect on equity markets and may lead to periods of high volatility in an equity market or a
segment of an equity market.  The value of an investment held by the fund may decline due to factors
directly related to the issuer.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_SmallCapRisk_S000008071Summary8Member"
      id="ixv-14793">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Small Cap Risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt;
 &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The stocks of small cap companies can be more volatile and their shares can be
less liquid than those of larger companies.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_InvestmentStrategyRisk_S000008071Summary8Member"
      id="ixv-14798">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Investment
Strategy Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; There is no assurance that the fund's predicted tracking
error will equal its target predicted tracking error &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;at
any point in time or consistently for any period of time, or that the fund's predicted tracking error
and actual tracking error will be similar.  The fund's strategy to target a predicted tracking error
of approximately 3% compared to the Russell 2000&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;&lt;sup&gt;&#xae;&lt;/sup&gt;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
Index and to blend fundamental and quantitative research may not produce the intended results. In addition,
MFS' fundamental research is not available for all issuers.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_ForeignRisk_S000008071Summary8Member"
      id="ixv-14814">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:bold; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Foreign
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; Exposure to foreign markets through issuers or currencies can involve additional
risks relating to market, economic, industry, political, regulatory, geopolitical, environmental, public
health, and other conditions. These factors can make foreign investments, especially those tied economically
to countries with developing economies or countries subject to sanctions or the threat of new or modified
sanctions, more volatile and less liquid than U.S. investments. In addition, foreign markets can react
differently to these conditions than the U.S. market.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_REITsRisk_S000008071Summary8Member"
      id="ixv-14818">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;REITs Risk:
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The risks of investing in REITs include certain risks associated with the direct
ownership of real estate and the real estate industry in general. These include risks related to general,
regional and local economic conditions; difficulties in valuing and disposing of real estate; fluctuations
in interest rates and property tax rates; shifts in zoning laws, environmental regulations and other
governmental action; cash flow dependency; increased operating expenses; lack of availability of mortgage
funds; losses due to natural disasters; overbuilding; losses due to casualty or condemnation; changes
in property values and rental rates; the management skill and creditworthiness of the REIT manager; and
other factors.  The securities of smaller real estate-related issuers can be more volatile and less liquid
than securities of larger issuers and their issuers can have more limited financial resources.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_FocusRisk_S000008071Summary8Member"
      id="ixv-14822">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Focus
Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Issuers in a single industry, sector, country, or region can react similarly to
market, currency, political, economic, regulatory, geopolitical, environmental, public health, and other
conditions, and the fund's performance will be affected by the conditions in the industries, sectors,
countries, and regions to which the fund is exposed.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_LiquidityRisk_S000008071Summary8Member"
      id="ixv-14826">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Liquidity
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;It may be difficult to value, and it may not be possible to
sell, certain investments, types of investments, and/or investments in certain segments of the market,
and the fund may have to sell certain of these investments at prices or times that are not advantageous
in order to meet redemptions or other cash needs.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_LargeShareholderRisk_S000008071Summary8Member"
      id="ixv-14831">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Large Shareholder
Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;From time to time, shareholders of the fund (which may include institutional investors,
financial intermediaries, or other MFS funds) may make relatively large redemptions or purchases of fund
shares.  These transactions may cause the fund to sell securities or invest additional cash, as the case
may be, at disadvantageous prices.  Redemptions of a large number of shares also may increase transaction
and other costs or have adverse tax consequences for shareholders of the fund by requiring a sale of
portfolio securities.  Purchases of a large number of shares may adversely affect the fund's performance
to the extent that it takes time to invest new cash and the fund maintains a larger cash position than
it ordinarily would.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40859">Performance Information</rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-14836">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The bar&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#221E1F; font-weight:normal; text-decoration:none;"&gt;
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;chart and performance table below are intended to provide some indication of the
risks of investing in the fund by showing changes in the fund&#x2019;s performance over time and how the fund's
performance over time compares with that of (i) a broad measure of market performance and (ii) the performance
of an additional index that the adviser believes more closely reflects the market segments in which the
fund invests.&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund&#x2019;s past performance does not necessarily
indicate how the fund will perform in the future. Updated performance is available at &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;mfs.com&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
or by calling 1-877-411-3325. If the fees and expenses imposed by the insurance company that issued your
variable contracts or other eligible investor through which an investment in the fund is made were included,
they would reduce the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40860">The bar
chart and performance table below are intended to provide some indication of the
risks of investing in the fund by showing changes in the fund&#x2019;s performance over time and how the fund's
performance over time compares with that of (i) a broad measure of market performance and (ii) the performance
of an additional index that the adviser believes more closely reflects the market segments in which the
fund invests.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40862">The fund&#x2019;s past performance does not necessarily
indicate how the fund will perform in the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40863">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40864">1-877-411-3325</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40865">Initial Class Bar Chart.</rr:BarChartHeading>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-14849">&lt;p style="-sec-ix-redline:true;font-size:1.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The total return for the three-month period ended March 31,
2025, was (9.98)%. During the period(s) shown in the bar chart, the highest quarterly return was 23.70%
(for the calendar quarter ended December 31, 2020) and the lowest quarterly return was (33.45)% (for
the calendar quarter ended March 31, 2020).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      id="ixv-40866">The total return for the three-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      id="ixv-40867">2025-03-31</rr:BarChartYearToDateReturnDate>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      id="ixv-40868">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40869"
      unitRef="pure">0.2370</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      id="ixv-40870">2020-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      id="ixv-40871">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40872"
      unitRef="pure">-0.3345</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      id="ixv-40873">2020-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40874">Performance
Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40875">Average Annual Total Returns (For the Periods Ended December
31, 2024)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40876"
      unitRef="pure">0.0495</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40877"
      unitRef="pure">0.0620</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40878"
      unitRef="pure">0.0803</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000021906Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40879"
      unitRef="pure">0.0465</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000021906Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40880"
      unitRef="pure">0.0594</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000021906Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40881"
      unitRef="pure">0.0775</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_Russell3000Index15_S000008071Member_S000008071Summary8Member"
      id="ixv-40882">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_Russell2000Index16_S000008071Member_S000008071Summary8Member"
      id="ixv-40883">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_Russell3000Index15_S000008071Member_S000008071Summary8Member"
      id="ixv-40884">Russell 3000&#xae; Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_Russell3000Index15_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40885"
      unitRef="pure">0.2381</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_Russell3000Index15_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40886"
      unitRef="pure">0.1386</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_Russell3000Index15_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40887"
      unitRef="pure">0.1255</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_Russell2000Index16_S000008071Member_S000008071Summary8Member"
      id="ixv-40888">Russell 2000&#xae; Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_Russell2000Index16_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40889"
      unitRef="pure">0.1154</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_Russell2000Index16_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40890"
      unitRef="pure">0.0740</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_Russell2000Index16_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-40891"
      unitRef="pure">0.0782</rr:AverageAnnualReturnYear10>
    <rr:RiskReturnHeading
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40892">MFS&#xae;
Global Real Estate Portfolio  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      id="ixv-40893">N/A</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20241231_20241231_C000021902Member_S000008069Member_S000008069Summary9Member"
      id="ixv-40894">N/A</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40896">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-16272">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund&#x2019;s
investment objective is to seek total return. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40897">Fees and Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-16275">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This
table describes the fees and expenses that you may pay when you hold shares of the fund.  If the fees
and expenses imposed by the insurance company that issued your variable contracts or other eligible investor
through which the fund is offered were included, your expenses would be higher.&lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:OperatingExpensesCaption
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40898">Annual Fund Operating Expenses (expenses that you pay each year as a percentage
of the value of your investment):</rr:OperatingExpensesCaption>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40900"
      unitRef="pure">0.0090</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20241231_20241231_C000021902Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40901"
      unitRef="pure">0.0090</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40902"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20241231_20241231_C000021902Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40903"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40904"
      unitRef="pure">0.0013</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20241231_20241231_C000021902Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40905"
      unitRef="pure">0.0013</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40906"
      unitRef="pure">0.0103</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20241231_20241231_C000021902Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40907"
      unitRef="pure">0.0128</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="_957_"
      unitRef="pure">-0.0013</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20241231_20241231_C000021902Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="_958_"
      unitRef="pure">-0.0013</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40910"
      unitRef="pure">0.0090</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20241231_20241231_C000021902Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40911"
      unitRef="pure">0.0115</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40912">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-16398">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;This example is intended to help you compare the cost of investing
in the fund with the cost of investing in other mutual funds. If the fees and expenses imposed by the
insurance company that issued your variable contracts or other eligible investor through which an investment
in the fund is made were included, your expenses would be higher.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The example
assumes that: you invest $10,000 in the fund for the time periods indicated and you redeem your shares
at the end of the time periods; your investment has a 5% return each year; and the fund&#x2019;s operating
expenses remain the same. &lt;/p&gt;</rr:ExpenseExampleNarrativeTextBlock>
    <rr:ExpenseExampleByYearCaption
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40913">Although your actual costs will likely be higher
or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40914"
      unitRef="usd">92</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40915"
      unitRef="usd">315</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40916"
      unitRef="usd">556</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40917"
      unitRef="usd">1248</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20241231_20241231_C000021902Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40918"
      unitRef="usd">117</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20241231_20241231_C000021902Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40919"
      unitRef="usd">393</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20241231_20241231_C000021902Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40920"
      unitRef="usd">690</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20241231_20241231_C000021902Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40921"
      unitRef="usd">1534</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40922">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-16489">&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund pays transaction costs, such as commissions,
when it buys and sells securities (or &#x201c;turns over&#x201d; its portfolio). A higher portfolio turnover rate
may indicate higher transaction costs. These transaction costs, which are not reflected in &#x201c;Annual
Fund Operating Expenses&#x201d; or in the &#x201c;Example,&#x201d; affect the fund&#x2019;s performance.  During the most
recent fiscal year, the fund&#x2019;s portfolio turnover rate was 42% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40923"
      unitRef="pure">0.42</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40924">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-16492">&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS (Massachusetts Financial Services Company,
the fund's investment adviser) normally invests at least 80% of the fund&#x2019;s net assets in U.S. and foreign
real estate-related investments. &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS normally invests the fund&#x2019;s
assets primarily in equity securities. &lt;/p&gt;&lt;p style="-sec-ix-redline:true;font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS generally focuses the
fund&#x2019;s investments in equity real estate investment trusts (REITs) as well as similar entities formed
under the laws of non-U.S. countries, but may also invest the fund&#x2019;s assets in mortgage REITs, hybrid
REITs and other U.S. and foreign real estate-related investments, including emerging market real estate-related
investments.  &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS may invest the fund&#x2019;s assets in real
estate-related investments of any size.  However, issuers of real estate-related investments tend to
have small-to-medium market capitalizations.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS normally allocates the
fund&#x2019;s investments across different REIT managers and property types, but may from time to time focus
the fund&#x2019;s investments in any one or a few of these areas.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS normally
invests the fund's assets across different countries and regions, but MFS may invest a significant percentage
of the fund's assets in issuers in a single country or region.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS generally
invests the fund's assets in at least three different countries and invests a percentage of the fund's
net assets in securities of foreign issuers equal to at least the lesser of 40% or the percentage of
foreign issuers in the FTSE EPRA Nareit Developed Real Estate Index less 15%.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS
may invest a significant percentage of the fund&#x2019;s assets in a single issuer or a small number of issuers.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;MFS uses an active bottom-up investment approach to buying and selling investments
for the fund. Investments are selected primarily based on fundamental analysis of individual issuers.
&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;For purposes of the fund's 80% policy, net assets include
the amount of any borrowings for investment purposes.&lt;/p&gt;</rr:StrategyNarrativeTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_PrincipalRisks_S000008069Summary9Member"
      id="ixv-16503">&lt;p style="font-size:11.0pt; font-family:Arial; text-align:left; color:#000000; font-weight:bold; text-decoration:none;"&gt;Principal Risks &lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;As
with any mutual fund, the fund may not achieve its objective and/or you could lose money on your investment
in the fund. An investment in the fund is not a bank deposit and is not insured or guaranteed by the
Federal Deposit Insurance Corporation or any other governmental agency.&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;The
principal risks of investing in the fund are:&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskHeading
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40925">Principal Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_RiskLoseMoneyMember_S000008069Summary9Member"
      id="ixv-40926">As
with any mutual fund, the fund may not achieve its objective and/or you could lose money on your investment
in the fund.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_RiskNotInsuredMember_S000008069Summary9Member"
      id="ixv-40927">An investment in the fund is not a bank deposit and is not insured or guaranteed by the
Federal Deposit Insurance Corporation or any other governmental agency.</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_RealEstate-RelatedInvestmentRisk_S000008069Summary9Member"
      id="ixv-16507">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Real Estate-Related Investment
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The fund&#x2019;s performance will be closely tied to the performance
of real estate-related investments and as a result, can be more volatile than the performance of more
broadly-diversified funds. The risks of investing in real estate-related investments include certain
risks associated with the direct ownership of real estate and the real estate industry in general. These
include risks related to general, regional and local economic conditions; difficulties in valuing and
disposing of real estate; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;fluctuations in interest rates and property
tax rates; shifts in zoning laws, environmental regulations and other governmental action; cash flow
dependency; increased operating expenses; lack of availability of mortgage funds; losses due to natural
disasters; overbuilding; losses due to casualty or condemnation; changes in property values and rental
rates; the management skill and creditworthiness of the REIT manager; and other factors.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_InvestmentSelectionRisk_S000008069Summary9Member"
      id="ixv-16513">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Investment
Selection Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; MFS' investment analysis and its selection of investments
may not produce the intended results and/or can lead to an investment focus that results in the fund
underperforming other funds with similar investment strategies and/or underperforming the markets in
which the fund invests.  In addition, to the extent MFS considers quantitative tools in managing the
fund, such tools may not produce the intended results. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_EquityMarketRiskCompanyRisk_S000008069Summary9Member"
      id="ixv-16517">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Equity
Market Risk/Company Risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Equity markets are volatile
and can decline significantly in response to changes in, or investor perceptions of, issuer, market,
economic, industry, political, regulatory, geopolitical, environmental, public health, and other conditions.
 These conditions can affect a single issuer or type of security, issuers within a broad market sector,
industry or geographic region, or the equity markets in general.  Certain events can have a dramatic
adverse effect on equity markets and may lead to periods of high volatility in an equity market or a
segment of an equity market.  The value of an investment held by the fund may decline due to factors
directly related to the issuer.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_SmalltoMediumCapRisk_S000008069Summary9Member"
      id="ixv-16522">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Small to Medium Cap Risk:
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The securities of real estate-related issuers that have small
to medium market capitalizations can be more volatile and less liquid than securities of larger issuers
and such issuers can have more limited financial resources.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_ForeignRisk_S000008069Summary9Member"
      id="ixv-16527">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Foreign
Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; Exposure to foreign markets through issuers or currencies can involve additional
risks relating to market, economic, industry, political, regulatory, geopolitical, environmental, public
health, and other conditions. These factors can make foreign investments, especially those tied economically
to emerging markets or countries subject to sanctions or the threat of new or modified sanctions, more
volatile and less liquid than U.S. investments. In addition, foreign markets can react differently to
these conditions than the U.S. market. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_EmergingMarketsRisk_S000008069Summary9Member"
      id="ixv-16531">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Emerging Markets Risk:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
 Investments tied economically to emerging markets, especially frontier markets, can involve additional
and greater risks than the risks associated with investments in developed markets.  Emerging markets
can have less developed markets&lt;/span&gt;&lt;span style="font-size:9.0pt; font-family:Sans-Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;,&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; greater custody and operational
risk, less developed legal, regulatory, and accounting systems, greater &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;government involvement in the economy, greater risk of new or inconsistent government
treatment of or restrictions on issuers and instruments, and greater political, social, geopolitical,
and economic instability than developed markets. &lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_CurrencyRisk_S000008069Summary9Member"
      id="ixv-16545">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Currency Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;
The value of foreign currencies relative to the U.S. dollar fluctuates in response to market, economic,
industry, political, regulatory, geopolitical, environmental, public health, and other conditions, and
changes in currency exchange rates impact the financial condition of companies or other issuers and may
change the value in U.S. dollars of investments denominated in foreign currencies.  &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_FocusRisk_S000008069Summary9Member"
      id="ixv-16549">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Focus Risk:
 &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;Issuers in a single country or region can react similarly to market, currency,
political, economic, regulatory, geopolitical, environmental, public health, and other conditions, and
the fund's performance will be affected by the conditions in the countries and regions to which the fund
is exposed.  If MFS invests a significant percentage of the fund's assets in a single issuer or small
number of issuers, the fund&#x2019;s performance could be more volatile than the performance of more diversified
funds. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_LiquidityRisk_S000008069Summary9Member"
      id="ixv-16553">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Liquidity Risk: &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; color:#000000; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;It may
be difficult to value, and it may not be possible to sell, certain investments, types of investments,
and/or investments in certain segments of the market, and the fund may have to sell certain of these
investments at prices or times that are not advantageous in order to meet redemptions or other cash needs.
 &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_LargeShareholderRisk_S000008069Summary9Member"
      id="ixv-16558">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;Large Shareholder Risk:  &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;From
time to time, shareholders of the fund (which may include institutional investors, financial intermediaries,
or other MFS funds) may make relatively large redemptions or purchases of fund shares.  These transactions
may cause the fund to sell securities or invest additional cash, as the case may be, at disadvantageous
prices.  Redemptions of a large number of shares also may increase transaction and other costs or have
adverse tax consequences for shareholders of the fund by requiring a sale of portfolio securities.  Purchases
of a large number of shares may adversely affect the fund's performance to the extent that it takes time
to invest new cash and the fund maintains a larger cash position than it ordinarily would.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40928">Performance
Information</rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-16563">&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The bar&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#221E1F; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;chart
and performance table below are intended to provide some indication of the risks of investing in the
fund by showing changes in the fund&#x2019;s performance over time and how the fund's performance over time
compares with that of (i) a broad measure of market performance and (ii) the performance of an additional
index that the adviser believes more closely reflects the market segments in which the fund invests.&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The
fund&#x2019;s past performance does not necessarily indicate how the fund will perform in the future. Updated
performance is available at &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:bold; text-decoration:none;"&gt;mfs.com&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt; or by
calling 1-877-411-3325. If the fees and expenses imposed by the insurance company that issued your variable
contracts or other eligible investor through which an investment in the fund is made were included, they
would reduce the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40929">The bar chart
and performance table below are intended to provide some indication of the risks of investing in the
fund by showing changes in the fund&#x2019;s performance over time and how the fund's performance over time
compares with that of (i) a broad measure of market performance and (ii) the performance of an additional
index that the adviser believes more closely reflects the market segments in which the fund invests.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40931">The
fund&#x2019;s past performance does not necessarily indicate how the fund will perform in the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40932">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40933">1-877-411-3325</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40934">Initial Class Bar Chart.</rr:BarChartHeading>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-16576">&lt;p style="-sec-ix-redline:true;font-size:1.0pt; font-family:Serif; text-align:left; color:#000000; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;"&gt;The total return for the three-month period ended March 31,
2025, was (0.88)%. During the period(s) shown in the bar chart, the highest quarterly return was 16.58%
(for the calendar quarter ended December 31, 2023) and the lowest quarterly return was (23.07)% (for
the calendar quarter ended March 31, 2020).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      id="ixv-40935">The total return for the three-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      id="ixv-40936">2025-03-31</rr:BarChartYearToDateReturnDate>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      id="ixv-40937">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40938"
      unitRef="pure">0.1658</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      id="ixv-40939">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      id="ixv-40940">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40941"
      unitRef="pure">-0.2307</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      id="ixv-40942">2020-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40943">Performance
Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-40944">Average Annual Total Returns (For the Periods Ended December
31, 2024)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40945"
      unitRef="pure">-0.0269</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40946"
      unitRef="pure">0.0091</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40947"
      unitRef="pure">0.0472</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_C000021902Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40948"
      unitRef="pure">-0.0292</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_C000021902Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40949"
      unitRef="pure">0.0066</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_C000021902Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40950"
      unitRef="pure">0.0447</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_MSCIAllCountryWorldIndexnetdiv17_S000008069Member_S000008069Summary9Member"
      id="ixv-40951">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20241231_20241231_FTSEEPRANareitDevelopedRealEstateIndexnetdiv18_S000008069Member_S000008069Summary9Member"
      id="ixv-40952">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_MSCIAllCountryWorldIndexnetdiv17_S000008069Member_S000008069Summary9Member"
      id="ixv-40953">MSCI All Country World Index (net div)</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_MSCIAllCountryWorldIndexnetdiv17_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40954"
      unitRef="pure">0.1749</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_MSCIAllCountryWorldIndexnetdiv17_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40955"
      unitRef="pure">0.1006</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_MSCIAllCountryWorldIndexnetdiv17_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40956"
      unitRef="pure">0.0923</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20241231_20241231_FTSEEPRANareitDevelopedRealEstateIndexnetdiv18_S000008069Member_S000008069Summary9Member"
      id="ixv-40957">FTSE EPRA Nareit Developed Real Estate Index
(net div)</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20241231_20241231_FTSEEPRANareitDevelopedRealEstateIndexnetdiv18_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40958"
      unitRef="pure">0.0094</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20241231_20241231_FTSEEPRANareitDevelopedRealEstateIndexnetdiv18_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40959"
      unitRef="pure">-0.0100</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20241231_20241231_FTSEEPRANareitDevelopedRealEstateIndexnetdiv18_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-40960"
      unitRef="pure">0.0223</rr:AverageAnnualReturnYear10>
    <dei:DocumentType contextRef="Context_20241231_20241231" id="ixv-40963">485BPOS</dei:DocumentType>
    <dei:DocumentEffectiveDate contextRef="Context_20241231_20241231" id="ixv-40964">2025-04-30</dei:DocumentEffectiveDate>
    <dei:DocumentPeriodEndDate contextRef="Context_20241231_20241231" id="ixv-40965">2024-12-31</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="Context_20241231_20241231" id="ixv-40966">0001065698</dei:EntityCentralIndexKey>
    <dei:DocumentCreationDate contextRef="Context_20241231_20241231" id="ixv-40967">2025-04-29</dei:DocumentCreationDate>
    <dei:AmendmentFlag contextRef="Context_20241231_20241231" id="ixv-40968">false</dei:AmendmentFlag>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40969">~ http://www.MFS.com/20241231/role/RRSchedule4 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40970">~ http://www.MFS.com/20241231/role/RRSchedule5 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40971">~ http://www.MFS.com/20241231/role/RRBarChart6 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-40972">~ http://www.MFS.com/20241231/role/RRSchedule7 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40973">~ http://www.MFS.com/20241231/role/RRSchedule11 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40974">~ http://www.MFS.com/20241231/role/RRSchedule12 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40975">~ http://www.MFS.com/20241231/role/RRBarChart13 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-40976">~ http://www.MFS.com/20241231/role/RRSchedule14 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40977">~ http://www.MFS.com/20241231/role/RRSchedule18 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40978">~ http://www.MFS.com/20241231/role/RRSchedule19 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40979">~ http://www.MFS.com/20241231/role/RRBarChart20 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-40980">~ http://www.MFS.com/20241231/role/RRSchedule21 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40981">~ http://www.MFS.com/20241231/role/RRSchedule25 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40982">~ http://www.MFS.com/20241231/role/RRSchedule26 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40983">~ http://www.MFS.com/20241231/role/RRBarChart27 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-40984">~ http://www.MFS.com/20241231/role/RRSchedule28 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40985">~ http://www.MFS.com/20241231/role/RRSchedule32 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40986">~ http://www.MFS.com/20241231/role/RRSchedule33 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40987">~ http://www.MFS.com/20241231/role/RRBarChart34 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-40988">~ http://www.MFS.com/20241231/role/RRSchedule35 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40989">~ http://www.MFS.com/20241231/role/RRSchedule39 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40990">~ http://www.MFS.com/20241231/role/RRSchedule40 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40991">~ http://www.MFS.com/20241231/role/RRBarChart41 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-40992">~ http://www.MFS.com/20241231/role/RRSchedule42 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40993">~ http://www.MFS.com/20241231/role/RRSchedule46 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40994">~ http://www.MFS.com/20241231/role/RRSchedule47 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40995">~ http://www.MFS.com/20241231/role/RRBarChart48 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-40996">~ http://www.MFS.com/20241231/role/RRSchedule49 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40997">~ http://www.MFS.com/20241231/role/RRSchedule53 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40998">~ http://www.MFS.com/20241231/role/RRSchedule54 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-40999">~ http://www.MFS.com/20241231/role/RRBarChart55 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-41000">~ http://www.MFS.com/20241231/role/RRSchedule56 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-41001">~ http://www.MFS.com/20241231/role/RRSchedule60 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-41002">~ http://www.MFS.com/20241231/role/RRSchedule61 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-41003">~ http://www.MFS.com/20241231/role/RRBarChart62 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-41004">~ http://www.MFS.com/20241231/role/RRSchedule63 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualReturn2015
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-42853"
      unitRef="pure">-0.0266</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-42854"
      unitRef="pure">0.2717</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-42855"
      unitRef="pure">0.1524</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-42856"
      unitRef="pure">-0.1078</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-42857"
      unitRef="pure">0.3365</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-42858"
      unitRef="pure">0.0419</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-42859"
      unitRef="pure">0.3405</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-42860"
      unitRef="pure">-0.1096</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-42861"
      unitRef="pure">0.1146</rr:AnnualReturn2023>
    <rr:AnnualReturn2024
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      decimals="INF"
      id="ixv-42862"
      unitRef="pure">0.0952</rr:AnnualReturn2024>
    <rr:AnnualReturn2015
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-42863"
      unitRef="pure">-0.0019</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-42864"
      unitRef="pure">0.0503</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-42865"
      unitRef="pure">0.1148</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-42866"
      unitRef="pure">-0.0273</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-42867"
      unitRef="pure">0.1687</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-42868"
      unitRef="pure">0.1231</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-42869"
      unitRef="pure">0.07</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-42870"
      unitRef="pure">-0.1539</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-42871"
      unitRef="pure">0.1042</rr:AnnualReturn2023>
    <rr:AnnualReturn2024
      contextRef="Context_20241231_20241231_C000068440Member_S000023371Member_S000023371Summary2Member"
      decimals="INF"
      id="ixv-42872"
      unitRef="pure">0.0586</rr:AnnualReturn2024>
    <rr:AnnualReturn2015
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-42873"
      unitRef="pure">0.0053</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-42874"
      unitRef="pure">0.0715</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-42875"
      unitRef="pure">0.1986</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-42876"
      unitRef="pure">-0.052</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-42877"
      unitRef="pure">0.2696</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-42878"
      unitRef="pure">0.158</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-42879"
      unitRef="pure">0.1576</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-42880"
      unitRef="pure">-0.1827</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-42881"
      unitRef="pure">0.1529</rr:AnnualReturn2023>
    <rr:AnnualReturn2024
      contextRef="Context_20241231_20241231_C000068444Member_S000023373Member_S000023373Summary3Member"
      decimals="INF"
      id="ixv-42882"
      unitRef="pure">0.1034</rr:AnnualReturn2024>
    <rr:AnnualReturn2015
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-42883"
      unitRef="pure">0.0035</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-42884"
      unitRef="pure">0.0616</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-42885"
      unitRef="pure">0.1552</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-42886"
      unitRef="pure">-0.0385</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-42887"
      unitRef="pure">0.2223</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-42888"
      unitRef="pure">0.1429</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-42889"
      unitRef="pure">0.1161</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-42890"
      unitRef="pure">-0.1676</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-42891"
      unitRef="pure">0.1299</rr:AnnualReturn2023>
    <rr:AnnualReturn2024
      contextRef="Context_20241231_20241231_C000068442Member_S000023372Member_S000023372Summary4Member"
      decimals="INF"
      id="ixv-42892"
      unitRef="pure">0.0831</rr:AnnualReturn2024>
    <rr:AnnualReturn2015
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-42893"
      unitRef="pure">-0.0233</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-42894"
      unitRef="pure">0.1598</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-42895"
      unitRef="pure">0.1367</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-42896"
      unitRef="pure">-0.1145</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-42897"
      unitRef="pure">0.3112</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-42898"
      unitRef="pure">0.0387</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-42899"
      unitRef="pure">0.3099</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-42900"
      unitRef="pure">-0.0879</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-42901"
      unitRef="pure">0.1273</rr:AnnualReturn2023>
    <rr:AnnualReturn2024
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      decimals="INF"
      id="ixv-42902"
      unitRef="pure">0.1375</rr:AnnualReturn2024>
    <rr:AnnualReturn2015
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-42903"
      unitRef="pure">-0.0504</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-42904"
      unitRef="pure">0.0257</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-42905"
      unitRef="pure">0.0832</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-42906"
      unitRef="pure">-0.0447</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-42907"
      unitRef="pure">0.0826</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-42908"
      unitRef="pure">0.1355</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-42909"
      unitRef="pure">0.0163</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-42910"
      unitRef="pure">-0.2155</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-42911"
      unitRef="pure">0.0274</rr:AnnualReturn2023>
    <rr:AnnualReturn2024
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      decimals="INF"
      id="ixv-42912"
      unitRef="pure">-0.0394</rr:AnnualReturn2024>
    <rr:AnnualReturn2015
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-42913"
      unitRef="pure">0.0048</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-42914"
      unitRef="pure">0.0168</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-42915"
      unitRef="pure">0.0173</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-42916"
      unitRef="pure">0.0128</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-42917"
      unitRef="pure">0.0519</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-42918"
      unitRef="pure">0.0434</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-42919"
      unitRef="pure">0.0016</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-42920"
      unitRef="pure">-0.0414</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-42921"
      unitRef="pure">0.0608</rr:AnnualReturn2023>
    <rr:AnnualReturn2024
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      decimals="INF"
      id="ixv-42922"
      unitRef="pure">0.053</rr:AnnualReturn2024>
    <rr:AnnualReturn2015
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-42923"
      unitRef="pure">-0.0415</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-42924"
      unitRef="pure">0.209</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-42925"
      unitRef="pure">0.1497</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-42926"
      unitRef="pure">-0.0511</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-42927"
      unitRef="pure">0.2678</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-42928"
      unitRef="pure">0.0223</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-42929"
      unitRef="pure">0.2964</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-42930"
      unitRef="pure">-0.1837</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-42931"
      unitRef="pure">0.1896</rr:AnnualReturn2023>
    <rr:AnnualReturn2024
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      decimals="INF"
      id="ixv-42932"
      unitRef="pure">0.0495</rr:AnnualReturn2024>
    <rr:AnnualReturn2015
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-42933"
      unitRef="pure">0.0074</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-42934"
      unitRef="pure">0.0794</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-42935"
      unitRef="pure">0.1333</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-42936"
      unitRef="pure">-0.0303</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-42937"
      unitRef="pure">0.2687</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-42938"
      unitRef="pure">0.0149</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-42939"
      unitRef="pure">0.3012</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-42940"
      unitRef="pure">-0.2694</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-42941"
      unitRef="pure">0.1146</rr:AnnualReturn2023>
    <rr:AnnualReturn2024
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      decimals="INF"
      id="ixv-42942"
      unitRef="pure">-0.0269</rr:AnnualReturn2024>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20241231_20241231_C000068446Member_S000023374Member_S000023374Summary1Member"
      id="ixv-42970">April 30, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20241231_20241231_C000068447Member_S000023374Member_S000023374Summary1Member"
      id="ixv-42971">April 30, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20241231_20241231_C000052149Member_S000018843Member_S000018843Summary5Member"
      id="ixv-42972">April 30, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20241231_20241231_C000052150Member_S000018843Member_S000018843Summary5Member"
      id="ixv-42973">April 30, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20241231_20241231_C000068454Member_S000023378Member_S000023378Summary6Member"
      id="ixv-42974">April 30, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20241231_20241231_C000068455Member_S000023378Member_S000023378Summary6Member"
      id="ixv-42975">April 30, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20241231_20241231_C000052151Member_S000018844Member_S000018844Summary7Member"
      id="ixv-42976">April 30, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20241231_20241231_C000052152Member_S000018844Member_S000018844Summary7Member"
      id="ixv-42977">April 30, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20241231_20241231_C000021905Member_S000008071Member_S000008071Summary8Member"
      id="ixv-42978">April 30, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20241231_20241231_C000021906Member_S000008071Member_S000008071Summary8Member"
      id="ixv-42979">April 30, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20241231_20241231_C000021901Member_S000008069Member_S000008069Summary9Member"
      id="ixv-42980">April 30, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20241231_20241231_C000021902Member_S000008069Member_S000008069Summary9Member"
      id="ixv-42981">April 30, 2026</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <cik0001065698:CustomRisksTableTextBlock
      contextRef="Context_20241231_20241231_S000023374Member_S000023374Summary1Member"
      id="ixv-42982">~ http://www.MFS.com/20241231/role/RRSchedule8 ~</cik0001065698:CustomRisksTableTextBlock>
    <cik0001065698:CustomRisksTableTextBlock
      contextRef="Context_20241231_20241231_S000023371Member_S000023371Summary2Member"
      id="ixv-42983">~ http://www.MFS.com/20241231/role/RRSchedule15 ~</cik0001065698:CustomRisksTableTextBlock>
    <cik0001065698:CustomRisksTableTextBlock
      contextRef="Context_20241231_20241231_S000023373Member_S000023373Summary3Member"
      id="ixv-42984">~ http://www.MFS.com/20241231/role/RRSchedule22 ~</cik0001065698:CustomRisksTableTextBlock>
    <cik0001065698:CustomRisksTableTextBlock
      contextRef="Context_20241231_20241231_S000023372Member_S000023372Summary4Member"
      id="ixv-42985">~ http://www.MFS.com/20241231/role/RRSchedule29 ~</cik0001065698:CustomRisksTableTextBlock>
    <cik0001065698:CustomRisksTableTextBlock
      contextRef="Context_20241231_20241231_S000018843Member_S000018843Summary5Member"
      id="ixv-42986">~ http://www.MFS.com/20241231/role/RRSchedule36 ~</cik0001065698:CustomRisksTableTextBlock>
    <cik0001065698:CustomRisksTableTextBlock
      contextRef="Context_20241231_20241231_S000023378Member_S000023378Summary6Member"
      id="ixv-42987">~ http://www.MFS.com/20241231/role/RRSchedule43 ~</cik0001065698:CustomRisksTableTextBlock>
    <cik0001065698:CustomRisksTableTextBlock
      contextRef="Context_20241231_20241231_S000018844Member_S000018844Summary7Member"
      id="ixv-42988">~ http://www.MFS.com/20241231/role/RRSchedule50 ~</cik0001065698:CustomRisksTableTextBlock>
    <cik0001065698:CustomRisksTableTextBlock
      contextRef="Context_20241231_20241231_S000008071Member_S000008071Summary8Member"
      id="ixv-42989">~ http://www.MFS.com/20241231/role/RRSchedule57 ~</cik0001065698:CustomRisksTableTextBlock>
    <cik0001065698:CustomRisksTableTextBlock
      contextRef="Context_20241231_20241231_S000008069Member_S000008069Summary9Member"
      id="ixv-42990">~ http://www.MFS.com/20241231/role/RRSchedule64 ~</cik0001065698:CustomRisksTableTextBlock>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc xlink:href="#_31_" xlink:label="_31_" xlink:type="locator"/>
        <link:loc xlink:href="#_30_" xlink:label="_30_" xlink:type="locator"/>
        <link:footnote id="fn1_" xlink:label="fn1_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-size:8.0pt; font-family:Sans-Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;">Massachusetts Financial Services Company (MFS) has agreed in writing to waive
at least 0.01% of the fund's management fee as part of an agreement pursuant to which MFS has agreed
to reduce its management fee by a specified amount if certain MFS mutual fund assets exceed thresholds
agreed to by MFS and the fund's Board of Trustees. The agreement to waive at least 0.01% of the management
fee will continue until modified by the fund's Board of Trustees, but such agreement will continue until
at least April 30, 2026. MFS has agreed in writing to bear the fund&#x2019;s expenses, excluding interest,
taxes, extraordinary expenses, brokerage and transaction costs, certain tax reclaim recovery expenses
(including contingency fees and closing agreement expenses), and investment-related expenses (such as
interest and borrowing expenses incurred in connection with the fund's investment activity), such that
&#x201c;Total Annual Fund Operating Expenses&#x201d; do not exceed 0.88% of the class' average daily net assets
annually for Initial Class shares and 1.13% of the class' average daily net assets annually for Service
Class shares. This written agreement will continue until modified by the fund's Board of Trustees, but
such agreement will continue until at least April 30, 2026.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_31_"
          xlink:to="fn1_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_30_"
          xlink:to="fn1_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_509_"
          xlink:label="_509_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_510_"
          xlink:label="_510_"
          xlink:type="locator"/>
        <link:footnote id="fn2_" xlink:label="fn2_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-size:8.0pt; font-family:Sans-Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;">Massachusetts Financial Services Company (MFS) has agreed in writing to waive
at least 0.01% of the fund's management fee as part of an agreement pursuant to which MFS has agreed
to reduce its management fee by a specified amount if certain MFS mutual fund assets exceed thresholds
agreed to by MFS and the fund's Board of Trustees. The agreement to waive at least 0.01% of the management
fee will continue until modified by the fund's Board of Trustees, but such agreement will continue until
at least April 30, 2026.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_509_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_510_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_619_"
          xlink:label="_619_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_620_"
          xlink:label="_620_"
          xlink:type="locator"/>
        <link:footnote id="fn3_" xlink:label="fn3_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-size:8.0pt; font-family:Sans-Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;">Massachusetts Financial Services Company (MFS) has agreed in writing to waive
at least 0.01% of the fund's management fee as part of an agreement pursuant to which MFS has agreed
to reduce its management fee by a specified amount if certain MFS mutual fund assets exceed thresholds
agreed to by MFS and the fund's Board of Trustees. The agreement to waive at least 0.01% of the management
fee will continue until modified by the fund's Board of Trustees, but such agreement will continue until
at least April 30, 2026.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_619_"
          xlink:to="fn3_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_620_"
          xlink:to="fn3_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_734_"
          xlink:label="_734_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_735_"
          xlink:label="_735_"
          xlink:type="locator"/>
        <link:footnote id="fn4_" xlink:label="fn4_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-size:8.0pt; font-family:Sans-Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;">Massachusetts Financial Services Company (MFS) has agreed in writing to waive
at least 0.01% of the fund's management fee as part of an agreement pursuant to which MFS has agreed
to reduce its management fee by a specified amount if certain MFS mutual fund assets exceed thresholds
agreed to by MFS and the fund's Board of Trustees. The agreement to waive at least 0.01% of the management
fee will continue until modified by the fund's Board of Trustees, but such agreement will continue until
at least April 30, 2026.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_734_"
          xlink:to="fn4_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_735_"
          xlink:to="fn4_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_848_"
          xlink:label="_848_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_847_"
          xlink:label="_847_"
          xlink:type="locator"/>
        <link:footnote id="fn5_" xlink:label="fn5_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-size:8.0pt; font-family:Sans-Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;">Massachusetts Financial Services Company (MFS) has agreed in writing to waive
at least 0.01% of the fund's management fee as part of an agreement pursuant to which MFS has agreed
to reduce its management fee by a specified amount if certain MFS mutual fund assets exceed thresholds
agreed to by MFS and the fund's Board of Trustees. The agreement to waive at least 0.01% of the management
fee will continue until modified by the fund's Board of Trustees, but such agreement will continue until
at least April 30, 2026.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_848_"
          xlink:to="fn5_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_847_"
          xlink:to="fn5_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_957_"
          xlink:label="_957_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_958_"
          xlink:label="_958_"
          xlink:type="locator"/>
        <link:footnote id="fn6_" xlink:label="fn6_" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="font-size:8.0pt; font-family:Sans-Serif; font-style:normal; color:#000000; font-weight:normal; text-decoration:none;">Massachusetts Financial Services Company (MFS) has agreed in writing to waive
at least 0.01% of the fund's management fee as part of an agreement pursuant to which MFS has agreed
to reduce its management fee by a specified amount if certain MFS mutual fund assets exceed thresholds
agreed to by MFS and the fund's Board of Trustees. The agreement to waive at least 0.01% of the management
fee will continue until modified by the fund's Board of Trustees, but such agreement will continue until
at least April 30, 2026. MFS has agreed in writing to bear the fund&#x2019;s expenses, excluding interest,
taxes, extraordinary expenses, brokerage and transaction costs, certain tax reclaim recovery expenses
(including contingency fees and closing agreement expenses), and investment-related expenses (such as
interest and borrowing expenses incurred in connection with the fund's investment activity), such that
&#x201c;Total Annual Fund Operating Expenses&#x201d; do not exceed 0.90% of the class' average daily net assets
annually for Initial Class shares and 1.15% of the class' average daily net assets annually for Service
Class shares. This written agreement will continue until modified by the fund's Board of Trustees, but
such agreement will continue until at least April 30, 2026.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_957_"
          xlink:to="fn6_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_958_"
          xlink:to="fn6_"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
