| Label | Element | Value | ||||||
|---|---|---|---|---|---|---|---|---|
| MFS Growth Fund | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Risk/Return [Heading] | rr_RiskReturnHeading | MFS® Growth Fund Summary of Key Information | ||||||
| Objective [Heading] | rr_ObjectiveHeading | Investment Objective | ||||||
| Objective, Primary [Text Block] | rr_ObjectivePrimaryTextBlock | The fund’s investment objective is to seek capital appreciation. |
||||||
| Expense [Heading] | rr_ExpenseHeading | Fees and Expenses | ||||||
| Expense Narrative [Text Block] | rr_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 10 and “Appendix A – Waivers and Reductions of Sales Charges” on page A-1 of the fund’s prospectus. |
||||||
| Shareholder Fees Caption [Text] | rr_ShareholderFeesCaption | Shareholder Fees (fees paid directly from your investment): | ||||||
| Operating Expenses Caption [Text] | rr_OperatingExpensesCaption | Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment): | ||||||
| Portfolio Turnover [Heading] | rr_PortfolioTurnoverHeading | Portfolio Turnover | ||||||
| Portfolio Turnover [Text Block] | rr_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 33% of the average value of its portfolio. |
||||||
| Portfolio Turnover, Rate | rr_PortfolioTurnoverRate | 33.00% | ||||||
| Expense Breakpoint Discounts [Text] | rr_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] | rr_ExpenseBreakpointMinimumInvestmentRequiredAmount | $ 50,000 | ||||||
| Expense Example [Heading] | rr_ExpenseExampleHeading | Example | ||||||
| Expense Example Narrative [Text Block] | rr_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] | rr_ExpenseExampleByYearCaption | Although your actual costs will likely be higher or lower, under these assumptions your costs would be: | ||||||
| Strategy [Heading] | rr_StrategyHeading | Principal Investment Strategies | ||||||
| Strategy Narrative [Text Block] | rr_StrategyNarrativeTextBlock | MFS (Massachusetts Financial Services Company, the fund's investment adviser) normally invests the fund’s assets primarily in equity securities. Equity securities include common stocks, depositary receipts, and other securities that represent an ownership interest (or right to acquire an ownership interest) in a company or other issuer. MFS focuses on investing the fund’s assets in the stocks of companies it believes have above average potential with respect to the rate and duration of earnings growth compared to other companies (growth companies). While MFS may invest the fund’s assets in securities of companies of any size, MFS primarily invests in securities of companies with large capitalizations. MFS may invest the fund’s assets in foreign securities. MFS normally invests the fund's assets across different industries and sectors, but MFS may invest a significant percentage of the fund's assets in issuers in a single industry or sector. MFS may invest a significant percentage of the fund’s assets in a single issuer or a small number of issuers. MFS uses an active bottom-up investment approach to buying and selling investments for the fund. Investments are selected primarily based on fundamental analysis of individual issuers. Quantitative screening tools that systematically evaluate issuers may also be considered. |
||||||
| Risk [Heading] | rr_RiskHeading | Principal Risks | ||||||
| Bar Chart and Performance Table [Heading] | rr_BarChartAndPerformanceTableHeading | Performance Information | ||||||
| Performance Narrative [Text Block] | rr_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] | rr_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] | rr_PerformanceAvailabilityPhone | 1-800-225-2606 | ||||||
| Performance Availability Website Address [Text] | rr_PerformanceAvailabilityWebSiteAddress | mfs.com | ||||||
| Performance Past Does Not Indicate Future [Text] | rr_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] | rr_BarChartHeading | Class A Bar Chart. | ||||||
| Bar Chart Narrative [Text Block] | rr_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] | rr_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] | rr_BarChartClosingTextBlock | During the period(s) shown in the bar chart, the highest quarterly return was 24.59% (for the calendar quarter ended June 30, 2020) and the lowest quarterly return was (19.43)% (for the calendar quarter ended June 30, 2022). |
||||||
| Performance Table Heading | rr_PerformanceTableHeading | Performance Table. | ||||||
| Performance Table Market Index Changed | rr_PerformanceTableMarketIndexChanged | Effective May 1, 2024, the Russell 3000® Index replaced the Russell 1000® Growth Index as a broad measure of market performance in accordance with new regulatory disclosure requirements. The fund continues to use the Russell 1000® Growth Index as an additional benchmark that MFS believes more closely reflects the market segments in which the fund invests. | ||||||
| Performance Table Uses Highest Federal Rate | rr_PerformanceTableUsesHighestFederalRate | 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. | ||||||
| Performance Table Not Relevant to Tax Deferred | rr_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] | rr_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] | rr_PerformanceTableClosingTextBlock | Effective May 1, 2024, the Russell 3000® Index replaced the Russell 1000® Growth Index as a broad measure of market performance in accordance with new regulatory disclosure requirements. The fund continues to use the Russell 1000® Growth Index as an additional benchmark that MFS believes more closely reflects the market segments in which the fund invests. 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. 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 | rr_AverageAnnualReturnCaption | Average Annual Total Returns (For the Periods Ended December 31, 2024) | ||||||
| MFS Growth Fund | Principal Risks | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Risk [Text Block] | rr_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 Growth Fund | Risk Lose Money [Member] | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Risk [Text Block] | rr_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 Growth Fund | Risk Not Insured [Member] | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Risk [Text Block] | rr_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 Growth Fund | Investment Selection Risk | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Risk [Text Block] | rr_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 Growth Fund | Equity Market Risk/Company Risk | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Risk [Text Block] | rr_RiskTextBlock | Equity Market Risk/Company Risk: Equity markets are volatile and can decline significantly in response to changes in, or investor perceptions of, issuer, market, economic, industry, political, regulatory, geopolitical, environmental, public health, and other conditions. These conditions can affect a single issuer or type of security, issuers within a broad market sector, industry or geographic region, or the equity markets in general. Certain events can have a dramatic adverse effect on equity markets and may lead to periods of high volatility in an equity market or a segment of an equity market. The value of an investment held by the fund may decline due to factors directly related to the issuer. |
||||||
| MFS Growth Fund | Growth Company Risk | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Risk [Text Block] | rr_RiskTextBlock | Growth Company Risk: The stocks of growth companies can be more sensitive to the company’s earnings and more volatile than the market in general. |
||||||
| MFS Growth Fund | Foreign Risk | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Risk [Text Block] | rr_RiskTextBlock | Foreign Risk: Exposure to foreign markets through issuers or currencies can involve additional risks relating to market, economic, industry, political, regulatory, geopolitical, environmental, public health, and other conditions. These factors can make foreign investments, especially those tied economically to countries with developing economies or countries subject to sanctions or the threat of new or modified sanctions, more volatile and less liquid than U.S. investments. In addition, foreign markets can react differently to these conditions than the U.S. market. |
||||||
| MFS Growth Fund | Focus Risk | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Risk [Text Block] | rr_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. 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 Growth Fund | Liquidity Risk | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Risk [Text Block] | rr_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 Growth Fund | Large Shareholder Risk | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Risk [Text Block] | rr_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 Growth Fund | Russell 3000® Index | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Index No Deduction for Fees, Expenses, Taxes [Text] | rr_IndexNoDeductionForFeesExpensesTaxes | Reflects no deduction for fees, expenses, or taxes | ||||||
| Label | rr_AverageAnnualReturnLabel | Russell 3000® Index | ||||||
| 1 Year | rr_AverageAnnualReturnYear01 | 23.81% | ||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 13.86% | ||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 12.55% | ||||||
| MFS Growth Fund | Russell 1000® Growth Index | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Index No Deduction for Fees, Expenses, Taxes [Text] | rr_IndexNoDeductionForFeesExpensesTaxes | Reflects no deduction for fees, expenses, or taxes | ||||||
| Label | rr_AverageAnnualReturnLabel | Russell 1000® Growth Index | ||||||
| 1 Year | rr_AverageAnnualReturnYear01 | 33.36% | ||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 18.96% | ||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 16.78% | ||||||
| MFS Growth Fund | Class A | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MFEGX | ||||||
| Maximum Sales Charge (Load) Imposed on Purchases (as a percentage of offering price) | rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | 5.75% | ||||||
| Maximum Deferred Sales Charge (Load) (as a percentage of original purchase price or redemption proceeds, whichever is less) | rr_MaximumDeferredSalesChargeOverOfferingPrice | 1.00% | [1] | |||||
| Management Fee | rr_ManagementFeesOverAssets | 0.48% | ||||||
| Distribution and/or Service (12b-1) Fees | rr_DistributionAndService12b1FeesOverAssets | 0.25% | ||||||
| Other Expenses | rr_OtherExpensesOverAssets | 0.11% | ||||||
| Total Annual Fund Operating Expenses | rr_ExpensesOverAssets | 0.84% | ||||||
| Fee Reductions and/or Expense Reimbursements | rr_FeeWaiverOrReimbursementOverAssets | (0.01%) | [2] | |||||
| Total Annual Fund Operating Expenses After Fee Reductions and/or Expense Reimbursements | rr_NetExpensesOverAssets | 0.83% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | rr_FeeWaiverOrReimbursementOverAssetsDateOfTermination | March 31, 2026 | ||||||
| Expenses Deferred Charges [Text Block] | rr_ExpensesDeferredChargesTextBlock | This contingent deferred sales charge (CDSC) applies to shares purchased without an initial sales charge and redeemed within 18 months of purchase. | ||||||
| 1 Year | rr_ExpenseExampleYear01 | $ 655 | ||||||
| 3 Years | rr_ExpenseExampleYear03 | 827 | ||||||
| 5 Years | rr_ExpenseExampleYear05 | 1,013 | ||||||
| 10 Years | rr_ExpenseExampleYear10 | $ 1,552 | ||||||
| Annual Return 2015 | rr_AnnualReturn2015 | 7.11% | ||||||
| Annual Return 2016 | rr_AnnualReturn2016 | 2.21% | ||||||
| Annual Return 2017 | rr_AnnualReturn2017 | 30.54% | ||||||
| Annual Return 2018 | rr_AnnualReturn2018 | 2.34% | ||||||
| Annual Return 2019 | rr_AnnualReturn2019 | 37.35% | ||||||
| Annual Return 2020 | rr_AnnualReturn2020 | 31.30% | ||||||
| Annual Return 2021 | rr_AnnualReturn2021 | 23.34% | ||||||
| Annual Return 2022 | rr_AnnualReturn2022 | (31.32%) | ||||||
| Annual Return 2023 | rr_AnnualReturn2023 | 35.79% | ||||||
| Annual Return 2024 | rr_AnnualReturn2024 | 31.34% | ||||||
| Label | rr_HighestQuarterlyReturnLabel | highest quarterly return | ||||||
| Highest Quarterly Return, Date | rr_BarChartHighestQuarterlyReturnDate | Jun. 30, 2020 | ||||||
| Highest Quarterly Return | rr_BarChartHighestQuarterlyReturn | 24.59% | ||||||
| Label | rr_LowestQuarterlyReturnLabel | lowest quarterly return | ||||||
| Lowest Quarterly Return, Date | rr_BarChartLowestQuarterlyReturnDate | Jun. 30, 2022 | ||||||
| Lowest Quarterly Return | rr_BarChartLowestQuarterlyReturn | (19.43%) | ||||||
| Label | rr_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| 1 Year | rr_AverageAnnualReturnYear01 | 23.79% | ||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 13.33% | ||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 14.15% | ||||||
| MFS Growth Fund | Class A | After Taxes on Distributions | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Label | rr_AverageAnnualReturnLabel | Returns After Taxes on Distributions | ||||||
| 1 Year | rr_AverageAnnualReturnYear01 | 20.27% | ||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 11.98% | ||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 13.10% | ||||||
| MFS Growth Fund | Class A | After Taxes on Distributions and Sales | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Label | rr_AverageAnnualReturnLabel | Returns After Taxes on Distributions and Sale of Fund Shares | ||||||
| 1 Year | rr_AverageAnnualReturnYear01 | 16.78% | ||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 10.56% | ||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 11.68% | ||||||
| MFS Growth Fund | Class B | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MEGBX | ||||||
| Maximum Sales Charge (Load) Imposed on Purchases (as a percentage of offering price) | rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | none | ||||||
| Maximum Deferred Sales Charge (Load) (as a percentage of original purchase price or redemption proceeds, whichever is less) | rr_MaximumDeferredSalesChargeOverOfferingPrice | 4.00% | ||||||
| Management Fee | rr_ManagementFeesOverAssets | 0.48% | ||||||
| Distribution and/or Service (12b-1) Fees | rr_DistributionAndService12b1FeesOverAssets | 1.00% | ||||||
| Other Expenses | rr_OtherExpensesOverAssets | 0.11% | ||||||
| Total Annual Fund Operating Expenses | rr_ExpensesOverAssets | 1.59% | ||||||
| Fee Reductions and/or Expense Reimbursements | rr_FeeWaiverOrReimbursementOverAssets | (0.01%) | [2] | |||||
| Total Annual Fund Operating Expenses After Fee Reductions and/or Expense Reimbursements | rr_NetExpensesOverAssets | 1.58% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | rr_FeeWaiverOrReimbursementOverAssetsDateOfTermination | March 31, 2026 | ||||||
| 1 Year | rr_ExpenseExampleYear01 | $ 561 | [3] | |||||
| 3 Years | rr_ExpenseExampleYear03 | 801 | [3] | |||||
| 5 Years | rr_ExpenseExampleYear05 | 1,065 | [3] | |||||
| 10 Years | rr_ExpenseExampleYear10 | 1,687 | [3] | |||||
| 1 Year | rr_ExpenseExampleNoRedemptionYear01 | 161 | [3] | |||||
| 3 Years | rr_ExpenseExampleNoRedemptionYear03 | 501 | [3] | |||||
| 5 Years | rr_ExpenseExampleNoRedemptionYear05 | 865 | [3] | |||||
| 10 Years | rr_ExpenseExampleNoRedemptionYear10 | $ 1,687 | [3] | |||||
| Label | rr_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| 1 Year | rr_AverageAnnualReturnYear01 | 26.36% | ||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 13.58% | ||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 14.14% | ||||||
| MFS Growth Fund | Class C | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MFECX | ||||||
| Maximum Sales Charge (Load) Imposed on Purchases (as a percentage of offering price) | rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | none | ||||||
| Maximum Deferred Sales Charge (Load) (as a percentage of original purchase price or redemption proceeds, whichever is less) | rr_MaximumDeferredSalesChargeOverOfferingPrice | 1.00% | ||||||
| Management Fee | rr_ManagementFeesOverAssets | 0.48% | ||||||
| Distribution and/or Service (12b-1) Fees | rr_DistributionAndService12b1FeesOverAssets | 1.00% | ||||||
| Other Expenses | rr_OtherExpensesOverAssets | 0.11% | ||||||
| Total Annual Fund Operating Expenses | rr_ExpensesOverAssets | 1.59% | ||||||
| Fee Reductions and/or Expense Reimbursements | rr_FeeWaiverOrReimbursementOverAssets | (0.01%) | [2] | |||||
| Total Annual Fund Operating Expenses After Fee Reductions and/or Expense Reimbursements | rr_NetExpensesOverAssets | 1.58% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | rr_FeeWaiverOrReimbursementOverAssetsDateOfTermination | March 31, 2026 | ||||||
| 1 Year | rr_ExpenseExampleYear01 | $ 261 | [3] | |||||
| 3 Years | rr_ExpenseExampleYear03 | 501 | [3] | |||||
| 5 Years | rr_ExpenseExampleYear05 | 865 | [3] | |||||
| 10 Years | rr_ExpenseExampleYear10 | 1,687 | [3] | |||||
| 1 Year | rr_ExpenseExampleNoRedemptionYear01 | 161 | [3] | |||||
| 3 Years | rr_ExpenseExampleNoRedemptionYear03 | 501 | [3] | |||||
| 5 Years | rr_ExpenseExampleNoRedemptionYear05 | 865 | [3] | |||||
| 10 Years | rr_ExpenseExampleNoRedemptionYear10 | $ 1,687 | [3] | |||||
| Label | rr_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| 1 Year | rr_AverageAnnualReturnYear01 | 29.37% | ||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 13.82% | ||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 14.13% | ||||||
| MFS Growth Fund | Class I | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MFEIX | ||||||
| Maximum Sales Charge (Load) Imposed on Purchases (as a percentage of offering price) | rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | none | ||||||
| Maximum Deferred Sales Charge (Load) (as a percentage of original purchase price or redemption proceeds, whichever is less) | rr_MaximumDeferredSalesChargeOverOfferingPrice | none | ||||||
| Management Fee | rr_ManagementFeesOverAssets | 0.48% | ||||||
| Distribution and/or Service (12b-1) Fees | rr_DistributionAndService12b1FeesOverAssets | none | ||||||
| Other Expenses | rr_OtherExpensesOverAssets | 0.11% | ||||||
| Total Annual Fund Operating Expenses | rr_ExpensesOverAssets | 0.59% | ||||||
| Fee Reductions and/or Expense Reimbursements | rr_FeeWaiverOrReimbursementOverAssets | (0.01%) | [2] | |||||
| Total Annual Fund Operating Expenses After Fee Reductions and/or Expense Reimbursements | rr_NetExpensesOverAssets | 0.58% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | rr_FeeWaiverOrReimbursementOverAssetsDateOfTermination | March 31, 2026 | ||||||
| 1 Year | rr_ExpenseExampleYear01 | $ 59 | ||||||
| 3 Years | rr_ExpenseExampleYear03 | 188 | ||||||
| 5 Years | rr_ExpenseExampleYear05 | 328 | ||||||
| 10 Years | rr_ExpenseExampleYear10 | $ 737 | ||||||
| Label | rr_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| 1 Year | rr_AverageAnnualReturnYear01 | 31.67% | ||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 14.96% | ||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 15.11% | ||||||
| MFS Growth Fund | Class R1 | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MFELX | ||||||
| Maximum Sales Charge (Load) Imposed on Purchases (as a percentage of offering price) | rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | none | ||||||
| Maximum Deferred Sales Charge (Load) (as a percentage of original purchase price or redemption proceeds, whichever is less) | rr_MaximumDeferredSalesChargeOverOfferingPrice | none | ||||||
| Management Fee | rr_ManagementFeesOverAssets | 0.48% | ||||||
| Distribution and/or Service (12b-1) Fees | rr_DistributionAndService12b1FeesOverAssets | 1.00% | ||||||
| Other Expenses | rr_OtherExpensesOverAssets | 0.11% | ||||||
| Total Annual Fund Operating Expenses | rr_ExpensesOverAssets | 1.59% | ||||||
| Fee Reductions and/or Expense Reimbursements | rr_FeeWaiverOrReimbursementOverAssets | (0.01%) | [2] | |||||
| Total Annual Fund Operating Expenses After Fee Reductions and/or Expense Reimbursements | rr_NetExpensesOverAssets | 1.58% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | rr_FeeWaiverOrReimbursementOverAssetsDateOfTermination | March 31, 2026 | ||||||
| 1 Year | rr_ExpenseExampleYear01 | $ 161 | ||||||
| 3 Years | rr_ExpenseExampleYear03 | 501 | ||||||
| 5 Years | rr_ExpenseExampleYear05 | 865 | ||||||
| 10 Years | rr_ExpenseExampleYear10 | $ 1,888 | ||||||
| Label | rr_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| 1 Year | rr_AverageAnnualReturnYear01 | 30.37% | ||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 13.82% | ||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 13.96% | ||||||
| MFS Growth Fund | Class R2 | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MEGRX | ||||||
| Maximum Sales Charge (Load) Imposed on Purchases (as a percentage of offering price) | rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | none | ||||||
| Maximum Deferred Sales Charge (Load) (as a percentage of original purchase price or redemption proceeds, whichever is less) | rr_MaximumDeferredSalesChargeOverOfferingPrice | none | ||||||
| Management Fee | rr_ManagementFeesOverAssets | 0.48% | ||||||
| Distribution and/or Service (12b-1) Fees | rr_DistributionAndService12b1FeesOverAssets | 0.50% | ||||||
| Other Expenses | rr_OtherExpensesOverAssets | 0.11% | ||||||
| Total Annual Fund Operating Expenses | rr_ExpensesOverAssets | 1.09% | ||||||
| Fee Reductions and/or Expense Reimbursements | rr_FeeWaiverOrReimbursementOverAssets | (0.01%) | [2] | |||||
| Total Annual Fund Operating Expenses After Fee Reductions and/or Expense Reimbursements | rr_NetExpensesOverAssets | 1.08% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | rr_FeeWaiverOrReimbursementOverAssetsDateOfTermination | March 31, 2026 | ||||||
| 1 Year | rr_ExpenseExampleYear01 | $ 110 | ||||||
| 3 Years | rr_ExpenseExampleYear03 | 346 | ||||||
| 5 Years | rr_ExpenseExampleYear05 | 600 | ||||||
| 10 Years | rr_ExpenseExampleYear10 | $ 1,328 | ||||||
| Label | rr_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| 1 Year | rr_AverageAnnualReturnYear01 | 31.01% | ||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 14.39% | ||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 14.53% | ||||||
| MFS Growth Fund | Class R3 | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MFEHX | ||||||
| Maximum Sales Charge (Load) Imposed on Purchases (as a percentage of offering price) | rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | none | ||||||
| Maximum Deferred Sales Charge (Load) (as a percentage of original purchase price or redemption proceeds, whichever is less) | rr_MaximumDeferredSalesChargeOverOfferingPrice | none | ||||||
| Management Fee | rr_ManagementFeesOverAssets | 0.48% | ||||||
| Distribution and/or Service (12b-1) Fees | rr_DistributionAndService12b1FeesOverAssets | 0.25% | ||||||
| Other Expenses | rr_OtherExpensesOverAssets | 0.11% | ||||||
| Total Annual Fund Operating Expenses | rr_ExpensesOverAssets | 0.84% | ||||||
| Fee Reductions and/or Expense Reimbursements | rr_FeeWaiverOrReimbursementOverAssets | (0.01%) | [2] | |||||
| Total Annual Fund Operating Expenses After Fee Reductions and/or Expense Reimbursements | rr_NetExpensesOverAssets | 0.83% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | rr_FeeWaiverOrReimbursementOverAssetsDateOfTermination | March 31, 2026 | ||||||
| 1 Year | rr_ExpenseExampleYear01 | $ 85 | ||||||
| 3 Years | rr_ExpenseExampleYear03 | 267 | ||||||
| 5 Years | rr_ExpenseExampleYear05 | 465 | ||||||
| 10 Years | rr_ExpenseExampleYear10 | $ 1,036 | ||||||
| Label | rr_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| 1 Year | rr_AverageAnnualReturnYear01 | 31.34% | ||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 14.68% | ||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 14.82% | ||||||
| MFS Growth Fund | Class R4 | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MFEJX | ||||||
| Maximum Sales Charge (Load) Imposed on Purchases (as a percentage of offering price) | rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | none | ||||||
| Maximum Deferred Sales Charge (Load) (as a percentage of original purchase price or redemption proceeds, whichever is less) | rr_MaximumDeferredSalesChargeOverOfferingPrice | none | ||||||
| Management Fee | rr_ManagementFeesOverAssets | 0.48% | ||||||
| Distribution and/or Service (12b-1) Fees | rr_DistributionAndService12b1FeesOverAssets | none | ||||||
| Other Expenses | rr_OtherExpensesOverAssets | 0.11% | ||||||
| Total Annual Fund Operating Expenses | rr_ExpensesOverAssets | 0.59% | ||||||
| Fee Reductions and/or Expense Reimbursements | rr_FeeWaiverOrReimbursementOverAssets | (0.01%) | [2] | |||||
| Total Annual Fund Operating Expenses After Fee Reductions and/or Expense Reimbursements | rr_NetExpensesOverAssets | 0.58% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | rr_FeeWaiverOrReimbursementOverAssetsDateOfTermination | March 31, 2026 | ||||||
| 1 Year | rr_ExpenseExampleYear01 | $ 59 | ||||||
| 3 Years | rr_ExpenseExampleYear03 | 188 | ||||||
| 5 Years | rr_ExpenseExampleYear05 | 328 | ||||||
| 10 Years | rr_ExpenseExampleYear10 | $ 737 | ||||||
| Label | rr_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| 1 Year | rr_AverageAnnualReturnYear01 | 31.67% | ||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 14.96% | ||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 15.11% | ||||||
| MFS Growth Fund | Class R6 | ||||||||
| Risk/Return: | rr_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | MFEKX | ||||||
| Maximum Sales Charge (Load) Imposed on Purchases (as a percentage of offering price) | rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | none | ||||||
| Maximum Deferred Sales Charge (Load) (as a percentage of original purchase price or redemption proceeds, whichever is less) | rr_MaximumDeferredSalesChargeOverOfferingPrice | none | ||||||
| Management Fee | rr_ManagementFeesOverAssets | 0.48% | ||||||
| Distribution and/or Service (12b-1) Fees | rr_DistributionAndService12b1FeesOverAssets | none | ||||||
| Other Expenses | rr_OtherExpensesOverAssets | 0.02% | ||||||
| Total Annual Fund Operating Expenses | rr_ExpensesOverAssets | 0.50% | ||||||
| Fee Reductions and/or Expense Reimbursements | rr_FeeWaiverOrReimbursementOverAssets | (0.01%) | [2] | |||||
| Total Annual Fund Operating Expenses After Fee Reductions and/or Expense Reimbursements | rr_NetExpensesOverAssets | 0.49% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | rr_FeeWaiverOrReimbursementOverAssetsDateOfTermination | March 31, 2026 | ||||||
| 1 Year | rr_ExpenseExampleYear01 | $ 50 | ||||||
| 3 Years | rr_ExpenseExampleYear03 | 159 | ||||||
| 5 Years | rr_ExpenseExampleYear05 | 279 | ||||||
| 10 Years | rr_ExpenseExampleYear10 | $ 627 | ||||||
| Label | rr_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| 1 Year | rr_AverageAnnualReturnYear01 | 31.79% | ||||||
| 5 Years | rr_AverageAnnualReturnYear05 | 15.07% | ||||||
| 10 Years | rr_AverageAnnualReturnYear10 | 15.22% | ||||||
| ||||||||