v3.26.1
Label Element Value
Prospectus Summary | MFS New York Municipal Bond Fund  
Risk/Return: oef_RiskReturnAbstract  
Risk/Return [Heading] oef_RiskReturnHeading MFS® New York Municipal Bond Fund Summary of Key Information
Objective [Heading] oef_ObjectiveHeading Investment Objective
Objective, Primary [Text Block] oef_ObjectivePrimaryTextBlock

The fund’s investment objective is to seek total return with an emphasis on income exempt from U.S. federal income tax and personal income tax, if any, of New York, but also considering capital appreciation.

Expense Heading [Optional Text] oef_ExpenseHeading Fees and Expenses
Expense Narrative [Text Block] oef_ExpenseNarrativeTextBlock

This table describes the fees and expenses that you may pay when you buy, hold, and sell shares of the fund. 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.

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 “Sales Charges and Waivers and Reductions” on page 12 and “Appendix A – Waivers and Reductions of Sales Charges” on page A-1 of the fund’s prospectus.

Shareholder Fees Caption [Optional Text] oef_ShareholderFeesCaption Shareholder Fees (fees paid directly from your investment):
Operating Expenses Caption [Optional Text] oef_OperatingExpensesCaption Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment):
Portfolio Turnover [Heading] oef_PortfolioTurnoverHeading Portfolio Turnover
Portfolio Turnover [Text Block] oef_PortfolioTurnoverTextBlock

The fund pays transaction costs, such as commissions, when it buys and sells securities (or “turns over” its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when shares are held in a taxable account. These transaction costs, which are not reflected in “Annual Fund Operating Expenses” or in the “Example,” affect the fund’s performance. During the most recent fiscal year, the fund’s portfolio turnover rate was 15% of the average value of its portfolio.

Portfolio Turnover, Rate oef_PortfolioTurnoverRate 15.00%
Expense Breakpoint Discounts [Text] oef_ExpenseBreakpointDiscounts 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.
Expense Breakpoint, Minimum Investment Required [Amount] oef_ExpenseBreakpointMinimumInvestmentRequiredAmount $ 100,000
Expense Example [Heading] oef_ExpenseExampleHeading Example
Expense Example Narrative [Text Block] oef_ExpenseExampleNarrativeTextBlock

This example is intended to help you compare the cost of investing in the fund with the cost of investing in other mutual funds.

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’s operating expenses remain the same.

Expense Example by, Year, Caption [Text] oef_ExpenseExampleByYearCaption Although your actual costs will likely be higher or lower, under these assumptions your costs would be:
Strategy [Heading] oef_StrategyHeading Principal Investment Strategies
Strategy Narrative [Text Block] oef_StrategyNarrativeTextBlock

MFS (Massachusetts Financial Services Company, the fund's investment adviser) normally invests the fund’s assets primarily in municipal instruments. MFS defines municipal instruments as debt instruments issued by or for states, territories, or possessions of the United States or by their political subdivisions, agencies, authorities, or other government entities, to raise money for a variety of public and private purposes, including general financing for state and local governments, or financing for a specific project or public facility. Municipal instruments include general obligation bonds of municipalities, state or local governments, project or revenue-specific bonds, municipal lease obligations, and pre-refunded or escrowed bonds.

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 U.S. federal income tax and personal income tax, if any, of New York. However, interest from the fund’s investments may be subject to the U.S. federal alternative minimum tax. MFS may also invest the fund's assets in taxable instruments, including municipal instruments of other states.

MFS invests a significant percentage of the fund’s assets in municipal instruments of New York.

MFS may invest a significant percentage of the fund’s assets in a single issuer or a small number of issuers.

MFS may invest 25% or more of the fund’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 U.S. 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.

MFS primarily invests the fund’s assets in investment grade quality debt instruments, but may also invest the fund’s assets in below investment grade quality debt instruments.

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.

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.

For purposes of the fund's 80% policy, net assets include the amount of any borrowings for investment purposes.

Summary of Definition of Rule 35d-1 Term in Fund Name [Text Block] fnd_NmRule35d1TermDfnSmryTextBlock MFS defines municipal instruments as debt instruments issued by or for states, territories, or possessions of the United States or by their political subdivisions, agencies, authorities, or other government entities, to raise money for a variety of public and private purposes, including general financing for state and local governments, or financing for a specific project or public facility. Municipal instruments include general obligation bonds of municipalities, state or local governments, project or revenue-specific bonds, municipal lease obligations, and pre-refunded or escrowed bonds.
Rule 35d-1 Eighty Percent Investment Policy [Text Block] fnd_NmRule35d1EightyPctInvstmntPlcyTextBlock 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 U.S. federal income tax and personal income tax, if any, of New York.
Bar Chart and Performance Table [Heading] oef_BarChartAndPerformanceTableHeading Performance Information
Performance Narrative [Text Block] oef_PerformanceNarrativeTextBlock

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’s performance over time and how the fund’s performance over time compares with that of a broad measure of market performance.

The fund’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 mfs.com or by calling 1-800-225-2606.

Performance Information Illustrates Variability of Returns [Text] oef_PerformanceInformationIllustratesVariabilityOfReturns 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’s performance over time and how the fund’s performance over time compares with that of a broad measure of market performance.
Performance Availability Phone [Text] oef_PerformanceAvailabilityPhone 1-800-225-2606
Performance Availability Website Address [Text] oef_PerformanceAvailabilityWebSiteAddress mfs.com
Performance Past Does Not Indicate Future [Text] oef_PerformancePastDoesNotIndicateFuture The fund’s past performance (before and after taxes) does not necessarily indicate how the fund will perform in the future.
Bar Chart [Heading] oef_BarChartHeading Class A Bar Chart.
Bar Chart Narrative [Text Block] oef_BarChartNarrativeTextBlock 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’s shares. If these sales charges were included, they would reduce the returns shown.
Bar Chart Does Not Reflect Sales Loads [Text] oef_BarChartDoesNotReflectSalesLoads 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’s shares. If these sales charges were included, they would reduce the returns shown.
Bar Chart Closing [Text Block] oef_BarChartClosingTextBlock

The total return for the six-month period ended June 30, 2026, was 3.10%. 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).

Performance Table Heading oef_PerformanceTableHeading Performance Table.
Index No Deduction for Fees, Expenses, or Taxes [Text] oef_IndexNoDeductionForFeesExpensesTaxes Reflects no deduction for fees, expenses, or taxes
Performance Table Not Relevant to Tax Deferred oef_PerformanceTableNotRelevantToTaxDeferred 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 (IRAs).
Performance Table One Class of after Tax Shown [Text] oef_PerformanceTableOneClassOfAfterTaxShown The after-tax returns are shown for only one of the fund’s classes of shares, and after-tax returns for the fund’s other classes of shares will vary from the returns shown.
Performance Table Closing [Text Block] oef_PerformanceTableClosingTextBlock

After-tax returns are calculated using the historical highest individual U.S. 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 (IRAs). The after-tax returns are shown for only one of the fund’s classes of shares, and after-tax returns for the fund’s other classes of shares will vary from the returns shown.

Average Annual Return, Caption [Optional Text] oef_AverageAnnualReturnCaption Average Annual Total Returns (For the Periods Ended December 31, 2025)
Prospectus Summary | MFS New York Municipal Bond Fund | Principal Risks  
Risk/Return: oef_RiskReturnAbstract  
Risk [Text Block] oef_RiskTextBlock

Principal Risks

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.

The principal risks of investing in the fund are:

Prospectus Summary | MFS New York Municipal Bond Fund | Risk Lose Money [Member]  
Risk/Return: oef_RiskReturnAbstract  
Risk [Text Block] oef_RiskTextBlock As with any mutual fund, the fund may not achieve its objective and/or you could lose money on your investment in the fund.
Prospectus Summary | MFS New York Municipal Bond Fund | Risk Not Insured [Member]  
Risk/Return: oef_RiskReturnAbstract  
Risk [Text Block] oef_RiskTextBlock 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.
Prospectus Summary | MFS New York Municipal Bond Fund | Investment Selection Risk  
Risk/Return: oef_RiskReturnAbstract  
Risk [Text Block] oef_RiskTextBlock

Investment Selection Risk: 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.

Prospectus Summary | MFS New York Municipal Bond Fund | Debt Market Risk  
Risk/Return: oef_RiskReturnAbstract  
Risk [Text Block] oef_RiskTextBlock

Debt Market Risk: 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.

Prospectus Summary | MFS New York Municipal Bond Fund | Interest Rate Risk  
Risk/Return: oef_RiskReturnAbstract  
Risk [Text Block] oef_RiskTextBlock

Interest Rate Risk: 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.

Prospectus Summary | MFS New York Municipal Bond Fund | Credit Risk  
Risk/Return: oef_RiskReturnAbstract  
Risk [Text Block] oef_RiskTextBlock

Credit Risk: The price of a debt instrument depends, in part, on the credit quality of the issuer, borrower, counterparty, or other entity responsible for payment, or underlying collateral or assets and the terms of the instrument. The price of a debt instrument can decline in response to changes in, or perceptions of, the financial

condition of the issuer, borrower, counterparty, or other entity, or underlying collateral or assets, or changes in, or perceptions of, specific or general market, economic, industry, political, regulatory, geopolitical, environmental, public health, and other conditions. Debt instruments may be more susceptible to downgrades or defaults during economic downturns or similar periods of economic stress, which in turn could negatively affect the market value and liquidity of a debt instrument.

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.

 

Below investment grade quality debt instruments (commonly referred to as “high yield securities” or “junk bonds”) 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.

Prospectus Summary | MFS New York Municipal Bond Fund | Focus Risk  
Risk/Return: oef_RiskReturnAbstract  
Risk [Text Block] oef_RiskTextBlock

Focus Risk: The fund’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’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.

If MFS invests a significant percentage of the fund's assets in a single issuer or small number of issuers, the fund’s performance could be more volatile than the performance of more diversified funds.

Prospectus Summary | MFS New York Municipal Bond Fund | Municipal Risk  
Risk/Return: oef_RiskReturnAbstract  
Risk [Text Block] oef_RiskTextBlock

Municipal Risk: 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.

In addition, because some municipal obligations may be secured or guaranteed by banks and other institutions, the risk associated with investments in such municipal securities could increase if the banking or financial sector suffers an economic downturn and/or if the credit ratings of the institutions issuing the guarantee are downgraded or at risk of being downgraded by a national rating organization. If such events occur, the value of the security could decrease or the value could be lost entirely, and it may be difficult or impossible to sell the security at the time and the price that normally prevails in the market.

Prospectus Summary | MFS New York Municipal Bond Fund | Prepayment/Extension Risk  
Risk/Return: oef_RiskReturnAbstract  
Risk [Text Block] oef_RiskTextBlock

Prepayment/Extension Risk: Instruments subject to prepayment and/or extension can reduce the potential for gain for the instrument’s holders if the instrument is prepaid and increase the potential for loss if the maturity of the instrument is extended.

Prospectus Summary | MFS New York Municipal Bond Fund | Derivatives Risk  
Risk/Return: oef_RiskReturnAbstract  
Risk [Text Block] oef_RiskTextBlock

Derivatives Risk: 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’ original cost. Derivatives can involve leverage.

Prospectus Summary | MFS New York Municipal Bond Fund | Leveraging Risk  
Risk/Return: oef_RiskReturnAbstract  
Risk [Text Block] oef_RiskTextBlock

Leveraging Risk: Leverage involves investment exposure in an amount exceeding the initial investment. Leverage can cause increased volatility by magnifying gains or losses.

Prospectus Summary | MFS New York Municipal Bond Fund | Counterparty and Third Party Risk  
Risk/Return: oef_RiskReturnAbstract  
Risk [Text Block] oef_RiskTextBlock

Counterparty and Third Party Risk: 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’s or third party’s ability or willingness to perform in accordance with the terms of the transaction.

Prospectus Summary | MFS New York Municipal Bond Fund | Liquidity Risk  
Risk/Return: oef_RiskReturnAbstract  
Risk [Text Block] oef_RiskTextBlock

Liquidity Risk: 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.

Prospectus Summary | MFS New York Municipal Bond Fund | Large Shareholder Risk  
Risk/Return: oef_RiskReturnAbstract  
Risk [Text Block] oef_RiskTextBlock

Large Shareholder Risk: 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.

Prospectus Summary | MFS New York Municipal Bond Fund | Bloomberg Municipal Bond Index  
Risk/Return: oef_RiskReturnAbstract  
Average Annual Return, Label [Optional Text] oef_AverageAnnualReturnLabel Bloomberg Municipal Bond Index
Average Annual Return, Percent oef_AvgAnnlRtrPct 4.25%
Average Annual Return, Percent oef_AvgAnnlRtrPct 0.80%
Average Annual Return, Percent oef_AvgAnnlRtrPct 2.34%
Prospectus Summary | MFS New York Municipal Bond Fund | Class A  
Risk/Return: oef_RiskReturnAbstract  
Trading Symbol dei_TradingSymbol MSNYX
Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price) oef_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice 4.25%
Maximum Deferred Sales Charge (as a percentage of Offering Price) oef_MaximumDeferredSalesChargeOverOfferingPrice 1.00% [1]
Management Fees (as a percentage of Assets) oef_ManagementFeesOverAssets 0.45%
Distribution and Service (12b-1) Fees oef_DistributionAndService12b1FeesOverAssets 0.25%
Other Expenses (as a percentage of Assets): oef_OtherExpensesOverAssets 0.26%
Expenses (as a percentage of Assets) oef_ExpensesOverAssets 0.96%
Fee Waiver or Reimbursement oef_FeeWaiverOrReimbursementOverAssets (0.13%) [2]
Net Expenses (as a percentage of Assets) oef_NetExpensesOverAssets 0.83%
Fee Waiver or Reimbursement over Assets, Date of Termination oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination July 31, 2027
Expenses Deferred Charges [Text Block] oef_ExpensesDeferredChargesTextBlock This contingent deferred sales charge (CDSC) applies to shares purchased without an initial sales charge and redeemed within 18 months of purchase.
Expense Example, with Redemption, 1 Year oef_ExpenseExampleYear01 $ 506
Expense Example, with Redemption, 3 Years oef_ExpenseExampleYear03 705
Expense Example, with Redemption, 5 Years oef_ExpenseExampleYear05 921
Expense Example, with Redemption, 10 Years oef_ExpenseExampleYear10 $ 1,542
Year to Date Return, Label [Optional Text] oef_YearToDateReturnLabel The total return for the six-month period ended
Bar Chart, Year to Date Return, Date oef_BarChartYearToDateReturnDate Jun. 30, 2026
Bar Chart, Year to Date Return oef_BarChartYearToDateReturn 3.10%
Highest Quarterly Return, Label [Optional Text] oef_HighestQuarterlyReturnLabel highest quarterly return
Highest Quarterly Return, Date oef_BarChartHighestQuarterlyReturnDate Dec. 31, 2023
Highest Quarterly Return oef_BarChartHighestQuarterlyReturn 9.32%
Lowest Quarterly Return, Label [Optional Text] oef_LowestQuarterlyReturnLabel lowest quarterly return
Lowest Quarterly Return, Date oef_BarChartLowestQuarterlyReturnDate Mar. 31, 2022
Lowest Quarterly Return oef_BarChartLowestQuarterlyReturn (6.92%)
Average Annual Return, Label [Optional Text] oef_AverageAnnualReturnLabel Returns Before Taxes
Average Annual Return, Percent oef_AvgAnnlRtrPct (1.48%)
Average Annual Return, Percent oef_AvgAnnlRtrPct (0.30%)
Average Annual Return, Percent oef_AvgAnnlRtrPct 1.61%
Annual Return [Percent] oef_AnnlRtrPct 0.35%
Annual Return [Percent] oef_AnnlRtrPct 5.56%
Annual Return [Percent] oef_AnnlRtrPct 0.58%
Annual Return [Percent] oef_AnnlRtrPct 7.72%
Annual Return [Percent] oef_AnnlRtrPct 3.80%
Annual Return [Percent] oef_AnnlRtrPct 2.96%
Annual Return [Percent] oef_AnnlRtrPct (12.33%)
Annual Return [Percent] oef_AnnlRtrPct 7.33%
Annual Return [Percent] oef_AnnlRtrPct 3.19%
Annual Return [Percent] oef_AnnlRtrPct 2.89%
Prospectus Summary | MFS New York Municipal Bond Fund | Class A | After Taxes on Distributions  
Risk/Return: oef_RiskReturnAbstract  
Average Annual Return, Label [Optional Text] oef_AverageAnnualReturnLabel Returns After Taxes on Distributions
Average Annual Return, Percent oef_AvgAnnlRtrPct (1.52%)
Average Annual Return, Percent oef_AvgAnnlRtrPct (0.33%)
Average Annual Return, Percent oef_AvgAnnlRtrPct 1.57%
Prospectus Summary | MFS New York Municipal Bond Fund | Class A | After Taxes on Distributions and Sales  
Risk/Return: oef_RiskReturnAbstract  
Average Annual Return, Label [Optional Text] oef_AverageAnnualReturnLabel Returns After Taxes on Distributions and Sale of Fund Shares
Average Annual Return, Percent oef_AvgAnnlRtrPct 0.47%
Average Annual Return, Percent oef_AvgAnnlRtrPct 0.41%
Average Annual Return, Percent oef_AvgAnnlRtrPct 1.90%
Prospectus Summary | MFS New York Municipal Bond Fund | Class B  
Risk/Return: oef_RiskReturnAbstract  
Trading Symbol dei_TradingSymbol MBNYX
Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price) oef_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice 0.00%
Maximum Deferred Sales Charge (as a percentage of Offering Price) oef_MaximumDeferredSalesChargeOverOfferingPrice 4.00%
Management Fees (as a percentage of Assets) oef_ManagementFeesOverAssets 0.45%
Distribution and Service (12b-1) Fees oef_DistributionAndService12b1FeesOverAssets 1.00%
Other Expenses (as a percentage of Assets): oef_OtherExpensesOverAssets 0.26%
Expenses (as a percentage of Assets) oef_ExpensesOverAssets 1.71%
Fee Waiver or Reimbursement oef_FeeWaiverOrReimbursementOverAssets (0.13%) [2]
Net Expenses (as a percentage of Assets) oef_NetExpensesOverAssets 1.58%
Fee Waiver or Reimbursement over Assets, Date of Termination oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination July 31, 2027
Expense Example, with Redemption, 1 Year oef_ExpenseExampleYear01 $ 561 [3]
Expense Example, with Redemption, 3 Years oef_ExpenseExampleYear03 826 [3]
Expense Example, with Redemption, 5 Years oef_ExpenseExampleYear05 1,116 [3]
Expense Example, with Redemption, 10 Years oef_ExpenseExampleYear10 1,809 [3]
Expense Example, No Redemption, 1 Year oef_ExpenseExampleNoRedemptionYear01 161 [3]
Expense Example, No Redemption, 3 Years oef_ExpenseExampleNoRedemptionYear03 526 [3]
Expense Example, No Redemption, 5 Years oef_ExpenseExampleNoRedemptionYear05 916 [3]
Expense Example, No Redemption, 10 Years oef_ExpenseExampleNoRedemptionYear10 $ 1,809 [3]
Average Annual Return, Label [Optional Text] oef_AverageAnnualReturnLabel Returns Before Taxes
Average Annual Return, Percent oef_AvgAnnlRtrPct (1.75%)
Average Annual Return, Percent oef_AvgAnnlRtrPct (0.53%)
Average Annual Return, Percent oef_AvgAnnlRtrPct 1.44%
Prospectus Summary | MFS New York Municipal Bond Fund | Class C  
Risk/Return: oef_RiskReturnAbstract  
Trading Symbol dei_TradingSymbol MCNYX
Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price) oef_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice 0.00%
Maximum Deferred Sales Charge (as a percentage of Offering Price) oef_MaximumDeferredSalesChargeOverOfferingPrice 1.00%
Management Fees (as a percentage of Assets) oef_ManagementFeesOverAssets 0.45%
Distribution and Service (12b-1) Fees oef_DistributionAndService12b1FeesOverAssets 1.00%
Other Expenses (as a percentage of Assets): oef_OtherExpensesOverAssets 0.26%
Expenses (as a percentage of Assets) oef_ExpensesOverAssets 1.71%
Fee Waiver or Reimbursement oef_FeeWaiverOrReimbursementOverAssets (0.13%) [2]
Net Expenses (as a percentage of Assets) oef_NetExpensesOverAssets 1.58%
Fee Waiver or Reimbursement over Assets, Date of Termination oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination July 31, 2027
Expense Example, with Redemption, 1 Year oef_ExpenseExampleYear01 $ 261 [3]
Expense Example, with Redemption, 3 Years oef_ExpenseExampleYear03 526 [3]
Expense Example, with Redemption, 5 Years oef_ExpenseExampleYear05 916 [3]
Expense Example, with Redemption, 10 Years oef_ExpenseExampleYear10 1,809 [3]
Expense Example, No Redemption, 1 Year oef_ExpenseExampleNoRedemptionYear01 161 [3]
Expense Example, No Redemption, 3 Years oef_ExpenseExampleNoRedemptionYear03 526 [3]
Expense Example, No Redemption, 5 Years oef_ExpenseExampleNoRedemptionYear05 916 [3]
Expense Example, No Redemption, 10 Years oef_ExpenseExampleNoRedemptionYear10 $ 1,809 [3]
Average Annual Return, Label [Optional Text] oef_AverageAnnualReturnLabel Returns Before Taxes
Average Annual Return, Percent oef_AvgAnnlRtrPct 1.14%
Average Annual Return, Percent oef_AvgAnnlRtrPct (0.16%)
Average Annual Return, Percent oef_AvgAnnlRtrPct 1.44%
Prospectus Summary | MFS New York Municipal Bond Fund | Class I  
Risk/Return: oef_RiskReturnAbstract  
Trading Symbol dei_TradingSymbol MNYLX
Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price) oef_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice 0.00%
Maximum Deferred Sales Charge (as a percentage of Offering Price) oef_MaximumDeferredSalesChargeOverOfferingPrice 0.00%
Management Fees (as a percentage of Assets) oef_ManagementFeesOverAssets 0.45%
Distribution and Service (12b-1) Fees oef_DistributionAndService12b1FeesOverAssets 0.00%
Other Expenses (as a percentage of Assets): oef_OtherExpensesOverAssets 0.26%
Expenses (as a percentage of Assets) oef_ExpensesOverAssets 0.71%
Fee Waiver or Reimbursement oef_FeeWaiverOrReimbursementOverAssets (0.13%) [2]
Net Expenses (as a percentage of Assets) oef_NetExpensesOverAssets 0.58%
Fee Waiver or Reimbursement over Assets, Date of Termination oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination July 31, 2027
Expense Example, with Redemption, 1 Year oef_ExpenseExampleYear01 $ 59
Expense Example, with Redemption, 3 Years oef_ExpenseExampleYear03 214
Expense Example, with Redemption, 5 Years oef_ExpenseExampleYear05 382
Expense Example, with Redemption, 10 Years oef_ExpenseExampleYear10 $ 870
Average Annual Return, Label [Optional Text] oef_AverageAnnualReturnLabel Returns Before Taxes
Average Annual Return, Percent oef_AvgAnnlRtrPct 3.16%
Average Annual Return, Percent oef_AvgAnnlRtrPct 0.83%
Average Annual Return, Percent oef_AvgAnnlRtrPct 2.31%
Prospectus Summary | MFS New York Municipal Bond Fund | Class R6  
Risk/Return: oef_RiskReturnAbstract  
Trading Symbol dei_TradingSymbol MPNYX
Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price) oef_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice 0.00%
Maximum Deferred Sales Charge (as a percentage of Offering Price) oef_MaximumDeferredSalesChargeOverOfferingPrice 0.00%
Management Fees (as a percentage of Assets) oef_ManagementFeesOverAssets 0.45%
Distribution and Service (12b-1) Fees oef_DistributionAndService12b1FeesOverAssets 0.00%
Other Expenses (as a percentage of Assets): oef_OtherExpensesOverAssets 0.18%
Expenses (as a percentage of Assets) oef_ExpensesOverAssets 0.63%
Fee Waiver or Reimbursement oef_FeeWaiverOrReimbursementOverAssets (0.11%) [2]
Net Expenses (as a percentage of Assets) oef_NetExpensesOverAssets 0.52%
Fee Waiver or Reimbursement over Assets, Date of Termination oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination July 31, 2027
Expense Example, with Redemption, 1 Year oef_ExpenseExampleYear01 $ 53
Expense Example, with Redemption, 3 Years oef_ExpenseExampleYear03 191
Expense Example, with Redemption, 5 Years oef_ExpenseExampleYear05 340
Expense Example, with Redemption, 10 Years oef_ExpenseExampleYear10 $ 776
Average Annual Return, Label [Optional Text] oef_AverageAnnualReturnLabel Returns Before Taxes
Average Annual Return, Percent oef_AvgAnnlRtrPct 3.25%
Average Annual Return, Percent oef_AvgAnnlRtrPct 0.93%
Average Annual Return, Percent oef_AvgAnnlRtrPct 2.39%
[1] This contingent deferred sales charge (CDSC) applies to shares purchased without an initial sales charge and redeemed within 18 months of purchase.
[2] 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, 2027. 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 each of Class B and Class C shares, 0.58% 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, 2027.
[3] Shares automatically convert to Class A shares approximately eight years after purchase; therefore, the expense examples reflect Class A share expenses after eight years.