<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cik0000751656="http://www.MFS.com/20240331"
  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-20240726.xsd" xlink:type="simple"/>
    <context id="Context_20240331_20240331">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002521Member_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006957Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006958Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000169758Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000194226Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002521Member_PrincipalRisks_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002521Member_RiskLoseMoneyMember_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002521Member_RiskNotInsuredMember_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002521Member_InvestmentSelectionRisk_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002521Member_DebtMarketRisk_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002521Member_InterestRateRisk_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002521Member_CreditRisk_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002521Member_FocusRisk_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002521Member_MunicipalRisk_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:MunicipalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002521Member_PrepaymentExtensionRisk_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002521Member_DerivativesRisk_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002521Member_LeveragingRisk_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002521Member_CounterpartyandThirdPartyRisk_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002521Member_LiquidityRisk_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002521Member_LargeShareholderRisk_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006957Member_S000002521Member_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006957Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006957Member_S000002521Member_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006957Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipalBondIndex1_S000002521Member_S000002521Summary1Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002521Summary1Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002521Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipalBondIndex1Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002529Member_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006976Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006977Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000169766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000194242Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002529Member_PrincipalRisks_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002529Member_RiskLoseMoneyMember_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002529Member_RiskNotInsuredMember_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002529Member_InvestmentSelectionRisk_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002529Member_DebtMarketRisk_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002529Member_InterestRateRisk_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002529Member_CreditRisk_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002529Member_FocusRisk_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002529Member_MunicipalRisk_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:MunicipalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002529Member_PrepaymentExtensionRisk_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002529Member_DerivativesRisk_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002529Member_LeveragingRisk_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002529Member_CounterpartyandThirdPartyRisk_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002529Member_LiquidityRisk_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002529Member_LargeShareholderRisk_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006976Member_S000002529Member_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006976Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006976Member_S000002529Member_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006976Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipalBondIndex2_S000002529Member_S000002529Summary2Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002529Summary2Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002529Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipalBondIndex2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002530Member_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006978Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006979Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006980Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000169767Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000194244Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002530Member_PrincipalRisks_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002530Member_RiskLoseMoneyMember_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002530Member_RiskNotInsuredMember_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002530Member_InvestmentSelectionRisk_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002530Member_DebtMarketRisk_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002530Member_InterestRateRisk_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002530Member_CreditRisk_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002530Member_FocusRisk_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002530Member_MunicipalRisk_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:MunicipalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002530Member_PrepaymentExtensionRisk_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002530Member_DerivativesRisk_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002530Member_LeveragingRisk_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002530Member_CounterpartyandThirdPartyRisk_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002530Member_LiquidityRisk_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002530Member_LargeShareholderRisk_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006978Member_S000002530Member_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006978Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006978Member_S000002530Member_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006978Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipalBondIndex3_S000002530Member_S000002530Summary3Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002530Summary3Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002530Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipalBondIndex3Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002532Member_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006983Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006984Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000169768Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000194246Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002532Member_PrincipalRisks_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002532Member_RiskLoseMoneyMember_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002532Member_RiskNotInsuredMember_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002532Member_InvestmentSelectionRisk_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002532Member_DebtMarketRisk_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002532Member_InterestRateRisk_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002532Member_CreditRisk_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002532Member_FocusRisk_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002532Member_MunicipalRisk_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:MunicipalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002532Member_PrepaymentExtensionRisk_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002532Member_DerivativesRisk_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002532Member_LeveragingRisk_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002532Member_CounterpartyandThirdPartyRisk_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002532Member_LiquidityRisk_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002532Member_LargeShareholderRisk_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006983Member_S000002532Member_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006983Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006983Member_S000002532Member_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006983Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipalBondIndex4_S000002532Member_S000002532Summary4Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002532Summary4Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002532Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipalBondIndex4Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002533Member_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006985Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006986Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000169769Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000194249Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002533Member_PrincipalRisks_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002533Member_RiskLoseMoneyMember_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002533Member_RiskNotInsuredMember_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002533Member_InvestmentSelectionRisk_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002533Member_DebtMarketRisk_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002533Member_InterestRateRisk_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002533Member_CreditRisk_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002533Member_FocusRisk_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002533Member_MunicipalRisk_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:MunicipalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002533Member_PrepaymentExtensionRisk_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002533Member_DerivativesRisk_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002533Member_LeveragingRisk_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002533Member_CounterpartyandThirdPartyRisk_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002533Member_LiquidityRisk_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002533Member_LargeShareholderRisk_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006985Member_S000002533Member_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006985Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006985Member_S000002533Member_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006985Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipalBondIndex5_S000002533Member_S000002533Summary5Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002533Summary5Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002533Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipalBondIndex5Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002534Member_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006987Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006988Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000169770Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000194250Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002534Member_PrincipalRisks_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002534Member_RiskLoseMoneyMember_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002534Member_RiskNotInsuredMember_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002534Member_InvestmentSelectionRisk_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002534Member_DebtMarketRisk_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002534Member_InterestRateRisk_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002534Member_CreditRisk_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002534Member_FocusRisk_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002534Member_MunicipalRisk_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:MunicipalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002534Member_PrepaymentExtensionRisk_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002534Member_DerivativesRisk_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002534Member_LeveragingRisk_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002534Member_CounterpartyandThirdPartyRisk_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002534Member_LiquidityRisk_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002534Member_LargeShareholderRisk_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006987Member_S000002534Member_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006987Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006987Member_S000002534Member_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006987Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipalBondIndex6_S000002534Member_S000002534Summary6Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002534Summary6Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002534Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipalBondIndex6Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006989Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006990Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000169771Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000194252Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_PrincipalRisks_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_RiskLoseMoneyMember_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_RiskNotInsuredMember_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_InvestmentSelectionRisk_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_DebtMarketRisk_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_InterestRateRisk_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_CreditRisk_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_FocusRisk_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_RiskNondiversifiedStatusMember_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNondiversifiedStatusMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_MunicipalRisk_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:MunicipalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_PrepaymentExtensionRisk_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_DerivativesRisk_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_LeveragingRisk_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_CounterpartyandThirdPartyRisk_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_LiquidityRisk_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002535Member_LargeShareholderRisk_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006989Member_S000002535Member_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006989Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006989Member_S000002535Member_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006989Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipalBondIndex7_S000002535Member_S000002535Summary7Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002535Summary7Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002535Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipalBondIndex7Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006991Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006992Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006993Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000105400Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000194254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_PrincipalRisks_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_RiskLoseMoneyMember_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_RiskNotInsuredMember_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_InvestmentSelectionRisk_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_DebtMarketRisk_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_InterestRateRisk_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_CreditRisk_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_MunicipalRisk_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:MunicipalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_FocusRisk_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_PrepaymentExtensionRisk_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_DerivativesRisk_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_LeveragingRisk_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_CounterpartyandThirdPartyRisk_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_LiquidityRisk_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_LargeShareholderRisk_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006991Member_S000002536Member_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006991Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006991Member_S000002536Member_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006991Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipalBondIndex8_S000002536Member_S000002536Summary8Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary8Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipalBondIndex8Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000042676Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000042677Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_PrincipalRisks_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_RiskLoseMoneyMember_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_RiskNotInsuredMember_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_InvestmentSelectionRisk_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_DebtMarketRisk_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_InterestRateRisk_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_CreditRisk_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_MunicipalRisk_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:MunicipalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_FocusRisk_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_PrepaymentExtensionRisk_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_DerivativesRisk_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_LeveragingRisk_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_CounterpartyandThirdPartyRisk_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_LiquidityRisk_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002536Member_LargeShareholderRisk_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000042676Member_S000002536Member_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000042676Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000042676Member_S000002536Member_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000042676Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipalBondIndex9_S000002536Member_S000002536Summary9Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002536Summary9Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002536Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipalBondIndex9Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000071695Member_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000227170Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000227169Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000227171Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000227172Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000071695Member_PrincipalRisks_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000071695Member_RiskLoseMoneyMember_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000071695Member_RiskNotInsuredMember_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000071695Member_InvestmentSelectionRisk_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000071695Member_DebtMarketRisk_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000071695Member_InterestRateRisk_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000071695Member_CreditRisk_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000071695Member_MunicipalRisk_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:MunicipalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000071695Member_FocusRisk_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000071695Member_PrepaymentExtensionRisk_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000071695Member_DerivativesRisk_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000071695Member_LeveragingRisk_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000071695Member_CounterpartyandThirdPartyRisk_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000071695Member_LiquidityRisk_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000071695Member_LargeShareholderRisk_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000227170Member_S000071695Member_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000227170Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000227170Member_S000071695Member_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000227170Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipalBondIndex10_S000071695Member_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipalBondIndex10Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipal1-15YearIndex11_S000071695Member_S000071695Summary10Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000071695Summary10Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000071695Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipal1-15YearIndex11Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002522Member_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006959Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006960Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006961Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000169759Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000194228Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002522Member_PrincipalRisks_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002522Member_RiskLoseMoneyMember_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002522Member_RiskNotInsuredMember_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002522Member_InvestmentSelectionRisk_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002522Member_DebtMarketRisk_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002522Member_InterestRateRisk_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002522Member_CreditRisk_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002522Member_FocusRisk_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002522Member_MunicipalRisk_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:MunicipalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002522Member_PrepaymentExtensionRisk_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002522Member_DerivativesRisk_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002522Member_LeveragingRisk_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002522Member_CounterpartyandThirdPartyRisk_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002522Member_LiquidityRisk_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002522Member_LargeShareholderRisk_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006959Member_S000002522Member_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006959Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006959Member_S000002522Member_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006959Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipalBondIndex12_S000002522Member_S000002522Summary11Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002522Summary11Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002522Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipalBondIndex12Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002523Member_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006962Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006963Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006964Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000169760Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000194230Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002523Member_PrincipalRisks_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002523Member_RiskLoseMoneyMember_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002523Member_RiskNotInsuredMember_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002523Member_InvestmentSelectionRisk_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002523Member_DebtMarketRisk_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002523Member_InterestRateRisk_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002523Member_CreditRisk_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002523Member_FocusRisk_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002523Member_MunicipalRisk_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:MunicipalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002523Member_PrepaymentExtensionRisk_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002523Member_DerivativesRisk_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002523Member_LeveragingRisk_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002523Member_CounterpartyandThirdPartyRisk_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002523Member_LiquidityRisk_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002523Member_LargeShareholderRisk_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006962Member_S000002523Member_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006962Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006962Member_S000002523Member_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006962Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipalBondIndex13_S000002523Member_S000002523Summary12Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002523Summary12Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002523Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipalBondIndex13Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002524Member_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006965Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006966Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000169761Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000194232Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002524Member_PrincipalRisks_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002524Member_RiskLoseMoneyMember_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002524Member_RiskNotInsuredMember_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002524Member_InvestmentSelectionRisk_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002524Member_DebtMarketRisk_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002524Member_InterestRateRisk_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002524Member_CreditRisk_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002524Member_FocusRisk_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002524Member_MunicipalRisk_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:MunicipalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002524Member_PrepaymentExtensionRisk_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002524Member_DerivativesRisk_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002524Member_LeveragingRisk_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002524Member_CounterpartyandThirdPartyRisk_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002524Member_LiquidityRisk_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002524Member_LargeShareholderRisk_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006965Member_S000002524Member_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006965Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006965Member_S000002524Member_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006965Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipalBondIndex14_S000002524Member_S000002524Summary13Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002524Summary13Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002524Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipalBondIndex14Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002525Member_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006967Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006968Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000169762Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000194234Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002525Member_PrincipalRisks_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002525Member_RiskLoseMoneyMember_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002525Member_RiskNotInsuredMember_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002525Member_InvestmentSelectionRisk_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002525Member_DebtMarketRisk_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002525Member_InterestRateRisk_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002525Member_CreditRisk_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002525Member_FocusRisk_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002525Member_MunicipalRisk_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:MunicipalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002525Member_PrepaymentExtensionRisk_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002525Member_DerivativesRisk_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002525Member_LeveragingRisk_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002525Member_CounterpartyandThirdPartyRisk_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002525Member_LiquidityRisk_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002525Member_LargeShareholderRisk_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006967Member_S000002525Member_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006967Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006967Member_S000002525Member_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006967Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipalBondIndex15_S000002525Member_S000002525Summary14Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002525Summary14Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002525Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipalBondIndex15Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002527Member_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006971Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006972Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006973Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000169764Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000194238Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002527Member_PrincipalRisks_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002527Member_RiskLoseMoneyMember_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002527Member_RiskNotInsuredMember_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002527Member_InvestmentSelectionRisk_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002527Member_DebtMarketRisk_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002527Member_InterestRateRisk_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002527Member_CreditRisk_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002527Member_FocusRisk_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002527Member_MunicipalRisk_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:MunicipalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002527Member_PrepaymentExtensionRisk_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002527Member_DerivativesRisk_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002527Member_LeveragingRisk_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002527Member_CounterpartyandThirdPartyRisk_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002527Member_LiquidityRisk_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002527Member_LargeShareholderRisk_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006971Member_S000002527Member_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006971Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006971Member_S000002527Member_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006971Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipalBondIndex16_S000002527Member_S000002527Summary15Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002527Summary15Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002527Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipalBondIndex16Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006974Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006975Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000169765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000194240Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_PrincipalRisks_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrincipalRisksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_RiskLoseMoneyMember_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_RiskNotInsuredMember_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNotInsuredMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_InvestmentSelectionRisk_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InvestmentSelectionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_DebtMarketRisk_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DebtMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_InterestRateRisk_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_CreditRisk_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_FocusRisk_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:FocusRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_RiskNondiversifiedStatusMember_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">rr:RiskNondiversifiedStatusMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_MunicipalRisk_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:MunicipalRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_PrepaymentExtensionRisk_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:PrepaymentExtensionRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_DerivativesRisk_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:DerivativesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_LeveragingRisk_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LeveragingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_CounterpartyandThirdPartyRisk_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:CounterpartyandThirdPartyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_LiquidityRisk_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LiquidityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_S000002528Member_LargeShareholderRisk_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:RiskAxis">cik0000751656:LargeShareholderRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006974Member_S000002528Member_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006974Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006974Member_S000002528Member_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">rr:AfterTaxesOnDistributionsAndSalesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:ProspectusShareClassAxis">cik0000751656:C000006974Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-31</endDate>
        </period>
    </context>
    <context id="Context_20240331_20240331_BloombergMunicipalBondIndex17_S000002528Member_S000002528Summary16Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000751656</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">cik0000751656:S000002528Summary16Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000751656:S000002528Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="rr:PerformanceMeasureAxis">cik0000751656:BloombergMunicipalBondIndex17Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-03-31</startDate>
            <endDate>2024-03-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_20240331_20240331" id="ixv-121542">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName contextRef="Context_20240331_20240331" id="ixv-121543">MFS&#xae;  MUNICIPAL SERIES TRUST</dei:EntityRegistrantName>
    <dei:DocumentEffectiveDate contextRef="Context_20240331_20240331" id="ixv-121545">2024-07-29</dei:DocumentEffectiveDate>
    <rr:ProspectusDate contextRef="Context_20240331_20240331" id="ixv-121546">2024-07-29</rr:ProspectusDate>
    <rr:RiskReturnHeading
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121547">MFS&#xae;
Alabama Municipal Bond Fund  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      id="ixv-121548">MFALX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      id="ixv-121549">MBABX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      id="ixv-121550">MLALX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      id="ixv-121551">MPOLX</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121553">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-224">&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 income exempt from federal income tax
and personal income tax, if any, of Alabama, but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121554">Fees and
Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-227">&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;This table describes the fees and expenses that you may pay
when you buy, hold, and sell shares of the fund. &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;Investors may also pay commissions
or other fees to their financial intermediaries when they buy, hold, and sell shares of the fund, which
are not reflected below.&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;/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;You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds. More information about
these and other waivers and reductions is available from your financial intermediary and in &#x201c;Sales
Charges and Waivers and Reductions&#x201d; on page 11 and &#x201c;Appendix A &#x2013; Waivers and Reductions of Sales
Charges&#x201d; on page A-1 of the fund&#x2019;s prospectus. &lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ExpenseBreakpointDiscounts
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121555">You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds.</rr:ExpenseBreakpointDiscounts>
    <rr:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121556"
      unitRef="usd">100000</rr:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <rr:ShareholderFeesCaption
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121557">Shareholder
Fees (fees paid directly from your investment):</rr:ShareholderFeesCaption>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121559"
      unitRef="pure">0.0425</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121560"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121561"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121562"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="_28_"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121564"
      unitRef="pure">0.0400</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121565"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121566"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:OperatingExpensesCaption
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121567">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_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121569"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121570"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121571"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121572"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121573"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121574"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121575"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121576"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121577"
      unitRef="pure">0.0039</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121578"
      unitRef="pure">0.0039</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121579"
      unitRef="pure">0.0039</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121580"
      unitRef="pure">0.0032</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121581"
      unitRef="pure">0.0109</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121582"
      unitRef="pure">0.0184</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121583"
      unitRef="pure">0.0084</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121584"
      unitRef="pure">0.0077</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="_48_"
      unitRef="pure">-0.0019</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="_49_"
      unitRef="pure">-0.0019</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="_50_"
      unitRef="pure">-0.0019</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="_51_"
      unitRef="pure">-0.0018</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121589"
      unitRef="pure">0.0090</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121590"
      unitRef="pure">0.0165</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121591"
      unitRef="pure">0.0065</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121592"
      unitRef="pure">0.0059</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121593">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-541">&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. &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 (unless otherwise indicated); 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_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121594">Although
your actual costs will likely be higher or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121595"
      unitRef="usd">513</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121596"
      unitRef="usd">739</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121597"
      unitRef="usd">983</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121598"
      unitRef="usd">1681</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="_63_"
      unitRef="usd">568</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="_65_"
      unitRef="usd">860</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="_67_"
      unitRef="usd">1178</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="_69_"
      unitRef="usd">1946</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="_64_"
      unitRef="usd">168</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="_66_"
      unitRef="usd">560</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="_68_"
      unitRef="usd">978</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="_70_"
      unitRef="usd">1946</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121607"
      unitRef="usd">66</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121608"
      unitRef="usd">249</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121609"
      unitRef="usd">447</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121610"
      unitRef="usd">1020</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121611"
      unitRef="usd">60</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121612"
      unitRef="usd">228</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121613"
      unitRef="usd">410</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121614"
      unitRef="usd">937</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121615">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-735">&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 and may result in higher taxes when shares are held in a taxable
account. 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 24% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121616"
      unitRef="pure">0.24</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121617">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-738">&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 invests, under normal market conditions,
at least 80% of its net assets in securities and other investments, the interest on which is exempt from
federal income tax and personal income tax, if any, of Alabama. Interest from the fund&#x2019;s investments
may be subject to the federal alternative minimum tax. MFS (Massachusetts Financial Services Company,
the fund's investment adviser) may also invest the fund's assets in taxable instruments, including municipal
instruments of other states.&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 municipal 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 a significant percentage of the
fund&#x2019;s assets in municipal instruments of Alabama. &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 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="-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 may invest 25% or more of the fund&#x2019;s assets in municipal instruments that
finance similar types of projects, such as those relating to education, healthcare, housing, utilities,
water or sewers. Municipal instruments whose interest is exempt from federal and state personal income
tax include instruments issued by U.S. territories and possessions (such as Puerto Rico, Guam, and the
U.S. Virgin Islands) and their political subdivisions and public corporations. &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
primarily invests the fund&#x2019;s assets in investment grade quality debt instruments, but may also invest
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;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, inverse floating rate instruments, 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;&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_20240331_20240331_S000002521Member_PrincipalRisks_S000002521Summary1Member"
      id="ixv-748">&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_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121618">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_RiskLoseMoneyMember_S000002521Summary1Member"
      id="ixv-121619">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_20240331_20240331_S000002521Member_RiskNotInsuredMember_S000002521Summary1Member"
      id="ixv-121620">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_20240331_20240331_S000002521Member_InvestmentSelectionRisk_S000002521Summary1Member"
      id="ixv-752">&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;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_20240331_20240331_S000002521Member_DebtMarketRisk_S000002521Summary1Member"
      id="ixv-756">&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_20240331_20240331_S000002521Member_InterestRateRisk_S000002521Summary1Member"
      id="ixv-760">&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_20240331_20240331_S000002521Member_CreditRisk_S000002521Summary1Member"
      id="ixv-765">&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;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. &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;The
credit quality of, and the ability to pay principal and interest when due by, an issuer of a municipal
instrument depends on the credit quality of the entity supporting the municipal instrument, how essential
any services supported by the municipal instrument are, the sufficiency of any revenues or taxes that
support the municipal instrument, and/or the willingness or ability of the appropriate government entity
to approve any appropriations necessary to support the municipal instrument. In addition, the price of
a municipal instrument also depends on its credit quality and ability to &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;meet the credit support obligations of any insurer or other entity providing credit
support to a municipal instrument.&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_20240331_20240331_S000002521Member_FocusRisk_S000002521Summary1Member"
      id="ixv-779">&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; The fund&#x2019;s performance will be closely tied to the economic, political, environmental,
and public health conditions in Alabama, and can be more volatile than the performance of a more geographically
diversified fund. In addition, the fund's performance can also be tied to the economic and political
conditions of other states and U.S. territories and possessions in which the fund is invested. These
conditions may include constitutional or statutory limits on an issuer&#x2019;s ability to raise revenues
or increase taxes, anticipated or actual budget deficits or other financial difficulties, or changes
in the credit quality of municipal issuers in the state, other states, or U.S. territories and possessions.&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;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_20240331_20240331_S000002521Member_MunicipalRisk_S000002521Summary1Member"
      id="ixv-784">&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;Municipal 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 municipal instrument can be volatile and significantly affected by adverse tax changes or court
rulings, legislative or political changes, changes in specific or general market and economic conditions
and developments, and the financial condition of municipal issuers and insurers. Because many municipal
instruments are issued to finance similar projects, conditions in certain industries can significantly
affect the fund and the overall municipal market.  Municipal instruments may be more susceptible to downgrades
or defaults during economic downturns or similar periods of economic stress, which in turn could affect
the market values and marketability of many or all municipal obligations of issuers in a state, U.S.
territory, or possession. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_PrepaymentExtensionRisk_S000002521Summary1Member"
      id="ixv-788">&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_20240331_20240331_S000002521Member_DerivativesRisk_S000002521Summary1Member"
      id="ixv-793">&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_20240331_20240331_S000002521Member_LeveragingRisk_S000002521Summary1Member"
      id="ixv-798">&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_20240331_20240331_S000002521Member_CounterpartyandThirdPartyRisk_S000002521Summary1Member"
      id="ixv-803">&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_20240331_20240331_S000002521Member_LiquidityRisk_S000002521Summary1Member"
      id="ixv-808">&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_20240331_20240331_S000002521Member_LargeShareholderRisk_S000002521Summary1Member"
      id="ixv-813">&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_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121621">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-818">&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 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&#x2019;s performance over
time compares with that of a broad measure of market performance.&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 (before and after taxes) does not necessarily indicate how the fund will perform in
the future. Updated performance is available online 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-800-225-2606.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121622">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&#x2019;s performance over
time compares with that of a broad measure of market performance.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121623">The fund&#x2019;s
past performance (before and after taxes) does not necessarily indicate how the fund will perform in
the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121624">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121625">1-800-225-2606</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121626">Class A Bar Chart.</rr:BarChartHeading>
    <rr:BarChartNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121627">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartNarrativeTextBlock>
    <rr:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121628">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartDoesNotReflectSalesLoads>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-829">&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 six-month period ended June 30, 2024,
was 0.35%. During the period(s) shown in the bar chart, the highest quarterly return was 9.01% (for the
calendar quarter ended December 31, 2023) and the lowest quarterly return was (6.16)% (for the calendar
quarter ended March 31, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      id="ixv-121629">The total return for the six-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      id="ixv-121630">2024-06-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121631"
      unitRef="pure">0.0035</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      id="ixv-121632">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121633"
      unitRef="pure">0.0901</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      id="ixv-121634">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      id="ixv-121635">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121636"
      unitRef="pure">-0.0616</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      id="ixv-121637">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121638">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121639">Average Annual
Total Returns (For the Periods Ended December
31, 2023)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      id="ixv-121640">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      id="ixv-121641">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      id="ixv-121642">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      id="ixv-121643">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121644"
      unitRef="pure">0.0163</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121645"
      unitRef="pure">0.0036</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121646"
      unitRef="pure">0.0198</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121647"
      unitRef="pure">0.0661</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121648"
      unitRef="pure">0.0174</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121649"
      unitRef="pure">0.0283</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121650"
      unitRef="pure">0.0668</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121651"
      unitRef="pure">0.0181</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121652"
      unitRef="pure">0.0288</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121653"
      unitRef="pure">0.0189</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121654"
      unitRef="pure">0.0061</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121655"
      unitRef="pure">0.0214</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006957Member_S000002521Member_S000002521Summary1Member"
      id="ixv-121656">Returns After
Taxes on Distributions</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121657"
      unitRef="pure">0.0189</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121658"
      unitRef="pure">0.0060</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121659"
      unitRef="pure">0.0212</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006957Member_S000002521Member_S000002521Summary1Member"
      id="ixv-121660">Returns After Taxes on Distributions and Sale of Fund Shares</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121661"
      unitRef="pure">0.0227</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121662"
      unitRef="pure">0.0100</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121663"
      unitRef="pure">0.0230</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex1_S000002521Member_S000002521Summary1Member"
      id="ixv-121664">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex1_S000002521Member_S000002521Summary1Member"
      id="ixv-121665">Bloomberg Municipal Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex1_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121666"
      unitRef="pure">0.0640</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex1_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121667"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex1_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-121668"
      unitRef="pure">0.0303</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-1095">&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;Aft&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;er-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes. Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts. The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121669">After-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121671">Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-121672">The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <rr:RiskReturnHeading
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121673">MFS&#xae;
Arkansas Municipal Bond Fund  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      id="ixv-121674">MFARX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      id="ixv-121675">MBARX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      id="ixv-121676">MARLX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      id="ixv-121677">MPRAX</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121679">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-6683">&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 income exempt from federal income tax
and personal income tax, if any, of Arkansas, but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121680">Fees and
Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-6686">&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;This table describes the fees and expenses that you may pay
when you buy, hold, and sell shares of the fund. &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;Investors may also pay commissions
or other fees to their financial intermediaries when they buy, hold, and sell shares of the fund, which
are not reflected below.&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;/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;You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds. More information about
these and other waivers and reductions is available from your financial intermediary and in &#x201c;Sales
Charges and Waivers and Reductions&#x201d; on page 11 and &#x201c;Appendix A &#x2013; Waivers and Reductions of Sales
Charges&#x201d; on page A-1 of the fund&#x2019;s prospectus. &lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ExpenseBreakpointDiscounts
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121681">You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds.</rr:ExpenseBreakpointDiscounts>
    <rr:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121682"
      unitRef="usd">100000</rr:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <rr:ShareholderFeesCaption
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121683">Shareholder
Fees (fees paid directly from your investment):</rr:ShareholderFeesCaption>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121685"
      unitRef="pure">0.0425</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121686"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121687"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121688"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="_194_"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121690"
      unitRef="pure">0.0400</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121691"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121692"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:OperatingExpensesCaption
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121693">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_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121695"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121696"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121697"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121698"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121699"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121700"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121701"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121702"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121703"
      unitRef="pure">0.0024</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121704"
      unitRef="pure">0.0024</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121705"
      unitRef="pure">0.0024</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121706"
      unitRef="pure">0.0017</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121707"
      unitRef="pure">0.0094</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121708"
      unitRef="pure">0.0169</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121709"
      unitRef="pure">0.0069</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121710"
      unitRef="pure">0.0062</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="_214_"
      unitRef="pure">-0.0024</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="_215_"
      unitRef="pure">-0.0024</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="_216_"
      unitRef="pure">-0.0009</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="_217_"
      unitRef="pure">-0.0009</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121715"
      unitRef="pure">0.0070</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121716"
      unitRef="pure">0.0145</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121717"
      unitRef="pure">0.0060</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121718"
      unitRef="pure">0.0053</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121719">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-7000">&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. &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 (unless otherwise indicated); 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_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121720">Although
your actual costs will likely be higher or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121721"
      unitRef="usd">493</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121722"
      unitRef="usd">689</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121723"
      unitRef="usd">901</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121724"
      unitRef="usd">1510</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="_229_"
      unitRef="usd">548</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="_231_"
      unitRef="usd">809</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="_233_"
      unitRef="usd">1095</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="_235_"
      unitRef="usd">1778</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="_230_"
      unitRef="usd">148</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="_232_"
      unitRef="usd">509</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="_234_"
      unitRef="usd">895</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="_236_"
      unitRef="usd">1778</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121733"
      unitRef="usd">61</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121734"
      unitRef="usd">212</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121735"
      unitRef="usd">375</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121736"
      unitRef="usd">850</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121737"
      unitRef="usd">54</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121738"
      unitRef="usd">189</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121739"
      unitRef="usd">337</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121740"
      unitRef="usd">766</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121741">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-7194">&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 and may result in higher taxes when shares are held in a taxable
account. 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 16% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121742"
      unitRef="pure">0.16</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121743">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-7197">&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 invests, under normal market conditions,
at least 80% of its net assets in securities and other investments, the interest on which is exempt from
federal income tax and personal income tax, if any, of Arkansas. Interest from the fund&#x2019;s investments
may be subject to the federal alternative minimum tax. MFS (Massachusetts Financial Services Company,
the fund&#x2019;s investment adviser) may also invest the fund's assets in taxable instruments, including
municipal instruments of other states.&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 municipal 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 a significant
percentage of the fund&#x2019;s assets in municipal instruments of Arkansas. &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
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="-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 may invest 25% or more of the fund&#x2019;s assets in municipal instruments that
finance similar types of projects, such as those relating to education, healthcare, housing, utilities,
water or sewers. Municipal instruments whose interest is exempt from federal and state personal income
tax include instruments issued by U.S. territories and possessions (such as Puerto Rico, Guam, and the
U.S. Virgin Islands) and their political subdivisions and public corporations. &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
primarily invests the fund&#x2019;s assets in investment grade quality debt instruments, but may also invest
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;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, inverse floating rate instruments, 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;&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_20240331_20240331_S000002529Member_PrincipalRisks_S000002529Summary2Member"
      id="ixv-7207">&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_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121744">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_RiskLoseMoneyMember_S000002529Summary2Member"
      id="ixv-121745">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_20240331_20240331_S000002529Member_RiskNotInsuredMember_S000002529Summary2Member"
      id="ixv-121746">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_20240331_20240331_S000002529Member_InvestmentSelectionRisk_S000002529Summary2Member"
      id="ixv-7211">&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;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_20240331_20240331_S000002529Member_DebtMarketRisk_S000002529Summary2Member"
      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;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_20240331_20240331_S000002529Member_InterestRateRisk_S000002529Summary2Member"
      id="ixv-7219">&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_20240331_20240331_S000002529Member_CreditRisk_S000002529Summary2Member"
      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;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. &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;The
credit quality of, and the ability to pay principal and interest when due by, an issuer of a municipal
instrument depends on the credit quality of the entity supporting the municipal instrument, how essential
any services supported by the municipal instrument are, the sufficiency of any revenues or taxes that
support the municipal instrument, and/or the willingness or ability of the appropriate government entity
to approve any appropriations necessary to support the municipal instrument. In addition, the price of
a municipal instrument also depends on its credit quality and ability to &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;meet the credit support obligations of any insurer or other entity providing credit
support to a municipal instrument.&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_20240331_20240331_S000002529Member_FocusRisk_S000002529Summary2Member"
      id="ixv-7238">&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; The fund&#x2019;s performance will be closely tied to the economic, political, environmental,
and public health conditions in Arkansas, and can be more volatile than the performance of a more geographically
diversified fund. In addition, the fund's performance can also be tied to the economic and political
conditions of other states and U.S. territories and possessions in which the fund is invested. These
conditions may include constitutional or statutory limits on an issuer&#x2019;s ability to raise revenues
or increase taxes, anticipated or actual budget deficits or other financial difficulties, or changes
in the credit quality of municipal issuers in the state, other states, or U.S. territories and possessions.&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;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_20240331_20240331_S000002529Member_MunicipalRisk_S000002529Summary2Member"
      id="ixv-7243">&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;Municipal 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 municipal instrument can be volatile and significantly affected by adverse tax changes or court
rulings, legislative or political changes, changes in specific or general market and economic conditions
and developments, and the financial condition of municipal issuers and insurers. Because many municipal
instruments are issued to finance similar projects, conditions in certain industries can significantly
affect the fund and the overall municipal market.  Municipal instruments may be more susceptible to downgrades
or defaults during economic downturns or similar periods of economic stress, which in turn could affect
the market values and marketability of many or all municipal obligations of issuers in a state, U.S.
territory, or possession. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_PrepaymentExtensionRisk_S000002529Summary2Member"
      id="ixv-7247">&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_20240331_20240331_S000002529Member_DerivativesRisk_S000002529Summary2Member"
      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;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_20240331_20240331_S000002529Member_LeveragingRisk_S000002529Summary2Member"
      id="ixv-7257">&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_20240331_20240331_S000002529Member_CounterpartyandThirdPartyRisk_S000002529Summary2Member"
      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;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_20240331_20240331_S000002529Member_LiquidityRisk_S000002529Summary2Member"
      id="ixv-7267">&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_20240331_20240331_S000002529Member_LargeShareholderRisk_S000002529Summary2Member"
      id="ixv-7272">&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_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121747">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-7277">&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 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&#x2019;s performance over
time compares with that of a broad measure of market performance.&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 (before and after taxes) does not necessarily indicate how the fund will perform in
the future. Updated performance is available online 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-800-225-2606.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121748">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&#x2019;s performance over
time compares with that of a broad measure of market performance.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121749">The fund&#x2019;s
past performance (before and after taxes) does not necessarily indicate how the fund will perform in
the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121750">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121751">1-800-225-2606</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121752">Class A Bar Chart.</rr:BarChartHeading>
    <rr:BarChartNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121753">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartNarrativeTextBlock>
    <rr:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121754">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartDoesNotReflectSalesLoads>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-7288">&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 six-month period ended June 30, 2024,
was 0.32%. During the period(s) shown in the bar chart, the highest quarterly return was 8.74% (for the
calendar quarter ended December 31, 2023) and the lowest quarterly return was (5.13)% (for the calendar
quarter ended March 31, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      id="ixv-121755">The total return for the six-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      id="ixv-121756">2024-06-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121757"
      unitRef="pure">0.0032</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      id="ixv-121758">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121759"
      unitRef="pure">0.0874</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      id="ixv-121760">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      id="ixv-121761">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121762"
      unitRef="pure">-0.0513</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      id="ixv-121763">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121764">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121765">Average Annual
Total Returns (For the Periods Ended December
31, 2023)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      id="ixv-121766">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      id="ixv-121767">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      id="ixv-121768">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      id="ixv-121769">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121770"
      unitRef="pure">0.0107</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121771"
      unitRef="pure">0.0060</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121772"
      unitRef="pure">0.0199</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121773"
      unitRef="pure">0.0597</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121774"
      unitRef="pure">0.0184</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121775"
      unitRef="pure">0.0271</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121776"
      unitRef="pure">0.0593</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121777"
      unitRef="pure">0.0187</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121778"
      unitRef="pure">0.0275</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121779"
      unitRef="pure">0.0135</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121780"
      unitRef="pure">0.0083</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121781"
      unitRef="pure">0.0216</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006976Member_S000002529Member_S000002529Summary2Member"
      id="ixv-121782">Returns After
Taxes on Distributions</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121783"
      unitRef="pure">0.0134</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121784"
      unitRef="pure">0.0081</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121785"
      unitRef="pure">0.0214</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006976Member_S000002529Member_S000002529Summary2Member"
      id="ixv-121786">Returns After Taxes on Distributions and Sale of Fund Shares</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121787"
      unitRef="pure">0.0199</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121788"
      unitRef="pure">0.0123</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121789"
      unitRef="pure">0.0231</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex2_S000002529Member_S000002529Summary2Member"
      id="ixv-121790">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex2_S000002529Member_S000002529Summary2Member"
      id="ixv-121791">Bloomberg Municipal Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex2_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121792"
      unitRef="pure">0.0640</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex2_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121793"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex2_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-121794"
      unitRef="pure">0.0303</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-7554">&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;Aft&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;er-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes. Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts. The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121795">After-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121797">Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-121798">The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <rr:RiskReturnHeading
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121799">MFS&#xae;
California Municipal Bond Fund  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121800">MCFTX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121801">MBCAX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121802">MCCAX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121803">MCAVX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121804">MPOAX</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121806">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-13175">&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 income exempt from federal income tax
and personal income tax, if any, of California, but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121807">Fees and
Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-13178">&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;This table describes the fees and expenses that you may pay
when you buy, hold, and sell shares of the fund. &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;Investors may also pay commissions
or other fees to their financial intermediaries when they buy, hold, and sell shares of the fund, which
are not reflected below.&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;/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;You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds. More information about
these and other waivers and reductions is available from your financial intermediary and in &#x201c;Sales
Charges and Waivers and Reductions&#x201d; on page 11 and &#x201c;Appendix A &#x2013; Waivers and Reductions of Sales
Charges&#x201d; on page A-1 of the fund&#x2019;s prospectus. &lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ExpenseBreakpointDiscounts
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121808">You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds.</rr:ExpenseBreakpointDiscounts>
    <rr:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121809"
      unitRef="usd">100000</rr:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <rr:ShareholderFeesCaption
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121810">Shareholder Fees (fees paid
directly from your investment):</rr:ShareholderFeesCaption>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121812"
      unitRef="pure">0.0425</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121813"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121814"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121815"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121816"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_362_"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121818"
      unitRef="pure">0.0400</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121819"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121820"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121821"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:OperatingExpensesCaption
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121822">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_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121824"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121825"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121826"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121827"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121828"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121829"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121830"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121831"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121832"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121833"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121834"
      unitRef="pure">0.0016</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121835"
      unitRef="pure">0.0016</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121836"
      unitRef="pure">0.0016</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121837"
      unitRef="pure">0.0016</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121838"
      unitRef="pure">0.0009</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121839"
      unitRef="pure">0.0086</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121840"
      unitRef="pure">0.0161</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121841"
      unitRef="pure">0.0161</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121842"
      unitRef="pure">0.0061</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121843"
      unitRef="pure">0.0054</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_387_"
      unitRef="pure">-0.0016</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_388_"
      unitRef="pure">-0.0016</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_389_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_390_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_391_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121849"
      unitRef="pure">0.0070</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121850"
      unitRef="pure">0.0145</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121851"
      unitRef="pure">0.0160</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121852"
      unitRef="pure">0.0060</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121853"
      unitRef="pure">0.0053</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121854">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-13536">&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. &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 (unless otherwise indicated); 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_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121855">Although
your actual costs will likely be higher or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121856"
      unitRef="usd">493</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121857"
      unitRef="usd">672</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121858"
      unitRef="usd">867</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121859"
      unitRef="usd">1427</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_404_"
      unitRef="usd">548</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_406_"
      unitRef="usd">792</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_408_"
      unitRef="usd">1061</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_410_"
      unitRef="usd">1696</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_405_"
      unitRef="usd">148</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_407_"
      unitRef="usd">492</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_409_"
      unitRef="usd">861</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_411_"
      unitRef="usd">1696</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_412_"
      unitRef="usd">263</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_414_"
      unitRef="usd">507</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_416_"
      unitRef="usd">875</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_418_"
      unitRef="usd">1709</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_413_"
      unitRef="usd">163</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_415_"
      unitRef="usd">507</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_417_"
      unitRef="usd">875</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="_419_"
      unitRef="usd">1709</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121876"
      unitRef="usd">61</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121877"
      unitRef="usd">194</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121878"
      unitRef="usd">339</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121879"
      unitRef="usd">761</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121880"
      unitRef="usd">54</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121881"
      unitRef="usd">172</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121882"
      unitRef="usd">301</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121883"
      unitRef="usd">676</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121884">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-13803">&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 and may result in higher taxes when shares are held in a taxable
account. 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 23% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121885"
      unitRef="pure">0.23</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121886">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-13806">&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 invests, under normal market conditions,
at least 80% of its net assets in securities and other investments, the interest on which is exempt from
federal income tax and personal income tax, if any, of California. Interest from the fund&#x2019;s investments
may be subject to the federal alternative minimum tax. MFS (Massachusetts Financial Services Company,
the fund's investment adviser) may also invest the fund's assets in taxable instruments, including municipal
instruments of other states.&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 municipal 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 a significant percentage of the
fund&#x2019;s assets in municipal instruments of California. &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 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="-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 may invest 25% or more of the fund&#x2019;s assets in municipal instruments that
finance similar types of projects, such as those relating to education, healthcare, housing, utilities,
water or sewers. Municipal instruments whose interest is exempt from federal and state personal income
tax include instruments issued by U.S. territories and possessions (such as Puerto Rico, Guam, and the
U.S. Virgin Islands) and their political subdivisions and public corporations. &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
primarily invests the fund&#x2019;s assets in investment grade quality debt instruments, but may also invest
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;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, inverse floating rate instruments, 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;&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_20240331_20240331_S000002530Member_PrincipalRisks_S000002530Summary3Member"
      id="ixv-13816">&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_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121887">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_RiskLoseMoneyMember_S000002530Summary3Member"
      id="ixv-121888">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_20240331_20240331_S000002530Member_RiskNotInsuredMember_S000002530Summary3Member"
      id="ixv-121889">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_20240331_20240331_S000002530Member_InvestmentSelectionRisk_S000002530Summary3Member"
      id="ixv-13820">&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;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_20240331_20240331_S000002530Member_DebtMarketRisk_S000002530Summary3Member"
      id="ixv-13824">&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_20240331_20240331_S000002530Member_InterestRateRisk_S000002530Summary3Member"
      id="ixv-13828">&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_20240331_20240331_S000002530Member_CreditRisk_S000002530Summary3Member"
      id="ixv-13833">&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;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. &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;The
credit quality of, and the ability to pay principal and interest when due by, an issuer of a municipal
instrument depends on the credit quality of the entity supporting the municipal instrument, how essential
any services supported by the municipal instrument are, the sufficiency of any revenues or taxes that
support the municipal instrument, and/or the willingness or ability of the appropriate government entity
to approve any appropriations necessary to &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;support the municipal instrument. In addition, the price of a municipal instrument
also depends on its credit quality and ability to meet the credit support obligations of any insurer
or other entity providing credit support to a municipal instrument.&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_20240331_20240331_S000002530Member_FocusRisk_S000002530Summary3Member"
      id="ixv-13847">&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; The fund&#x2019;s performance will be closely tied to the economic, political, environmental,
and public health conditions in California, and can be more volatile than the performance of a more geographically
diversified fund. In addition, the fund's performance can also be tied to the economic and political
conditions of other states and U.S. territories and possessions in which the fund is invested. These
conditions may include constitutional or statutory limits on an issuer&#x2019;s ability to raise revenues
or increase taxes, anticipated or actual budget deficits or other financial difficulties, or changes
in the credit quality of municipal issuers in the state, other states, or U.S. territories and possessions.&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;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_20240331_20240331_S000002530Member_MunicipalRisk_S000002530Summary3Member"
      id="ixv-13852">&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;Municipal 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 municipal instrument can be volatile and significantly affected by adverse tax changes or court
rulings, legislative or political changes, changes in specific or general market and economic conditions
and developments, and the financial condition of municipal issuers and insurers. Because many municipal
instruments are issued to finance similar projects, conditions in certain industries can significantly
affect the fund and the overall municipal market.  Municipal instruments may be more susceptible to downgrades
or defaults during economic downturns or similar periods of economic stress, which in turn could affect
the market values and marketability of many or all municipal obligations of issuers in a state, U.S.
territory, or possession. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_PrepaymentExtensionRisk_S000002530Summary3Member"
      id="ixv-13856">&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_20240331_20240331_S000002530Member_DerivativesRisk_S000002530Summary3Member"
      id="ixv-13861">&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_20240331_20240331_S000002530Member_LeveragingRisk_S000002530Summary3Member"
      id="ixv-13866">&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_20240331_20240331_S000002530Member_CounterpartyandThirdPartyRisk_S000002530Summary3Member"
      id="ixv-13871">&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_20240331_20240331_S000002530Member_LiquidityRisk_S000002530Summary3Member"
      id="ixv-13876">&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_20240331_20240331_S000002530Member_LargeShareholderRisk_S000002530Summary3Member"
      id="ixv-13881">&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_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121890">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-13886">&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 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&#x2019;s performance over
time compares with that of a broad measure of market performance.&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 (before and after taxes) does not necessarily indicate how the fund will perform in
the future. Updated performance is available online 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-800-225-2606.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121891">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&#x2019;s performance over
time compares with that of a broad measure of market performance.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121892">The fund&#x2019;s
past performance (before and after taxes) does not necessarily indicate how the fund will perform in
the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121893">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121894">1-800-225-2606</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121895">Class A Bar Chart.</rr:BarChartHeading>
    <rr:BarChartNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121896">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartNarrativeTextBlock>
    <rr:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121897">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartDoesNotReflectSalesLoads>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-13897">&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 six-month period ended June 30, 2024,
was 1.17%. During the period(s) shown in the bar chart, the highest quarterly return was 8.23% (for the
calendar quarter ended December 31, 2023) and the lowest quarterly return was (6.60)% (for the calendar
quarter ended March 31, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121898">The total return for the six-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121899">2024-06-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121900"
      unitRef="pure">0.0117</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121901">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121902"
      unitRef="pure">0.0823</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121903">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121904">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121905"
      unitRef="pure">-0.0660</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121906">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121907">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121908">Average Annual
Total Returns (For the Periods Ended December
31, 2023)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121909">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121910">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121911">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121912">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121913">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121914"
      unitRef="pure">0.0218</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121915"
      unitRef="pure">0.0073</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121916"
      unitRef="pure">0.0273</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121917"
      unitRef="pure">0.0500</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121918"
      unitRef="pure">0.0095</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121919"
      unitRef="pure">0.0260</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121920"
      unitRef="pure">0.0704</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121921"
      unitRef="pure">0.0196</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121922"
      unitRef="pure">0.0343</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121923"
      unitRef="pure">0.0711</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121924"
      unitRef="pure">0.0201</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121925"
      unitRef="pure">0.0349</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121926"
      unitRef="pure">0.0242</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121927"
      unitRef="pure">0.0097</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121928"
      unitRef="pure">0.0290</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006978Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121929">Returns After
Taxes on Distributions</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121930"
      unitRef="pure">0.0242</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121931"
      unitRef="pure">0.0095</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121932"
      unitRef="pure">0.0288</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006978Member_S000002530Member_S000002530Summary3Member"
      id="ixv-121933">Returns After Taxes on Distributions and Sale of Fund Shares</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121934"
      unitRef="pure">0.0282</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121935"
      unitRef="pure">0.0139</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121936"
      unitRef="pure">0.0299</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex3_S000002530Member_S000002530Summary3Member"
      id="ixv-121937">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex3_S000002530Member_S000002530Summary3Member"
      id="ixv-121938">Bloomberg Municipal Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex3_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121939"
      unitRef="pure">0.0640</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex3_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121940"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex3_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-121941"
      unitRef="pure">0.0303</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-14182">&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;Aft&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;er-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes. Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts. The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121942">After-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121944">Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-121945">The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <rr:RiskReturnHeading
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-121946">MFS&#xae;
Georgia Municipal Bond Fund  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      id="ixv-121947">MMGAX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      id="ixv-121948">MBGAX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      id="ixv-121949">MGATX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      id="ixv-121950">MPGOX</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-121952">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-20124">&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 income exempt from federal income tax
and personal income tax, if any, of Georgia, but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-121953">Fees and
Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-20127">&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;This table describes the fees and expenses that you may pay
when you buy, hold, and sell shares of the fund. &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;Investors may also pay commissions
or other fees to their financial intermediaries when they buy, hold, and sell shares of the fund, which
are not reflected below.&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;/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;You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds. More information about
these and other waivers and reductions is available from your financial intermediary and in &#x201c;Sales
Charges and Waivers and Reductions&#x201d; on page 11 and &#x201c;Appendix A &#x2013; Waivers and Reductions of Sales
Charges&#x201d; on page A-1 of the fund&#x2019;s prospectus. &lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ExpenseBreakpointDiscounts
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-121954">You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds.</rr:ExpenseBreakpointDiscounts>
    <rr:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121955"
      unitRef="usd">100000</rr:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <rr:ShareholderFeesCaption
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-121956">Shareholder
Fees (fees paid directly from your investment):</rr:ShareholderFeesCaption>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121958"
      unitRef="pure">0.0425</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121959"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121960"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121961"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="_548_"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121963"
      unitRef="pure">0.0400</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121964"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121965"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:OperatingExpensesCaption
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-121966">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_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121968"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121969"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121970"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121971"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121972"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121973"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121974"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121975"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121976"
      unitRef="pure">0.0028</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121977"
      unitRef="pure">0.0028</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121978"
      unitRef="pure">0.0028</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121979"
      unitRef="pure">0.0023</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121980"
      unitRef="pure">0.0098</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121981"
      unitRef="pure">0.0173</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121982"
      unitRef="pure">0.0073</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121983"
      unitRef="pure">0.0068</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="_568_"
      unitRef="pure">-0.0008</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="_569_"
      unitRef="pure">-0.0008</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="_570_"
      unitRef="pure">-0.0008</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="_571_"
      unitRef="pure">-0.0008</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121988"
      unitRef="pure">0.0090</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121989"
      unitRef="pure">0.0165</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121990"
      unitRef="pure">0.0065</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121991"
      unitRef="pure">0.0060</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-121992">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-20441">&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. &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 (unless otherwise indicated); 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_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-121993">Although
your actual costs will likely be higher or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121994"
      unitRef="usd">513</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121995"
      unitRef="usd">716</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121996"
      unitRef="usd">936</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-121997"
      unitRef="usd">1568</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="_583_"
      unitRef="usd">568</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="_585_"
      unitRef="usd">837</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="_587_"
      unitRef="usd">1131</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="_589_"
      unitRef="usd">1836</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="_584_"
      unitRef="usd">168</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="_586_"
      unitRef="usd">537</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="_588_"
      unitRef="usd">931</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="_590_"
      unitRef="usd">1836</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122006"
      unitRef="usd">66</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122007"
      unitRef="usd">225</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122008"
      unitRef="usd">398</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122009"
      unitRef="usd">899</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122010"
      unitRef="usd">61</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122011"
      unitRef="usd">210</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122012"
      unitRef="usd">371</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122013"
      unitRef="usd">839</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-122014">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-20635">&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 and may result in higher taxes when shares are held in a taxable
account. 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 16% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122015"
      unitRef="pure">0.16</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-122016">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-20638">&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 invests, under normal market conditions,
at least 80% of its net assets in securities and other investments, the interest on which is exempt from
federal income tax and personal income tax, if any, of Georgia. Interest from the fund&#x2019;s investments
may be subject to the federal alternative minimum tax. MFS (Massachusetts Financial Services Company,
the fund's investment adviser) may also invest the fund's assets in taxable instruments, including municipal
instruments of other states.&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 municipal 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 a significant percentage of the
fund&#x2019;s assets in municipal instruments of Georgia. &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 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="-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 may invest 25% or more of the fund&#x2019;s assets in municipal instruments that
finance similar types of projects, such as those relating to education, healthcare, housing, utilities,
water or sewers. Municipal instruments whose interest is exempt from federal and state personal income
tax include instruments issued by U.S. territories and possessions (such as Puerto Rico, Guam, and the
U.S. Virgin Islands) and their political subdivisions and public corporations. &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
primarily invests the fund&#x2019;s assets in investment grade quality debt instruments, but may also invest
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;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, inverse floating rate instruments, 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;&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_20240331_20240331_S000002532Member_PrincipalRisks_S000002532Summary4Member"
      id="ixv-20648">&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_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-122017">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_RiskLoseMoneyMember_S000002532Summary4Member"
      id="ixv-122018">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_20240331_20240331_S000002532Member_RiskNotInsuredMember_S000002532Summary4Member"
      id="ixv-122019">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_20240331_20240331_S000002532Member_InvestmentSelectionRisk_S000002532Summary4Member"
      id="ixv-20652">&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;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_20240331_20240331_S000002532Member_DebtMarketRisk_S000002532Summary4Member"
      id="ixv-20656">&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_20240331_20240331_S000002532Member_InterestRateRisk_S000002532Summary4Member"
      id="ixv-20660">&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_20240331_20240331_S000002532Member_CreditRisk_S000002532Summary4Member"
      id="ixv-20665">&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;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. &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;The
credit quality of, and the ability to pay principal and interest when due by, an issuer of a municipal
instrument depends on the credit quality of the entity supporting the municipal instrument, how essential
any services supported by the municipal instrument are, the sufficiency of any revenues or taxes that
support the municipal instrument, and/or the willingness or ability of the appropriate government entity
to approve any appropriations necessary to support the municipal instrument. In addition, the price of
a municipal instrument also depends on its credit quality and ability to &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;meet the credit support obligations of any insurer or other entity providing credit
support to a municipal instrument.&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_20240331_20240331_S000002532Member_FocusRisk_S000002532Summary4Member"
      id="ixv-20679">&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; The fund&#x2019;s performance will be closely tied to the economic, political, environmental,
and public health conditions in Georgia, and can be more volatile than the performance of a more geographically
diversified fund. In addition, the fund's performance can also be tied to the economic and political
conditions of other states and U.S. territories and possessions in which the fund is invested. These
conditions may include constitutional or statutory limits on an issuer&#x2019;s ability to raise revenues
or increase taxes, anticipated or actual budget deficits or other financial difficulties, or changes
in the credit quality of municipal issuers in the state, other states, or U.S. territories and possessions.&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;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_20240331_20240331_S000002532Member_MunicipalRisk_S000002532Summary4Member"
      id="ixv-20684">&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;Municipal 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 municipal instrument can be volatile and significantly affected by adverse tax changes or court
rulings, legislative or political changes, changes in specific or general market and economic conditions
and developments, and the financial condition of municipal issuers and insurers. Because many municipal
instruments are issued to finance similar projects, conditions in certain industries can significantly
affect the fund and the overall municipal market.  Municipal instruments may be more susceptible to downgrades
or defaults during economic downturns or similar periods of economic stress, which in turn could affect
the market values and marketability of many or all municipal obligations of issuers in a state, U.S.
territory, or possession. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_PrepaymentExtensionRisk_S000002532Summary4Member"
      id="ixv-20688">&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_20240331_20240331_S000002532Member_DerivativesRisk_S000002532Summary4Member"
      id="ixv-20693">&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_20240331_20240331_S000002532Member_LeveragingRisk_S000002532Summary4Member"
      id="ixv-20698">&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_20240331_20240331_S000002532Member_CounterpartyandThirdPartyRisk_S000002532Summary4Member"
      id="ixv-20703">&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_20240331_20240331_S000002532Member_LiquidityRisk_S000002532Summary4Member"
      id="ixv-20708">&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_20240331_20240331_S000002532Member_LargeShareholderRisk_S000002532Summary4Member"
      id="ixv-20713">&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_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-122020">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-20718">&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 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&#x2019;s performance over
time compares with that of a broad measure of market performance.&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 (before and after taxes) does not necessarily indicate how the fund will perform in
the future. Updated performance is available online 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-800-225-2606.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-122021">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&#x2019;s performance over
time compares with that of a broad measure of market performance.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-122022">The fund&#x2019;s
past performance (before and after taxes) does not necessarily indicate how the fund will perform in
the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-122023">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-122024">1-800-225-2606</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-122025">Class A Bar Chart.</rr:BarChartHeading>
    <rr:BarChartNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-122026">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartNarrativeTextBlock>
    <rr:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-122027">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartDoesNotReflectSalesLoads>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-20729">&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 six-month period ended June 30, 2024,
was 0.53%. During the period(s) shown in the bar chart, the highest quarterly return was 8.44% (for the
calendar quarter ended December 31, 2023) and the lowest quarterly return was (6.01)% (for the calendar
quarter ended March 31, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      id="ixv-122028">The total return for the six-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      id="ixv-122029">2024-06-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122030"
      unitRef="pure">0.0053</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      id="ixv-122031">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122032"
      unitRef="pure">0.0844</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      id="ixv-122033">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      id="ixv-122034">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122035"
      unitRef="pure">-0.0601</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      id="ixv-122036">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-122037">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-122038">Average Annual
Total Returns (For the Periods Ended December
31, 2023)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      id="ixv-122039">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      id="ixv-122040">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      id="ixv-122041">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      id="ixv-122042">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122043"
      unitRef="pure">0.0161</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122044"
      unitRef="pure">0.0040</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122045"
      unitRef="pure">0.0194</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122046"
      unitRef="pure">0.0670</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122047"
      unitRef="pure">0.0176</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122048"
      unitRef="pure">0.0280</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122049"
      unitRef="pure">0.0674</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122050"
      unitRef="pure">0.0183</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122051"
      unitRef="pure">0.0284</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122052"
      unitRef="pure">0.0189</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122053"
      unitRef="pure">0.0064</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122054"
      unitRef="pure">0.0211</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006983Member_S000002532Member_S000002532Summary4Member"
      id="ixv-122055">Returns After
Taxes on Distributions</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122056"
      unitRef="pure">0.0189</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122057"
      unitRef="pure">0.0063</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122058"
      unitRef="pure">0.0210</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006983Member_S000002532Member_S000002532Summary4Member"
      id="ixv-122059">Returns After Taxes on Distributions and Sale of Fund Shares</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122060"
      unitRef="pure">0.0224</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122061"
      unitRef="pure">0.0099</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122062"
      unitRef="pure">0.0224</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex4_S000002532Member_S000002532Summary4Member"
      id="ixv-122063">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex4_S000002532Member_S000002532Summary4Member"
      id="ixv-122064">Bloomberg Municipal Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex4_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122065"
      unitRef="pure">0.0640</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex4_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122066"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex4_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-122067"
      unitRef="pure">0.0303</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-20995">&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;Aft&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;er-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes. Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts. The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-122068">After-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-122070">Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-122071">The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <rr:RiskReturnHeading
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122072">MFS&#xae;
Maryland Municipal Bond Fund  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      id="ixv-122073">MFSMX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      id="ixv-122074">MBMDX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      id="ixv-122075">MMDIX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      id="ixv-122076">MPMDX</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122078">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-26601">&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 income exempt from federal income tax
and personal income tax, if any, of Maryland, but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122079">Fees and
Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-26604">&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;This table describes the fees and expenses that you may pay
when you buy, hold, and sell shares of the fund. &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;Investors may also pay commissions
or other fees to their financial intermediaries when they buy, hold, and sell shares of the fund, which
are not reflected below.&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;/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;You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds. More information about
these and other waivers and reductions is available from your financial intermediary and in &#x201c;Sales
Charges and Waivers and Reductions&#x201d; on page 11 and &#x201c;Appendix A &#x2013; Waivers and Reductions of Sales
Charges&#x201d; on page A-1 of the fund&#x2019;s prospectus. &lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ExpenseBreakpointDiscounts
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122080">You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds.</rr:ExpenseBreakpointDiscounts>
    <rr:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122081"
      unitRef="usd">100000</rr:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <rr:ShareholderFeesCaption
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122082">Shareholder
Fees (fees paid directly from your investment):</rr:ShareholderFeesCaption>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122084"
      unitRef="pure">0.0425</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122085"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122086"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122087"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="_714_"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122089"
      unitRef="pure">0.0400</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122090"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122091"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:OperatingExpensesCaption
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122092">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_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122094"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122095"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122096"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122097"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122098"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122099"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122100"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122101"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122102"
      unitRef="pure">0.0029</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122103"
      unitRef="pure">0.0029</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122104"
      unitRef="pure">0.0029</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122105"
      unitRef="pure">0.0022</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122106"
      unitRef="pure">0.0099</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122107"
      unitRef="pure">0.0174</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122108"
      unitRef="pure">0.0074</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122109"
      unitRef="pure">0.0067</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="_734_"
      unitRef="pure">-0.0016</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="_735_"
      unitRef="pure">-0.0016</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="_736_"
      unitRef="pure">-0.0016</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="_737_"
      unitRef="pure">-0.0014</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122114"
      unitRef="pure">0.0083</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122115"
      unitRef="pure">0.0158</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122116"
      unitRef="pure">0.0058</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122117"
      unitRef="pure">0.0053</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122118">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-26918">&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. &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 (unless otherwise indicated); 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_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122119">Although
your actual costs will likely be higher or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122120"
      unitRef="usd">506</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122121"
      unitRef="usd">712</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122122"
      unitRef="usd">934</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122123"
      unitRef="usd">1573</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="_749_"
      unitRef="usd">561</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="_751_"
      unitRef="usd">832</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="_753_"
      unitRef="usd">1129</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="_755_"
      unitRef="usd">1840</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="_750_"
      unitRef="usd">161</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="_752_"
      unitRef="usd">532</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="_754_"
      unitRef="usd">929</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="_756_"
      unitRef="usd">1840</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122132"
      unitRef="usd">59</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122133"
      unitRef="usd">220</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122134"
      unitRef="usd">396</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122135"
      unitRef="usd">903</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122136"
      unitRef="usd">54</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122137"
      unitRef="usd">200</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122138"
      unitRef="usd">359</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122139"
      unitRef="usd">821</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122140">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-27112">&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 and may result in higher taxes when shares are held in a taxable
account. 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 25% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122141"
      unitRef="pure">0.25</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122142">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-27115">&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 invests, under normal market conditions,
at least 80% of its net assets in securities and other investments, the interest on which is exempt from
federal income tax and personal income tax, if any, of Maryland. Interest from the fund&#x2019;s investments
may be subject to the federal alternative minimum tax. MFS (Massachusetts Financial Services Company,
the fund's investment adviser) may also invest the fund's assets in taxable instruments, including municipal
instruments of other states.&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 municipal 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 a significant percentage of the
fund&#x2019;s assets in municipal instruments of Maryland. &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 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="-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 may invest 25% or more of the fund&#x2019;s assets in municipal instruments that
finance similar types of projects, such as those relating to education, healthcare, housing, utilities,
water or sewers. Municipal instruments whose interest is exempt from federal and state personal income
tax include instruments issued by U.S. territories and possessions (such as Puerto Rico, Guam, and the
U.S. Virgin Islands) and their political subdivisions and public corporations. &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
primarily invests the fund&#x2019;s assets in investment grade quality debt instruments, but may also invest
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;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, inverse floating rate instruments, 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;&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_20240331_20240331_S000002533Member_PrincipalRisks_S000002533Summary5Member"
      id="ixv-27125">&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_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122143">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_RiskLoseMoneyMember_S000002533Summary5Member"
      id="ixv-122144">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_20240331_20240331_S000002533Member_RiskNotInsuredMember_S000002533Summary5Member"
      id="ixv-122145">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_20240331_20240331_S000002533Member_InvestmentSelectionRisk_S000002533Summary5Member"
      id="ixv-27129">&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;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_20240331_20240331_S000002533Member_DebtMarketRisk_S000002533Summary5Member"
      id="ixv-27133">&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_20240331_20240331_S000002533Member_InterestRateRisk_S000002533Summary5Member"
      id="ixv-27137">&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_20240331_20240331_S000002533Member_CreditRisk_S000002533Summary5Member"
      id="ixv-27142">&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;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. &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;The
credit quality of, and the ability to pay principal and interest when due by, an issuer of a municipal
instrument depends on the credit quality of the entity supporting the municipal instrument, how essential
any services supported by the municipal instrument are, the sufficiency of any revenues or taxes that
support the municipal instrument, and/or the willingness or ability of the appropriate government entity
to approve any appropriations necessary to support the municipal instrument. In addition, the price of
a municipal instrument also depends on its credit quality and ability to &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;meet the credit support obligations of any insurer or other entity providing credit
support to a municipal instrument.&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_20240331_20240331_S000002533Member_FocusRisk_S000002533Summary5Member"
      id="ixv-27156">&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; The fund&#x2019;s performance will be closely tied to the economic, political, environmental,
and public health conditions in Maryland, and can be more volatile than the performance of a more geographically
diversified fund. In addition, the fund's performance can also be tied to the economic and political
conditions of other states and U.S. territories and possessions in which the fund is invested. These
conditions may include constitutional or statutory limits on an issuer&#x2019;s ability to raise revenues
or increase taxes, anticipated or actual budget deficits or other financial difficulties, or changes
in the credit quality of municipal issuers in the state, other states, or U.S. territories and possessions.&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;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_20240331_20240331_S000002533Member_MunicipalRisk_S000002533Summary5Member"
      id="ixv-27161">&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;Municipal 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 municipal instrument can be volatile and significantly affected by adverse tax changes or court
rulings, legislative or political changes, changes in specific or general market and economic conditions
and developments, and the financial condition of municipal issuers and insurers. Because many municipal
instruments are issued to finance similar projects, conditions in certain industries can significantly
affect the fund and the overall municipal market.  Municipal instruments may be more susceptible to downgrades
or defaults during economic downturns or similar periods of economic stress, which in turn could affect
the market values and marketability of many or all municipal obligations of issuers in a state, U.S.
territory, or possession. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_PrepaymentExtensionRisk_S000002533Summary5Member"
      id="ixv-27165">&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_20240331_20240331_S000002533Member_DerivativesRisk_S000002533Summary5Member"
      id="ixv-27170">&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_20240331_20240331_S000002533Member_LeveragingRisk_S000002533Summary5Member"
      id="ixv-27175">&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_20240331_20240331_S000002533Member_CounterpartyandThirdPartyRisk_S000002533Summary5Member"
      id="ixv-27180">&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_20240331_20240331_S000002533Member_LiquidityRisk_S000002533Summary5Member"
      id="ixv-27185">&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_20240331_20240331_S000002533Member_LargeShareholderRisk_S000002533Summary5Member"
      id="ixv-27190">&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_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122146">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-27195">&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 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&#x2019;s performance over
time compares with that of a broad measure of market performance.&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 (before and after taxes) does not necessarily indicate how the fund will perform in
the future. Updated performance is available online 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-800-225-2606.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122147">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&#x2019;s performance over
time compares with that of a broad measure of market performance.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122148">The fund&#x2019;s
past performance (before and after taxes) does not necessarily indicate how the fund will perform in
the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122149">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122150">1-800-225-2606</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122151">Class A Bar Chart.</rr:BarChartHeading>
    <rr:BarChartNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122152">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartNarrativeTextBlock>
    <rr:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122153">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartDoesNotReflectSalesLoads>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-27206">&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 six-month period ended June 30, 2024,
was 0.59%. During the period(s) shown in the bar chart, the highest quarterly return was 8.32% (for the
calendar quarter ended December 31, 2023) and the lowest quarterly return was (5.68)% (for the calendar
quarter ended March 31, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      id="ixv-122154">The total return for the six-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      id="ixv-122155">2024-06-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122156"
      unitRef="pure">0.0059</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      id="ixv-122157">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122158"
      unitRef="pure">0.0832</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      id="ixv-122159">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      id="ixv-122160">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122161"
      unitRef="pure">-0.0568</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      id="ixv-122162">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122163">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122164">Average Annual
Total Returns (For the Periods Ended December
31, 2023)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      id="ixv-122165">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      id="ixv-122166">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      id="ixv-122167">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      id="ixv-122168">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122169"
      unitRef="pure">0.0174</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122170"
      unitRef="pure">0.0056</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122171"
      unitRef="pure">0.0203</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122172"
      unitRef="pure">0.0680</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122173"
      unitRef="pure">0.0197</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122174"
      unitRef="pure">0.0290</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122175"
      unitRef="pure">0.0688</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122176"
      unitRef="pure">0.0203</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122177"
      unitRef="pure">0.0294</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122178"
      unitRef="pure">0.0200</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122179"
      unitRef="pure">0.0083</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122180"
      unitRef="pure">0.0220</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006985Member_S000002533Member_S000002533Summary5Member"
      id="ixv-122181">Returns After
Taxes on Distributions</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122182"
      unitRef="pure">0.0200</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122183"
      unitRef="pure">0.0081</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122184"
      unitRef="pure">0.0218</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006985Member_S000002533Member_S000002533Summary5Member"
      id="ixv-122185">Returns After Taxes on Distributions and Sale of Fund Shares</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122186"
      unitRef="pure">0.0242</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122187"
      unitRef="pure">0.0121</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122188"
      unitRef="pure">0.0237</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex5_S000002533Member_S000002533Summary5Member"
      id="ixv-122189">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex5_S000002533Member_S000002533Summary5Member"
      id="ixv-122190">Bloomberg Municipal Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex5_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122191"
      unitRef="pure">0.0640</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex5_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122192"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex5_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-122193"
      unitRef="pure">0.0303</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-27472">&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;Aft&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;er-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes. Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts. The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122194">After-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122196">Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-122197">The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <rr:RiskReturnHeading
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122198">MFS&#xae;
Massachusetts Municipal Bond Fund  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      id="ixv-122199">MFSSX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      id="ixv-122200">MBMAX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      id="ixv-122201">MTALX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      id="ixv-122202">MPMAX</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122204">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-33074">&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 income exempt from federal income tax
and personal income tax, if any, of Massachusetts, but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122205">Fees
and Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-33077">&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;This table describes the fees and expenses that you may pay
when you buy, hold, and sell shares of the fund. &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;Investors may also pay commissions
or other fees to their financial intermediaries when they buy, hold, and sell shares of the fund, which
are not reflected below.&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;/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;You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds. More information about
these and other waivers and reductions is available from your financial intermediary and in &#x201c;Sales
Charges and Waivers and Reductions&#x201d; on page 11 and &#x201c;Appendix A &#x2013; Waivers and Reductions of Sales
Charges&#x201d; on page A-1 of the fund&#x2019;s prospectus. &lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ExpenseBreakpointDiscounts
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122206">You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds.</rr:ExpenseBreakpointDiscounts>
    <rr:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122207"
      unitRef="usd">100000</rr:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <rr:ShareholderFeesCaption
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122208">Shareholder
Fees (fees paid directly from your investment):</rr:ShareholderFeesCaption>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122210"
      unitRef="pure">0.0425</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122211"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122212"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122213"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="_880_"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122215"
      unitRef="pure">0.0400</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122216"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122217"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:OperatingExpensesCaption
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122218">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_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122220"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122221"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122222"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122223"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122224"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122225"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122226"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122227"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122228"
      unitRef="pure">0.0017</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122229"
      unitRef="pure">0.0017</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122230"
      unitRef="pure">0.0017</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122231"
      unitRef="pure">0.0010</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122232"
      unitRef="pure">0.0087</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122233"
      unitRef="pure">0.0162</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122234"
      unitRef="pure">0.0062</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122235"
      unitRef="pure">0.0055</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="_900_"
      unitRef="pure">-0.0005</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="_901_"
      unitRef="pure">-0.0005</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="_902_"
      unitRef="pure">-0.0005</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="_903_"
      unitRef="pure">-0.0005</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122240"
      unitRef="pure">0.0082</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122241"
      unitRef="pure">0.0157</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122242"
      unitRef="pure">0.0057</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122243"
      unitRef="pure">0.0050</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122244">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-33391">&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. &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 (unless otherwise indicated); 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_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122245">Although
your actual costs will likely be higher or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122246"
      unitRef="usd">505</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122247"
      unitRef="usd">686</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122248"
      unitRef="usd">882</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122249"
      unitRef="usd">1448</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="_915_"
      unitRef="usd">560</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="_917_"
      unitRef="usd">806</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="_919_"
      unitRef="usd">1077</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="_921_"
      unitRef="usd">1717</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="_916_"
      unitRef="usd">160</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="_918_"
      unitRef="usd">506</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="_920_"
      unitRef="usd">877</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="_922_"
      unitRef="usd">1717</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122258"
      unitRef="usd">58</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122259"
      unitRef="usd">193</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122260"
      unitRef="usd">341</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122261"
      unitRef="usd">769</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122262"
      unitRef="usd">51</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122263"
      unitRef="usd">171</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122264"
      unitRef="usd">302</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122265"
      unitRef="usd">684</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122266">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-33585">&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 and may result in higher taxes when shares are held in a taxable
account. 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 17% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122267"
      unitRef="pure">0.17</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122268">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-33588">&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 invests, under normal market conditions,
at least 80% of its net assets in securities and other investments, the interest on which is exempt from
federal income tax and personal income tax, if any, of Massachusetts. Interest from the fund&#x2019;s investments
may be subject to the federal alternative minimum tax. MFS (Massachusetts Financial Services Company,
the fund's investment adviser) may also invest the fund's assets in taxable instruments, including municipal
instruments of other states.&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 municipal 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 a significant percentage of the
fund&#x2019;s assets in municipal instruments of Massachusetts. &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 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="-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 may invest 25% or more of the fund&#x2019;s assets in municipal instruments that
finance similar types of projects, such as those relating to education, healthcare, housing, utilities,
water or sewers. Municipal instruments whose interest is exempt from federal and state personal income
tax include instruments issued by U.S. territories and possessions (such as Puerto Rico, Guam, and the
U.S. Virgin Islands) and their political subdivisions and public corporations. &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
primarily invests the fund&#x2019;s assets in investment grade quality debt instruments, but may also invest
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;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, inverse floating rate instruments, 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;&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_20240331_20240331_S000002534Member_PrincipalRisks_S000002534Summary6Member"
      id="ixv-33598">&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_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122269">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_RiskLoseMoneyMember_S000002534Summary6Member"
      id="ixv-122270">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_20240331_20240331_S000002534Member_RiskNotInsuredMember_S000002534Summary6Member"
      id="ixv-122271">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_20240331_20240331_S000002534Member_InvestmentSelectionRisk_S000002534Summary6Member"
      id="ixv-33602">&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;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_20240331_20240331_S000002534Member_DebtMarketRisk_S000002534Summary6Member"
      id="ixv-33606">&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_20240331_20240331_S000002534Member_InterestRateRisk_S000002534Summary6Member"
      id="ixv-33610">&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_20240331_20240331_S000002534Member_CreditRisk_S000002534Summary6Member"
      id="ixv-33615">&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;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. &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;The
credit quality of, and the ability to pay principal and interest when due by, an issuer of a municipal
instrument depends on the credit quality of the entity supporting the municipal instrument, how essential
any services supported by the municipal instrument are, the sufficiency of any revenues or taxes that
support the municipal instrument, and/or the willingness or ability of the appropriate government entity
to approve any appropriations necessary to support the municipal instrument. In addition, the price of
a municipal instrument also depends on its credit quality and ability to &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;meet the credit support obligations of any insurer or other entity providing credit
support to a municipal instrument.&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_20240331_20240331_S000002534Member_FocusRisk_S000002534Summary6Member"
      id="ixv-33629">&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; The fund&#x2019;s performance will be closely tied to the economic, political, environmental,
and public health conditions in Massachusetts, and can be more volatile than the performance of a more
geographically diversified fund. In addition, the fund's performance can also be tied to the economic
and political conditions of other states and U.S. territories and possessions in which the fund is invested.
These conditions may include constitutional or statutory limits on an issuer&#x2019;s ability to raise revenues
or increase taxes, anticipated or actual budget deficits or other financial difficulties, or changes
in the credit quality of municipal issuers in the state, other states, or U.S. territories and possessions.&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;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_20240331_20240331_S000002534Member_MunicipalRisk_S000002534Summary6Member"
      id="ixv-33634">&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;Municipal 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 municipal instrument can be volatile and significantly affected by adverse tax changes or court
rulings, legislative or political changes, changes in specific or general market and economic conditions
and developments, and the financial condition of municipal issuers and insurers. Because many municipal
instruments are issued to finance similar projects, conditions in certain industries can significantly
affect the fund and the overall municipal market.  Municipal instruments may be more susceptible to downgrades
or defaults during economic downturns or similar periods of economic stress, which in turn could affect
the market values and marketability of many or all municipal obligations of issuers in a state, U.S.
territory, or possession. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_PrepaymentExtensionRisk_S000002534Summary6Member"
      id="ixv-33638">&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_20240331_20240331_S000002534Member_DerivativesRisk_S000002534Summary6Member"
      id="ixv-33643">&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_20240331_20240331_S000002534Member_LeveragingRisk_S000002534Summary6Member"
      id="ixv-33648">&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_20240331_20240331_S000002534Member_CounterpartyandThirdPartyRisk_S000002534Summary6Member"
      id="ixv-33653">&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_20240331_20240331_S000002534Member_LiquidityRisk_S000002534Summary6Member"
      id="ixv-33658">&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_20240331_20240331_S000002534Member_LargeShareholderRisk_S000002534Summary6Member"
      id="ixv-33663">&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_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122272">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-33668">&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 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&#x2019;s performance over
time compares with that of a broad measure of market performance.&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 (before and after taxes) does not necessarily indicate how the fund will perform in
the future. Updated performance is available online 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-800-225-2606.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122273">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&#x2019;s performance over
time compares with that of a broad measure of market performance.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122274">The fund&#x2019;s
past performance (before and after taxes) does not necessarily indicate how the fund will perform in
the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122275">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122276">1-800-225-2606</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122277">Class A Bar Chart.</rr:BarChartHeading>
    <rr:BarChartNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122278">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartNarrativeTextBlock>
    <rr:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122279">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartDoesNotReflectSalesLoads>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-33679">&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 six-month period ended June 30, 2024,
was 0.84%. During the period(s) shown in the bar chart, the highest quarterly return was 7.93% (for the
calendar quarter ended December 31, 2023) and the lowest quarterly return was (5.89)% (for the calendar
quarter ended March 31, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      id="ixv-122280">The total return for the six-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      id="ixv-122281">2024-06-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122282"
      unitRef="pure">0.0084</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      id="ixv-122283">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122284"
      unitRef="pure">0.0793</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      id="ixv-122285">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      id="ixv-122286">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122287"
      unitRef="pure">-0.0589</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      id="ixv-122288">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122289">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122290">Average Annual
Total Returns (For the Periods Ended December
31, 2023)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      id="ixv-122291">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      id="ixv-122292">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      id="ixv-122293">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      id="ixv-122294">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122295"
      unitRef="pure">0.0135</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122296"
      unitRef="pure">0.0043</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122297"
      unitRef="pure">0.0209</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122298"
      unitRef="pure">0.0649</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122299"
      unitRef="pure">0.0183</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122300"
      unitRef="pure">0.0297</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122301"
      unitRef="pure">0.0645</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122302"
      unitRef="pure">0.0188</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122303"
      unitRef="pure">0.0301</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122304"
      unitRef="pure">0.0163</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122305"
      unitRef="pure">0.0069</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122306"
      unitRef="pure">0.0228</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006987Member_S000002534Member_S000002534Summary6Member"
      id="ixv-122307">Returns After
Taxes on Distributions</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122308"
      unitRef="pure">0.0159</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122309"
      unitRef="pure">0.0067</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122310"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006987Member_S000002534Member_S000002534Summary6Member"
      id="ixv-122311">Returns After Taxes on Distributions and Sale of Fund Shares</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122312"
      unitRef="pure">0.0212</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122313"
      unitRef="pure">0.0111</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122314"
      unitRef="pure">0.0244</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex6_S000002534Member_S000002534Summary6Member"
      id="ixv-122315">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex6_S000002534Member_S000002534Summary6Member"
      id="ixv-122316">Bloomberg Municipal Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex6_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122317"
      unitRef="pure">0.0640</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex6_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122318"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex6_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-122319"
      unitRef="pure">0.0303</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-33945">&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;Aft&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;er-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes. Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts. The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122320">After-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122322">Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-122323">The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <rr:RiskReturnHeading
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122324">MFS&#xae;
Mississippi Municipal Bond Fund  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      id="ixv-122325">MISSX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      id="ixv-122326">MBMSX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      id="ixv-122327">MMSTX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      id="ixv-122328">MPMSX</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122330">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-39572">&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 income exempt from federal income tax
and personal income tax, if any, of Mississippi, but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122331">Fees and
Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-39575">&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;This table describes the fees and expenses that you may pay
when you buy, hold, and sell shares of the fund. &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;Investors may also pay commissions
or other fees to their financial intermediaries when they buy, hold, and sell shares of the fund, which
are not reflected below.&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;/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;You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds. More information about
these and other waivers and reductions is available from your financial intermediary and in &#x201c;Sales
Charges and Waivers and Reductions&#x201d; on page 11 and &#x201c;Appendix A &#x2013; Waivers and Reductions of Sales
Charges&#x201d; on page A-1 of the fund&#x2019;s prospectus. &lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ExpenseBreakpointDiscounts
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122332">You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds.</rr:ExpenseBreakpointDiscounts>
    <rr:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122333"
      unitRef="usd">100000</rr:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <rr:ShareholderFeesCaption
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122334">Shareholder
Fees (fees paid directly from your investment):</rr:ShareholderFeesCaption>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122336"
      unitRef="pure">0.0425</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122337"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122338"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122339"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="_1046_"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122341"
      unitRef="pure">0.0400</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122342"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122343"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:OperatingExpensesCaption
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122344">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_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122346"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122347"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122348"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122349"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122350"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122351"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122352"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122353"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122354"
      unitRef="pure">0.0033</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122355"
      unitRef="pure">0.0033</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122356"
      unitRef="pure">0.0033</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122357"
      unitRef="pure">0.0027</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122358"
      unitRef="pure">0.0103</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122359"
      unitRef="pure">0.0178</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122360"
      unitRef="pure">0.0078</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122361"
      unitRef="pure">0.0072</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="_1066_"
      unitRef="pure">-0.0027</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="_1067_"
      unitRef="pure">-0.0037</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="_1068_"
      unitRef="pure">-0.0012</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="_1069_"
      unitRef="pure">-0.0012</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122366"
      unitRef="pure">0.0076</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122367"
      unitRef="pure">0.0141</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122368"
      unitRef="pure">0.0066</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122369"
      unitRef="pure">0.0060</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122370">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-39889">&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. &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 (unless otherwise indicated); 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_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122371">Although
your actual costs will likely be higher or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122372"
      unitRef="usd">499</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122373"
      unitRef="usd">713</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122374"
      unitRef="usd">944</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122375"
      unitRef="usd">1608</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="_1081_"
      unitRef="usd">544</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="_1083_"
      unitRef="usd">824</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="_1085_"
      unitRef="usd">1130</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="_1087_"
      unitRef="usd">1866</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="_1082_"
      unitRef="usd">144</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="_1084_"
      unitRef="usd">524</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="_1086_"
      unitRef="usd">930</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="_1088_"
      unitRef="usd">1866</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122384"
      unitRef="usd">67</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122385"
      unitRef="usd">237</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122386"
      unitRef="usd">421</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122387"
      unitRef="usd">955</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122388"
      unitRef="usd">61</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122389"
      unitRef="usd">218</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122390"
      unitRef="usd">389</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122391"
      unitRef="usd">883</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122392">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-40083">&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 and may result in higher taxes when shares are held in a taxable
account. 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 22% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122393"
      unitRef="pure">0.22</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122394">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-40086">&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 invests, under normal market conditions,
at least 80% of its net assets in securities and other investments, the interest on which is exempt from
federal income tax and personal income tax, if any, of Mississippi. Interest from the fund&#x2019;s investments
may be subject to the federal alternative minimum tax. MFS (Massachusetts Financial Services Company,
the fund's investment adviser) may also invest the fund's assets in taxable instruments, including municipal
instruments of other states.&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 municipal 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 a significant percentage of the
fund&#x2019;s assets in municipal instruments of Mississippi. &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 may
invest 25% or more of the fund&#x2019;s assets in municipal instruments that finance similar types of projects,
such as those relating to education, healthcare, housing, utilities, water or sewers. Municipal instruments
whose interest is exempt from federal and state personal income tax include instruments issued by U.S.
territories and possessions (such as Puerto Rico, Guam, and the U.S. Virgin Islands) and their political
subdivisions and public corporations. &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 primarily invests the
fund&#x2019;s assets in investment grade quality debt instruments, but may also invest 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;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 exposure, or as alternatives to direct investments. Derivatives include futures, forward
contracts, options, inverse floating rate instruments, 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;&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_20240331_20240331_S000002535Member_PrincipalRisks_S000002535Summary7Member"
      id="ixv-40096">&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_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122395">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_RiskLoseMoneyMember_S000002535Summary7Member"
      id="ixv-122396">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_20240331_20240331_S000002535Member_RiskNotInsuredMember_S000002535Summary7Member"
      id="ixv-122397">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_20240331_20240331_S000002535Member_InvestmentSelectionRisk_S000002535Summary7Member"
      id="ixv-40100">&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;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_20240331_20240331_S000002535Member_DebtMarketRisk_S000002535Summary7Member"
      id="ixv-40104">&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_20240331_20240331_S000002535Member_InterestRateRisk_S000002535Summary7Member"
      id="ixv-40108">&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_20240331_20240331_S000002535Member_CreditRisk_S000002535Summary7Member"
      id="ixv-40113">&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;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. &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;The
credit quality of, and the ability to pay principal and interest when due by, an issuer of a municipal
instrument depends on the credit quality of the entity supporting the municipal instrument, how essential
any services supported by the municipal instrument are, the sufficiency of any revenues or taxes that
support the municipal instrument, and/or the willingness or ability of the appropriate government entity
to approve any appropriations necessary to support the municipal instrument. In addition, the price of
a municipal instrument also depends on its credit quality and ability to &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;meet the credit support obligations of any insurer or other entity providing credit
support to a municipal instrument.&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_20240331_20240331_S000002535Member_FocusRisk_S000002535Summary7Member"
      id="ixv-40127">&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; The fund&#x2019;s performance will be closely tied to the economic, political, environmental,
and public health conditions in Mississippi, and can be more volatile than the performance of a more
geographically diversified fund. In addition, the fund's performance can also be tied to the economic
and political conditions of other states and U.S. territories and possessions in which the fund is invested.
These conditions may include constitutional or statutory limits on an issuer&#x2019;s ability to raise revenues
or increase taxes, anticipated or actual budget deficits or other financial difficulties, or changes
in the credit quality of municipal issuers in the state, other states, or U.S. territories and possessions.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_RiskNondiversifiedStatusMember_S000002535Summary7Member"
      id="ixv-40131">&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_20240331_20240331_S000002535Member_MunicipalRisk_S000002535Summary7Member"
      id="ixv-40136">&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;Municipal 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 municipal
instrument can be volatile and significantly affected by adverse tax changes or court rulings, legislative
or political changes, changes in specific or general market and economic conditions and developments,
and the financial condition of municipal issuers and insurers. Because many municipal instruments are
issued to finance similar projects, conditions in certain industries can significantly affect the fund
and the overall municipal market.  Municipal instruments may be more susceptible to downgrades or defaults
during economic downturns or similar periods of economic stress, which in turn could affect the market
values and marketability of many or all municipal obligations of issuers in a state, U.S. territory,
or possession. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_PrepaymentExtensionRisk_S000002535Summary7Member"
      id="ixv-40140">&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_20240331_20240331_S000002535Member_DerivativesRisk_S000002535Summary7Member"
      id="ixv-40145">&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_20240331_20240331_S000002535Member_LeveragingRisk_S000002535Summary7Member"
      id="ixv-40150">&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_20240331_20240331_S000002535Member_CounterpartyandThirdPartyRisk_S000002535Summary7Member"
      id="ixv-40155">&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_20240331_20240331_S000002535Member_LiquidityRisk_S000002535Summary7Member"
      id="ixv-40160">&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_20240331_20240331_S000002535Member_LargeShareholderRisk_S000002535Summary7Member"
      id="ixv-40165">&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_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122398">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-40170">&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 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&#x2019;s performance over
time compares with that of a broad measure of market performance.&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 (before and after taxes) does not necessarily indicate how the fund will perform in
the future. Updated performance is available online 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-800-225-2606.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122399">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&#x2019;s performance over
time compares with that of a broad measure of market performance.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122400">The fund&#x2019;s
past performance (before and after taxes) does not necessarily indicate how the fund will perform in
the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122401">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122402">1-800-225-2606</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122403">Class A Bar Chart.</rr:BarChartHeading>
    <rr:BarChartNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122404">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartNarrativeTextBlock>
    <rr:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122405">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartDoesNotReflectSalesLoads>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-40181">&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 six-month period ended June 30, 2024,
was 0.53%. During the period(s) shown in the bar chart, the highest quarterly return was 7.83% (for the
calendar quarter ended December 31, 2023) and the lowest quarterly return was (5.97)% (for the calendar
quarter ended March 31, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      id="ixv-122406">The total return for the six-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      id="ixv-122407">2024-06-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122408"
      unitRef="pure">0.0053</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      id="ixv-122409">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122410"
      unitRef="pure">0.0783</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      id="ixv-122411">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      id="ixv-122412">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122413"
      unitRef="pure">-0.0597</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      id="ixv-122414">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122415">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122416">Average Annual
Total Returns (For the Periods Ended December
31, 2023)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      id="ixv-122417">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      id="ixv-122418">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      id="ixv-122419">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      id="ixv-122420">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122421"
      unitRef="pure">0.0036</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122422"
      unitRef="pure">0.0035</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122423"
      unitRef="pure">0.0190</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122424"
      unitRef="pure">0.0503</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122425"
      unitRef="pure">0.0147</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122426"
      unitRef="pure">0.0253</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122427"
      unitRef="pure">0.0509</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122428"
      unitRef="pure">0.0153</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122429"
      unitRef="pure">0.0256</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122430"
      unitRef="pure">0.0046</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122431"
      unitRef="pure">0.0051</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122432"
      unitRef="pure">0.0199</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006989Member_S000002535Member_S000002535Summary7Member"
      id="ixv-122433">Returns After
Taxes on Distributions</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122434"
      unitRef="pure">0.0046</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122435"
      unitRef="pure">0.0050</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122436"
      unitRef="pure">0.0197</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006989Member_S000002535Member_S000002535Summary7Member"
      id="ixv-122437">Returns After Taxes on Distributions and Sale of Fund Shares</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122438"
      unitRef="pure">0.0136</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122439"
      unitRef="pure">0.0097</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122440"
      unitRef="pure">0.0220</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex7_S000002535Member_S000002535Summary7Member"
      id="ixv-122441">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex7_S000002535Member_S000002535Summary7Member"
      id="ixv-122442">Bloomberg Municipal Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex7_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122443"
      unitRef="pure">0.0640</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex7_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122444"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex7_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-122445"
      unitRef="pure">0.0303</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-40447">&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;Aft&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;er-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes. Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts. The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122446">After-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122448">Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-122449">The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <rr:RiskReturnHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122450">MFS&#xae;
Municipal Income Fund  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122451">MFIAX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122452">MMIBX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122453">MMICX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122454">MIMIX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122455">MPMNX</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122457">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-46064">&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 income exempt from federal income tax,
but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122458">Fees and Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-46067">&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;This
table describes the fees and expenses that you may pay when you buy, hold, and sell shares of the fund.
&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;Investors may also pay commissions or other fees to their financial intermediaries
when they buy, hold, and sell shares of the fund, which are not reflected below.&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;/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;You may qualify for sales charge reductions if, with respect to Class A shares,
you and certain members of your family invest, or agree to invest in the future, at least $100,000 in
MFS funds. More information about these and other waivers and reductions is available from your financial
intermediary and in &#x201c;Sales Charges and Waivers and Reductions&#x201d; on page 11 and &#x201c;Appendix A &#x2013; Waivers
and Reductions of Sales Charges&#x201d; on page A-1 of the fund&#x2019;s prospectus. &lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ExpenseBreakpointDiscounts
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122459">You may qualify for sales charge reductions if, with respect to Class A shares,
you and certain members of your family invest, or agree to invest in the future, at least $100,000 in
MFS funds.</rr:ExpenseBreakpointDiscounts>
    <rr:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122460"
      unitRef="usd">100000</rr:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <rr:ShareholderFeesCaption
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122461">Shareholder
Fees (fees paid directly from your investment):</rr:ShareholderFeesCaption>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122463"
      unitRef="pure">0.0425</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122464"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122465"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122466"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122467"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1215_"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122469"
      unitRef="pure">0.0400</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122470"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122471"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122472"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:OperatingExpensesCaption
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122473">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_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122475"
      unitRef="pure">0.0037</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122476"
      unitRef="pure">0.0037</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122477"
      unitRef="pure">0.0037</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122478"
      unitRef="pure">0.0037</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122479"
      unitRef="pure">0.0037</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122480"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122481"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122482"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122483"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122484"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122485"
      unitRef="pure">0.0015</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122486"
      unitRef="pure">0.0015</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122487"
      unitRef="pure">0.0015</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122488"
      unitRef="pure">0.0015</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122489"
      unitRef="pure">0.0008</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122490"
      unitRef="pure">0.0077</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122491"
      unitRef="pure">0.0152</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122492"
      unitRef="pure">0.0152</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122493"
      unitRef="pure">0.0052</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122494"
      unitRef="pure">0.0045</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1240_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1241_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1242_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1243_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1244_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122500"
      unitRef="pure">0.0076</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122501"
      unitRef="pure">0.0151</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122502"
      unitRef="pure">0.0151</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122503"
      unitRef="pure">0.0051</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122504"
      unitRef="pure">0.0044</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122505">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-46428">&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. &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 (unless otherwise indicated); 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_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122506">Although
your actual costs will likely be higher or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122507"
      unitRef="usd">499</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122508"
      unitRef="usd">660</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122509"
      unitRef="usd">834</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122510"
      unitRef="usd">1338</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1257_"
      unitRef="usd">554</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1259_"
      unitRef="usd">779</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1261_"
      unitRef="usd">1028</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1263_"
      unitRef="usd">1609</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1258_"
      unitRef="usd">154</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1260_"
      unitRef="usd">479</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1262_"
      unitRef="usd">828</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1264_"
      unitRef="usd">1609</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1265_"
      unitRef="usd">254</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1267_"
      unitRef="usd">479</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1269_"
      unitRef="usd">828</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1271_"
      unitRef="usd">1609</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1266_"
      unitRef="usd">154</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1268_"
      unitRef="usd">479</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1270_"
      unitRef="usd">828</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="_1272_"
      unitRef="usd">1609</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122527"
      unitRef="usd">52</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122528"
      unitRef="usd">166</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122529"
      unitRef="usd">290</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122530"
      unitRef="usd">652</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122531"
      unitRef="usd">45</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122532"
      unitRef="usd">143</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122533"
      unitRef="usd">251</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122534"
      unitRef="usd">566</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122535">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-46695">&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 and may result in higher taxes when shares are held in a taxable
account. 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 20% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122536"
      unitRef="pure">0.20</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122537">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-46698">&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 invests, under normal market conditions,
at least 80% of its net assets in securities and other investments, the interest on which is exempt from
federal income tax. Interest from the fund&#x2019;s investments may be subject to the federal alternative
minimum tax.&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 (Massachusetts Financial Services Company, the fund's
investment adviser) normally invests the fund&#x2019;s assets primarily in municipal 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
primarily invests the fund&#x2019;s assets in investment grade quality debt instruments, but may also invest
in below investment grade quality 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 may
invest 25% or more of the fund&#x2019;s total assets in municipal instruments that finance similar types of
projects, such as those relating to education, healthcare, housing, utilities, water, or sewers. &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's assets in issuers in a single
state, territory, or possession, or a small number of states, territories, or possessions.&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, inverse floating rate instruments, 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;&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_20240331_20240331_S000002536Member_PrincipalRisks_S000002536Summary8Member"
      id="ixv-46707">&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_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122538">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_RiskLoseMoneyMember_S000002536Summary8Member"
      id="ixv-122539">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_20240331_20240331_S000002536Member_RiskNotInsuredMember_S000002536Summary8Member"
      id="ixv-122540">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_20240331_20240331_S000002536Member_InvestmentSelectionRisk_S000002536Summary8Member"
      id="ixv-46711">&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;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_20240331_20240331_S000002536Member_DebtMarketRisk_S000002536Summary8Member"
      id="ixv-46715">&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_20240331_20240331_S000002536Member_InterestRateRisk_S000002536Summary8Member"
      id="ixv-46719">&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_20240331_20240331_S000002536Member_CreditRisk_S000002536Summary8Member"
      id="ixv-46724">&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;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. &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;The
credit quality of, and the ability to pay principal and interest when due by, an issuer of a municipal
instrument depends on the credit quality of the entity supporting the municipal instrument, how essential
any services supported by the municipal instrument are, the sufficiency of any revenues or taxes that
support the municipal instrument, and/or the willingness or ability of the appropriate government entity
to approve any appropriations necessary to support the municipal instrument. In addition, the price of
a municipal instrument also depends on its credit quality and ability to meet the credit support obligations
of any insurer or other entity providing credit support to a municipal instrument.&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 &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;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_20240331_20240331_S000002536Member_MunicipalRisk_S000002536Summary8Member"
      id="ixv-46741">&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;Municipal
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 municipal instrument can be volatile and significantly affected
by adverse tax changes or court rulings, legislative or political changes, changes in specific or general
market and economic conditions and developments, and the financial condition of municipal issuers and
insurers. Because many municipal instruments are issued to finance similar projects, conditions in certain
industries can significantly affect the fund and the overall municipal market.  Municipal instruments
may be more susceptible to downgrades or defaults during economic downturns or similar periods of economic
stress, which in turn could affect the market values and marketability of many or all municipal obligations
of issuers in a state, U.S. territory, or possession. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_FocusRisk_S000002536Summary8Member"
      id="ixv-46745">&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;The fund&#x2019;s performance will be closely tied to the issuer, market, economic,
industry, political, regulatory, geopolitical, environmental, public health, and other conditions in
the states, territories, and possessions of the United States in which the fund's assets are invested.
 If MFS invests a significant percentage of the fund's assets in a single state, territory, or possession,
or a small number of states, territories, or possessions, these conditions will have a significant impact
on the fund's performance and the fund's performance may be more volatile than the performance of more
geographically-diversified funds.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_PrepaymentExtensionRisk_S000002536Summary8Member"
      id="ixv-46749">&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_20240331_20240331_S000002536Member_DerivativesRisk_S000002536Summary8Member"
      id="ixv-46754">&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_20240331_20240331_S000002536Member_LeveragingRisk_S000002536Summary8Member"
      id="ixv-46759">&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_20240331_20240331_S000002536Member_CounterpartyandThirdPartyRisk_S000002536Summary8Member"
      id="ixv-46764">&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_20240331_20240331_S000002536Member_LiquidityRisk_S000002536Summary8Member"
      id="ixv-46769">&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_20240331_20240331_S000002536Member_LargeShareholderRisk_S000002536Summary8Member"
      id="ixv-46774">&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_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122541">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-46779">&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 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&#x2019;s performance over
time compares with that of a broad measure of market performance.&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 (before and after taxes) does not necessarily indicate how the fund will perform in
the future. Updated performance is available online 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-800-225-2606.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122542">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&#x2019;s performance over
time compares with that of a broad measure of market performance.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122543">The fund&#x2019;s
past performance (before and after taxes) does not necessarily indicate how the fund will perform in
the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122544">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122545">1-800-225-2606</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122546">Class A Bar Chart.</rr:BarChartHeading>
    <rr:BarChartNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122547">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartNarrativeTextBlock>
    <rr:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122548">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartDoesNotReflectSalesLoads>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-46790">&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 six-month period ended June 30, 2024,
was 1.48%. During the period(s) shown in the bar chart, the highest quarterly return was 8.40% (for the
calendar quarter ended December 31, 2023) and the lowest quarterly return was (6.58)% (for the calendar
quarter ended March 31, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122549">The total return for the six-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122550">2024-06-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122551"
      unitRef="pure">0.0148</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122552">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122553"
      unitRef="pure">0.0840</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122554">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122555">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122556"
      unitRef="pure">-0.0658</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122557">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122558">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122559">Average Annual Total Returns (For the Periods Ended December
31, 2023)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122560">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122561">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122562">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122563">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122564">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122565"
      unitRef="pure">0.0193</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122566"
      unitRef="pure">0.0078</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122567"
      unitRef="pure">0.0252</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122568"
      unitRef="pure">0.0492</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122569"
      unitRef="pure">0.0117</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122570"
      unitRef="pure">0.0252</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122571"
      unitRef="pure">0.0699</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122572"
      unitRef="pure">0.0215</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122573"
      unitRef="pure">0.0338</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122574"
      unitRef="pure">0.0706</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122575"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122576"
      unitRef="pure">0.0343</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122577"
      unitRef="pure">0.0219</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122578"
      unitRef="pure">0.0104</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122579"
      unitRef="pure">0.0268</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006991Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122580">Returns After
Taxes on Distributions</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122581"
      unitRef="pure">0.0216</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122582"
      unitRef="pure">0.0101</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122583"
      unitRef="pure">0.0266</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006991Member_S000002536Member_S000002536Summary8Member"
      id="ixv-122584">Returns After Taxes on Distributions and Sale of Fund Shares</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122585"
      unitRef="pure">0.0258</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122586"
      unitRef="pure">0.0141</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122587"
      unitRef="pure">0.0278</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex8_S000002536Member_S000002536Summary8Member"
      id="ixv-122588">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex8_S000002536Member_S000002536Summary8Member"
      id="ixv-122589">Bloomberg Municipal Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex8_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122590"
      unitRef="pure">0.0640</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex8_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122591"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex8_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-122592"
      unitRef="pure">0.0303</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-47068">&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;Aft&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;er-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes. Your actual after-tax returns will &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;depend on your own tax situation, and may differ from those shown. The after-tax
returns shown are not relevant to investors who hold their shares through tax-advantaged arrangements,
such as 401(k) plans or individual retirement accounts. The after-tax returns are shown for only one
of the fund&#x2019;s classes of shares, and after-tax returns for the fund&#x2019;s other classes of shares will
vary from the returns shown.&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122593">After-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122595">Your actual after-tax returns will depend on your own tax situation, and may differ from those shown. The after-tax
returns shown are not relevant to investors who hold their shares through tax-advantaged arrangements,
such as 401(k) plans or individual retirement accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-122597">The after-tax returns are shown for only one
of the fund&#x2019;s classes of shares, and after-tax returns for the fund&#x2019;s other classes of shares will
vary from the returns shown.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <rr:RiskReturnHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122598">MFS&#xae;
Municipal Income Fund  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      id="ixv-122599">MMIDX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      id="ixv-122600">MMIGX</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122602">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-53336">&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 income exempt from federal income tax,
but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122603">Fees and Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-53339">&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;This
table describes the fees and expenses that you may pay when you buy, hold, and sell shares of the fund.
&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;Investors may also pay commissions or other fees to their financial intermediaries
when they buy, hold, and sell shares of the fund, which are not reflected below.&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;/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;You may qualify for sales charge reductions if you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds. More information about
these and other waivers and reductions is available from your financial intermediary and in "Sales Charges
and Waivers and Reductions" on page 10 and &#x201c;Appendix A &#x2013; Waivers and Reductions of Sales Charges&#x201d;
on page A-1 of the fund's prospectus. &lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ExpenseBreakpointDiscounts
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122604">You may qualify for sales charge reductions if you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds.</rr:ExpenseBreakpointDiscounts>
    <rr:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122605"
      unitRef="usd">100000</rr:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <rr:ShareholderFeesCaption
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122606">Shareholder Fees (fees paid directly from your investment):</rr:ShareholderFeesCaption>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122608"
      unitRef="pure">0.0425</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122609"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="_1397_"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122611"
      unitRef="pure">0.0400</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:OperatingExpensesCaption
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122612">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_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122614"
      unitRef="pure">0.0037</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122615"
      unitRef="pure">0.0037</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122616"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122617"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122618"
      unitRef="pure">0.0015</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122619"
      unitRef="pure">0.0015</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122620"
      unitRef="pure">0.0052</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122621"
      unitRef="pure">0.0152</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="_1407_"
      unitRef="pure">-0.0001</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="_1408_"
      unitRef="pure">-0.0026</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122624"
      unitRef="pure">0.0051</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122625"
      unitRef="pure">0.0126</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122626">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-53528">&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. &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 (unless otherwise indicated); 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_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122627">Although
your actual costs will likely be higher or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122628"
      unitRef="usd">475</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122629"
      unitRef="usd">584</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122630"
      unitRef="usd">702</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122631"
      unitRef="usd">1049</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="_1418_"
      unitRef="usd">528</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="_1420_"
      unitRef="usd">755</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="_1422_"
      unitRef="usd">1004</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="_1424_"
      unitRef="usd">1519</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="_1419_"
      unitRef="usd">128</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="_1421_"
      unitRef="usd">455</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="_1423_"
      unitRef="usd">804</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="_1425_"
      unitRef="usd">1519</rr:ExpenseExampleNoRedemptionYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122640">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-53672">&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 and may result in higher taxes when shares are held in a taxable
account. 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 20% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122641"
      unitRef="pure">0.20</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122642">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-53675">&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 invests, under normal market conditions,
at least 80% of its net assets in securities and other investments, the interest on which is exempt from
federal income tax. Interest from the fund&#x2019;s investments may be subject to the federal alternative
minimum tax.&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 (Massachusetts Financial Services Company, the fund's
investment adviser) normally invests the fund&#x2019;s assets primarily in municipal 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
primarily invests the fund&#x2019;s assets in investment grade quality debt instruments, but may also invest
in below investment grade quality 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 may
invest 25% or more of the fund&#x2019;s total assets in municipal instruments that finance similar types of
projects, such as those relating to education, healthcare, housing, utilities, water, or sewers. &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's assets in issuers in a single
state, territory, or possession, or a small number of states, territories, or possessions.&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, inverse floating rate instruments, 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;&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_20240331_20240331_S000002536Member_PrincipalRisks_S000002536Summary9Member"
      id="ixv-53684">&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_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122643">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_RiskLoseMoneyMember_S000002536Summary9Member"
      id="ixv-122644">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_20240331_20240331_S000002536Member_RiskNotInsuredMember_S000002536Summary9Member"
      id="ixv-122645">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_20240331_20240331_S000002536Member_InvestmentSelectionRisk_S000002536Summary9Member"
      id="ixv-53688">&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;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_20240331_20240331_S000002536Member_DebtMarketRisk_S000002536Summary9Member"
      id="ixv-53692">&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_20240331_20240331_S000002536Member_InterestRateRisk_S000002536Summary9Member"
      id="ixv-53696">&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_20240331_20240331_S000002536Member_CreditRisk_S000002536Summary9Member"
      id="ixv-53701">&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;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. &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;The
credit quality of, and the ability to pay principal and interest when due by, an issuer of a municipal
instrument depends on the credit quality of the entity supporting the municipal instrument, how essential
any services supported by the municipal instrument are, the sufficiency of any revenues or taxes that
support the municipal instrument, and/or the willingness or ability of the appropriate government entity
to approve any appropriations necessary to support the municipal instrument. In addition, the price of
a municipal instrument also depends on its credit quality and ability to meet the credit support obligations
of any insurer or other entity providing credit support to a municipal instrument.&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_20240331_20240331_S000002536Member_MunicipalRisk_S000002536Summary9Member"
      id="ixv-53713">&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;Municipal
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 municipal instrument can be volatile and significantly affected
by adverse tax changes or court rulings, legislative or political changes, changes in specific or general
market and economic conditions and developments, and the financial condition of municipal issuers and
insurers. Because many municipal instruments are issued to finance similar projects, conditions in certain
industries can significantly affect the fund and the overall municipal market.  Municipal instruments
may be more susceptible to downgrades or defaults during economic downturns or similar periods of economic
stress, which in turn could affect the market values and marketability of many or all municipal obligations
of issuers in a state, U.S. territory, or possession. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_FocusRisk_S000002536Summary9Member"
      id="ixv-53717">&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;The fund&#x2019;s performance will be closely tied to the issuer, market, economic,
industry, political, regulatory, geopolitical, environmental, public health, and other conditions in
the states, territories, and possessions of the United States in which the fund's assets are invested.
 If MFS invests a significant percentage of the fund's assets in a single state, territory, or possession,
or a small number of states, territories, or possessions, these conditions will have a significant impact
on the fund's performance and the fund's performance may be more volatile than the performance of more
geographically-diversified funds.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_PrepaymentExtensionRisk_S000002536Summary9Member"
      id="ixv-53721">&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_20240331_20240331_S000002536Member_DerivativesRisk_S000002536Summary9Member"
      id="ixv-53726">&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_20240331_20240331_S000002536Member_LeveragingRisk_S000002536Summary9Member"
      id="ixv-53731">&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_20240331_20240331_S000002536Member_CounterpartyandThirdPartyRisk_S000002536Summary9Member"
      id="ixv-53736">&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_20240331_20240331_S000002536Member_LiquidityRisk_S000002536Summary9Member"
      id="ixv-53741">&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_20240331_20240331_S000002536Member_LargeShareholderRisk_S000002536Summary9Member"
      id="ixv-53746">&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;&lt;p style="font-size:1.0pt; font-family:Serif; font-style:normal; text-align:left; color:#000000; font-weight:normal; text-decoration:none;"&gt;  &lt;/p&gt;</rr:RiskTextBlock>
    <rr:BarChartAndPerformanceTableHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122646">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-53752">&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 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&#x2019;s performance over time compares with that of a broad measure of market performance.&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 (before and after taxes) does not necessarily indicate how the fund will perform
in the future. Updated performance is available online 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-800-225-2606.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122647">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&#x2019;s performance over time compares with that of a broad measure of market performance.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122648">The
fund&#x2019;s past performance (before and after taxes) does not necessarily indicate how the fund will perform
in the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122649">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122650">1-800-225-2606</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122651">Class A1 Bar Chart.</rr:BarChartHeading>
    <rr:BarChartNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122652">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartNarrativeTextBlock>
    <rr:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122653">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartDoesNotReflectSalesLoads>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-53763">&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 six-month period ended June 30, 2024,
was 1.49%. During the period(s) shown in the bar chart, the highest quarterly return was 8.46% (for the
calendar quarter ended December 31, 2023) and the lowest quarterly return was (6.51)% (for the calendar
quarter ended March 31, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      id="ixv-122654">The total return for the six-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      id="ixv-122655">2024-06-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122656"
      unitRef="pure">0.0149</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      id="ixv-122657">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122658"
      unitRef="pure">0.0846</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      id="ixv-122659">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      id="ixv-122660">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122661"
      unitRef="pure">-0.0651</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      id="ixv-122662">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122663">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122664">Average Annual Total Returns (For the Periods Ended December
31, 2023)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      id="ixv-122665">Returns Before
Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      id="ixv-122666">Returns Before
Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122667"
      unitRef="pure">0.0219</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122668"
      unitRef="pure">0.0103</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122669"
      unitRef="pure">0.0277</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122670"
      unitRef="pure">0.0244</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122671"
      unitRef="pure">0.0130</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122672"
      unitRef="pure">0.0295</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000042676Member_S000002536Member_S000002536Summary9Member"
      id="ixv-122673">Returns After
Taxes on Distributions</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122674"
      unitRef="pure">0.0242</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122675"
      unitRef="pure">0.0126</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122676"
      unitRef="pure">0.0293</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000042676Member_S000002536Member_S000002536Summary9Member"
      id="ixv-122677">Returns After
Taxes on Distributions and Sale of Fund Shares</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122678"
      unitRef="pure">0.0283</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122679"
      unitRef="pure">0.0166</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122680"
      unitRef="pure">0.0305</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex9_S000002536Member_S000002536Summary9Member"
      id="ixv-122681">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex9_S000002536Member_S000002536Summary9Member"
      id="ixv-122682">Bloomberg Municipal Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex9_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122683"
      unitRef="pure">0.0640</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex9_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122684"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex9_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-122685"
      unitRef="pure">0.0303</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-53965">&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;Aft&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;er-tax returns are calculated
using the historical highest individual federal marginal income tax rates and do not reflect the impact
of state and local taxes. Your actual after-tax returns will depend on your own tax situation, and may
differ from those shown. The after-tax returns shown are not relevant to investors &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;who hold their shares through tax-advantaged arrangements, such as 401(k) plans
or individual retirement accounts. The after-tax returns are shown for only one of the fund&#x2019;s classes
of shares, and after-tax returns for the fund&#x2019;s other classes of shares will vary from the returns
shown.&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122686">After-tax returns are calculated
using the historical highest individual federal marginal income tax rates and do not reflect the impact
of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122688">Your actual after-tax returns will depend on your own tax situation, and may
differ from those shown. The after-tax returns shown are not relevant to investors who hold their shares through tax-advantaged arrangements, such as 401(k) plans
or individual retirement accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-122690">The after-tax returns are shown for only one of the fund&#x2019;s classes
of shares, and after-tax returns for the fund&#x2019;s other classes of shares will vary from the returns
shown.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <rr:RiskReturnHeading
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122691">MFS&#xae;
Municipal Intermediate Fund  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122692">MIUAX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122693">MIUCX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122694">MIUIX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122695">MIURX</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122697">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-58945">&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 income exempt from federal income tax,
but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122698">Fees and Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-58948">&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;This
table describes the fees and expenses that you may pay when you buy, hold, and sell shares of the fund.
&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;Investors may also pay commissions or other fees to their financial intermediaries
when they buy, hold, and sell shares of the fund, which are not reflected below.&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;/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;You may qualify for sales charge reductions if, with respect to Class A shares,
you and certain members of your family invest, or agree to invest in the future, at least $100,000 in
MFS funds. More information about these and other waivers and reductions is available from your financial
intermediary and in &#x201c;Sales Charges and Waivers and Reductions&#x201d; on page 11 and &#x201c;Appendix A &#x2013; Waivers
and Reductions of Sales Charges&#x201d; on page A-1 of the fund&#x2019;s prospectus. &lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ExpenseBreakpointDiscounts
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122699">You may qualify for sales charge reductions if, with respect to Class A shares,
you and certain members of your family invest, or agree to invest in the future, at least $100,000 in
MFS funds.</rr:ExpenseBreakpointDiscounts>
    <rr:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122700"
      unitRef="usd">100000</rr:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <rr:ShareholderFeesCaption
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122701">Shareholder Fees (fees paid directly from your investment):</rr:ShareholderFeesCaption>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122703"
      unitRef="pure">0.0425</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122704"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122705"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122706"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="_1531_"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122708"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122709"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122710"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:OperatingExpensesCaption
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122711">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_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122713"
      unitRef="pure">0.0035</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122714"
      unitRef="pure">0.0035</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122715"
      unitRef="pure">0.0035</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122716"
      unitRef="pure">0.0035</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122717"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122718"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122719"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122720"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122721"
      unitRef="pure">0.0025</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122722"
      unitRef="pure">0.0025</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122723"
      unitRef="pure">0.0025</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122724"
      unitRef="pure">0.0018</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122725"
      unitRef="pure">0.0085</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122726"
      unitRef="pure">0.0160</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122727"
      unitRef="pure">0.0060</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122728"
      unitRef="pure">0.0053</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="_1551_"
      unitRef="pure">-0.0015</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="_1552_"
      unitRef="pure">-0.0015</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="_1553_"
      unitRef="pure">-0.0015</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="_1554_"
      unitRef="pure">-0.0015</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122733"
      unitRef="pure">0.0070</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122734"
      unitRef="pure">0.0145</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122735"
      unitRef="pure">0.0045</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122736"
      unitRef="pure">0.0038</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122737">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-59265">&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. &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 (unless otherwise indicated); 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_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122738">Although
your actual costs will likely be higher or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122739"
      unitRef="usd">493</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122740"
      unitRef="usd">670</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122741"
      unitRef="usd">862</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122742"
      unitRef="usd">1416</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="_1566_"
      unitRef="usd">248</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="_1568_"
      unitRef="usd">490</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="_1570_"
      unitRef="usd">857</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="_1572_"
      unitRef="usd">1686</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="_1567_"
      unitRef="usd">148</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="_1569_"
      unitRef="usd">490</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="_1571_"
      unitRef="usd">857</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="_1573_"
      unitRef="usd">1686</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122751"
      unitRef="usd">46</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122752"
      unitRef="usd">177</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122753"
      unitRef="usd">320</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122754"
      unitRef="usd">736</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122755"
      unitRef="usd">39</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122756"
      unitRef="usd">155</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122757"
      unitRef="usd">281</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122758"
      unitRef="usd">650</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122759">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-59459">&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 and may result in higher taxes when shares are held in a taxable
account. 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 25% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122760"
      unitRef="pure">0.25</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122761">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-59462">&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 at least 80% of the fund&#x2019;s
net assets in municipal instruments, the interest on which is exempt from federal income tax. Interest
from the fund&#x2019;s investments may be subject to the federal alternative minimum tax.&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
(Massachusetts Financial Services Company, the fund's investment adviser) normally invests the fund&#x2019;s
assets primarily in municipal 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 primarily invests the
fund&#x2019;s assets in investment grade quality debt instruments, but may also invest 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;The fund&#x2019;s dollar-weighted
average effective maturity will normally range between three and ten years.  &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
may invest 25% or more of the fund&#x2019;s total assets in municipal instruments that finance similar types
of projects, such as those relating to education, healthcare, housing, utilities, water, or sewers. &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's assets in issuers in a single
state, territory, or possession, or a small number of states, territories, or possessions.&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, inverse floating rate instruments, 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;&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_20240331_20240331_S000071695Member_PrincipalRisks_S000071695Summary10Member"
      id="ixv-59472">&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_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122762">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_RiskLoseMoneyMember_S000071695Summary10Member"
      id="ixv-122763">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_20240331_20240331_S000071695Member_RiskNotInsuredMember_S000071695Summary10Member"
      id="ixv-122764">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_20240331_20240331_S000071695Member_InvestmentSelectionRisk_S000071695Summary10Member"
      id="ixv-59476">&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;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_20240331_20240331_S000071695Member_DebtMarketRisk_S000071695Summary10Member"
      id="ixv-59480">&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_20240331_20240331_S000071695Member_InterestRateRisk_S000071695Summary10Member"
      id="ixv-59484">&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_20240331_20240331_S000071695Member_CreditRisk_S000071695Summary10Member"
      id="ixv-59489">&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;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. &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;The
credit quality of, and the ability to pay principal and interest when due by, an issuer of a municipal
instrument depends on the credit quality of the entity supporting the municipal instrument, how essential
any services supported by the municipal instrument are, the sufficiency of any revenues or taxes that
support the municipal instrument, and/or the willingness or ability of the appropriate government entity
to approve any appropriations necessary to support the municipal instrument. In addition, the price of
a municipal instrument also depends on its credit quality and ability to meet the credit support obligations
of any insurer or other entity providing credit support to a municipal instrument.&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 &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;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_20240331_20240331_S000071695Member_MunicipalRisk_S000071695Summary10Member"
      id="ixv-59506">&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;Municipal
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 municipal instrument can be volatile and significantly affected
by adverse tax changes or court rulings, legislative or political changes, changes in specific or general
market and economic conditions and developments, and the financial condition of municipal issuers and
insurers. Because many municipal instruments are issued to finance similar projects, conditions in certain
industries can significantly affect the fund and the overall municipal market.  Municipal instruments
may be more susceptible to downgrades or defaults during economic downturns or similar periods of economic
stress, which in turn could affect the market values and marketability of many or all municipal obligations
of issuers in a state, U.S. territory, or possession. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_FocusRisk_S000071695Summary10Member"
      id="ixv-59510">&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;The fund&#x2019;s performance will be closely tied to the issuer, market, economic,
industry, political, regulatory, geopolitical, environmental, public health, and other conditions in
the states, territories, and possessions of the United States in which the fund's assets are invested.
 If MFS invests a significant percentage of the fund's assets in a single state, territory, or possession,
or a small number of states, territories, or possessions, these conditions will have a significant impact
on the fund's performance and the fund's performance may be more volatile than the performance of more
geographically-diversified funds.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_PrepaymentExtensionRisk_S000071695Summary10Member"
      id="ixv-59514">&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_20240331_20240331_S000071695Member_DerivativesRisk_S000071695Summary10Member"
      id="ixv-59519">&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_20240331_20240331_S000071695Member_LeveragingRisk_S000071695Summary10Member"
      id="ixv-59524">&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_20240331_20240331_S000071695Member_CounterpartyandThirdPartyRisk_S000071695Summary10Member"
      id="ixv-59529">&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_20240331_20240331_S000071695Member_LiquidityRisk_S000071695Summary10Member"
      id="ixv-59534">&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_20240331_20240331_S000071695Member_LargeShareholderRisk_S000071695Summary10Member"
      id="ixv-59539">&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_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122765">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-59544">&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
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&#x2019;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;/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 (before and after
taxes) does not necessarily indicate how the fund will perform in the future. Updated performance is
available online 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-800-225-2606.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122766">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&#x2019;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_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122767">The fund&#x2019;s past performance (before and after
taxes) does not necessarily indicate how the fund will perform in the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122768">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122769">1-800-225-2606</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122770">Class
A Bar Chart.</rr:BarChartHeading>
    <rr:BarChartNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122771">The bar chart does not take into account any sales charges
(loads) that you may be required to pay upon purchase or redemption of the fund&#x2019;s shares. If these
sales charges were included, they would reduce the returns shown.</rr:BarChartNarrativeTextBlock>
    <rr:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122772">The bar chart does not take into account any sales charges
(loads) that you may be required to pay upon purchase or redemption of the fund&#x2019;s shares. If these
sales charges were included, they would reduce the returns shown.</rr:BarChartDoesNotReflectSalesLoads>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-59555">&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 six-month period ended June 30, 2024,
was 1.02%. During the period(s) shown in the bar chart, the highest quarterly return was 6.82% (for the
calendar quarter ended December 31, 2023) and the lowest quarterly return was (5.08)% (for the calendar
quarter ended March 31, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122773">The total return for the six-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122774">2024-06-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122775"
      unitRef="pure">0.0102</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122776">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122777"
      unitRef="pure">0.0682</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122778">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122779">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122780"
      unitRef="pure">-0.0508</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122781">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122782">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122783">Average Annual Total Returns (For the Periods Ended December
31, 2023)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnInceptionDate
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122784">2021-05-18</rr:AverageAnnualReturnInceptionDate>
    <rr:AverageAnnualReturnInceptionDate
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122785">2021-05-18</rr:AverageAnnualReturnInceptionDate>
    <rr:AverageAnnualReturnInceptionDate
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122786">2021-05-18</rr:AverageAnnualReturnInceptionDate>
    <rr:AverageAnnualReturnInceptionDate
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122787">2021-05-18</rr:AverageAnnualReturnInceptionDate>
    <rr:AverageAnnualReturnInceptionDate
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000227170Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122788">2021-05-18</rr:AverageAnnualReturnInceptionDate>
    <rr:AverageAnnualReturnInceptionDate
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000227170Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122789">2021-05-18</rr:AverageAnnualReturnInceptionDate>
    <rr:AverageAnnualReturnInceptionDate
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex10_S000071695Member_S000071695Summary10Member"
      id="ixv-122790">2021-05-18</rr:AverageAnnualReturnInceptionDate>
    <rr:AverageAnnualReturnInceptionDate
      contextRef="Context_20240331_20240331_BloombergMunicipal1-15YearIndex11_S000071695Member_S000071695Summary10Member"
      id="ixv-122791">2021-05-18</rr:AverageAnnualReturnInceptionDate>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122792">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122793">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122794">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122795">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122796"
      unitRef="pure">0.0407</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnSinceInception
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122797"
      unitRef="pure">-0.0136</rr:AverageAnnualReturnSinceInception>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122798"
      unitRef="pure">0.0612</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnSinceInception
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122799"
      unitRef="pure">-0.0038</rr:AverageAnnualReturnSinceInception>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122800"
      unitRef="pure">0.0618</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnSinceInception
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122801"
      unitRef="pure">-0.0033</rr:AverageAnnualReturnSinceInception>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122802"
      unitRef="pure">0.0135</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnSinceInception
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122803"
      unitRef="pure">-0.0222</rr:AverageAnnualReturnSinceInception>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000227170Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122804">Returns After
Taxes on Distributions</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122805"
      unitRef="pure">0.0131</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnSinceInception
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122806"
      unitRef="pure">-0.0230</rr:AverageAnnualReturnSinceInception>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000227170Member_S000071695Member_S000071695Summary10Member"
      id="ixv-122807">Returns After
Taxes on Distributions and Sale of Fund Shares</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122808"
      unitRef="pure">0.0198</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnSinceInception
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122809"
      unitRef="pure">-0.0125</rr:AverageAnnualReturnSinceInception>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex10_S000071695Member_S000071695Summary10Member"
      id="ixv-122810">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipal1-15YearIndex11_S000071695Member_S000071695Summary10Member"
      id="ixv-122811">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex10_S000071695Member_S000071695Summary10Member"
      id="ixv-122812">Bloomberg Municipal Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex10_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122813"
      unitRef="pure">0.0640</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnSinceInception
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex10_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122814"
      unitRef="pure">-0.0067</rr:AverageAnnualReturnSinceInception>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipal1-15YearIndex11_S000071695Member_S000071695Summary10Member"
      id="ixv-122815">Bloomberg Municipal 1-15 Year Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipal1-15YearIndex11_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122816"
      unitRef="pure">0.0526</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnSinceInception
      contextRef="Context_20240331_20240331_BloombergMunicipal1-15YearIndex11_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-122817"
      unitRef="pure">-0.0018</rr:AverageAnnualReturnSinceInception>
    <rr:PerformanceTableMarketIndexChanged
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122818">Effective May 1, 2024, the Bloomberg Municipal Bond Index replaced the Bloomberg
Municipal 1-15 Year Index as a broad measure of market performance in accordance with new regulatory


disclosure requirements. The fund continue to use the Bloomberg
Municipal 1-15 Year Index as an additional benchmark that MFS believes more closely reflects the market
segments in which the fund invests.</rr:PerformanceTableMarketIndexChanged>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-59773">&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;Aft&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;er-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes. Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts. The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122821">After-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122823">Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-122824">The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <rr:RiskReturnHeading
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122825">MFS&#xae;
New York Municipal Bond Fund  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122826">MSNYX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122827">MBNYX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122828">MCNYX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122829">MNYLX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122830">MPNYX</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122832">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-65333">&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 income exempt from federal income tax
and personal income tax, if any, of New York, but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122833">Fees and
Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-65336">&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;This table describes the fees and expenses that you may pay
when you buy, hold, and sell shares of the fund. &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;Investors may also pay commissions
or other fees to their financial intermediaries when they buy, hold, and sell shares of the fund, which
are not reflected below.&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;/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;You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds. More information about
these and other waivers and reductions is available from your financial intermediary and in &#x201c;Sales
Charges and Waivers and Reductions&#x201d; on page 11 and &#x201c;Appendix A &#x2013; Waivers and Reductions of Sales
Charges&#x201d; on page A-1 of the fund&#x2019;s prospectus. &lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ExpenseBreakpointDiscounts
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122834">You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds.</rr:ExpenseBreakpointDiscounts>
    <rr:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122835"
      unitRef="usd">100000</rr:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <rr:ShareholderFeesCaption
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122836">Shareholder Fees (fees paid
directly from your investment):</rr:ShareholderFeesCaption>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122838"
      unitRef="pure">0.0425</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122839"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122840"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122841"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122842"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1696_"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122844"
      unitRef="pure">0.0400</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122845"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122846"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122847"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:OperatingExpensesCaption
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122848">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_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122850"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122851"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122852"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122853"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122854"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122855"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122856"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122857"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122858"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122859"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122860"
      unitRef="pure">0.0025</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122861"
      unitRef="pure">0.0025</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122862"
      unitRef="pure">0.0025</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122863"
      unitRef="pure">0.0025</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122864"
      unitRef="pure">0.0017</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122865"
      unitRef="pure">0.0095</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122866"
      unitRef="pure">0.0170</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122867"
      unitRef="pure">0.0170</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122868"
      unitRef="pure">0.0070</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122869"
      unitRef="pure">0.0062</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1721_"
      unitRef="pure">-0.0012</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1722_"
      unitRef="pure">-0.0012</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1723_"
      unitRef="pure">-0.0012</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1724_"
      unitRef="pure">-0.0012</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1725_"
      unitRef="pure">-0.0009</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122875"
      unitRef="pure">0.0083</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122876"
      unitRef="pure">0.0158</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122877"
      unitRef="pure">0.0158</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122878"
      unitRef="pure">0.0058</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122879"
      unitRef="pure">0.0053</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122880">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-65694">&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. &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 (unless otherwise indicated); 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_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122881">Although
your actual costs will likely be higher or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122882"
      unitRef="usd">506</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122883"
      unitRef="usd">703</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122884"
      unitRef="usd">917</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122885"
      unitRef="usd">1531</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1738_"
      unitRef="usd">561</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1740_"
      unitRef="usd">824</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1742_"
      unitRef="usd">1112</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1744_"
      unitRef="usd">1799</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1739_"
      unitRef="usd">161</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1741_"
      unitRef="usd">524</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1743_"
      unitRef="usd">912</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1745_"
      unitRef="usd">1799</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1746_"
      unitRef="usd">261</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1748_"
      unitRef="usd">524</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1750_"
      unitRef="usd">912</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1752_"
      unitRef="usd">1799</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1747_"
      unitRef="usd">161</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1749_"
      unitRef="usd">524</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1751_"
      unitRef="usd">912</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="_1753_"
      unitRef="usd">1799</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122902"
      unitRef="usd">59</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122903"
      unitRef="usd">212</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122904"
      unitRef="usd">378</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122905"
      unitRef="usd">859</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122906"
      unitRef="usd">54</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122907"
      unitRef="usd">189</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122908"
      unitRef="usd">337</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122909"
      unitRef="usd">766</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122910">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-65961">&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 and may result in higher taxes when shares are held in a taxable
account. 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 29% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122911"
      unitRef="pure">0.29</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122912">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-65964">&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 invests, under normal market conditions,
at least 80% of its net assets in securities and other investments, the interest on which is exempt from
federal income tax and personal income tax, if any, of New York. Interest from the fund&#x2019;s investments
may be subject to the federal alternative minimum tax. MFS (Massachusetts Financial Services Company,
the fund's investment adviser) may also invest the fund's assets in taxable instruments, including municipal
instruments of other states.&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 municipal 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 a significant percentage of the
fund&#x2019;s assets in municipal instruments of New York. &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 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="-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 may invest 25% or more of the fund&#x2019;s assets in municipal instruments that
finance similar types of projects, such as those relating to education, healthcare, housing, utilities,
water or sewers. Municipal instruments whose interest is exempt from federal and state personal income
tax include instruments issued by U.S. territories and possessions (such as Puerto Rico, Guam, and the
U.S. Virgin Islands) and their political subdivisions and public corporations. &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
primarily invests the fund&#x2019;s assets in investment grade quality debt instruments, but may also invest
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;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, inverse floating rate instruments, 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;&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_20240331_20240331_S000002522Member_PrincipalRisks_S000002522Summary11Member"
      id="ixv-65974">&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_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122913">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_RiskLoseMoneyMember_S000002522Summary11Member"
      id="ixv-122914">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_20240331_20240331_S000002522Member_RiskNotInsuredMember_S000002522Summary11Member"
      id="ixv-122915">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_20240331_20240331_S000002522Member_InvestmentSelectionRisk_S000002522Summary11Member"
      id="ixv-65978">&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;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_20240331_20240331_S000002522Member_DebtMarketRisk_S000002522Summary11Member"
      id="ixv-65982">&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_20240331_20240331_S000002522Member_InterestRateRisk_S000002522Summary11Member"
      id="ixv-65986">&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_20240331_20240331_S000002522Member_CreditRisk_S000002522Summary11Member"
      id="ixv-65991">&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;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. &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;The
credit quality of, and the ability to pay principal and interest when due by, an issuer of a municipal
instrument depends on the credit quality of the entity supporting the municipal instrument, how essential
any services supported by the municipal instrument are, the sufficiency of any revenues or taxes that
support the municipal instrument, and/or the willingness or ability of the appropriate government entity
to approve any appropriations necessary to &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;support the municipal instrument. In addition, the price of a municipal instrument
also depends on its credit quality and ability to meet the credit support obligations of any insurer
or other entity providing credit support to a municipal instrument.&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_20240331_20240331_S000002522Member_FocusRisk_S000002522Summary11Member"
      id="ixv-66005">&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; The fund&#x2019;s performance will be closely tied to the economic, political, environmental,
and public health conditions in New York, and can be more volatile than the performance of a more geographically
diversified fund. In addition, the fund's performance can also be tied to the economic and political
conditions of other states and U.S. territories and possessions in which the fund is invested. These
conditions may include constitutional or statutory limits on an issuer&#x2019;s ability to raise revenues
or increase taxes, anticipated or actual budget deficits or other financial difficulties, or changes
in the credit quality of municipal issuers in the state, other states, or U.S. territories and possessions.&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;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_20240331_20240331_S000002522Member_MunicipalRisk_S000002522Summary11Member"
      id="ixv-66010">&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;Municipal 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 municipal instrument can be volatile and significantly affected by adverse tax changes or court
rulings, legislative or political changes, changes in specific or general market and economic conditions
and developments, and the financial condition of municipal issuers and insurers. Because many municipal
instruments are issued to finance similar projects, conditions in certain industries can significantly
affect the fund and the overall municipal market.  Municipal instruments may be more susceptible to downgrades
or defaults during economic downturns or similar periods of economic stress, which in turn could affect
the market values and marketability of many or all municipal obligations of issuers in a state, U.S.
territory, or possession. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_PrepaymentExtensionRisk_S000002522Summary11Member"
      id="ixv-66014">&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_20240331_20240331_S000002522Member_DerivativesRisk_S000002522Summary11Member"
      id="ixv-66019">&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_20240331_20240331_S000002522Member_LeveragingRisk_S000002522Summary11Member"
      id="ixv-66024">&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_20240331_20240331_S000002522Member_CounterpartyandThirdPartyRisk_S000002522Summary11Member"
      id="ixv-66029">&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_20240331_20240331_S000002522Member_LiquidityRisk_S000002522Summary11Member"
      id="ixv-66034">&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_20240331_20240331_S000002522Member_LargeShareholderRisk_S000002522Summary11Member"
      id="ixv-66039">&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_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122916">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-66044">&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 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&#x2019;s performance over
time compares with that of a broad measure of market performance.&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 (before and after taxes) does not necessarily indicate how the fund will perform in
the future. Updated performance is available online 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-800-225-2606.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122917">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&#x2019;s performance over
time compares with that of a broad measure of market performance.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122918">The fund&#x2019;s
past performance (before and after taxes) does not necessarily indicate how the fund will perform in
the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122919">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122920">1-800-225-2606</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122921">Class A Bar Chart.</rr:BarChartHeading>
    <rr:BarChartNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122922">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartNarrativeTextBlock>
    <rr:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122923">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartDoesNotReflectSalesLoads>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-66055">&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 six-month period ended June 30, 2024,
was 1.62%. During the period(s) shown in the bar chart, the highest quarterly return was 9.32% (for the
calendar quarter ended December 31, 2023) and the lowest quarterly return was (6.92)% (for the calendar
quarter ended March 31, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122924">The total return for the six-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122925">2024-06-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122926"
      unitRef="pure">0.0162</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122927">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122928"
      unitRef="pure">0.0932</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122929">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122930">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122931"
      unitRef="pure">-0.0692</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122932">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122933">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122934">Average Annual
Total Returns (For the Periods Ended December
31, 2023)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122935">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122936">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122937">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122938">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122939">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122940"
      unitRef="pure">0.0244</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122941"
      unitRef="pure">0.0047</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122942"
      unitRef="pure">0.0226</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122943"
      unitRef="pure">0.0544</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122944"
      unitRef="pure">0.0083</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122945"
      unitRef="pure">0.0226</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122946"
      unitRef="pure">0.0750</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122947"
      unitRef="pure">0.0184</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122948"
      unitRef="pure">0.0313</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122949"
      unitRef="pure">0.0783</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122950"
      unitRef="pure">0.0194</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122951"
      unitRef="pure">0.0317</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122952"
      unitRef="pure">0.0277</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122953"
      unitRef="pure">0.0073</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122954"
      unitRef="pure">0.0243</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006959Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122955">Returns After
Taxes on Distributions</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122956"
      unitRef="pure">0.0274</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122957"
      unitRef="pure">0.0071</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122958"
      unitRef="pure">0.0240</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006959Member_S000002522Member_S000002522Summary11Member"
      id="ixv-122959">Returns After Taxes on Distributions and Sale of Fund Shares</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122960"
      unitRef="pure">0.0299</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122961"
      unitRef="pure">0.0118</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122962"
      unitRef="pure">0.0257</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex12_S000002522Member_S000002522Summary11Member"
      id="ixv-122963">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex12_S000002522Member_S000002522Summary11Member"
      id="ixv-122964">Bloomberg Municipal Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex12_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122965"
      unitRef="pure">0.0640</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex12_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122966"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex12_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-122967"
      unitRef="pure">0.0303</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-66340">&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;Aft&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;er-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes. Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts. The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122968">After-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122970">Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-122971">The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <rr:RiskReturnHeading
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-122972">MFS&#xae;
North Carolina Municipal Bond Fund  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      id="ixv-122973">MSNCX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      id="ixv-122974">MBNCX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      id="ixv-122975">MCNCX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      id="ixv-122976">MNCLX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      id="ixv-122977">MPNCX</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-122979">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-72267">&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 income exempt from federal income tax
and personal income tax, if any, of North Carolina, but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-122980">Fees
and Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-72270">&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;This table describes the fees and expenses that you may pay
when you buy, hold, and sell shares of the fund. &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;Investors may also pay commissions
or other fees to their financial intermediaries when they buy, hold, and sell shares of the fund, which
are not reflected below.&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;/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;You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds. More information about
these and other waivers and reductions is available from your financial intermediary and in &#x201c;Sales
Charges and Waivers and Reductions&#x201d; on page 11 and &#x201c;Appendix A &#x2013; Waivers and Reductions of Sales
Charges&#x201d; on page A-1 of the fund&#x2019;s prospectus. &lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ExpenseBreakpointDiscounts
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-122981">You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds.</rr:ExpenseBreakpointDiscounts>
    <rr:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-122982"
      unitRef="usd">100000</rr:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <rr:ShareholderFeesCaption
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-122983">Shareholder Fees (fees paid
directly from your investment):</rr:ShareholderFeesCaption>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-122985"
      unitRef="pure">0.0425</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-122986"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-122987"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-122988"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-122989"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1884_"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-122991"
      unitRef="pure">0.0400</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-122992"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-122993"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-122994"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:OperatingExpensesCaption
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-122995">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_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-122997"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-122998"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-122999"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123000"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123001"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123002"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123003"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123004"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123005"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123006"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123007"
      unitRef="pure">0.0016</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123008"
      unitRef="pure">0.0016</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123009"
      unitRef="pure">0.0016</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123010"
      unitRef="pure">0.0016</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123011"
      unitRef="pure">0.0009</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123012"
      unitRef="pure">0.0086</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123013"
      unitRef="pure">0.0161</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123014"
      unitRef="pure">0.0161</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123015"
      unitRef="pure">0.0061</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123016"
      unitRef="pure">0.0054</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1909_"
      unitRef="pure">-0.0002</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1910_"
      unitRef="pure">-0.0002</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1911_"
      unitRef="pure">-0.0002</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1912_"
      unitRef="pure">-0.0002</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1913_"
      unitRef="pure">-0.0002</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123022"
      unitRef="pure">0.0084</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123023"
      unitRef="pure">0.0159</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123024"
      unitRef="pure">0.0159</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123025"
      unitRef="pure">0.0059</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123026"
      unitRef="pure">0.0052</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123027">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-72628">&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. &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 (unless otherwise indicated); 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_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123028">Although
your actual costs will likely be higher or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123029"
      unitRef="usd">507</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123030"
      unitRef="usd">686</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123031"
      unitRef="usd">880</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123032"
      unitRef="usd">1439</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1926_"
      unitRef="usd">562</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1928_"
      unitRef="usd">806</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1930_"
      unitRef="usd">1074</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1932_"
      unitRef="usd">1708</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1927_"
      unitRef="usd">162</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1929_"
      unitRef="usd">506</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1931_"
      unitRef="usd">874</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1933_"
      unitRef="usd">1708</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1934_"
      unitRef="usd">262</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1936_"
      unitRef="usd">506</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1938_"
      unitRef="usd">874</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1940_"
      unitRef="usd">1708</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1935_"
      unitRef="usd">162</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1937_"
      unitRef="usd">506</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1939_"
      unitRef="usd">874</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="_1941_"
      unitRef="usd">1708</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123049"
      unitRef="usd">60</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123050"
      unitRef="usd">193</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123051"
      unitRef="usd">338</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123052"
      unitRef="usd">760</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123053"
      unitRef="usd">53</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123054"
      unitRef="usd">171</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123055"
      unitRef="usd">300</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123056"
      unitRef="usd">675</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123057">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-72895">&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 and may result in higher taxes when shares are held in a taxable
account. 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 25% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123058"
      unitRef="pure">0.25</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123059">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-72898">&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 invests, under normal market conditions,
at least 80% of its net assets in securities and other investments, the interest on which is exempt from
federal income tax and personal income tax, if any, of North Carolina. Interest from the fund&#x2019;s investments
may be subject to the federal alternative minimum tax. MFS (Massachusetts Financial Services Company,
the fund&#x2019;s investment adviser) may also invest the fund's assets in taxable instruments, including
municipal instruments of other states.&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 municipal 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 a significant
percentage of the fund&#x2019;s assets in municipal instruments of North Carolina. &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
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="-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 may invest 25% or more of the fund&#x2019;s assets in municipal instruments that
finance similar types of projects, such as those relating to education, healthcare, housing, utilities,
water or sewers. Municipal instruments whose interest is exempt from federal and state personal income
tax include instruments issued by U.S. territories and possessions (such as Puerto Rico, Guam, and the
U.S. Virgin Islands) and their political subdivisions and public corporations. &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
primarily invests the fund&#x2019;s assets in investment grade quality debt instruments, but may also invest
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;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, inverse floating rate instruments, 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;&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_20240331_20240331_S000002523Member_PrincipalRisks_S000002523Summary12Member"
      id="ixv-72908">&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_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123060">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_RiskLoseMoneyMember_S000002523Summary12Member"
      id="ixv-123061">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_20240331_20240331_S000002523Member_RiskNotInsuredMember_S000002523Summary12Member"
      id="ixv-123062">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_20240331_20240331_S000002523Member_InvestmentSelectionRisk_S000002523Summary12Member"
      id="ixv-72912">&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;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_20240331_20240331_S000002523Member_DebtMarketRisk_S000002523Summary12Member"
      id="ixv-72916">&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_20240331_20240331_S000002523Member_InterestRateRisk_S000002523Summary12Member"
      id="ixv-72920">&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_20240331_20240331_S000002523Member_CreditRisk_S000002523Summary12Member"
      id="ixv-72925">&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;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. &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;The
credit quality of, and the ability to pay principal and interest when due by, an issuer of a municipal
instrument depends on the credit quality of the entity supporting the municipal instrument, how essential
any services supported by the municipal instrument are, the sufficiency of any revenues or taxes that
support the municipal instrument, and/or the willingness or ability of the appropriate government entity
to approve any appropriations necessary to &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;support the municipal instrument. In addition, the price of a municipal instrument
also depends on its credit quality and ability to meet the credit support obligations of any insurer
or other entity providing credit support to a municipal instrument.&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_20240331_20240331_S000002523Member_FocusRisk_S000002523Summary12Member"
      id="ixv-72939">&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; The fund&#x2019;s performance will be closely tied to the economic, political, environmental,
and public health conditions in North Carolina, and can be more volatile than the performance of a more
geographically diversified fund. In addition, the fund's performance can also be tied to the economic
and political conditions of other states and U.S. territories and possessions in which the fund is invested.
These conditions may include constitutional or statutory limits on an issuer&#x2019;s ability to raise revenues
or increase taxes, anticipated or actual budget deficits or other financial difficulties, or changes
in the credit quality of municipal issuers in the state, other states, or U.S. territories and possessions.&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;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_20240331_20240331_S000002523Member_MunicipalRisk_S000002523Summary12Member"
      id="ixv-72944">&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;Municipal 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 municipal instrument can be volatile and significantly affected by adverse tax changes or court
rulings, legislative or political changes, changes in specific or general market and economic conditions
and developments, and the financial condition of municipal issuers and insurers. Because many municipal
instruments are issued to finance similar projects, conditions in certain industries can significantly
affect the fund and the overall municipal market.  Municipal instruments may be more susceptible to downgrades
or defaults during economic downturns or similar periods of economic stress, which in turn could affect
the market values and marketability of many or all municipal obligations of issuers in a state, U.S.
territory, or possession. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_PrepaymentExtensionRisk_S000002523Summary12Member"
      id="ixv-72948">&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_20240331_20240331_S000002523Member_DerivativesRisk_S000002523Summary12Member"
      id="ixv-72953">&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_20240331_20240331_S000002523Member_LeveragingRisk_S000002523Summary12Member"
      id="ixv-72958">&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_20240331_20240331_S000002523Member_CounterpartyandThirdPartyRisk_S000002523Summary12Member"
      id="ixv-72963">&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_20240331_20240331_S000002523Member_LiquidityRisk_S000002523Summary12Member"
      id="ixv-72968">&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_20240331_20240331_S000002523Member_LargeShareholderRisk_S000002523Summary12Member"
      id="ixv-72973">&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_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123063">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-72978">&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 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&#x2019;s performance over
time compares with that of a broad measure of market performance.&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 (before and after taxes) does not necessarily indicate how the fund will perform in
the future. Updated performance is available online 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-800-225-2606.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123064">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&#x2019;s performance over
time compares with that of a broad measure of market performance.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123065">The fund&#x2019;s
past performance (before and after taxes) does not necessarily indicate how the fund will perform in
the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123066">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123067">1-800-225-2606</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123068">Class A Bar Chart.</rr:BarChartHeading>
    <rr:BarChartNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123069">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartNarrativeTextBlock>
    <rr:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123070">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartDoesNotReflectSalesLoads>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-72989">&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 six-month period ended June 30, 2024,
was 0.79%. During the period(s) shown in the bar chart, the highest quarterly return was 8.01% (for the
calendar quarter ended December 31, 2023) and the lowest quarterly return was (5.93)% (for the calendar
quarter ended March 31, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      id="ixv-123071">The total return for the six-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      id="ixv-123072">2024-06-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123073"
      unitRef="pure">0.0079</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      id="ixv-123074">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123075"
      unitRef="pure">0.0801</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      id="ixv-123076">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      id="ixv-123077">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123078"
      unitRef="pure">-0.0593</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      id="ixv-123079">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123080">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123081">Average Annual
Total Returns (For the Periods Ended December
31, 2023)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      id="ixv-123082">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      id="ixv-123083">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      id="ixv-123084">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      id="ixv-123085">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      id="ixv-123086">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123087"
      unitRef="pure">0.0100</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123088"
      unitRef="pure">0.0047</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123089"
      unitRef="pure">0.0196</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123090"
      unitRef="pure">0.0410</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123091"
      unitRef="pure">0.0084</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123092"
      unitRef="pure">0.0194</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123093"
      unitRef="pure">0.0614</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123094"
      unitRef="pure">0.0186</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123095"
      unitRef="pure">0.0282</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123096"
      unitRef="pure">0.0622</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123097"
      unitRef="pure">0.0193</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123098"
      unitRef="pure">0.0285</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123099"
      unitRef="pure">0.0138</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123100"
      unitRef="pure">0.0072</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123101"
      unitRef="pure">0.0211</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006962Member_S000002523Member_S000002523Summary12Member"
      id="ixv-123102">Returns After
Taxes on Distributions</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123103"
      unitRef="pure">0.0137</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123104"
      unitRef="pure">0.0071</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123105"
      unitRef="pure">0.0210</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006962Member_S000002523Member_S000002523Summary12Member"
      id="ixv-123106">Returns After Taxes on Distributions and Sale of Fund Shares</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123107"
      unitRef="pure">0.0197</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123108"
      unitRef="pure">0.0110</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123109"
      unitRef="pure">0.0228</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex13_S000002523Member_S000002523Summary12Member"
      id="ixv-123110">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex13_S000002523Member_S000002523Summary12Member"
      id="ixv-123111">Bloomberg Municipal Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex13_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123112"
      unitRef="pure">0.0640</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex13_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123113"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex13_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-123114"
      unitRef="pure">0.0303</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-73274">&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;Aft&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;er-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes. Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts. The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123115">After-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123117">Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123118">The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <rr:RiskReturnHeading
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123119">MFS&#xae;
Pennsylvania Municipal Bond Fund  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      id="ixv-123120">MFPAX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      id="ixv-123121">MBPAX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      id="ixv-123122">MPALX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      id="ixv-123123">MPPAX</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123125">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-79222">&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 income exempt from federal income tax
and personal income tax, if any, of Pennsylvania, but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123126">Fees and
Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-79225">&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;This table describes the fees and expenses that you may pay
when you buy, hold, and sell shares of the fund. &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;Investors may also pay commissions
or other fees to their financial intermediaries when they buy, hold, and sell shares of the fund, which
are not reflected below.&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;/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;You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds. More information about
these and other waivers and reductions is available from your financial intermediary and in &#x201c;Sales
Charges and Waivers and Reductions&#x201d; on page 11 and &#x201c;Appendix A &#x2013; Waivers and Reductions of Sales
Charges&#x201d; on page A-1 of the fund&#x2019;s prospectus. &lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ExpenseBreakpointDiscounts
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123127">You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds.</rr:ExpenseBreakpointDiscounts>
    <rr:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123128"
      unitRef="usd">100000</rr:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <rr:ShareholderFeesCaption
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123129">Shareholder
Fees (fees paid directly from your investment):</rr:ShareholderFeesCaption>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123131"
      unitRef="pure">0.0425</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123132"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123133"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123134"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="_2070_"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123136"
      unitRef="pure">0.0400</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123137"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123138"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:OperatingExpensesCaption
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123139">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_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123141"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123142"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123143"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123144"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123145"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123146"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123147"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123148"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123149"
      unitRef="pure">0.0025</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123150"
      unitRef="pure">0.0025</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123151"
      unitRef="pure">0.0025</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123152"
      unitRef="pure">0.0018</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123153"
      unitRef="pure">0.0095</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123154"
      unitRef="pure">0.0170</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123155"
      unitRef="pure">0.0070</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123156"
      unitRef="pure">0.0063</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="_2090_"
      unitRef="pure">-0.0026</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="_2091_"
      unitRef="pure">-0.0026</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="_2092_"
      unitRef="pure">-0.0011</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="_2093_"
      unitRef="pure">-0.0011</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123161"
      unitRef="pure">0.0069</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123162"
      unitRef="pure">0.0144</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123163"
      unitRef="pure">0.0059</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123164"
      unitRef="pure">0.0052</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123165">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-79539">&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. &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 (unless otherwise indicated); 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_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123166">Although
your actual costs will likely be higher or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123167"
      unitRef="usd">492</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123168"
      unitRef="usd">690</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123169"
      unitRef="usd">904</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123170"
      unitRef="usd">1519</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="_2105_"
      unitRef="usd">547</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="_2107_"
      unitRef="usd">810</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="_2109_"
      unitRef="usd">1099</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="_2111_"
      unitRef="usd">1787</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="_2106_"
      unitRef="usd">147</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="_2108_"
      unitRef="usd">510</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="_2110_"
      unitRef="usd">899</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="_2112_"
      unitRef="usd">1787</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123179"
      unitRef="usd">60</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123180"
      unitRef="usd">213</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123181"
      unitRef="usd">379</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123182"
      unitRef="usd">860</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123183"
      unitRef="usd">53</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123184"
      unitRef="usd">191</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123185"
      unitRef="usd">340</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123186"
      unitRef="usd">776</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123187">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-79733">&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 and may result in higher taxes when shares are held in a taxable
account. 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 19% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123188"
      unitRef="pure">0.19</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123189">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-79736">&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 invests, under normal market conditions,
at least 80% of its net assets in securities and other investments, the interest on which is exempt from
federal income tax and personal income tax, if any, of Pennsylvania. Interest from the fund&#x2019;s investments
may be subject to the federal alternative minimum tax. MFS (Massachusetts Financial Services Company,
the fund&#x2019;s investment adviser) may also invest the fund's assets in taxable instruments, including
municipal instruments of other states.&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 municipal 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 a significant
percentage of the fund&#x2019;s assets in municipal instruments of Pennsylvania. &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
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="-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 may invest 25% or more of the fund&#x2019;s assets in municipal instruments that
finance similar types of projects, such as those relating to education, healthcare, housing, utilities,
water or sewers. Municipal instruments whose interest is exempt from federal and state personal income
tax include instruments issued by U.S. territories and possessions (such as Puerto Rico, Guam, and the
U.S. Virgin Islands) and their political subdivisions and public corporations. &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
primarily invests the fund&#x2019;s assets in investment grade quality debt instruments, but may also invest
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;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, inverse floating rate instruments, 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;&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_20240331_20240331_S000002524Member_PrincipalRisks_S000002524Summary13Member"
      id="ixv-79746">&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_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123190">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_RiskLoseMoneyMember_S000002524Summary13Member"
      id="ixv-123191">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_20240331_20240331_S000002524Member_RiskNotInsuredMember_S000002524Summary13Member"
      id="ixv-123192">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_20240331_20240331_S000002524Member_InvestmentSelectionRisk_S000002524Summary13Member"
      id="ixv-79750">&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;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_20240331_20240331_S000002524Member_DebtMarketRisk_S000002524Summary13Member"
      id="ixv-79754">&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_20240331_20240331_S000002524Member_InterestRateRisk_S000002524Summary13Member"
      id="ixv-79758">&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_20240331_20240331_S000002524Member_CreditRisk_S000002524Summary13Member"
      id="ixv-79763">&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;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. &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;The
credit quality of, and the ability to pay principal and interest when due by, an issuer of a municipal
instrument depends on the credit quality of the entity supporting the municipal instrument, how essential
any services supported by the municipal instrument are, the sufficiency of any revenues or taxes that
support the municipal instrument, and/or the willingness or ability of the appropriate government entity
to approve any appropriations necessary to support the municipal instrument. In addition, the price of
a municipal instrument also depends on its credit quality and ability to &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;meet the credit support obligations of any insurer or other entity providing credit
support to a municipal instrument.&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_20240331_20240331_S000002524Member_FocusRisk_S000002524Summary13Member"
      id="ixv-79777">&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; The fund&#x2019;s performance will be closely tied to the economic, political, environmental,
and public health conditions in Pennsylvania, and can be more volatile than the performance of a more
geographically diversified fund. In addition, the fund's performance can also be tied to the economic
and political conditions of other states and U.S. territories and possessions in which the fund is invested.
These conditions may include constitutional or statutory limits on an issuer&#x2019;s ability to raise revenues
or increase taxes, anticipated or actual budget deficits or other financial difficulties, or changes
in the credit quality of municipal issuers in the state, other states, or U.S. territories and possessions.&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;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_20240331_20240331_S000002524Member_MunicipalRisk_S000002524Summary13Member"
      id="ixv-79782">&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;Municipal 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 municipal instrument can be volatile and significantly affected by adverse tax changes or court
rulings, legislative or political changes, changes in specific or general market and economic conditions
and developments, and the financial condition of municipal issuers and insurers. Because many municipal
instruments are issued to finance similar projects, conditions in certain industries can significantly
affect the fund and the overall municipal market.  Municipal instruments may be more susceptible to downgrades
or defaults during economic downturns or similar periods of economic stress, which in turn could affect
the market values and marketability of many or all municipal obligations of issuers in a state, U.S.
territory, or possession. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_PrepaymentExtensionRisk_S000002524Summary13Member"
      id="ixv-79786">&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_20240331_20240331_S000002524Member_DerivativesRisk_S000002524Summary13Member"
      id="ixv-79791">&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_20240331_20240331_S000002524Member_LeveragingRisk_S000002524Summary13Member"
      id="ixv-79796">&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_20240331_20240331_S000002524Member_CounterpartyandThirdPartyRisk_S000002524Summary13Member"
      id="ixv-79801">&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_20240331_20240331_S000002524Member_LiquidityRisk_S000002524Summary13Member"
      id="ixv-79806">&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_20240331_20240331_S000002524Member_LargeShareholderRisk_S000002524Summary13Member"
      id="ixv-79811">&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_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123193">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-79816">&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 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&#x2019;s performance over
time compares with that of a broad measure of market performance.&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 (before and after taxes) does not necessarily indicate how the fund will perform in
the future. Updated performance is available online 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-800-225-2606.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123194">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&#x2019;s performance over
time compares with that of a broad measure of market performance.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123195">The fund&#x2019;s
past performance (before and after taxes) does not necessarily indicate how the fund will perform in
the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123196">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123197">1-800-225-2606</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123198">Class A Bar Chart.</rr:BarChartHeading>
    <rr:BarChartNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123199">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartNarrativeTextBlock>
    <rr:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123200">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartDoesNotReflectSalesLoads>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-79827">&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 six-month period ended June 30, 2024,
was 0.90%. During the period(s) shown in the bar chart, the highest quarterly return was 7.70% (for the
calendar quarter ended December 31, 2023) and the lowest quarterly return was (5.79)% (for the calendar
quarter ended March 31, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      id="ixv-123201">The total return for the six-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      id="ixv-123202">2024-06-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123203"
      unitRef="pure">0.0090</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      id="ixv-123204">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123205"
      unitRef="pure">0.0770</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      id="ixv-123206">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      id="ixv-123207">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123208"
      unitRef="pure">-0.0579</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      id="ixv-123209">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123210">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123211">Average Annual
Total Returns (For the Periods Ended December
31, 2023)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      id="ixv-123212">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      id="ixv-123213">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      id="ixv-123214">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      id="ixv-123215">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123216"
      unitRef="pure">0.0070</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123217"
      unitRef="pure">0.0067</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123218"
      unitRef="pure">0.0244</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123219"
      unitRef="pure">0.0558</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123220"
      unitRef="pure">0.0188</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123221"
      unitRef="pure">0.0316</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123222"
      unitRef="pure">0.0565</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123223"
      unitRef="pure">0.0195</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123224"
      unitRef="pure">0.0320</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123225"
      unitRef="pure">0.0100</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123226"
      unitRef="pure">0.0089</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123227"
      unitRef="pure">0.0260</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006965Member_S000002524Member_S000002524Summary13Member"
      id="ixv-123228">Returns After
Taxes on Distributions</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123229"
      unitRef="pure">0.0099</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123230"
      unitRef="pure">0.0087</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123231"
      unitRef="pure">0.0258</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006965Member_S000002524Member_S000002524Summary13Member"
      id="ixv-123232">Returns After Taxes on Distributions and Sale of Fund Shares</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123233"
      unitRef="pure">0.0186</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123234"
      unitRef="pure">0.0130</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123235"
      unitRef="pure">0.0273</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex14_S000002524Member_S000002524Summary13Member"
      id="ixv-123236">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex14_S000002524Member_S000002524Summary13Member"
      id="ixv-123237">Bloomberg Municipal Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex14_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123238"
      unitRef="pure">0.0640</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex14_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123239"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex14_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-123240"
      unitRef="pure">0.0303</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-80093">&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;Aft&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;er-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes. Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts. The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123241">After-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123243">Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123244">The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <rr:RiskReturnHeading
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123245">MFS&#xae;
South Carolina Municipal Bond Fund  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      id="ixv-123246">MFSCX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      id="ixv-123247">MBSCX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      id="ixv-123248">MTSCX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      id="ixv-123249">MPOCX</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123251">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-85699">&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 income exempt from federal income tax
and personal income tax, if any, of South Carolina, but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123252">Fees
and Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-85702">&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;This table describes the fees and expenses that you may pay
when you buy, hold, and sell shares of the fund. &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;Investors may also pay commissions
or other fees to their financial intermediaries when they buy, hold, and sell shares of the fund, which
are not reflected below.&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;/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;You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds. More information about
these and other waivers and reductions is available from your financial intermediary and in &#x201c;Sales
Charges and Waivers and Reductions&#x201d; on page 11 and &#x201c;Appendix A &#x2013; Waivers and Reductions of Sales
Charges&#x201d; on page A-1 of the fund&#x2019;s prospectus. &lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ExpenseBreakpointDiscounts
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123253">You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds.</rr:ExpenseBreakpointDiscounts>
    <rr:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123254"
      unitRef="usd">100000</rr:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <rr:ShareholderFeesCaption
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123255">Shareholder
Fees (fees paid directly from your investment):</rr:ShareholderFeesCaption>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123257"
      unitRef="pure">0.0425</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123258"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123259"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123260"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="_2236_"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123262"
      unitRef="pure">0.0400</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123263"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123264"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:OperatingExpensesCaption
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123265">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_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123267"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123268"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123269"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123270"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123271"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123272"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123273"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123274"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123275"
      unitRef="pure">0.0019</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123276"
      unitRef="pure">0.0019</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123277"
      unitRef="pure">0.0019</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123278"
      unitRef="pure">0.0013</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123279"
      unitRef="pure">0.0089</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123280"
      unitRef="pure">0.0164</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123281"
      unitRef="pure">0.0064</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123282"
      unitRef="pure">0.0058</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="_2256_"
      unitRef="pure">-0.0005</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="_2257_"
      unitRef="pure">-0.0005</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="_2258_"
      unitRef="pure">-0.0005</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="_2259_"
      unitRef="pure">-0.0005</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123287"
      unitRef="pure">0.0084</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123288"
      unitRef="pure">0.0159</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123289"
      unitRef="pure">0.0059</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123290"
      unitRef="pure">0.0053</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123291">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-86016">&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. &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 (unless otherwise indicated); 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_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123292">Although
your actual costs will likely be higher or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123293"
      unitRef="usd">507</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123294"
      unitRef="usd">692</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123295"
      unitRef="usd">892</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123296"
      unitRef="usd">1470</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="_2271_"
      unitRef="usd">562</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="_2273_"
      unitRef="usd">812</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="_2275_"
      unitRef="usd">1087</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="_2277_"
      unitRef="usd">1739</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="_2272_"
      unitRef="usd">162</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="_2274_"
      unitRef="usd">512</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="_2276_"
      unitRef="usd">887</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="_2278_"
      unitRef="usd">1739</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123305"
      unitRef="usd">60</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123306"
      unitRef="usd">200</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123307"
      unitRef="usd">352</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123308"
      unitRef="usd">794</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123309"
      unitRef="usd">54</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123310"
      unitRef="usd">181</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123311"
      unitRef="usd">319</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123312"
      unitRef="usd">721</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123313">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-86210">&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 and may result in higher taxes when shares are held in a taxable
account. 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 25% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123314"
      unitRef="pure">0.25</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123315">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-86213">&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 invests, under normal market conditions,
at least 80% of its net assets in securities and other investments, the interest on which is exempt from
federal income tax and personal income tax, if any, of South Carolina. Interest from the fund&#x2019;s investments
may be subject to the federal alternative minimum tax. MFS (Massachusetts Financial Services Company,
the fund&#x2019;s investment adviser) may also invest the fund's assets in taxable instruments, including
municipal instruments of other states.&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 municipal 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 a significant
percentage of the fund&#x2019;s assets in municipal instruments of South Carolina. &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
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="-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 may invest 25% or more of the fund&#x2019;s assets in municipal instruments that
finance similar types of projects, such as those relating to education, healthcare, housing, utilities,
water or sewers. Municipal instruments whose interest is exempt from federal and state personal income
tax include instruments issued by U.S. territories and possessions (such as Puerto Rico, Guam, and the
U.S. Virgin Islands) and their political subdivisions and public corporations. &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
primarily invests the fund&#x2019;s assets in investment grade quality debt instruments, but may also invest
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;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, inverse floating rate instruments, 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;&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_20240331_20240331_S000002525Member_PrincipalRisks_S000002525Summary14Member"
      id="ixv-86223">&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_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123316">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_RiskLoseMoneyMember_S000002525Summary14Member"
      id="ixv-123317">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_20240331_20240331_S000002525Member_RiskNotInsuredMember_S000002525Summary14Member"
      id="ixv-123318">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_20240331_20240331_S000002525Member_InvestmentSelectionRisk_S000002525Summary14Member"
      id="ixv-86227">&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;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_20240331_20240331_S000002525Member_DebtMarketRisk_S000002525Summary14Member"
      id="ixv-86231">&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_20240331_20240331_S000002525Member_InterestRateRisk_S000002525Summary14Member"
      id="ixv-86235">&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_20240331_20240331_S000002525Member_CreditRisk_S000002525Summary14Member"
      id="ixv-86240">&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;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. &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;The
credit quality of, and the ability to pay principal and interest when due by, an issuer of a municipal
instrument depends on the credit quality of the entity supporting the municipal instrument, how essential
any services supported by the municipal instrument are, the sufficiency of any revenues or taxes that
support the municipal instrument, and/or the willingness or ability of the appropriate government entity
to approve any appropriations necessary to support the municipal instrument. In addition, the price of
a municipal instrument also depends on its credit quality and ability to &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;meet the credit support obligations of any insurer or other entity providing credit
support to a municipal instrument.&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_20240331_20240331_S000002525Member_FocusRisk_S000002525Summary14Member"
      id="ixv-86254">&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; The fund&#x2019;s performance will be closely tied to the economic, political, environmental,
and public health conditions in South Carolina, and can be more volatile than the performance of a more
geographically diversified fund. In addition, the fund's performance can also be tied to the economic
and political conditions of other states and U.S. territories and possessions in which the fund is invested.
These conditions may include constitutional or statutory limits on an issuer&#x2019;s ability to raise revenues
or increase taxes, anticipated or actual budget deficits or other financial difficulties, or changes
in the credit quality of municipal issuers in the state, other states, or U.S. territories and possessions.&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;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_20240331_20240331_S000002525Member_MunicipalRisk_S000002525Summary14Member"
      id="ixv-86259">&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;Municipal 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 municipal instrument can be volatile and significantly affected by adverse tax changes or court
rulings, legislative or political changes, changes in specific or general market and economic conditions
and developments, and the financial condition of municipal issuers and insurers. Because many municipal
instruments are issued to finance similar projects, conditions in certain industries can significantly
affect the fund and the overall municipal market.  Municipal instruments may be more susceptible to downgrades
or defaults during economic downturns or similar periods of economic stress, which in turn could affect
the market values and marketability of many or all municipal obligations of issuers in a state, U.S.
territory, or possession. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_PrepaymentExtensionRisk_S000002525Summary14Member"
      id="ixv-86263">&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_20240331_20240331_S000002525Member_DerivativesRisk_S000002525Summary14Member"
      id="ixv-86268">&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_20240331_20240331_S000002525Member_LeveragingRisk_S000002525Summary14Member"
      id="ixv-86273">&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_20240331_20240331_S000002525Member_CounterpartyandThirdPartyRisk_S000002525Summary14Member"
      id="ixv-86278">&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_20240331_20240331_S000002525Member_LiquidityRisk_S000002525Summary14Member"
      id="ixv-86283">&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_20240331_20240331_S000002525Member_LargeShareholderRisk_S000002525Summary14Member"
      id="ixv-86288">&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_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123319">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-86293">&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 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&#x2019;s performance over
time compares with that of a broad measure of market performance.&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 (before and after taxes) does not necessarily indicate how the fund will perform in
the future. Updated performance is available online 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-800-225-2606.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123320">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&#x2019;s performance over
time compares with that of a broad measure of market performance.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123321">The fund&#x2019;s
past performance (before and after taxes) does not necessarily indicate how the fund will perform in
the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123322">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123323">1-800-225-2606</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123324">Class A Bar Chart.</rr:BarChartHeading>
    <rr:BarChartNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123325">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartNarrativeTextBlock>
    <rr:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123326">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartDoesNotReflectSalesLoads>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-86304">&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 six-month period ended June 30, 2024,
was 0.80%. During the period(s) shown in the bar chart, the highest quarterly return was 8.53% (for the
calendar quarter ended December 31, 2023) and the lowest quarterly return was (6.09)% (for the calendar
quarter ended March 31, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      id="ixv-123327">The total return for the six-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      id="ixv-123328">2024-06-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123329"
      unitRef="pure">0.0080</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      id="ixv-123330">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123331"
      unitRef="pure">0.0853</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      id="ixv-123332">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      id="ixv-123333">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123334"
      unitRef="pure">-0.0609</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      id="ixv-123335">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123336">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123337">Average Annual
Total Returns (For the Periods Ended December
31, 2023)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      id="ixv-123338">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      id="ixv-123339">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      id="ixv-123340">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      id="ixv-123341">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123342"
      unitRef="pure">0.0135</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123343"
      unitRef="pure">0.0023</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123344"
      unitRef="pure">0.0185</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123345"
      unitRef="pure">0.0633</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123346"
      unitRef="pure">0.0159</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123347"
      unitRef="pure">0.0272</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123348"
      unitRef="pure">0.0639</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123349"
      unitRef="pure">0.0165</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123350"
      unitRef="pure">0.0274</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123351"
      unitRef="pure">0.0163</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123352"
      unitRef="pure">0.0048</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123353"
      unitRef="pure">0.0202</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006967Member_S000002525Member_S000002525Summary14Member"
      id="ixv-123354">Returns After
Taxes on Distributions</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123355"
      unitRef="pure">0.0162</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123356"
      unitRef="pure">0.0046</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123357"
      unitRef="pure">0.0200</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006967Member_S000002525Member_S000002525Summary14Member"
      id="ixv-123358">Returns After Taxes on Distributions and Sale of Fund Shares</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123359"
      unitRef="pure">0.0210</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123360"
      unitRef="pure">0.0089</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123361"
      unitRef="pure">0.0217</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex15_S000002525Member_S000002525Summary14Member"
      id="ixv-123362">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex15_S000002525Member_S000002525Summary14Member"
      id="ixv-123363">Bloomberg Municipal Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex15_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123364"
      unitRef="pure">0.0640</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex15_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123365"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex15_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-123366"
      unitRef="pure">0.0303</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-86570">&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;Aft&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;er-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes. Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts. The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123367">After-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123369">Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123370">The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <rr:RiskReturnHeading
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123371">MFS&#xae;
Virginia Municipal Bond Fund  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123372">MSVAX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123373">MBVAX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123374">MVACX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123375">MIVAX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123376">MPVOX</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123378">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-92165">&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 income exempt from federal income tax
and personal income tax, if any, of Virginia, but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123379">Fees and
Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-92168">&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;This table describes the fees and expenses that you may pay
when you buy, hold, and sell shares of the fund. &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;Investors may also pay commissions
or other fees to their financial intermediaries when they buy, hold, and sell shares of the fund, which
are not reflected below.&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;/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;You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds. More information about
these and other waivers and reductions is available from your financial intermediary and in &#x201c;Sales
Charges and Waivers and Reductions&#x201d; on page 11 and &#x201c;Appendix A &#x2013; Waivers and Reductions of Sales
Charges&#x201d; on page A-1 of the fund&#x2019;s prospectus. &lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ExpenseBreakpointDiscounts
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123380">You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds.</rr:ExpenseBreakpointDiscounts>
    <rr:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123381"
      unitRef="usd">100000</rr:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <rr:ShareholderFeesCaption
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123382">Shareholder Fees (fees paid
directly from your investment):</rr:ShareholderFeesCaption>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123384"
      unitRef="pure">0.0425</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123385"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123386"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123387"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123388"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2404_"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123390"
      unitRef="pure">0.0400</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123391"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123392"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123393"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:OperatingExpensesCaption
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123394">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_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123396"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123397"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123398"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123399"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123400"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123401"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123402"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123403"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123404"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123405"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123406"
      unitRef="pure">0.0018</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123407"
      unitRef="pure">0.0018</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123408"
      unitRef="pure">0.0018</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123409"
      unitRef="pure">0.0018</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123410"
      unitRef="pure">0.0010</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123411"
      unitRef="pure">0.0088</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123412"
      unitRef="pure">0.0163</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123413"
      unitRef="pure">0.0163</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123414"
      unitRef="pure">0.0063</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123415"
      unitRef="pure">0.0055</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2429_"
      unitRef="pure">-0.0007</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2430_"
      unitRef="pure">-0.0007</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2431_"
      unitRef="pure">-0.0007</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2432_"
      unitRef="pure">-0.0007</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2433_"
      unitRef="pure">-0.0006</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123421"
      unitRef="pure">0.0081</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123422"
      unitRef="pure">0.0156</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123423"
      unitRef="pure">0.0156</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123424"
      unitRef="pure">0.0056</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123425"
      unitRef="pure">0.0049</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123426">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-92526">&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. &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 (unless otherwise indicated); 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_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123427">Although
your actual costs will likely be higher or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123428"
      unitRef="usd">504</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123429"
      unitRef="usd">687</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123430"
      unitRef="usd">885</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123431"
      unitRef="usd">1457</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2446_"
      unitRef="usd">559</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2448_"
      unitRef="usd">807</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2450_"
      unitRef="usd">1080</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2452_"
      unitRef="usd">1726</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2447_"
      unitRef="usd">159</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2449_"
      unitRef="usd">507</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2451_"
      unitRef="usd">880</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2453_"
      unitRef="usd">1726</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2454_"
      unitRef="usd">259</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2456_"
      unitRef="usd">507</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2458_"
      unitRef="usd">880</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2460_"
      unitRef="usd">1726</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2455_"
      unitRef="usd">159</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2457_"
      unitRef="usd">507</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2459_"
      unitRef="usd">880</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="_2461_"
      unitRef="usd">1726</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123448"
      unitRef="usd">57</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123449"
      unitRef="usd">195</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123450"
      unitRef="usd">344</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123451"
      unitRef="usd">780</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123452"
      unitRef="usd">50</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123453"
      unitRef="usd">170</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123454"
      unitRef="usd">301</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123455"
      unitRef="usd">684</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123456">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-92793">&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 and may result in higher taxes when shares are held in a taxable
account. 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 21% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123457"
      unitRef="pure">0.21</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123458">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-92796">&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 invests, under normal market conditions,
at least 80% of its net assets in securities and other investments, the interest on which is exempt from
federal income tax and personal income tax, if any, of Virginia. Interest from the fund&#x2019;s investments
may be subject to the federal alternative minimum tax. MFS (Massachusetts Financial Services Company,
the fund's investment adviser) may also invest the fund's assets in taxable instruments, including municipal
instruments of other states.&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 municipal 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 a significant percentage of the
fund&#x2019;s assets in municipal instruments of Virginia. &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 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="-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 may invest 25% or more of the fund&#x2019;s assets in municipal instruments that
finance similar types of projects, such as those relating to education, healthcare, housing, utilities,
water or sewers. Municipal instruments whose interest is exempt from federal and state personal income
tax include instruments issued by U.S. territories and possessions (such as Puerto Rico, Guam, and the
U.S. Virgin Islands) and their political subdivisions and public corporations. &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
primarily invests the fund&#x2019;s assets in investment grade quality debt instruments, but may also invest
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;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, inverse floating rate instruments, 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;&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_20240331_20240331_S000002527Member_PrincipalRisks_S000002527Summary15Member"
      id="ixv-92806">&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_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123459">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_RiskLoseMoneyMember_S000002527Summary15Member"
      id="ixv-123460">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_20240331_20240331_S000002527Member_RiskNotInsuredMember_S000002527Summary15Member"
      id="ixv-123461">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_20240331_20240331_S000002527Member_InvestmentSelectionRisk_S000002527Summary15Member"
      id="ixv-92810">&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;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_20240331_20240331_S000002527Member_DebtMarketRisk_S000002527Summary15Member"
      id="ixv-92814">&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_20240331_20240331_S000002527Member_InterestRateRisk_S000002527Summary15Member"
      id="ixv-92818">&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_20240331_20240331_S000002527Member_CreditRisk_S000002527Summary15Member"
      id="ixv-92823">&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;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. &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;The
credit quality of, and the ability to pay principal and interest when due by, an issuer of a municipal
instrument depends on the credit quality of the entity supporting the municipal instrument, how essential
any services supported by the municipal instrument are, the sufficiency of any revenues or taxes that
support the municipal instrument, and/or the willingness or ability of the appropriate government entity
to approve any appropriations necessary to &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;support the municipal instrument. In addition, the price of a municipal instrument
also depends on its credit quality and ability to meet the credit support obligations of any insurer
or other entity providing credit support to a municipal instrument.&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_20240331_20240331_S000002527Member_FocusRisk_S000002527Summary15Member"
      id="ixv-92837">&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; The fund&#x2019;s performance will be closely tied to the economic, political, environmental,
and public health conditions in Virginia, and can be more volatile than the performance of a more geographically
diversified fund. In addition, the fund's performance can also be tied to the economic and political
conditions of other states and U.S. territories and possessions in which the fund is invested. These
conditions may include constitutional or statutory limits on an issuer&#x2019;s ability to raise revenues
or increase taxes, anticipated or actual budget deficits or other financial difficulties, or changes
in the credit quality of municipal issuers in the state, other states, or U.S. territories and possessions.&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;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_20240331_20240331_S000002527Member_MunicipalRisk_S000002527Summary15Member"
      id="ixv-92842">&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;Municipal 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 municipal instrument can be volatile and significantly affected by adverse tax changes or court
rulings, legislative or political changes, changes in specific or general market and economic conditions
and developments, and the financial condition of municipal issuers and insurers. Because many municipal
instruments are issued to finance similar projects, conditions in certain industries can significantly
affect the fund and the overall municipal market.  Municipal instruments may be more susceptible to downgrades
or defaults during economic downturns or similar periods of economic stress, which in turn could affect
the market values and marketability of many or all municipal obligations of issuers in a state, U.S.
territory, or possession. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_PrepaymentExtensionRisk_S000002527Summary15Member"
      id="ixv-92846">&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_20240331_20240331_S000002527Member_DerivativesRisk_S000002527Summary15Member"
      id="ixv-92851">&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_20240331_20240331_S000002527Member_LeveragingRisk_S000002527Summary15Member"
      id="ixv-92856">&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_20240331_20240331_S000002527Member_CounterpartyandThirdPartyRisk_S000002527Summary15Member"
      id="ixv-92861">&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_20240331_20240331_S000002527Member_LiquidityRisk_S000002527Summary15Member"
      id="ixv-92866">&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_20240331_20240331_S000002527Member_LargeShareholderRisk_S000002527Summary15Member"
      id="ixv-92871">&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_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123462">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-92876">&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 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&#x2019;s performance over
time compares with that of a broad measure of market performance.&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 (before and after taxes) does not necessarily indicate how the fund will perform in
the future. Updated performance is available online 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-800-225-2606.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123463">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&#x2019;s performance over
time compares with that of a broad measure of market performance.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123464">The fund&#x2019;s
past performance (before and after taxes) does not necessarily indicate how the fund will perform in
the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123465">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123466">1-800-225-2606</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123467">Class A Bar Chart.</rr:BarChartHeading>
    <rr:BarChartNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123468">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartNarrativeTextBlock>
    <rr:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123469">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartDoesNotReflectSalesLoads>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-92887">&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 six-month period ended June 30, 2024,
was 0.51%. During the period(s) shown in the bar chart, the highest quarterly return was 8.61% (for the
calendar quarter ended December 31, 2023) and the lowest quarterly return was (5.71)% (for the calendar
quarter ended March 31, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123470">The total return for the six-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123471">2024-06-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123472"
      unitRef="pure">0.0051</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123473">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123474"
      unitRef="pure">0.0861</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123475">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123476">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123477"
      unitRef="pure">-0.0571</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123478">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123479">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123480">Average Annual
Total Returns (For the Periods Ended December
31, 2023)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123481">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123482">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123483">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123484">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123485">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123486"
      unitRef="pure">0.0100</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123487"
      unitRef="pure">0.0049</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123488"
      unitRef="pure">0.0203</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123489"
      unitRef="pure">0.0400</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123490"
      unitRef="pure">0.0084</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123491"
      unitRef="pure">0.0203</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123492"
      unitRef="pure">0.0612</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123493"
      unitRef="pure">0.0187</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123494"
      unitRef="pure">0.0289</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123495"
      unitRef="pure">0.0608</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123496"
      unitRef="pure">0.0193</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123497"
      unitRef="pure">0.0294</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123498"
      unitRef="pure">0.0138</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123499"
      unitRef="pure">0.0074</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123500"
      unitRef="pure">0.0219</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006971Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123501">Returns After
Taxes on Distributions</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123502"
      unitRef="pure">0.0138</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123503"
      unitRef="pure">0.0072</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123504"
      unitRef="pure">0.0216</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006971Member_S000002527Member_S000002527Summary15Member"
      id="ixv-123505">Returns After Taxes on Distributions and Sale of Fund Shares</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123506"
      unitRef="pure">0.0196</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123507"
      unitRef="pure">0.0115</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123508"
      unitRef="pure">0.0234</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex16_S000002527Member_S000002527Summary15Member"
      id="ixv-123509">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex16_S000002527Member_S000002527Summary15Member"
      id="ixv-123510">Bloomberg Municipal Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex16_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123511"
      unitRef="pure">0.0640</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex16_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123512"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex16_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-123513"
      unitRef="pure">0.0303</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-93172">&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;Aft&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;er-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes. Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts. The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123514">After-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123516">Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123517">The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <rr:RiskReturnHeading
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123518">MFS&#xae;
West Virginia Municipal Bond Fund  Summary
of Key Information</rr:RiskReturnHeading>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      id="ixv-123519">MFWVX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      id="ixv-123520">MBWVX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      id="ixv-123521">MWVIX</dei:TradingSymbol>
    <dei:TradingSymbol
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      id="ixv-123522">MPWVX</dei:TradingSymbol>
    <rr:ObjectiveHeading
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123524">Investment Objective</rr:ObjectiveHeading>
    <rr:ObjectivePrimaryTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-99257">&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 income exempt from federal income tax
and personal income tax, if any, of West Virginia, but also considering capital appreciation. &lt;/p&gt;</rr:ObjectivePrimaryTextBlock>
    <rr:ExpenseHeading
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123525">Fees
and Expenses  </rr:ExpenseHeading>
    <rr:ExpenseNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-99260">&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;This table describes the fees and expenses that you may pay
when you buy, hold, and sell shares of the fund. &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;Investors may also pay commissions
or other fees to their financial intermediaries when they buy, hold, and sell shares of the fund, which
are not reflected below.&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;/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;You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds. More information about
these and other waivers and reductions is available from your financial intermediary and in &#x201c;Sales
Charges and Waivers and Reductions&#x201d; on page 11 and &#x201c;Appendix A &#x2013; Waivers and Reductions of Sales
Charges&#x201d; on page A-1 of the fund&#x2019;s prospectus. &lt;/p&gt;</rr:ExpenseNarrativeTextBlock>
    <rr:ExpenseBreakpointDiscounts
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123526">You may
qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your
family invest, or agree to invest in the future, at least $100,000 in MFS funds.</rr:ExpenseBreakpointDiscounts>
    <rr:ExpenseBreakpointMinimumInvestmentRequiredAmount
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123527"
      unitRef="usd">100000</rr:ExpenseBreakpointMinimumInvestmentRequiredAmount>
    <rr:ShareholderFeesCaption
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123528">Shareholder
Fees (fees paid directly from your investment):</rr:ShareholderFeesCaption>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123530"
      unitRef="pure">0.0425</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123531"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123532"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123533"
      unitRef="pure">0</rr:MaximumSalesChargeImposedOnPurchasesOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="_2590_"
      unitRef="pure">0.0100</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123535"
      unitRef="pure">0.0400</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123536"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:MaximumDeferredSalesChargeOverOfferingPrice
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123537"
      unitRef="pure">0</rr:MaximumDeferredSalesChargeOverOfferingPrice>
    <rr:OperatingExpensesCaption
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123538">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_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123540"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123541"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123542"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:ManagementFeesOverAssets
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123543"
      unitRef="pure">0.0045</rr:ManagementFeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123544"
      unitRef="pure">0.0025</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123545"
      unitRef="pure">0.0100</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123546"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:DistributionAndService12b1FeesOverAssets
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123547"
      unitRef="pure">0</rr:DistributionAndService12b1FeesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123548"
      unitRef="pure">0.0033</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123549"
      unitRef="pure">0.0033</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123550"
      unitRef="pure">0.0033</rr:OtherExpensesOverAssets>
    <rr:OtherExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123551"
      unitRef="pure">0.0025</rr:OtherExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123552"
      unitRef="pure">0.0103</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123553"
      unitRef="pure">0.0178</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123554"
      unitRef="pure">0.0078</rr:ExpensesOverAssets>
    <rr:ExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123555"
      unitRef="pure">0.0070</rr:ExpensesOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="_2610_"
      unitRef="pure">-0.0016</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="_2611_"
      unitRef="pure">-0.0016</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="_2612_"
      unitRef="pure">-0.0016</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:FeeWaiverOrReimbursementOverAssets
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="_2613_"
      unitRef="pure">-0.0015</rr:FeeWaiverOrReimbursementOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123560"
      unitRef="pure">0.0087</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123561"
      unitRef="pure">0.0162</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123562"
      unitRef="pure">0.0062</rr:NetExpensesOverAssets>
    <rr:NetExpensesOverAssets
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123563"
      unitRef="pure">0.0055</rr:NetExpensesOverAssets>
    <rr:ExpenseExampleHeading
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123564">Example
</rr:ExpenseExampleHeading>
    <rr:ExpenseExampleNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-99574">&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. &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 (unless otherwise indicated); 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_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123565">Although
your actual costs will likely be higher or lower, under these assumptions your costs would be:</rr:ExpenseExampleByYearCaption>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123566"
      unitRef="usd">510</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123567"
      unitRef="usd">724</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123568"
      unitRef="usd">955</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123569"
      unitRef="usd">1617</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="_2625_"
      unitRef="usd">565</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="_2627_"
      unitRef="usd">845</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="_2629_"
      unitRef="usd">1150</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="_2631_"
      unitRef="usd">1884</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleNoRedemptionYear01
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="_2626_"
      unitRef="usd">165</rr:ExpenseExampleNoRedemptionYear01>
    <rr:ExpenseExampleNoRedemptionYear03
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="_2628_"
      unitRef="usd">545</rr:ExpenseExampleNoRedemptionYear03>
    <rr:ExpenseExampleNoRedemptionYear05
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="_2630_"
      unitRef="usd">950</rr:ExpenseExampleNoRedemptionYear05>
    <rr:ExpenseExampleNoRedemptionYear10
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="_2632_"
      unitRef="usd">1884</rr:ExpenseExampleNoRedemptionYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123578"
      unitRef="usd">63</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123579"
      unitRef="usd">233</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123580"
      unitRef="usd">418</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123581"
      unitRef="usd">951</rr:ExpenseExampleYear10>
    <rr:ExpenseExampleYear01
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123582"
      unitRef="usd">56</rr:ExpenseExampleYear01>
    <rr:ExpenseExampleYear03
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123583"
      unitRef="usd">209</rr:ExpenseExampleYear03>
    <rr:ExpenseExampleYear05
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123584"
      unitRef="usd">375</rr:ExpenseExampleYear05>
    <rr:ExpenseExampleYear10
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123585"
      unitRef="usd">856</rr:ExpenseExampleYear10>
    <rr:PortfolioTurnoverHeading
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123586">Portfolio
Turnover</rr:PortfolioTurnoverHeading>
    <rr:PortfolioTurnoverTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-99768">&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 and may result in higher taxes when shares are held in a taxable
account. 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 21% of the average value of its portfolio.&lt;/p&gt;</rr:PortfolioTurnoverTextBlock>
    <rr:PortfolioTurnoverRate
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123587"
      unitRef="pure">0.21</rr:PortfolioTurnoverRate>
    <rr:StrategyHeading
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123588">Principal
Investment Strategies</rr:StrategyHeading>
    <rr:StrategyNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-99771">&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 invests, under normal market conditions,
at least 80% of its net assets in securities and other investments, the interest on which is exempt from
federal income tax and personal income tax, if any, of West Virginia. Interest from the fund&#x2019;s investments
may be subject to the federal alternative minimum tax. MFS (Massachusetts Financial Services Company,
the fund's investment adviser) may also invest the fund's assets in taxable instruments, including municipal
instruments of other states.&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 municipal 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 a significant percentage of the
fund&#x2019;s assets in municipal instruments of West Virginia. &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 may
invest 25% or more of the fund&#x2019;s assets in municipal instruments that finance similar types of projects,
such as those relating to education, healthcare, housing, utilities, water or sewers. Municipal instruments
whose interest is exempt from federal and state personal income tax include instruments issued by U.S.
territories and possessions (such as Puerto Rico, Guam, and the U.S. Virgin Islands) and their political
subdivisions and public corporations. &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 primarily invests the
fund&#x2019;s assets in investment grade quality debt instruments, but may also invest 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;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 exposure, or as alternatives to direct investments. Derivatives include futures, forward
contracts, options, inverse floating rate instruments, 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;&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_20240331_20240331_S000002528Member_PrincipalRisks_S000002528Summary16Member"
      id="ixv-99781">&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_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123589">Principal
Risks </rr:RiskHeading>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_RiskLoseMoneyMember_S000002528Summary16Member"
      id="ixv-123590">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_20240331_20240331_S000002528Member_RiskNotInsuredMember_S000002528Summary16Member"
      id="ixv-123591">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_20240331_20240331_S000002528Member_InvestmentSelectionRisk_S000002528Summary16Member"
      id="ixv-99785">&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;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_20240331_20240331_S000002528Member_DebtMarketRisk_S000002528Summary16Member"
      id="ixv-99789">&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_20240331_20240331_S000002528Member_InterestRateRisk_S000002528Summary16Member"
      id="ixv-99793">&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_20240331_20240331_S000002528Member_CreditRisk_S000002528Summary16Member"
      id="ixv-99798">&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;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. &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;The
credit quality of, and the ability to pay principal and interest when due by, an issuer of a municipal
instrument depends on the credit quality of the entity supporting the municipal instrument, how essential
any services supported by the municipal instrument are, the sufficiency of any revenues or taxes that
support the municipal instrument, and/or the willingness or ability of the appropriate government entity
to approve any appropriations necessary to support the municipal instrument. In addition, the price of
a municipal instrument also depends on its credit quality and ability to &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;meet the credit support obligations of any insurer or other entity providing credit
support to a municipal instrument.&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_20240331_20240331_S000002528Member_FocusRisk_S000002528Summary16Member"
      id="ixv-99812">&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; The fund&#x2019;s performance will be closely tied to the economic, political, environmental,
and public health conditions in West Virginia, and can be more volatile than the performance of a more
geographically diversified fund. In addition, the fund's performance can also be tied to the economic
and political conditions of other states and U.S. territories and possessions in which the fund is invested.
These conditions may include constitutional or statutory limits on an issuer&#x2019;s ability to raise revenues
or increase taxes, anticipated or actual budget deficits or other financial difficulties, or changes
in the credit quality of municipal issuers in the state, other states, or U.S. territories and possessions.&lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_RiskNondiversifiedStatusMember_S000002528Summary16Member"
      id="ixv-99816">&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_20240331_20240331_S000002528Member_MunicipalRisk_S000002528Summary16Member"
      id="ixv-99821">&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;Municipal 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 municipal
instrument can be volatile and significantly affected by adverse tax changes or court rulings, legislative
or political changes, changes in specific or general market and economic conditions and developments,
and the financial condition of municipal issuers and insurers. Because many municipal instruments are
issued to finance similar projects, conditions in certain industries can significantly affect the fund
and the overall municipal market.  Municipal instruments may be more susceptible to downgrades or defaults
during economic downturns or similar periods of economic stress, which in turn could affect the market
values and marketability of many or all municipal obligations of issuers in a state, U.S. territory,
or possession. &lt;/span&gt;&lt;/p&gt;</rr:RiskTextBlock>
    <rr:RiskTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_PrepaymentExtensionRisk_S000002528Summary16Member"
      id="ixv-99825">&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_20240331_20240331_S000002528Member_DerivativesRisk_S000002528Summary16Member"
      id="ixv-99830">&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_20240331_20240331_S000002528Member_LeveragingRisk_S000002528Summary16Member"
      id="ixv-99835">&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_20240331_20240331_S000002528Member_CounterpartyandThirdPartyRisk_S000002528Summary16Member"
      id="ixv-99840">&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_20240331_20240331_S000002528Member_LiquidityRisk_S000002528Summary16Member"
      id="ixv-99845">&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_20240331_20240331_S000002528Member_LargeShareholderRisk_S000002528Summary16Member"
      id="ixv-99850">&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_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123592">Performance Information </rr:BarChartAndPerformanceTableHeading>
    <rr:PerformanceNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-99855">&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 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&#x2019;s performance over
time compares with that of a broad measure of market performance.&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 (before and after taxes) does not necessarily indicate how the fund will perform in
the future. Updated performance is available online 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-800-225-2606.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceNarrativeTextBlock>
    <rr:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123593">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&#x2019;s performance over
time compares with that of a broad measure of market performance.</rr:PerformanceInformationIllustratesVariabilityOfReturns>
    <rr:PerformancePastDoesNotIndicateFuture
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123594">The fund&#x2019;s
past performance (before and after taxes) does not necessarily indicate how the fund will perform in
the future.</rr:PerformancePastDoesNotIndicateFuture>
    <rr:PerformanceAvailabilityWebSiteAddress
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123595">mfs.com</rr:PerformanceAvailabilityWebSiteAddress>
    <rr:PerformanceAvailabilityPhone
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123596">1-800-225-2606</rr:PerformanceAvailabilityPhone>
    <rr:BarChartHeading
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123597">Class A Bar Chart.</rr:BarChartHeading>
    <rr:BarChartNarrativeTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123598">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartNarrativeTextBlock>
    <rr:BarChartDoesNotReflectSalesLoads
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123599">The bar
chart does not take into account any sales charges (loads) that you may be required to pay upon purchase
or redemption of the fund&#x2019;s shares. If these sales charges were included, they would reduce the returns
shown.</rr:BarChartDoesNotReflectSalesLoads>
    <rr:BarChartClosingTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-99866">&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 six-month period ended June 30, 2024,
was 0.42%. During the period(s) shown in the bar chart, the highest quarterly return was 8.29% (for the
calendar quarter ended December 31, 2023) and the lowest quarterly return was (5.03)% (for the calendar
quarter ended March 31, 2022).&lt;/span&gt;&lt;/p&gt;</rr:BarChartClosingTextBlock>
    <rr:YearToDateReturnLabel
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      id="ixv-123600">The total return for the six-month period ended</rr:YearToDateReturnLabel>
    <rr:BarChartYearToDateReturnDate
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      id="ixv-123601">2024-06-30</rr:BarChartYearToDateReturnDate>
    <rr:BarChartYearToDateReturn
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123602"
      unitRef="pure">0.0042</rr:BarChartYearToDateReturn>
    <rr:HighestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      id="ixv-123603">highest quarterly return</rr:HighestQuarterlyReturnLabel>
    <rr:BarChartHighestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123604"
      unitRef="pure">0.0829</rr:BarChartHighestQuarterlyReturn>
    <rr:BarChartHighestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      id="ixv-123605">2023-12-31</rr:BarChartHighestQuarterlyReturnDate>
    <rr:LowestQuarterlyReturnLabel
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      id="ixv-123606">lowest quarterly return</rr:LowestQuarterlyReturnLabel>
    <rr:BarChartLowestQuarterlyReturn
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123607"
      unitRef="pure">-0.0503</rr:BarChartLowestQuarterlyReturn>
    <rr:BarChartLowestQuarterlyReturnDate
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      id="ixv-123608">2022-03-31</rr:BarChartLowestQuarterlyReturnDate>
    <rr:PerformanceTableHeading
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123609">Performance Table.  </rr:PerformanceTableHeading>
    <rr:AverageAnnualReturnCaption
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123610">Average Annual
Total Returns (For the Periods Ended December
31, 2023)</rr:AverageAnnualReturnCaption>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      id="ixv-123611">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      id="ixv-123612">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      id="ixv-123613">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      id="ixv-123614">Returns Before Taxes</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123615"
      unitRef="pure">0.0122</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123616"
      unitRef="pure">0.0050</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123617"
      unitRef="pure">0.0198</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123618"
      unitRef="pure">0.0633</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123619"
      unitRef="pure">0.0186</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123620"
      unitRef="pure">0.0284</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123621"
      unitRef="pure">0.0641</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123622"
      unitRef="pure">0.0193</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123623"
      unitRef="pure">0.0288</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123624"
      unitRef="pure">0.0150</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123625"
      unitRef="pure">0.0075</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123626"
      unitRef="pure">0.0214</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006974Member_S000002528Member_S000002528Summary16Member"
      id="ixv-123627">Returns After
Taxes on Distributions</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123628"
      unitRef="pure">0.0150</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123629"
      unitRef="pure">0.0073</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsMember_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123630"
      unitRef="pure">0.0212</rr:AverageAnnualReturnYear10>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006974Member_S000002528Member_S000002528Summary16Member"
      id="ixv-123631">Returns After Taxes on Distributions and Sale of Fund Shares</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123632"
      unitRef="pure">0.0206</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123633"
      unitRef="pure">0.0118</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_AfterTaxesOnDistributionsAndSalesMember_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123634"
      unitRef="pure">0.0231</rr:AverageAnnualReturnYear10>
    <rr:IndexNoDeductionForFeesExpensesTaxes
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex17_S000002528Member_S000002528Summary16Member"
      id="ixv-123635">Reflects no deduction for fees, expenses, or taxes</rr:IndexNoDeductionForFeesExpensesTaxes>
    <rr:AverageAnnualReturnLabel
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex17_S000002528Member_S000002528Summary16Member"
      id="ixv-123636">Bloomberg Municipal Bond Index</rr:AverageAnnualReturnLabel>
    <rr:AverageAnnualReturnYear01
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex17_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123637"
      unitRef="pure">0.0640</rr:AverageAnnualReturnYear01>
    <rr:AverageAnnualReturnYear05
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex17_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123638"
      unitRef="pure">0.0225</rr:AverageAnnualReturnYear05>
    <rr:AverageAnnualReturnYear10
      contextRef="Context_20240331_20240331_BloombergMunicipalBondIndex17_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-123639"
      unitRef="pure">0.0303</rr:AverageAnnualReturnYear10>
    <rr:PerformanceTableClosingTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-100132">&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;Aft&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;er-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes. Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts. The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.&lt;/span&gt;&lt;/p&gt;</rr:PerformanceTableClosingTextBlock>
    <rr:PerformanceTableUsesHighestFederalRate
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123640">After-tax
returns are calculated using the historical highest individual federal marginal income tax rates and
do not reflect the impact of state and local taxes.</rr:PerformanceTableUsesHighestFederalRate>
    <rr:PerformanceTableNotRelevantToTaxDeferred
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123642">Your actual after-tax returns will depend on your
own tax situation, and may differ from those shown. The after-tax returns shown are not relevant to investors
who hold their shares through tax-advantaged arrangements, such as 401(k) plans or individual retirement
accounts.</rr:PerformanceTableNotRelevantToTaxDeferred>
    <rr:PerformanceTableOneClassOfAfterTaxShown
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123643">The after-tax returns are shown for only one of the fund&#x2019;s classes of shares, and after-tax
returns for the fund&#x2019;s other classes of shares will vary from the returns shown.</rr:PerformanceTableOneClassOfAfterTaxShown>
    <dei:DocumentType contextRef="Context_20240331_20240331" id="ixv-123646">485BPOS</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Context_20240331_20240331" id="ixv-123647">2024-03-31</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="Context_20240331_20240331" id="ixv-123648">0000751656</dei:EntityCentralIndexKey>
    <dei:DocumentCreationDate contextRef="Context_20240331_20240331" id="ixv-123649">2024-07-26</dei:DocumentCreationDate>
    <dei:AmendmentFlag contextRef="Context_20240331_20240331" id="ixv-123650">false</dei:AmendmentFlag>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-123651">~ http://www.MFS.com/20240331/role/RRSchedule4 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-123652">~ http://www.MFS.com/20240331/role/RRSchedule5 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-123653">~ http://www.MFS.com/20240331/role/RRSchedule6 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-123654">~ http://www.MFS.com/20240331/role/RRSchedule7 ~</rr:ExpenseExampleNoRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-123655">~ http://www.MFS.com/20240331/role/RRBarChart8 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-123656">~ http://www.MFS.com/20240331/role/RRSchedule9 ~</rr:PerformanceTableTextBlock>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-123657">~ http://www.MFS.com/20240331/role/RRSchedule13 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-123658">~ http://www.MFS.com/20240331/role/RRSchedule14 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-123659">~ http://www.MFS.com/20240331/role/RRSchedule15 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-123660">~ http://www.MFS.com/20240331/role/RRSchedule16 ~</rr:ExpenseExampleNoRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-123661">~ http://www.MFS.com/20240331/role/RRBarChart17 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-123662">~ http://www.MFS.com/20240331/role/RRSchedule18 ~</rr:PerformanceTableTextBlock>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-123663">~ http://www.MFS.com/20240331/role/RRSchedule22 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-123664">~ http://www.MFS.com/20240331/role/RRSchedule23 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-123665">~ http://www.MFS.com/20240331/role/RRSchedule24 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-123666">~ http://www.MFS.com/20240331/role/RRSchedule25 ~</rr:ExpenseExampleNoRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-123667">~ http://www.MFS.com/20240331/role/RRBarChart26 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-123668">~ http://www.MFS.com/20240331/role/RRSchedule27 ~</rr:PerformanceTableTextBlock>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-123669">~ http://www.MFS.com/20240331/role/RRSchedule31 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-123670">~ http://www.MFS.com/20240331/role/RRSchedule32 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-123671">~ http://www.MFS.com/20240331/role/RRSchedule33 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-123672">~ http://www.MFS.com/20240331/role/RRSchedule34 ~</rr:ExpenseExampleNoRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-123673">~ http://www.MFS.com/20240331/role/RRBarChart35 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-123674">~ http://www.MFS.com/20240331/role/RRSchedule36 ~</rr:PerformanceTableTextBlock>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-123675">~ http://www.MFS.com/20240331/role/RRSchedule40 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-123676">~ http://www.MFS.com/20240331/role/RRSchedule41 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-123677">~ http://www.MFS.com/20240331/role/RRSchedule42 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-123678">~ http://www.MFS.com/20240331/role/RRSchedule43 ~</rr:ExpenseExampleNoRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-123679">~ http://www.MFS.com/20240331/role/RRBarChart44 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-123680">~ http://www.MFS.com/20240331/role/RRSchedule45 ~</rr:PerformanceTableTextBlock>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-123681">~ http://www.MFS.com/20240331/role/RRSchedule49 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-123682">~ http://www.MFS.com/20240331/role/RRSchedule50 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-123683">~ http://www.MFS.com/20240331/role/RRSchedule51 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-123684">~ http://www.MFS.com/20240331/role/RRSchedule52 ~</rr:ExpenseExampleNoRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-123685">~ http://www.MFS.com/20240331/role/RRBarChart53 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-123686">~ http://www.MFS.com/20240331/role/RRSchedule54 ~</rr:PerformanceTableTextBlock>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-123687">~ http://www.MFS.com/20240331/role/RRSchedule58 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-123688">~ http://www.MFS.com/20240331/role/RRSchedule59 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-123689">~ http://www.MFS.com/20240331/role/RRSchedule60 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-123690">~ http://www.MFS.com/20240331/role/RRSchedule61 ~</rr:ExpenseExampleNoRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-123691">~ http://www.MFS.com/20240331/role/RRBarChart62 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-123692">~ http://www.MFS.com/20240331/role/RRSchedule63 ~</rr:PerformanceTableTextBlock>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-123693">~ http://www.MFS.com/20240331/role/RRSchedule67 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-123694">~ http://www.MFS.com/20240331/role/RRSchedule68 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-123695">~ http://www.MFS.com/20240331/role/RRSchedule69 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-123696">~ http://www.MFS.com/20240331/role/RRSchedule70 ~</rr:ExpenseExampleNoRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-123697">~ http://www.MFS.com/20240331/role/RRBarChart71 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-123698">~ http://www.MFS.com/20240331/role/RRSchedule72 ~</rr:PerformanceTableTextBlock>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-123699">~ http://www.MFS.com/20240331/role/RRSchedule76 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-123700">~ http://www.MFS.com/20240331/role/RRSchedule77 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-123701">~ http://www.MFS.com/20240331/role/RRSchedule78 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-123702">~ http://www.MFS.com/20240331/role/RRSchedule79 ~</rr:ExpenseExampleNoRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-123703">~ http://www.MFS.com/20240331/role/RRBarChart80 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-123704">~ http://www.MFS.com/20240331/role/RRSchedule81 ~</rr:PerformanceTableTextBlock>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-123705">~ http://www.MFS.com/20240331/role/RRSchedule85 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-123706">~ http://www.MFS.com/20240331/role/RRSchedule86 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-123707">~ http://www.MFS.com/20240331/role/RRSchedule87 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-123708">~ http://www.MFS.com/20240331/role/RRSchedule88 ~</rr:ExpenseExampleNoRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-123709">~ http://www.MFS.com/20240331/role/RRBarChart89 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-123710">~ http://www.MFS.com/20240331/role/RRSchedule90 ~</rr:PerformanceTableTextBlock>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-123711">~ http://www.MFS.com/20240331/role/RRSchedule94 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-123712">~ http://www.MFS.com/20240331/role/RRSchedule95 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-123713">~ http://www.MFS.com/20240331/role/RRSchedule96 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-123714">~ http://www.MFS.com/20240331/role/RRSchedule97 ~</rr:ExpenseExampleNoRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-123715">~ http://www.MFS.com/20240331/role/RRBarChart98 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-123716">~ http://www.MFS.com/20240331/role/RRSchedule99 ~</rr:PerformanceTableTextBlock>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123717">~ http://www.MFS.com/20240331/role/RRSchedule103 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123718">~ http://www.MFS.com/20240331/role/RRSchedule104 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123719">~ http://www.MFS.com/20240331/role/RRSchedule105 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123720">~ http://www.MFS.com/20240331/role/RRSchedule106 ~</rr:ExpenseExampleNoRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123721">~ http://www.MFS.com/20240331/role/RRBarChart107 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-123722">~ http://www.MFS.com/20240331/role/RRSchedule108 ~</rr:PerformanceTableTextBlock>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123723">~ http://www.MFS.com/20240331/role/RRSchedule112 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123724">~ http://www.MFS.com/20240331/role/RRSchedule113 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123725">~ http://www.MFS.com/20240331/role/RRSchedule114 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123726">~ http://www.MFS.com/20240331/role/RRSchedule115 ~</rr:ExpenseExampleNoRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123727">~ http://www.MFS.com/20240331/role/RRBarChart116 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-123728">~ http://www.MFS.com/20240331/role/RRSchedule117 ~</rr:PerformanceTableTextBlock>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123729">~ http://www.MFS.com/20240331/role/RRSchedule121 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123730">~ http://www.MFS.com/20240331/role/RRSchedule122 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123731">~ http://www.MFS.com/20240331/role/RRSchedule123 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123732">~ http://www.MFS.com/20240331/role/RRSchedule124 ~</rr:ExpenseExampleNoRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123733">~ http://www.MFS.com/20240331/role/RRBarChart125 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-123734">~ http://www.MFS.com/20240331/role/RRSchedule126 ~</rr:PerformanceTableTextBlock>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123735">~ http://www.MFS.com/20240331/role/RRSchedule130 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123736">~ http://www.MFS.com/20240331/role/RRSchedule131 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123737">~ http://www.MFS.com/20240331/role/RRSchedule132 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123738">~ http://www.MFS.com/20240331/role/RRSchedule133 ~</rr:ExpenseExampleNoRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123739">~ http://www.MFS.com/20240331/role/RRBarChart134 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-123740">~ http://www.MFS.com/20240331/role/RRSchedule135 ~</rr:PerformanceTableTextBlock>
    <rr:ShareholderFeesTableTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123741">~ http://www.MFS.com/20240331/role/RRSchedule139 ~</rr:ShareholderFeesTableTextBlock>
    <rr:AnnualFundOperatingExpensesTableTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123742">~ http://www.MFS.com/20240331/role/RRSchedule140 ~</rr:AnnualFundOperatingExpensesTableTextBlock>
    <rr:ExpenseExampleWithRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123743">~ http://www.MFS.com/20240331/role/RRSchedule141 ~</rr:ExpenseExampleWithRedemptionTableTextBlock>
    <rr:ExpenseExampleNoRedemptionTableTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123744">~ http://www.MFS.com/20240331/role/RRSchedule142 ~</rr:ExpenseExampleNoRedemptionTableTextBlock>
    <rr:BarChartTableTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123745">~ http://www.MFS.com/20240331/role/RRBarChart143 ~</rr:BarChartTableTextBlock>
    <rr:PerformanceTableTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-123746">~ http://www.MFS.com/20240331/role/RRSchedule144 ~</rr:PerformanceTableTextBlock>
    <rr:AnnualReturn2014
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-127566"
      unitRef="pure">0.0994</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-127567"
      unitRef="pure">0.0306</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-127568"
      unitRef="pure">0.0024</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-127569"
      unitRef="pure">0.0447</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-127570"
      unitRef="pure">0.0103</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-127571"
      unitRef="pure">0.0702</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-127572"
      unitRef="pure">0.0404</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-127573"
      unitRef="pure">0.0186</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-127574"
      unitRef="pure">-0.1077</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      decimals="INF"
      id="ixv-127575"
      unitRef="pure">0.0642</rr:AnnualReturn2023>
    <rr:AnnualReturn2014
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-127576"
      unitRef="pure">0.0947</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-127577"
      unitRef="pure">0.0305</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-127578"
      unitRef="pure">0</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-127579"
      unitRef="pure">0.0409</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-127580"
      unitRef="pure">0.0123</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-127581"
      unitRef="pure">0.0619</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-127582"
      unitRef="pure">0.0424</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-127583"
      unitRef="pure">0.0238</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-127584"
      unitRef="pure">-0.0928</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      decimals="INF"
      id="ixv-127585"
      unitRef="pure">0.0585</rr:AnnualReturn2023>
    <rr:AnnualReturn2014
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-127586"
      unitRef="pure">0.1211</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-127587"
      unitRef="pure">0.0456</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-127588"
      unitRef="pure">0.0095</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-127589"
      unitRef="pure">0.0614</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-127590"
      unitRef="pure">0.0094</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-127591"
      unitRef="pure">0.0833</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-127592"
      unitRef="pure">0.04</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-127593"
      unitRef="pure">0.0293</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-127594"
      unitRef="pure">-0.1163</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      decimals="INF"
      id="ixv-127595"
      unitRef="pure">0.0697</rr:AnnualReturn2023>
    <rr:AnnualReturn2014
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-127596"
      unitRef="pure">0.1024</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-127597"
      unitRef="pure">0.0272</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-127598"
      unitRef="pure">0.0027</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-127599"
      unitRef="pure">0.0432</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-127600"
      unitRef="pure">0.0077</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-127601"
      unitRef="pure">0.0694</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-127602"
      unitRef="pure">0.0349</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-127603"
      unitRef="pure">0.0201</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-127604"
      unitRef="pure">-0.1025</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      decimals="INF"
      id="ixv-127605"
      unitRef="pure">0.0641</rr:AnnualReturn2023>
    <rr:AnnualReturn2014
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-127606"
      unitRef="pure">0.0904</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-127607"
      unitRef="pure">0.0281</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-127608"
      unitRef="pure">0.0063</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-127609"
      unitRef="pure">0.0439</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-127610"
      unitRef="pure">0.0128</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-127611"
      unitRef="pure">0.064</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-127612"
      unitRef="pure">0.0397</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-127613"
      unitRef="pure">0.0255</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-127614"
      unitRef="pure">-0.0994</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      decimals="INF"
      id="ixv-127615"
      unitRef="pure">0.0653</rr:AnnualReturn2023>
    <rr:AnnualReturn2014
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-127616"
      unitRef="pure">0.1068</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-127617"
      unitRef="pure">0.0311</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-127618"
      unitRef="pure">0.0038</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-127619"
      unitRef="pure">0.0485</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-127620"
      unitRef="pure">0.0076</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-127621"
      unitRef="pure">0.0731</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-127622"
      unitRef="pure">0.0368</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-127623"
      unitRef="pure">0.0202</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-127624"
      unitRef="pure">-0.1026</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      decimals="INF"
      id="ixv-127625"
      unitRef="pure">0.0614</rr:AnnualReturn2023>
    <rr:AnnualReturn2014
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-127626"
      unitRef="pure">0.0941</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-127627"
      unitRef="pure">0.0322</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-127628"
      unitRef="pure">-0.0003</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-127629"
      unitRef="pure">0.0406</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-127630"
      unitRef="pure">0.0103</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-127631"
      unitRef="pure">0.0656</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-127632"
      unitRef="pure">0.0423</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-127633"
      unitRef="pure">0.0195</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-127634"
      unitRef="pure">-0.0982</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      decimals="INF"
      id="ixv-127635"
      unitRef="pure">0.0492</rr:AnnualReturn2023>
    <rr:AnnualReturn2014
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-127636"
      unitRef="pure">0.1085</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-127637"
      unitRef="pure">0.0333</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-127638"
      unitRef="pure">0.0099</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-127639"
      unitRef="pure">0.0589</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-127640"
      unitRef="pure">0.01</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-127641"
      unitRef="pure">0.0814</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-127642"
      unitRef="pure">0.0405</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-127643"
      unitRef="pure">0.03</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-127644"
      unitRef="pure">-0.1108</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      decimals="INF"
      id="ixv-127645"
      unitRef="pure">0.0672</rr:AnnualReturn2023>
    <rr:AnnualReturn2014
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-127646"
      unitRef="pure">0.1112</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-127647"
      unitRef="pure">0.037</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-127648"
      unitRef="pure">0.0125</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-127649"
      unitRef="pure">0.0603</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-127650"
      unitRef="pure">0.0137</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-127651"
      unitRef="pure">0.0829</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-127652"
      unitRef="pure">0.0443</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-127653"
      unitRef="pure">0.0326</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-127654"
      unitRef="pure">-0.1084</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      decimals="INF"
      id="ixv-127655"
      unitRef="pure">0.0699</rr:AnnualReturn2023>
    <rr:AnnualReturn2022
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-127656"
      unitRef="pure">-0.0741</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      decimals="INF"
      id="ixv-127657"
      unitRef="pure">0.0585</rr:AnnualReturn2023>
    <rr:AnnualReturn2014
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-127658"
      unitRef="pure">0.1105</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-127659"
      unitRef="pure">0.0361</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-127660"
      unitRef="pure">0.0035</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-127661"
      unitRef="pure">0.0556</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-127662"
      unitRef="pure">0.0058</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-127663"
      unitRef="pure">0.0772</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-127664"
      unitRef="pure">0.038</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-127665"
      unitRef="pure">0.0296</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-127666"
      unitRef="pure">-0.1233</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      decimals="INF"
      id="ixv-127667"
      unitRef="pure">0.0733</rr:AnnualReturn2023>
    <rr:AnnualReturn2014
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-127668"
      unitRef="pure">0.0957</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-127669"
      unitRef="pure">0.0305</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-127670"
      unitRef="pure">0.0021</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-127671"
      unitRef="pure">0.0435</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-127672"
      unitRef="pure">0.0069</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-127673"
      unitRef="pure">0.0684</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-127674"
      unitRef="pure">0.038</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-127675"
      unitRef="pure">0.0216</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-127676"
      unitRef="pure">-0.0974</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      decimals="INF"
      id="ixv-127677"
      unitRef="pure">0.0588</rr:AnnualReturn2023>
    <rr:AnnualReturn2014
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-127678"
      unitRef="pure">0.1075</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-127679"
      unitRef="pure">0.0361</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-127680"
      unitRef="pure">0.0109</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-127681"
      unitRef="pure">0.0515</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-127682"
      unitRef="pure">0.0143</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-127683"
      unitRef="pure">0.074</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-127684"
      unitRef="pure">0.0454</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-127685"
      unitRef="pure">0.0264</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-127686"
      unitRef="pure">-0.1021</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      decimals="INF"
      id="ixv-127687"
      unitRef="pure">0.0549</rr:AnnualReturn2023>
    <rr:AnnualReturn2014
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-127688"
      unitRef="pure">0.0978</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-127689"
      unitRef="pure">0.0315</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-127690"
      unitRef="pure">-0.0011</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-127691"
      unitRef="pure">0.0433</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-127692"
      unitRef="pure">0.0102</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-127693"
      unitRef="pure">0.0652</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-127694"
      unitRef="pure">0.0404</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-127695"
      unitRef="pure">0.0177</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-127696"
      unitRef="pure">-0.1065</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      decimals="INF"
      id="ixv-127697"
      unitRef="pure">0.0614</rr:AnnualReturn2023>
    <rr:AnnualReturn2014
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-127698"
      unitRef="pure">0.0956</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-127699"
      unitRef="pure">0.033</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-127700"
      unitRef="pure">0.0049</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-127701"
      unitRef="pure">0.0401</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-127702"
      unitRef="pure">0.0123</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-127703"
      unitRef="pure">0.0683</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-127704"
      unitRef="pure">0.0439</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-127705"
      unitRef="pure">0.0182</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-127706"
      unitRef="pure">-0.0988</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      decimals="INF"
      id="ixv-127707"
      unitRef="pure">0.0588</rr:AnnualReturn2023>
    <rr:AnnualReturn2014
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-127708"
      unitRef="pure">0.0991</rr:AnnualReturn2014>
    <rr:AnnualReturn2015
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-127709"
      unitRef="pure">0.0285</rr:AnnualReturn2015>
    <rr:AnnualReturn2016
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-127710"
      unitRef="pure">0.0027</rr:AnnualReturn2016>
    <rr:AnnualReturn2017
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-127711"
      unitRef="pure">0.0398</rr:AnnualReturn2017>
    <rr:AnnualReturn2018
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-127712"
      unitRef="pure">0.0101</rr:AnnualReturn2018>
    <rr:AnnualReturn2019
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-127713"
      unitRef="pure">0.0625</rr:AnnualReturn2019>
    <rr:AnnualReturn2020
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-127714"
      unitRef="pure">0.0406</rr:AnnualReturn2020>
    <rr:AnnualReturn2021
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-127715"
      unitRef="pure">0.0204</rr:AnnualReturn2021>
    <rr:AnnualReturn2022
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-127716"
      unitRef="pure">-0.0936</rr:AnnualReturn2022>
    <rr:AnnualReturn2023
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      decimals="INF"
      id="ixv-127717"
      unitRef="pure">0.0601</rr:AnnualReturn2023>
    <rr:ExpensesDeferredChargesTextBlock
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      id="ixv-127782">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</rr:ExpensesDeferredChargesTextBlock>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006957Member_S000002521Member_S000002521Summary1Member"
      id="ixv-127783">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006958Member_S000002521Member_S000002521Summary1Member"
      id="ixv-127784">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000169758Member_S000002521Member_S000002521Summary1Member"
      id="ixv-127785">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000194226Member_S000002521Member_S000002521Summary1Member"
      id="ixv-127786">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:ExpensesDeferredChargesTextBlock
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      id="ixv-127787">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</rr:ExpensesDeferredChargesTextBlock>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006976Member_S000002529Member_S000002529Summary2Member"
      id="ixv-127788">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006977Member_S000002529Member_S000002529Summary2Member"
      id="ixv-127789">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000169766Member_S000002529Member_S000002529Summary2Member"
      id="ixv-127790">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000194242Member_S000002529Member_S000002529Summary2Member"
      id="ixv-127791">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:ExpensesDeferredChargesTextBlock
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      id="ixv-127792">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</rr:ExpensesDeferredChargesTextBlock>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006978Member_S000002530Member_S000002530Summary3Member"
      id="ixv-127793">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006979Member_S000002530Member_S000002530Summary3Member"
      id="ixv-127794">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006980Member_S000002530Member_S000002530Summary3Member"
      id="ixv-127795">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000169767Member_S000002530Member_S000002530Summary3Member"
      id="ixv-127796">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000194244Member_S000002530Member_S000002530Summary3Member"
      id="ixv-127797">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:ExpensesDeferredChargesTextBlock
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      id="ixv-127798">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</rr:ExpensesDeferredChargesTextBlock>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006983Member_S000002532Member_S000002532Summary4Member"
      id="ixv-127799">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006984Member_S000002532Member_S000002532Summary4Member"
      id="ixv-127800">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000169768Member_S000002532Member_S000002532Summary4Member"
      id="ixv-127801">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000194246Member_S000002532Member_S000002532Summary4Member"
      id="ixv-127802">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:ExpensesDeferredChargesTextBlock
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      id="ixv-127803">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</rr:ExpensesDeferredChargesTextBlock>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006985Member_S000002533Member_S000002533Summary5Member"
      id="ixv-127804">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006986Member_S000002533Member_S000002533Summary5Member"
      id="ixv-127805">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000169769Member_S000002533Member_S000002533Summary5Member"
      id="ixv-127806">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000194249Member_S000002533Member_S000002533Summary5Member"
      id="ixv-127807">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:ExpensesDeferredChargesTextBlock
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      id="ixv-127808">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</rr:ExpensesDeferredChargesTextBlock>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006987Member_S000002534Member_S000002534Summary6Member"
      id="ixv-127809">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006988Member_S000002534Member_S000002534Summary6Member"
      id="ixv-127810">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000169770Member_S000002534Member_S000002534Summary6Member"
      id="ixv-127811">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000194250Member_S000002534Member_S000002534Summary6Member"
      id="ixv-127812">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:ExpensesDeferredChargesTextBlock
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      id="ixv-127813">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</rr:ExpensesDeferredChargesTextBlock>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006989Member_S000002535Member_S000002535Summary7Member"
      id="ixv-127814">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006990Member_S000002535Member_S000002535Summary7Member"
      id="ixv-127815">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000169771Member_S000002535Member_S000002535Summary7Member"
      id="ixv-127816">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000194252Member_S000002535Member_S000002535Summary7Member"
      id="ixv-127817">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:ExpensesDeferredChargesTextBlock
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      id="ixv-127818">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</rr:ExpensesDeferredChargesTextBlock>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006991Member_S000002536Member_S000002536Summary8Member"
      id="ixv-127819">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006992Member_S000002536Member_S000002536Summary8Member"
      id="ixv-127820">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006993Member_S000002536Member_S000002536Summary8Member"
      id="ixv-127821">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000105400Member_S000002536Member_S000002536Summary8Member"
      id="ixv-127822">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000194254Member_S000002536Member_S000002536Summary8Member"
      id="ixv-127823">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:ExpensesDeferredChargesTextBlock
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      id="ixv-127824">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</rr:ExpensesDeferredChargesTextBlock>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000042676Member_S000002536Member_S000002536Summary9Member"
      id="ixv-127825">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000042677Member_S000002536Member_S000002536Summary9Member"
      id="ixv-127826">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:ExpensesDeferredChargesTextBlock
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      id="ixv-127827">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</rr:ExpensesDeferredChargesTextBlock>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000227170Member_S000071695Member_S000071695Summary10Member"
      id="ixv-127828">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000227169Member_S000071695Member_S000071695Summary10Member"
      id="ixv-127829">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000227171Member_S000071695Member_S000071695Summary10Member"
      id="ixv-127830">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000227172Member_S000071695Member_S000071695Summary10Member"
      id="ixv-127831">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:ExpensesDeferredChargesTextBlock
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      id="ixv-127832">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</rr:ExpensesDeferredChargesTextBlock>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006959Member_S000002522Member_S000002522Summary11Member"
      id="ixv-127833">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006960Member_S000002522Member_S000002522Summary11Member"
      id="ixv-127834">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006961Member_S000002522Member_S000002522Summary11Member"
      id="ixv-127835">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000169759Member_S000002522Member_S000002522Summary11Member"
      id="ixv-127836">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000194228Member_S000002522Member_S000002522Summary11Member"
      id="ixv-127837">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:ExpensesDeferredChargesTextBlock
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      id="ixv-127838">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</rr:ExpensesDeferredChargesTextBlock>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006962Member_S000002523Member_S000002523Summary12Member"
      id="ixv-127839">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006963Member_S000002523Member_S000002523Summary12Member"
      id="ixv-127840">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006964Member_S000002523Member_S000002523Summary12Member"
      id="ixv-127841">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000169760Member_S000002523Member_S000002523Summary12Member"
      id="ixv-127842">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000194230Member_S000002523Member_S000002523Summary12Member"
      id="ixv-127843">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:ExpensesDeferredChargesTextBlock
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      id="ixv-127844">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</rr:ExpensesDeferredChargesTextBlock>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006965Member_S000002524Member_S000002524Summary13Member"
      id="ixv-127845">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006966Member_S000002524Member_S000002524Summary13Member"
      id="ixv-127846">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000169761Member_S000002524Member_S000002524Summary13Member"
      id="ixv-127847">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000194232Member_S000002524Member_S000002524Summary13Member"
      id="ixv-127848">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:ExpensesDeferredChargesTextBlock
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      id="ixv-127849">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</rr:ExpensesDeferredChargesTextBlock>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006967Member_S000002525Member_S000002525Summary14Member"
      id="ixv-127850">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006968Member_S000002525Member_S000002525Summary14Member"
      id="ixv-127851">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000169762Member_S000002525Member_S000002525Summary14Member"
      id="ixv-127852">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000194234Member_S000002525Member_S000002525Summary14Member"
      id="ixv-127853">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:ExpensesDeferredChargesTextBlock
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      id="ixv-127854">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</rr:ExpensesDeferredChargesTextBlock>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006971Member_S000002527Member_S000002527Summary15Member"
      id="ixv-127855">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006972Member_S000002527Member_S000002527Summary15Member"
      id="ixv-127856">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006973Member_S000002527Member_S000002527Summary15Member"
      id="ixv-127857">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000169764Member_S000002527Member_S000002527Summary15Member"
      id="ixv-127858">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000194238Member_S000002527Member_S000002527Summary15Member"
      id="ixv-127859">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:ExpensesDeferredChargesTextBlock
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      id="ixv-127860">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</rr:ExpensesDeferredChargesTextBlock>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006974Member_S000002528Member_S000002528Summary16Member"
      id="ixv-127861">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000006975Member_S000002528Member_S000002528Summary16Member"
      id="ixv-127862">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000169765Member_S000002528Member_S000002528Summary16Member"
      id="ixv-127863">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="Context_20240331_20240331_C000194240Member_S000002528Member_S000002528Summary16Member"
      id="ixv-127864">July 31, 2025</rr:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <cik0000751656:CustomRisksTableTextBlock
      contextRef="Context_20240331_20240331_S000002521Member_S000002521Summary1Member"
      id="ixv-127865">~ http://www.MFS.com/20240331/role/RRSchedule10 ~</cik0000751656:CustomRisksTableTextBlock>
    <cik0000751656:CustomRisksTableTextBlock
      contextRef="Context_20240331_20240331_S000002529Member_S000002529Summary2Member"
      id="ixv-127866">~ http://www.MFS.com/20240331/role/RRSchedule19 ~</cik0000751656:CustomRisksTableTextBlock>
    <cik0000751656:CustomRisksTableTextBlock
      contextRef="Context_20240331_20240331_S000002530Member_S000002530Summary3Member"
      id="ixv-127867">~ http://www.MFS.com/20240331/role/RRSchedule28 ~</cik0000751656:CustomRisksTableTextBlock>
    <cik0000751656:CustomRisksTableTextBlock
      contextRef="Context_20240331_20240331_S000002532Member_S000002532Summary4Member"
      id="ixv-127868">~ http://www.MFS.com/20240331/role/RRSchedule37 ~</cik0000751656:CustomRisksTableTextBlock>
    <cik0000751656:CustomRisksTableTextBlock
      contextRef="Context_20240331_20240331_S000002533Member_S000002533Summary5Member"
      id="ixv-127869">~ http://www.MFS.com/20240331/role/RRSchedule46 ~</cik0000751656:CustomRisksTableTextBlock>
    <cik0000751656:CustomRisksTableTextBlock
      contextRef="Context_20240331_20240331_S000002534Member_S000002534Summary6Member"
      id="ixv-127870">~ http://www.MFS.com/20240331/role/RRSchedule55 ~</cik0000751656:CustomRisksTableTextBlock>
    <cik0000751656:CustomRisksTableTextBlock
      contextRef="Context_20240331_20240331_S000002535Member_S000002535Summary7Member"
      id="ixv-127871">~ http://www.MFS.com/20240331/role/RRSchedule64 ~</cik0000751656:CustomRisksTableTextBlock>
    <cik0000751656:CustomRisksTableTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary8Member"
      id="ixv-127872">~ http://www.MFS.com/20240331/role/RRSchedule73 ~</cik0000751656:CustomRisksTableTextBlock>
    <cik0000751656:CustomRisksTableTextBlock
      contextRef="Context_20240331_20240331_S000002536Member_S000002536Summary9Member"
      id="ixv-127873">~ http://www.MFS.com/20240331/role/RRSchedule82 ~</cik0000751656:CustomRisksTableTextBlock>
    <cik0000751656:CustomRisksTableTextBlock
      contextRef="Context_20240331_20240331_S000071695Member_S000071695Summary10Member"
      id="ixv-127874">~ http://www.MFS.com/20240331/role/RRSchedule91 ~</cik0000751656:CustomRisksTableTextBlock>
    <cik0000751656:CustomRisksTableTextBlock
      contextRef="Context_20240331_20240331_S000002522Member_S000002522Summary11Member"
      id="ixv-127875">~ http://www.MFS.com/20240331/role/RRSchedule100 ~</cik0000751656:CustomRisksTableTextBlock>
    <cik0000751656:CustomRisksTableTextBlock
      contextRef="Context_20240331_20240331_S000002523Member_S000002523Summary12Member"
      id="ixv-127876">~ http://www.MFS.com/20240331/role/RRSchedule109 ~</cik0000751656:CustomRisksTableTextBlock>
    <cik0000751656:CustomRisksTableTextBlock
      contextRef="Context_20240331_20240331_S000002524Member_S000002524Summary13Member"
      id="ixv-127877">~ http://www.MFS.com/20240331/role/RRSchedule118 ~</cik0000751656:CustomRisksTableTextBlock>
    <cik0000751656:CustomRisksTableTextBlock
      contextRef="Context_20240331_20240331_S000002525Member_S000002525Summary14Member"
      id="ixv-127878">~ http://www.MFS.com/20240331/role/RRSchedule127 ~</cik0000751656:CustomRisksTableTextBlock>
    <cik0000751656:CustomRisksTableTextBlock
      contextRef="Context_20240331_20240331_S000002527Member_S000002527Summary15Member"
      id="ixv-127879">~ http://www.MFS.com/20240331/role/RRSchedule136 ~</cik0000751656:CustomRisksTableTextBlock>
    <cik0000751656:CustomRisksTableTextBlock
      contextRef="Context_20240331_20240331_S000002528Member_S000002528Summary16Member"
      id="ixv-127880">~ http://www.MFS.com/20240331/role/RRSchedule145 ~</cik0000751656:CustomRisksTableTextBlock>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc xlink:href="#_28_" xlink:label="_28_" 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;">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_28_"
          xlink:to="fn1_"
          xlink:type="arc"/>
        <link:loc xlink:href="#_51_" xlink:label="_51_" xlink:type="locator"/>
        <link:loc xlink:href="#_49_" xlink:label="_49_" xlink:type="locator"/>
        <link:loc xlink:href="#_48_" xlink:label="_48_" xlink:type="locator"/>
        <link:loc xlink:href="#_50_" xlink:label="_50_" 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 July 31, 2025. MFS has agreed in writing to bear the fund'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 "Total Annual
Fund Operating Expenses" do not exceed 0.90% of the class' average daily net assets annually for Class
A shares, 1.65% of the class' average daily net assets annually for Class B shares, 0.65% of the class'
average daily net assets annually for Class I shares, and 0.59% of the class' average daily net assets
annually for Class R6 shares. This written agreement will continue until modified by the fund's Board
of Trustees, but such agreement will continue until at least July 31, 2025.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_51_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_49_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_48_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_50_"
          xlink:to="fn2_"
          xlink:type="arc"/>
        <link:loc xlink:href="#_64_" xlink:label="_64_" xlink:type="locator"/>
        <link:loc xlink:href="#_66_" xlink:label="_66_" xlink:type="locator"/>
        <link:loc xlink:href="#_67_" xlink:label="_67_" xlink:type="locator"/>
        <link:loc xlink:href="#_68_" xlink:label="_68_" xlink:type="locator"/>
        <link:loc xlink:href="#_69_" xlink:label="_69_" xlink:type="locator"/>
        <link:loc xlink:href="#_63_" xlink:label="_63_" xlink:type="locator"/>
        <link:loc xlink:href="#_70_" xlink:label="_70_" xlink:type="locator"/>
        <link:loc xlink:href="#_65_" xlink:label="_65_" 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;">Shares automatically convert to Class A shares approximately eight years after
purchase; therefore, the expense examples reflect Class A share expenses after eight years.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_64_"
          xlink:to="fn3_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_66_"
          xlink:to="fn3_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_67_"
          xlink:to="fn3_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_68_"
          xlink:to="fn3_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_69_"
          xlink:to="fn3_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_63_"
          xlink:to="fn3_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_70_"
          xlink:to="fn3_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_65_"
          xlink:to="fn3_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_194_"
          xlink:label="_194_"
          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;">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_194_"
          xlink:to="fn4_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_216_"
          xlink:label="_216_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_217_"
          xlink:label="_217_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_215_"
          xlink:label="_215_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_214_"
          xlink:label="_214_"
          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 July 31, 2025. MFS Fund Distributors, Inc. (MFD), has agreed in writing to waive the Class A
and Class B service fee to 0.10% of each class' average daily net assets annually until modified by the
fund&#x2019;s Board of Trustees, but such agreement will continue until at least July 31, 2025. MFS has agreed
in writing to bear the fund'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 "Total Annual Fund Operating Expenses"
do not exceed 0.70% of the class' average daily net assets annually for Class A shares, 1.45% of the
class' average daily net assets annually for Class B shares, 0.60% of the class' average daily net assets
annually for Class I shares, and 0.53% of the class' average daily net assets annually for Class R6 shares.
This written agreement will continue until modified by the fund's Board of Trustees, but such agreement
will continue until at least July 31, 2025.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_216_"
          xlink:to="fn5_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_217_"
          xlink:to="fn5_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_215_"
          xlink:to="fn5_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_214_"
          xlink:to="fn5_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_229_"
          xlink:label="_229_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_235_"
          xlink:label="_235_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_234_"
          xlink:label="_234_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_236_"
          xlink:label="_236_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_231_"
          xlink:label="_231_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_232_"
          xlink:label="_232_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_230_"
          xlink:label="_230_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_233_"
          xlink:label="_233_"
          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;">Shares automatically convert to Class A shares approximately eight years after
purchase; therefore, the expense examples reflect Class A share expenses after eight years.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_229_"
          xlink:to="fn6_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_235_"
          xlink:to="fn6_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_234_"
          xlink:to="fn6_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_236_"
          xlink:to="fn6_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_231_"
          xlink:to="fn6_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_232_"
          xlink:to="fn6_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_230_"
          xlink:to="fn6_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_233_"
          xlink:to="fn6_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_362_"
          xlink:label="_362_"
          xlink:type="locator"/>
        <link:footnote id="fn7_" xlink:label="fn7_" 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;">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_362_"
          xlink:to="fn7_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_391_"
          xlink:label="_391_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_389_"
          xlink:label="_389_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_390_"
          xlink:label="_390_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_387_"
          xlink:label="_387_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_388_"
          xlink:label="_388_"
          xlink:type="locator"/>
        <link:footnote id="fn8_" xlink:label="fn8_" 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 July 31, 2025. MFS Fund Distributors, Inc. (MFD), has agreed in writing to waive the Class A
and Class B service fee to 0.10% of each class' average daily net assets annually until modified by the
fund&#x2019;s Board of Trustees, but such agreement will continue until at least July 31, 2025.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_391_"
          xlink:to="fn8_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_389_"
          xlink:to="fn8_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_390_"
          xlink:to="fn8_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_387_"
          xlink:to="fn8_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_388_"
          xlink:to="fn8_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_413_"
          xlink:label="_413_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_419_"
          xlink:label="_419_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_410_"
          xlink:label="_410_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_414_"
          xlink:label="_414_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_412_"
          xlink:label="_412_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_418_"
          xlink:label="_418_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_405_"
          xlink:label="_405_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_411_"
          xlink:label="_411_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_416_"
          xlink:label="_416_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_417_"
          xlink:label="_417_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_407_"
          xlink:label="_407_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_406_"
          xlink:label="_406_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_404_"
          xlink:label="_404_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_408_"
          xlink:label="_408_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_415_"
          xlink:label="_415_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_409_"
          xlink:label="_409_"
          xlink:type="locator"/>
        <link:footnote id="fn9_" xlink:label="fn9_" 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;">Shares automatically convert to Class A shares approximately eight years after
purchase; therefore, the expense examples reflect Class A share expenses after eight years.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_413_"
          xlink:to="fn9_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_419_"
          xlink:to="fn9_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_410_"
          xlink:to="fn9_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_414_"
          xlink:to="fn9_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_412_"
          xlink:to="fn9_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_418_"
          xlink:to="fn9_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_405_"
          xlink:to="fn9_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_411_"
          xlink:to="fn9_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_416_"
          xlink:to="fn9_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_417_"
          xlink:to="fn9_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_407_"
          xlink:to="fn9_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_406_"
          xlink:to="fn9_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_404_"
          xlink:to="fn9_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_408_"
          xlink:to="fn9_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_415_"
          xlink:to="fn9_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_409_"
          xlink:to="fn9_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_548_"
          xlink:label="_548_"
          xlink:type="locator"/>
        <link:footnote id="fn10_" xlink:label="fn10_" 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;">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_548_"
          xlink:to="fn10_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_569_"
          xlink:label="_569_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_571_"
          xlink:label="_571_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_568_"
          xlink:label="_568_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_570_"
          xlink:label="_570_"
          xlink:type="locator"/>
        <link:footnote id="fn11_" xlink:label="fn11_" 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 July 31, 2025. MFS has agreed in writing to bear the fund'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 "Total Annual
Fund Operating Expenses" do not exceed 0.90% of the class' average daily net assets annually for Class
A shares, 1.65% of the class' average daily net assets annually for Class B shares, 0.65% of the class'
average daily net assets annually for Class I shares, and 0.60% of the class' average daily net assets
annually for Class R6 shares. This written agreement will continue until modified by the fund's Board
of Trustees, but such agreement will continue until at least July 31, 2025.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_569_"
          xlink:to="fn11_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_571_"
          xlink:to="fn11_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_568_"
          xlink:to="fn11_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_570_"
          xlink:to="fn11_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_586_"
          xlink:label="_586_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_588_"
          xlink:label="_588_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_589_"
          xlink:label="_589_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_585_"
          xlink:label="_585_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_583_"
          xlink:label="_583_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_590_"
          xlink:label="_590_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_587_"
          xlink:label="_587_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_584_"
          xlink:label="_584_"
          xlink:type="locator"/>
        <link:footnote id="fn12_" xlink:label="fn12_" 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;">Shares automatically convert to Class A shares approximately eight years after
purchase; therefore, the expense examples reflect Class A share expenses after eight years.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_586_"
          xlink:to="fn12_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_588_"
          xlink:to="fn12_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_589_"
          xlink:to="fn12_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_585_"
          xlink:to="fn12_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_583_"
          xlink:to="fn12_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_590_"
          xlink:to="fn12_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_587_"
          xlink:to="fn12_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_584_"
          xlink:to="fn12_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_714_"
          xlink:label="_714_"
          xlink:type="locator"/>
        <link:footnote id="fn13_" xlink:label="fn13_" 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;">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_714_"
          xlink:to="fn13_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_736_"
          xlink:label="_736_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_735_"
          xlink:label="_735_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_737_"
          xlink:label="_737_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_734_"
          xlink:label="_734_"
          xlink:type="locator"/>
        <link:footnote id="fn14_" xlink:label="fn14_" 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 July 31, 2025. MFS has agreed in writing to bear the fund'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 "Total Annual
Fund Operating Expenses" do not exceed 0.83% of the class' average daily net assets annually for Class
A shares, 1.58% of the class' average daily net assets annually for Class B shares, 0.58% of the class'
average daily net assets annually for Class I shares, and 0.53% of the class' average daily net assets
annually for Class R6 shares. This written agreement will continue until modified by the fund's Board
of Trustees, but such agreement will continue until at least July 31, 2025.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_736_"
          xlink:to="fn14_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_735_"
          xlink:to="fn14_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_737_"
          xlink:to="fn14_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_734_"
          xlink:to="fn14_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_750_"
          xlink:label="_750_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_752_"
          xlink:label="_752_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_754_"
          xlink:label="_754_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_753_"
          xlink:label="_753_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_756_"
          xlink:label="_756_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_755_"
          xlink:label="_755_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_751_"
          xlink:label="_751_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_749_"
          xlink:label="_749_"
          xlink:type="locator"/>
        <link:footnote id="fn15_" xlink:label="fn15_" 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;">Shares automatically convert to Class A shares approximately eight years after
purchase; therefore, the expense examples reflect Class A share expenses after eight years.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_750_"
          xlink:to="fn15_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_752_"
          xlink:to="fn15_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_754_"
          xlink:to="fn15_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_753_"
          xlink:to="fn15_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_756_"
          xlink:to="fn15_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_755_"
          xlink:to="fn15_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_751_"
          xlink:to="fn15_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_749_"
          xlink:to="fn15_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_880_"
          xlink:label="_880_"
          xlink:type="locator"/>
        <link:footnote id="fn16_" xlink:label="fn16_" 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;">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_880_"
          xlink:to="fn16_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_903_"
          xlink:label="_903_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_901_"
          xlink:label="_901_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_902_"
          xlink:label="_902_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_900_"
          xlink:label="_900_"
          xlink:type="locator"/>
        <link:footnote id="fn17_" xlink:label="fn17_" 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 July 31, 2025. MFS has agreed in writing to bear the fund'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 "Total Annual
Fund Operating Expenses" do not exceed 0.82% of the class' average daily net assets annually for Class
A shares, 1.57% of the class' average daily net assets annually for Class B shares, 0.57% of the class'
average daily net assets annually for Class I shares, and 0.50% of the class' average daily net assets
annually for Class R6 shares. This written agreement will continue until modified by the fund's Board
of Trustees, but such agreement will continue until at least July 31, 2025.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_903_"
          xlink:to="fn17_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_901_"
          xlink:to="fn17_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_902_"
          xlink:to="fn17_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_900_"
          xlink:to="fn17_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_921_"
          xlink:label="_921_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_915_"
          xlink:label="_915_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_922_"
          xlink:label="_922_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_917_"
          xlink:label="_917_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_919_"
          xlink:label="_919_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_918_"
          xlink:label="_918_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_920_"
          xlink:label="_920_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_916_"
          xlink:label="_916_"
          xlink:type="locator"/>
        <link:footnote id="fn18_" xlink:label="fn18_" 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;">Shares automatically convert to Class A shares approximately eight years after
purchase; therefore, the expense examples reflect Class A share expenses after eight years.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_921_"
          xlink:to="fn18_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_915_"
          xlink:to="fn18_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_922_"
          xlink:to="fn18_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_917_"
          xlink:to="fn18_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_919_"
          xlink:to="fn18_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_918_"
          xlink:to="fn18_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_920_"
          xlink:to="fn18_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_916_"
          xlink:to="fn18_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1046_"
          xlink:label="_1046_"
          xlink:type="locator"/>
        <link:footnote id="fn19_" xlink:label="fn19_" 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;">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1046_"
          xlink:to="fn19_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1066_"
          xlink:label="_1066_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1068_"
          xlink:label="_1068_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1069_"
          xlink:label="_1069_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1067_"
          xlink:label="_1067_"
          xlink:type="locator"/>
        <link:footnote id="fn20_" xlink:label="fn20_" 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 July 31, 2025. MFS Fund Distributors, Inc. (MFD), has agreed in writing to waive the Class A
service fee to 0.10% of the class' average daily net assets annually until modified by the fund&#x2019;s Board
of Trustees, but such agreement will continue until at least July 31, 2025. MFD has agreed in writing
to waive the Class B service fee to 0.00% of the class' average daily net assets annually until modified
by the fund&#x2019;s Board of Trustees, but such agreement will continue until at least July 31, 2025. MFS
has agreed in writing to bear the fund'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 "Total Annual Fund Operating Expenses"
do not exceed 0.76% of the class' average daily net assets annually for Class A shares, 1.41% of the
class' average daily net assets annually for Class B shares, 0.66% of the class' average daily net assets
annually for Class I shares, and 0.60% of the class' average daily net assets annually for Class R6 shares.
This written agreement will continue until modified by the fund's Board of Trustees, but such agreement
will continue until at least July 31, 2025.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1066_"
          xlink:to="fn20_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1068_"
          xlink:to="fn20_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1069_"
          xlink:to="fn20_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1067_"
          xlink:to="fn20_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1086_"
          xlink:label="_1086_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1084_"
          xlink:label="_1084_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1085_"
          xlink:label="_1085_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1081_"
          xlink:label="_1081_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1087_"
          xlink:label="_1087_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1082_"
          xlink:label="_1082_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1088_"
          xlink:label="_1088_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1083_"
          xlink:label="_1083_"
          xlink:type="locator"/>
        <link:footnote id="fn21_" xlink:label="fn21_" 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;">Shares automatically convert to Class A shares approximately eight years after
purchase; therefore, the expense examples reflect Class A share expenses after eight years.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1086_"
          xlink:to="fn21_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1084_"
          xlink:to="fn21_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1085_"
          xlink:to="fn21_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1081_"
          xlink:to="fn21_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1087_"
          xlink:to="fn21_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1082_"
          xlink:to="fn21_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1088_"
          xlink:to="fn21_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1083_"
          xlink:to="fn21_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1215_"
          xlink:label="_1215_"
          xlink:type="locator"/>
        <link:footnote id="fn22_" xlink:label="fn22_" 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;">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1215_"
          xlink:to="fn22_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1241_"
          xlink:label="_1241_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1240_"
          xlink:label="_1240_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1244_"
          xlink:label="_1244_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1243_"
          xlink:label="_1243_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1242_"
          xlink:label="_1242_"
          xlink:type="locator"/>
        <link:footnote id="fn23_" xlink:label="fn23_" 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 July 31, 2025.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1241_"
          xlink:to="fn23_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1240_"
          xlink:to="fn23_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1244_"
          xlink:to="fn23_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1243_"
          xlink:to="fn23_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1242_"
          xlink:to="fn23_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1261_"
          xlink:label="_1261_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1263_"
          xlink:label="_1263_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1268_"
          xlink:label="_1268_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1265_"
          xlink:label="_1265_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1271_"
          xlink:label="_1271_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1267_"
          xlink:label="_1267_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1257_"
          xlink:label="_1257_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1264_"
          xlink:label="_1264_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1272_"
          xlink:label="_1272_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1262_"
          xlink:label="_1262_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1270_"
          xlink:label="_1270_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1259_"
          xlink:label="_1259_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1260_"
          xlink:label="_1260_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1266_"
          xlink:label="_1266_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1269_"
          xlink:label="_1269_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1258_"
          xlink:label="_1258_"
          xlink:type="locator"/>
        <link:footnote id="fn24_" xlink:label="fn24_" 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;">Shares automatically convert to Class A shares approximately eight years after
purchase; therefore, the expense examples reflect Class A share expenses after eight years.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1261_"
          xlink:to="fn24_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1263_"
          xlink:to="fn24_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1268_"
          xlink:to="fn24_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1265_"
          xlink:to="fn24_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1271_"
          xlink:to="fn24_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1267_"
          xlink:to="fn24_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1257_"
          xlink:to="fn24_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1264_"
          xlink:to="fn24_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1272_"
          xlink:to="fn24_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1262_"
          xlink:to="fn24_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1270_"
          xlink:to="fn24_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1259_"
          xlink:to="fn24_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1260_"
          xlink:to="fn24_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1266_"
          xlink:to="fn24_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1269_"
          xlink:to="fn24_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1258_"
          xlink:to="fn24_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1397_"
          xlink:label="_1397_"
          xlink:type="locator"/>
        <link:footnote id="fn25_" xlink:label="fn25_" 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;">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1397_"
          xlink:to="fn25_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1408_"
          xlink:label="_1408_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1407_"
          xlink:label="_1407_"
          xlink:type="locator"/>
        <link:footnote id="fn26_" xlink:label="fn26_" 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 July 31, 2025. MFS Fund Distributors, Inc. (MFD), has agreed in writing to waive the Class B1
service fee to 0.00% of the class' average daily net assets annually until modified by the fund&#x2019;s Board
of Trustees, but such agreement will continue until at least July 31, 2025.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1408_"
          xlink:to="fn26_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1407_"
          xlink:to="fn26_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1419_"
          xlink:label="_1419_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1425_"
          xlink:label="_1425_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1418_"
          xlink:label="_1418_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1422_"
          xlink:label="_1422_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1420_"
          xlink:label="_1420_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1423_"
          xlink:label="_1423_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1424_"
          xlink:label="_1424_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1421_"
          xlink:label="_1421_"
          xlink:type="locator"/>
        <link:footnote id="fn27_" xlink:label="fn27_" 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;">Shares automatically convert to Class A1 shares approximately eight years after
purchase; therefore, the expense examples reflect Class A1 share expenses after eight years.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1419_"
          xlink:to="fn27_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1425_"
          xlink:to="fn27_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1418_"
          xlink:to="fn27_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1422_"
          xlink:to="fn27_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1420_"
          xlink:to="fn27_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1423_"
          xlink:to="fn27_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1424_"
          xlink:to="fn27_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1421_"
          xlink:to="fn27_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1531_"
          xlink:label="_1531_"
          xlink:type="locator"/>
        <link:footnote id="fn28_" xlink:label="fn28_" 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;">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1531_"
          xlink:to="fn28_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1552_"
          xlink:label="_1552_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1551_"
          xlink:label="_1551_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1554_"
          xlink:label="_1554_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1553_"
          xlink:label="_1553_"
          xlink:type="locator"/>
        <link:footnote id="fn29_" xlink:label="fn29_" 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 July 31, 2025. MFS has agreed in writing to bear the fund'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 "Total Annual
Fund Operating Expenses" do not exceed 0.70% of the class' average daily net assets annually for Class
A shares, 1.45% of the class' average daily net assets annually for Class C shares, 0.45% of the class'
average daily net assets annually for Class I shares, and 0.38% of the class' average daily net assets
annually for Class R6 shares. This written agreement will continue until modified by the fund's Board
of Trustees, but such agreement will continue until at least July 31, 2025.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1552_"
          xlink:to="fn29_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1551_"
          xlink:to="fn29_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1554_"
          xlink:to="fn29_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1553_"
          xlink:to="fn29_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1569_"
          xlink:label="_1569_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1568_"
          xlink:label="_1568_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1572_"
          xlink:label="_1572_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1573_"
          xlink:label="_1573_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1566_"
          xlink:label="_1566_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1571_"
          xlink:label="_1571_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1567_"
          xlink:label="_1567_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1570_"
          xlink:label="_1570_"
          xlink:type="locator"/>
        <link:footnote id="fn30_" xlink:label="fn30_" 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;">Shares automatically convert to Class A shares approximately eight years after
purchase; therefore, the expense examples reflect Class A share expenses after eight years.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1569_"
          xlink:to="fn30_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1568_"
          xlink:to="fn30_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1572_"
          xlink:to="fn30_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1573_"
          xlink:to="fn30_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1566_"
          xlink:to="fn30_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1571_"
          xlink:to="fn30_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1567_"
          xlink:to="fn30_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1570_"
          xlink:to="fn30_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1696_"
          xlink:label="_1696_"
          xlink:type="locator"/>
        <link:footnote id="fn31_" xlink:label="fn31_" 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;">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1696_"
          xlink:to="fn31_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1721_"
          xlink:label="_1721_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1724_"
          xlink:label="_1724_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1723_"
          xlink:label="_1723_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1722_"
          xlink:label="_1722_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1725_"
          xlink:label="_1725_"
          xlink:type="locator"/>
        <link:footnote id="fn32_" xlink:label="fn32_" 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 July 31, 2025. 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.83% of the class' average daily net assets
annually for Class A shares, 1.58% of the class' average daily net assets annually for each of Class
B and Class C shares, 0.58% of the class' average daily net assets annually for Class I shares, and 0.53%
of the class' average daily net assets annually for Class R6 shares. This written agreement will continue
until modified by the fund's Board of Trustees, but such agreement will continue until at least July
31, 2025.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1721_"
          xlink:to="fn32_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1724_"
          xlink:to="fn32_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1723_"
          xlink:to="fn32_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1722_"
          xlink:to="fn32_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1725_"
          xlink:to="fn32_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1752_"
          xlink:label="_1752_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1748_"
          xlink:label="_1748_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1749_"
          xlink:label="_1749_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1744_"
          xlink:label="_1744_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1750_"
          xlink:label="_1750_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1746_"
          xlink:label="_1746_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1738_"
          xlink:label="_1738_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1741_"
          xlink:label="_1741_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1751_"
          xlink:label="_1751_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1753_"
          xlink:label="_1753_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1740_"
          xlink:label="_1740_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1742_"
          xlink:label="_1742_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1743_"
          xlink:label="_1743_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1739_"
          xlink:label="_1739_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1747_"
          xlink:label="_1747_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1745_"
          xlink:label="_1745_"
          xlink:type="locator"/>
        <link:footnote id="fn33_" xlink:label="fn33_" 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;">Shares automatically convert to Class A shares approximately eight years after
purchase; therefore, the expense examples reflect Class A share expenses after eight years.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1752_"
          xlink:to="fn33_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1748_"
          xlink:to="fn33_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1749_"
          xlink:to="fn33_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1744_"
          xlink:to="fn33_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1750_"
          xlink:to="fn33_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1746_"
          xlink:to="fn33_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1738_"
          xlink:to="fn33_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1741_"
          xlink:to="fn33_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1751_"
          xlink:to="fn33_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1753_"
          xlink:to="fn33_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1740_"
          xlink:to="fn33_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1742_"
          xlink:to="fn33_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1743_"
          xlink:to="fn33_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1739_"
          xlink:to="fn33_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1747_"
          xlink:to="fn33_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1745_"
          xlink:to="fn33_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1884_"
          xlink:label="_1884_"
          xlink:type="locator"/>
        <link:footnote id="fn34_" xlink:label="fn34_" 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;">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1884_"
          xlink:to="fn34_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1913_"
          xlink:label="_1913_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1909_"
          xlink:label="_1909_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1912_"
          xlink:label="_1912_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1910_"
          xlink:label="_1910_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1911_"
          xlink:label="_1911_"
          xlink:type="locator"/>
        <link:footnote id="fn35_" xlink:label="fn35_" 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 July 31, 2025. MFS has agreed in writing to bear the fund'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 "Total Annual
Fund Operating Expenses" do not exceed 0.84% of the class' average daily net assets annually for Class
A shares, 1.59% of the class' average daily net assets annually for each of Class B and Class C shares,
0.59% of the class' average daily net assets annually for Class I shares, and 0.52% of the class' average
daily net assets annually for Class R6 shares. This written agreement will continue until modified by
the fund's Board of Trustees, but such agreement will continue until at least July 31, 2025.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1913_"
          xlink:to="fn35_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1909_"
          xlink:to="fn35_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1912_"
          xlink:to="fn35_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1910_"
          xlink:to="fn35_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1911_"
          xlink:to="fn35_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_1939_"
          xlink:label="_1939_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1932_"
          xlink:label="_1932_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1935_"
          xlink:label="_1935_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1933_"
          xlink:label="_1933_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1940_"
          xlink:label="_1940_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1941_"
          xlink:label="_1941_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1931_"
          xlink:label="_1931_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1936_"
          xlink:label="_1936_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1930_"
          xlink:label="_1930_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1938_"
          xlink:label="_1938_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1926_"
          xlink:label="_1926_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1927_"
          xlink:label="_1927_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1934_"
          xlink:label="_1934_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1937_"
          xlink:label="_1937_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1928_"
          xlink:label="_1928_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_1929_"
          xlink:label="_1929_"
          xlink:type="locator"/>
        <link:footnote id="fn36_" xlink:label="fn36_" 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;">Shares automatically convert to Class A shares approximately eight years after
purchase; therefore, the expense examples reflect Class A share expenses after eight years.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1939_"
          xlink:to="fn36_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1932_"
          xlink:to="fn36_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1935_"
          xlink:to="fn36_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1933_"
          xlink:to="fn36_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1940_"
          xlink:to="fn36_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1941_"
          xlink:to="fn36_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1931_"
          xlink:to="fn36_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1936_"
          xlink:to="fn36_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1930_"
          xlink:to="fn36_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1938_"
          xlink:to="fn36_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1926_"
          xlink:to="fn36_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1927_"
          xlink:to="fn36_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1934_"
          xlink:to="fn36_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1937_"
          xlink:to="fn36_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1928_"
          xlink:to="fn36_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_1929_"
          xlink:to="fn36_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_2070_"
          xlink:label="_2070_"
          xlink:type="locator"/>
        <link:footnote id="fn37_" xlink:label="fn37_" 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;">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2070_"
          xlink:to="fn37_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_2091_"
          xlink:label="_2091_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2093_"
          xlink:label="_2093_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2090_"
          xlink:label="_2090_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2092_"
          xlink:label="_2092_"
          xlink:type="locator"/>
        <link:footnote id="fn38_" xlink:label="fn38_" 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 July 31, 2025. MFS Fund Distributors, Inc. (MFD), has agreed in writing to waive the Class A
and Class B service fee to 0.10% of each class' average daily net assets annually until modified by the
fund&#x2019;s Board of Trustees, but such agreement will continue until at least July 31, 2025. MFS has agreed
in writing to bear the fund'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 "Total Annual Fund Operating Expenses"
do not exceed 0.69% of the class' average daily net assets annually for Class A shares, 1.44% of the
class' average daily net assets annually for Class B shares, 0.59% of the class' average daily net assets
annually for Class I shares, and 0.52% of the class' average daily net assets annually for Class R6 shares.
This written agreement will continue until modified by the fund's Board of Trustees, but such agreement
will continue until at least July 31, 2025.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2091_"
          xlink:to="fn38_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2093_"
          xlink:to="fn38_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2090_"
          xlink:to="fn38_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2092_"
          xlink:to="fn38_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_2107_"
          xlink:label="_2107_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2109_"
          xlink:label="_2109_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2108_"
          xlink:label="_2108_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2112_"
          xlink:label="_2112_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2110_"
          xlink:label="_2110_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2105_"
          xlink:label="_2105_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2106_"
          xlink:label="_2106_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2111_"
          xlink:label="_2111_"
          xlink:type="locator"/>
        <link:footnote id="fn39_" xlink:label="fn39_" 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;">Shares automatically convert to Class A shares approximately eight years after
purchase; therefore, the expense examples reflect Class A share expenses after eight years.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2107_"
          xlink:to="fn39_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2109_"
          xlink:to="fn39_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2108_"
          xlink:to="fn39_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2112_"
          xlink:to="fn39_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2110_"
          xlink:to="fn39_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2105_"
          xlink:to="fn39_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2106_"
          xlink:to="fn39_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2111_"
          xlink:to="fn39_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_2236_"
          xlink:label="_2236_"
          xlink:type="locator"/>
        <link:footnote id="fn40_" xlink:label="fn40_" 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;">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2236_"
          xlink:to="fn40_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_2257_"
          xlink:label="_2257_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2259_"
          xlink:label="_2259_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2258_"
          xlink:label="_2258_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2256_"
          xlink:label="_2256_"
          xlink:type="locator"/>
        <link:footnote id="fn41_" xlink:label="fn41_" 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 July 31, 2025. 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
"Total Annual Fund Operating Expenses" do not exceed 0.84% of the class' average daily net assets annually
for Class A shares, 1.59% of the class' average daily net assets annually for Class B shares, 0.59% of
the class' average daily net assets annually for Class I shares, and 0.53% of the class' average daily
net assets annually for Class R6 shares. This written agreement will continue until modified by the fund&#x2019;s
Board of Trustees, but such agreement will continue until at least July 31, 2025.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2257_"
          xlink:to="fn41_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2259_"
          xlink:to="fn41_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2258_"
          xlink:to="fn41_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2256_"
          xlink:to="fn41_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_2275_"
          xlink:label="_2275_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2271_"
          xlink:label="_2271_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2272_"
          xlink:label="_2272_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2277_"
          xlink:label="_2277_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2276_"
          xlink:label="_2276_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2278_"
          xlink:label="_2278_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2273_"
          xlink:label="_2273_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2274_"
          xlink:label="_2274_"
          xlink:type="locator"/>
        <link:footnote id="fn42_" xlink:label="fn42_" 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;">Shares automatically convert to Class A shares approximately eight years after
purchase; therefore, the expense examples reflect Class A share expenses after eight years.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2275_"
          xlink:to="fn42_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2271_"
          xlink:to="fn42_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2272_"
          xlink:to="fn42_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2277_"
          xlink:to="fn42_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2276_"
          xlink:to="fn42_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2278_"
          xlink:to="fn42_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2273_"
          xlink:to="fn42_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2274_"
          xlink:to="fn42_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_2404_"
          xlink:label="_2404_"
          xlink:type="locator"/>
        <link:footnote id="fn43_" xlink:label="fn43_" 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;">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2404_"
          xlink:to="fn43_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_2431_"
          xlink:label="_2431_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2432_"
          xlink:label="_2432_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2429_"
          xlink:label="_2429_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2430_"
          xlink:label="_2430_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2433_"
          xlink:label="_2433_"
          xlink:type="locator"/>
        <link:footnote id="fn44_" xlink:label="fn44_" 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 July 31, 2025. MFS has agreed in writing to bear the fund'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 "Total Annual
Fund Operating Expenses" do not exceed 0.81% of the class' average daily net assets annually for Class
A shares, 1.56% of the class' average daily net assets annually for each of Class B and Class C shares,
0.56% of the class' average daily net assets annually for Class I shares, and 0.49% of the class' average
daily net assets annually for Class R6 shares. This written agreement will continue until modified by
the fund's Board of Trustees, but such agreement will continue until at least July 31, 2025.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2431_"
          xlink:to="fn44_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2432_"
          xlink:to="fn44_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2429_"
          xlink:to="fn44_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2430_"
          xlink:to="fn44_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2433_"
          xlink:to="fn44_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_2454_"
          xlink:label="_2454_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2458_"
          xlink:label="_2458_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2456_"
          xlink:label="_2456_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2446_"
          xlink:label="_2446_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2453_"
          xlink:label="_2453_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2455_"
          xlink:label="_2455_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2457_"
          xlink:label="_2457_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2459_"
          xlink:label="_2459_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2447_"
          xlink:label="_2447_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2461_"
          xlink:label="_2461_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2449_"
          xlink:label="_2449_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2450_"
          xlink:label="_2450_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2448_"
          xlink:label="_2448_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2452_"
          xlink:label="_2452_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2451_"
          xlink:label="_2451_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2460_"
          xlink:label="_2460_"
          xlink:type="locator"/>
        <link:footnote id="fn45_" xlink:label="fn45_" 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;">Shares automatically convert to Class A shares approximately eight years after
purchase; therefore, the expense examples reflect Class A share expenses after eight years.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2454_"
          xlink:to="fn45_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2458_"
          xlink:to="fn45_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2456_"
          xlink:to="fn45_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2446_"
          xlink:to="fn45_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2453_"
          xlink:to="fn45_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2455_"
          xlink:to="fn45_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2457_"
          xlink:to="fn45_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2459_"
          xlink:to="fn45_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2447_"
          xlink:to="fn45_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2461_"
          xlink:to="fn45_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2449_"
          xlink:to="fn45_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2450_"
          xlink:to="fn45_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2448_"
          xlink:to="fn45_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2452_"
          xlink:to="fn45_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2451_"
          xlink:to="fn45_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2460_"
          xlink:to="fn45_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_2590_"
          xlink:label="_2590_"
          xlink:type="locator"/>
        <link:footnote id="fn46_" xlink:label="fn46_" 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;">This contingent deferred sales charge (CDSC) applies to shares purchased without
an initial sales charge and redeemed within 18 months of purchase.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2590_"
          xlink:to="fn46_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_2610_"
          xlink:label="_2610_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2613_"
          xlink:label="_2613_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2612_"
          xlink:label="_2612_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2611_"
          xlink:label="_2611_"
          xlink:type="locator"/>
        <link:footnote id="fn47_" xlink:label="fn47_" 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 July 31, 2025. 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
"Total Annual Fund Operating Expenses" do not exceed 0.87% of the class' average daily net assets annually
for Class A shares, 1.62% of the class' average daily net assets annually for Class B shares, 0.62% of
the class' average daily net assets annually for Class I shares, and 0.55% of the class' average daily
net assets annually for Class R6 shares. This written agreement will continue until modified by the fund&#x2019;s
Board of Trustees, but such agreement will continue until at least July 31, 2025.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2610_"
          xlink:to="fn47_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2613_"
          xlink:to="fn47_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2612_"
          xlink:to="fn47_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2611_"
          xlink:to="fn47_"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#_2625_"
          xlink:label="_2625_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2627_"
          xlink:label="_2627_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2629_"
          xlink:label="_2629_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2632_"
          xlink:label="_2632_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2630_"
          xlink:label="_2630_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2631_"
          xlink:label="_2631_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2626_"
          xlink:label="_2626_"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#_2628_"
          xlink:label="_2628_"
          xlink:type="locator"/>
        <link:footnote id="fn48_" xlink:label="fn48_" 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;">Shares automatically convert to Class A shares approximately eight years after
purchase; therefore, the expense examples reflect Class A share expenses after eight years.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2625_"
          xlink:to="fn48_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2627_"
          xlink:to="fn48_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2629_"
          xlink:to="fn48_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2632_"
          xlink:to="fn48_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2630_"
          xlink:to="fn48_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2631_"
          xlink:to="fn48_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2626_"
          xlink:to="fn48_"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="_2628_"
          xlink:to="fn48_"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
