| Label | Element | Value | ||||||
|---|---|---|---|---|---|---|---|---|
| MFS Blended Research Value Equity Fund | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Risk/Return [Heading] | oef_RiskReturnHeading | MFS® Blended Research® Value Equity 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 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. Expenses have been adjusted to reflect current fee arrangements. Expenses for Class R1 shares have been adjusted to reflect the full impact of the distribution fee. 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) seeks to achieve the fund's objective by actively identifying potential investments based on fundamental and quantitative analysis and then constructing a portfolio from these potential investments while managing various risk factors (e.g., issuer, industry, and sector weightings, market capitalization, and volatility) compared to the Russell 1000® Value Index. MFS normally invests at least 80% of the fund’s net assets in equity securities of value companies. Value companies are companies that MFS believes are undervalued compared to their perceived worth in the marketplace. MFS considers a number of factors when determining whether a company is undervalued, including whether (i) the issuer is included in an index which is representative of value companies; (ii) the issuer is classified as a value company by an independent third party financial data provider and/or (iii) the issuer exhibits the characteristics of a value company, considering metrics such as historical and/or projected price-to-book, price-to-earnings, and price-to-cash flow ratios, enterprise value (the total value of the issuer’s outstanding equity and debt) relative to earnings, and free cash flow yield compared to the applicable equity market and/or to issuers in the same sector or industry. In assessing the relative value of an issuer, MFS may also consider measures of financial quality, such as indicators of profitability (i.e., return on equity and return on invested capital), balance sheet strength (including leverage and interest coverage ratios), and capital allocation discipline. Value companies tend to have stock prices that are low relative to their earnings, dividends, assets, or other financial measures. Equity securities include common stocks, depositary receipts, equity interests in real estate investment trusts (REITs), and other securities that represent an ownership interest (or right to acquire an ownership interest) in a company or other issuer. 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 uses an active bottom-up approach to buying and selling investments for the fund. Investments are selected primarily based on blending fundamental and quantitative research. MFS uses fundamental analysis of individual issuers, which takes into account factors such as an issuer’s financial condition and market, economic, political, and regulatory conditions, to determine a fundamental rating for an issuer. MFS uses quantitative analysis to systematically evaluate an issuer’s valuation, price and earnings momentum, earnings quality, and other factors, in determining a quantitative rating for an issuer. MFS combines the fundamental rating with the quantitative rating to create a blended rating for an issuer. When the fundamental rating is not available, MFS treats the issuer as having a neutral fundamental rating. MFS constructs the portfolio using a portfolio optimization process that considers the blended rating, as well as issuer, industry, and sector weightings, market capitalization, volatility, and other factors. The portfolio managers have the discretion to adjust the inputs and parameters used in the optimization process and the fund's portfolio holdings based on factors such as the desired portfolio characteristics and the portfolio managers’ qualitative assessment of the optimization results. MFS' goal is to construct an actively managed portfolio with a target predicted tracking error of approximately 2% compared to the Russell 1000® Value Index. Tracking error generally measures how the differences between the fund's returns and the Russell 1000® Value Index's returns have varied over a period of time. 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 | Value companies are companies that MFS believes are undervalued compared to their perceived worth in the marketplace. MFS considers a number of factors when determining whether a company is undervalued, including whether (i) the issuer is included in an index which is representative of value companies; (ii) the issuer is classified as a value company by an independent third party financial data provider and/or (iii) the issuer exhibits the characteristics of a value company, considering metrics such as historical and/or projected price-to-book, price-to-earnings, and price-to-cash flow ratios, enterprise value (the total value of the issuer’s outstanding equity and debt) relative to earnings, and free cash flow yield compared to the applicable equity market and/or to issuers in the same sector or industry. In assessing the relative value of an issuer, MFS may also consider measures of financial quality, such as indicators of profitability (i.e., return on equity and return on invested capital), balance sheet strength (including leverage and interest coverage ratios), and capital allocation discipline. Value companies tend to have stock prices that are low relative to their earnings, dividends, assets, or other financial measures. Equity securities include common stocks, depositary receipts, equity interests in real estate investment trusts (REITs), and other securities that represent an ownership interest (or right to acquire an ownership interest) in a company or other issuer. | ||||||
| Summary of Selection Criteria for Rule 35d-1 Term in Fund Name [Text Block] | fnd_NmRule35d1TermSlctnCritSmryTextBlock | Value companies are companies that MFS believes are undervalued compared to their perceived worth in the marketplace. MFS considers a number of factors when determining whether a company is undervalued, including whether (i) the issuer is included in an index which is representative of value companies; (ii) the issuer is classified as a value company by an independent third party financial data provider and/or (iii) the issuer exhibits the characteristics of a value company, considering metrics such as historical and/or projected price-to-book, price-to-earnings, and price-to-cash flow ratios, enterprise value (the total value of the issuer’s outstanding equity and debt) relative to earnings, and free cash flow yield compared to the applicable equity market and/or to issuers in the same sector or industry. In assessing the relative value of an issuer, MFS may also consider measures of financial quality, such as indicators of profitability (i.e., return on equity and return on invested capital), balance sheet strength (including leverage and interest coverage ratios), and capital allocation discipline. Value companies tend to have stock prices that are low relative to their earnings, dividends, assets, or other financial measures. Equity securities include common stocks, depositary receipts, equity interests in real estate investment trusts (REITs), and other securities that represent an ownership interest (or right to acquire an ownership interest) in a company or other issuer. | ||||||
| Rule 35d-1 Eighty Percent Investment Policy [Text Block] | fnd_NmRule35d1EightyPctInvstmntPlcyTextBlock | MFS normally invests at least 80% of the fund’s net assets in equity securities of value companies. | ||||||
| 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 17.50%. During the period(s) shown in the bar chart, the highest quarterly return was 15.94% (for the calendar quarter ended December 31, 2020) and the lowest quarterly return was (27.36)% (for the calendar quarter ended March 31, 2020). |
||||||
| 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 Blended Research Value Equity 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 Blended Research Value Equity 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 Blended Research Value Equity 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 Blended Research Value Equity Fund | Investment Selection Risk | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Risk [Text Block] | oef_RiskTextBlock | Investment Selection Risk: MFS' investment analysis, its development and use of quantitative models, and its selection of investments may not produce the intended results and/or can lead to an investment focus that results in the fund underperforming other funds with similar investment strategies and/or underperforming the markets in which the fund invests. The quantitative models used by MFS (both proprietary and third-party) may not produce the intended results for a variety of reasons, including the factors used in the models, the weight placed on each factor in the models, changes from the market factors' historical trends, changing sources of market return or market risk, and technical issues in the design, development, implementation, application, and maintenance of the models (e.g., incomplete, stale, or inaccurate data, human error, programming or other software issues, coding errors, and technology failures). |
||||||
| MFS Blended Research Value Equity Fund | Equity Market Risk/Company Risk | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Risk [Text Block] | oef_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 Blended Research Value Equity Fund | Value Company Risk | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Risk [Text Block] | oef_RiskTextBlock | Value Company Risk: The stocks of value companies can continue to be undervalued for long periods of time and not realize their expected value and can be more volatile than the market in general. |
||||||
| MFS Blended Research Value Equity Fund | Investment Strategy Risk | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Risk [Text Block] | oef_RiskTextBlock | Investment Strategy Risk: There is no assurance that the fund's predicted tracking error will equal its target predicted tracking error at any point in time or consistently for any period of time, or that the fund's predicted tracking error and actual tracking error will be similar. The fund's strategy to target a predicted tracking error of approximately 2% compared to the Russell 1000® Value Index and to blend fundamental and quantitative research may not produce the intended results. In addition, MFS' fundamental research is not available for all issuers. |
||||||
| MFS Blended Research Value Equity Fund | Foreign Risk | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Risk [Text Block] | oef_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 Blended Research Value Equity Fund | REITs Risk | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Risk [Text Block] | oef_RiskTextBlock | REITs Risk: The risks of investing in REITs include certain risks associated with the direct ownership of real estate and the real estate industry in general. These include risks related to general, regional and local economic conditions; difficulties in valuing and disposing of real estate; fluctuations in interest rates and property tax rates; shifts in zoning laws, environmental regulations and other governmental action; cash flow dependency; increased operating expenses; lack of availability of mortgage funds; losses due to natural disasters; overbuilding; losses due to casualty or condemnation; changes in property values and rental rates; the management skill and creditworthiness of the REIT manager; and other factors. The securities of smaller real estate-related issuers can be more volatile and less liquid than securities of larger issuers and their issuers can have more limited financial resources. |
||||||
| MFS Blended Research Value Equity 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. |
||||||
| MFS Blended Research Value Equity 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 Blended Research Value Equity 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 Blended Research Value Equity Fund | Russell 3000® Index | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Russell 3000® Index | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 17.15% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 13.15% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 14.29% | ||||||
| MFS Blended Research Value Equity Fund | Russell 1000® Value Index | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Russell 1000® Value Index | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 15.91% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 11.33% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 10.53% | ||||||
| MFS Blended Research Value Equity Fund | Class A | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | BRUDX | ||||||
| Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price) | oef_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | 5.75% | ||||||
| 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.25% | ||||||
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 0.25% | ||||||
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.18% | ||||||
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 0.68% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.04%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 0.64% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | September 30, 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 | $ 637 | ||||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 776 | ||||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 928 | ||||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | $ 1,369 | ||||||
| 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 | 17.50% | ||||||
| Highest Quarterly Return, Label [Optional Text] | oef_HighestQuarterlyReturnLabel | highest quarterly return | ||||||
| Highest Quarterly Return, Date | oef_BarChartHighestQuarterlyReturnDate | Dec. 31, 2020 | ||||||
| Highest Quarterly Return | oef_BarChartHighestQuarterlyReturn | 15.94% | ||||||
| Lowest Quarterly Return, Label [Optional Text] | oef_LowestQuarterlyReturnLabel | lowest quarterly return | ||||||
| Lowest Quarterly Return, Date | oef_BarChartLowestQuarterlyReturnDate | Mar. 31, 2020 | ||||||
| Lowest Quarterly Return | oef_BarChartLowestQuarterlyReturn | (27.36%) | ||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 8.40% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 10.93% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 9.76% | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | 13.85% | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | 16.36% | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | (8.58%) | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | 23.00% | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | 1.44% | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | 25.90% | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | (4.37%) | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | 14.26% | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | 12.63% | ||||||
| Annual Return [Percent] | oef_AnnlRtrPct | 15.01% | ||||||
| MFS Blended Research Value Equity 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 | 5.67% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 8.62% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 8.26% | ||||||
| MFS Blended Research Value Equity 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 | 6.90% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 8.25% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 7.65% | ||||||
| MFS Blended Research Value Equity Fund | Class B | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | BRUEX | ||||||
| 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.25% | ||||||
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 1.00% | ||||||
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.18% | ||||||
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 1.43% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.04%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 1.39% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | September 30, 2027 | ||||||
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 542 | [3] | |||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 749 | [3] | |||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 978 | [3] | |||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | 1,505 | [3] | |||||
| Expense Example, No Redemption, 1 Year | oef_ExpenseExampleNoRedemptionYear01 | 142 | [3] | |||||
| Expense Example, No Redemption, 3 Years | oef_ExpenseExampleNoRedemptionYear03 | 449 | [3] | |||||
| Expense Example, No Redemption, 5 Years | oef_ExpenseExampleNoRedemptionYear05 | 778 | [3] | |||||
| Expense Example, No Redemption, 10 Years | oef_ExpenseExampleNoRedemptionYear10 | $ 1,505 | [3] | |||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 10.22% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 11.16% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 9.75% | ||||||
| MFS Blended Research Value Equity Fund | Class C | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | BRUGX | ||||||
| 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.25% | ||||||
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 1.00% | ||||||
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.18% | ||||||
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 1.43% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.04%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 1.39% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | September 30, 2027 | ||||||
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 242 | [3] | |||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 449 | [3] | |||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 778 | [3] | |||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | 1,505 | [3] | |||||
| Expense Example, No Redemption, 1 Year | oef_ExpenseExampleNoRedemptionYear01 | 142 | [3] | |||||
| Expense Example, No Redemption, 3 Years | oef_ExpenseExampleNoRedemptionYear03 | 449 | [3] | |||||
| Expense Example, No Redemption, 5 Years | oef_ExpenseExampleNoRedemptionYear05 | 778 | [3] | |||||
| Expense Example, No Redemption, 10 Years | oef_ExpenseExampleNoRedemptionYear10 | $ 1,505 | [3] | |||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 13.18% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 11.42% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 9.74% | ||||||
| MFS Blended Research Value Equity Fund | Class I | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | BRUHX | ||||||
| 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.25% | ||||||
| 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.43% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.04%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 0.39% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | September 30, 2027 | ||||||
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 40 | ||||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 134 | ||||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 237 | ||||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | $ 538 | ||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 15.35% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 12.53% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 10.68% | ||||||
| MFS Blended Research Value Equity Fund | Class R1 | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | BRUJX | ||||||
| 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.25% | ||||||
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 1.00% | ||||||
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.18% | ||||||
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 1.43% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.04%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 1.39% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | September 30, 2027 | ||||||
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 142 | ||||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 449 | ||||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 778 | ||||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | $ 1,710 | ||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 14.99% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 12.18% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 9.97% | ||||||
| MFS Blended Research Value Equity Fund | Class R2 | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | BRUKX | ||||||
| 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.25% | ||||||
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 0.50% | ||||||
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.18% | ||||||
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 0.93% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.04%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 0.89% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | September 30, 2027 | ||||||
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 91 | ||||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 292 | ||||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 511 | ||||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | $ 1,139 | ||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 14.72% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 11.97% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 10.14% | ||||||
| MFS Blended Research Value Equity Fund | Class R3 | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | BRULX | ||||||
| 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.25% | ||||||
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 0.25% | ||||||
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.18% | ||||||
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 0.68% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.04%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 0.64% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | September 30, 2027 | ||||||
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 65 | ||||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 214 | ||||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 375 | ||||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | $ 843 | ||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 15.03% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 12.26% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 10.41% | ||||||
| MFS Blended Research Value Equity Fund | Class R4 | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | BRUMX | ||||||
| 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.25% | ||||||
| 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.43% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.04%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 0.39% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | September 30, 2027 | ||||||
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 40 | ||||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 134 | ||||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 237 | ||||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | $ 538 | ||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 15.32% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 12.54% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 10.69% | ||||||
| MFS Blended Research Value Equity Fund | Class R6 | ||||||||
| Risk/Return: | oef_RiskReturnAbstract | |||||||
| Trading Symbol | dei_TradingSymbol | BRUNX | ||||||
| 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.25% | ||||||
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 0.00% | ||||||
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.11% | ||||||
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 0.36% | ||||||
| Fee Waiver or Reimbursement | oef_FeeWaiverOrReimbursementOverAssets | (0.02%) | [2] | |||||
| Net Expenses (as a percentage of Assets) | oef_NetExpensesOverAssets | 0.34% | ||||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | oef_FeeWaiverOrReimbursementOverAssetsDateOfTermination | September 30, 2027 | ||||||
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 35 | ||||||
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 114 | ||||||
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 200 | ||||||
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | $ 454 | ||||||
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | Returns Before Taxes | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 15.38% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 12.63% | ||||||
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 10.78% | ||||||
| ||||||||