| Label | Element | Value | ||||||
|---|---|---|---|---|---|---|---|---|
| MFS Limited Maturity Fund | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Risk/Return [Heading] | oef_RiskReturnHeading | MFS® Limited Maturity 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 current income, but also considering capital preservation. |
||||||
| 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 $50,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 11 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 50% of the average value of its portfolio. |
||||||
| Portfolio Turnover, Rate | oef_PortfolioTurnoverRate | 50.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 $50,000 in MFS funds. | ||||||
| Expense Breakpoint, Minimum Investment Required [Amount] | oef_ExpenseBreakpointMinimumInvestmentRequiredAmount | $ 50,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 debt instruments. Debt instruments include U.S. Government securities, corporate debt instruments, foreign government securities, securitized instruments (including mortgage-backed securities and other asset-backed securities), and other obligations to repay money borrowed. The fund’s dollar-weighted average effective maturity will normally not exceed five years. MFS generally invests substantially all of the fund’s assets in investment grade quality debt instruments. MFS invests the fund’s assets in U.S. securities and U.S. dollar-denominated foreign securities, which may include emerging market securities. MFS normally invests the fund's assets across different industries, sectors, countries, and regions, but MFS may invest a significant percentage of the fund’s assets in issuers in a single industry, sector, country, or region. MFS may invest a significant percentage of the fund’s assets in a single issuer or a small number of issuers. While MFS may use derivatives for any investment purpose, to the extent MFS uses derivatives, MFS expects to use derivatives primarily to increase or decrease exposure to a particular market, segment of the market, or security, to increase or decrease interest rate exposure, or as alternatives to direct investments. Derivatives include futures, forward contracts, options, and swaps. 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. |
||||||
| 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 (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. 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 (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. | ||||||
| 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 1.19%. During the period(s) shown in the bar chart, the highest quarterly return was 4.74% (for the calendar quarter ended June 30, 2020) and the lowest quarterly return was (2.58)% (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) | ||||||
| MFS Limited Maturity 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: |
||||||
| MFS Limited Maturity 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. | ||||||
| MFS Limited Maturity 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. | ||||||
| MFS Limited Maturity 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. |
||||||
| MFS Limited Maturity 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. |
||||||
| MFS Limited Maturity 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. |
||||||
| MFS Limited Maturity 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. |
||||||
| MFS Limited Maturity Fund | Foreign Risk | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Risk [Text Block] | oef_RiskTextBlock | Foreign Risk: Exposure to foreign markets through issuers can involve additional risks relating to market, economic, industry, political, regulatory, geopolitical, environmental, public health, and other conditions. These factors can make foreign investments, especially those tied economically to countries with developing economies or countries subject to sanctions or the threat of new or modified sanctions, more volatile and less liquid than U.S. investments. In addition, foreign markets can react differently to these conditions than the U.S. market. |
||||||
| MFS Limited Maturity Fund | Focus Risk | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Risk [Text Block] | oef_RiskTextBlock | Focus Risk: Issuers in a single industry, sector, country, or region can react similarly to market, currency, political, economic, regulatory, geopolitical, environmental, public health, and other conditions, and the fund's performance will be affected by the conditions in the industries, sectors, countries, and regions to which the fund is exposed. Furthermore, investments in particular industries, sectors, countries, or regions may be more volatile than the broader market as a whole. 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. |
||||||
| MFS Limited Maturity 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. |
||||||
| MFS Limited Maturity 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. |
||||||
| MFS Limited Maturity 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. |
||||||
| MFS Limited Maturity 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. |
||||||
| MFS Limited Maturity 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. |
||||||
| MFS Limited Maturity 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. |
||||||
| MFS Limited Maturity Fund | Bloomberg U.S. Aggregate Bond Index | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Bloomberg U.S. Aggregate Bond Index | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 7.30% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | (0.36%) | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.01% | ||||||
| MFS Limited Maturity Fund | Bloomberg 1-3 Year U.S. Government/Credit Bond Index | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Bloomberg 1-3 Year U.S. Government/Credit Bond Index | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 5.35% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 1.97% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.09% | ||||||
| MFS Limited Maturity Fund | Class A | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MQLFX | ||||||
| Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price) | oef_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | 2.50% | ||||||
| Maximum Deferred Sales Charge (as a percentage of Offering Price) | oef_MaximumDeferredSalesChargeOverOfferingPrice | 0.75% | [1] | |||||
| Management Fees (as a percentage of Assets) | oef_ManagementFeesOverAssets | 0.35% | ||||||
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 0.25% | ||||||
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.13% | ||||||
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 0.73% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.16%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 0.57% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | August 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 | $ 307 | ||||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 462 | ||||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 630 | ||||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | $ 1,119 | ||||||
| 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 | 1.19% | ||||||
| Highest Quarterly Return, Label [Optional Text] | oef_HighestQuarterlyReturnLabel | highest quarterly return | ||||||
| Highest Quarterly Return, Date | oef_BarChartHighestQuarterlyReturnDate | Jun. 30, 2020 | ||||||
| Highest Quarterly Return | oef_BarChartHighestQuarterlyReturn | 4.74% | ||||||
| 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 | (2.58%) | ||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 3.05% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 1.85% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.20% | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | 1.44% | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | 1.29% | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | 1.17% | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | 4.72% | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | 4.14% | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | (0.25%) | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | (4.27%) | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | 5.94% | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | 5.15% | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | 5.69% | ||||||
| MFS Limited Maturity 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.24% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 0.60% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 1.15% | ||||||
| MFS Limited Maturity 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 | 1.78% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 0.86% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 1.22% | ||||||
| MFS Limited Maturity Fund | Class B | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MQLBX | ||||||
| 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.35% | ||||||
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 1.00% | ||||||
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.13% | ||||||
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 1.48% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.16%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 1.32% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | August 31, 2027 | ||||||
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 534 | [3] | |||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 752 | [3] | |||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 993 | [3] | |||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | 1,551 | [3] | |||||
| Expense Example, No Redemption, 1 Year | oef_ExpenseExampleNoRedemptionYear01 | 134 | [3] | |||||
| Expense Example, No Redemption, 3 Years | oef_ExpenseExampleNoRedemptionYear03 | 452 | [3] | |||||
| Expense Example, No Redemption, 5 Years | oef_ExpenseExampleNoRedemptionYear05 | 793 | [3] | |||||
| Expense Example, No Redemption, 10 Years | oef_ExpenseExampleNoRedemptionYear10 | $ 1,551 | [3] | |||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 0.91% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 1.24% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 1.86% | ||||||
| MFS Limited Maturity Fund | Class C | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MQLCX | ||||||
| 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.35% | ||||||
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 1.00% | ||||||
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.13% | ||||||
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 1.48% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.06%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 1.42% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | August 31, 2027 | ||||||
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 245 | [3] | |||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 462 | [3] | |||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 802 | [3] | |||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | 1,560 | [3] | |||||
| Expense Example, No Redemption, 1 Year | oef_ExpenseExampleNoRedemptionYear01 | 145 | [3] | |||||
| Expense Example, No Redemption, 3 Years | oef_ExpenseExampleNoRedemptionYear03 | 462 | [3] | |||||
| Expense Example, No Redemption, 5 Years | oef_ExpenseExampleNoRedemptionYear05 | 802 | [3] | |||||
| Expense Example, No Redemption, 10 Years | oef_ExpenseExampleNoRedemptionYear10 | $ 1,560 | [3] | |||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 3.80% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 1.51% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 1.78% | ||||||
| MFS Limited Maturity Fund | Class I | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MQLIX | ||||||
| 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.35% | ||||||
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 0.00% | ||||||
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.13% | ||||||
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 0.48% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.06%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 0.42% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | August 31, 2027 | ||||||
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 43 | ||||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 148 | ||||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 263 | ||||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | $ 598 | ||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 5.85% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.55% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.63% | ||||||
| MFS Limited Maturity Fund | Class R1 | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MQLGX | ||||||
| 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.35% | ||||||
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 1.00% | ||||||
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.13% | ||||||
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 1.48% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.06%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 1.42% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | August 31, 2027 | ||||||
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 145 | ||||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 462 | ||||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 802 | ||||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | $ 1,763 | ||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 4.80% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 1.50% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 1.59% | ||||||
| MFS Limited Maturity Fund | Class R2 | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MLMRX | ||||||
| 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.35% | ||||||
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 0.50% | ||||||
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.13% | ||||||
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 0.98% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.16%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 0.82% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | August 31, 2027 | ||||||
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 84 | ||||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 296 | ||||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 526 | ||||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | $ 1,187 | ||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 5.42% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.15% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.23% | ||||||
| MFS Limited Maturity Fund | Class R3 | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MQLHX | ||||||
| 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.35% | ||||||
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 0.25% | ||||||
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.13% | ||||||
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 0.73% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.06%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 0.67% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | August 31, 2027 | ||||||
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 68 | ||||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 227 | ||||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 400 | ||||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | $ 901 | ||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 5.58% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.27% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.37% | ||||||
| MFS Limited Maturity Fund | Class R4 | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MQLJX | ||||||
| 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.35% | ||||||
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 0.00% | ||||||
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.13% | ||||||
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 0.48% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.06%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 0.42% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | August 31, 2027 | ||||||
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 43 | ||||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 148 | ||||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 263 | ||||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | $ 598 | ||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 5.84% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.53% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.66% | ||||||
| MFS Limited Maturity Fund | Class R6 | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MQLKX | ||||||
| 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.35% | ||||||
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 0.00% | ||||||
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.05% | ||||||
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 0.40% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.06%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 0.34% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | August 31, 2027 | ||||||
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 35 | ||||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 122 | ||||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 218 | ||||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | $ 499 | ||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 5.93% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.60% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.70% | ||||||
| ||||||||