Shareholder Report |
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Aug. 31, 2026
USD ($)
Holding
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Document Type | N-CSR | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Amendment Flag | false | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Registrant Name | MFS SERIES TRUST I | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Entity Central Index Key | 0000798244 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Entity Investment Company Type | N-1A | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Document Period End Date | Aug. 31, 2026 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000206004 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® U.S. Government Cash Reserve Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | CRRXX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS U.S. Government Cash Reserve Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 38 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.37% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 452,589,287 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 23 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,816,061 | [1] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Composition including fixed income credit quality
Maturity breakdown
Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002188 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® U.S. Government Cash Reserve Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | CRKXX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS U.S. Government Cash Reserve Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 43 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.42% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 452,589,287 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 23 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,816,061 | [2] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Composition including fixed income credit quality
Maturity breakdown
Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002187 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® U.S. Government Cash Reserve Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | CRJXX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS U.S. Government Cash Reserve Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 43 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.42% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 452,589,287 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 23 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,816,061 | [3] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Composition including fixed income credit quality
Maturity breakdown
Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002186 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® U.S. Government Cash Reserve Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | CRMXX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS U.S. Government Cash Reserve Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 43 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.42% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 452,589,287 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 23 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,816,061 | [4] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Composition including fixed income credit quality
Maturity breakdown
Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002184 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® U.S. Government Cash Reserve Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | CRVXX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS U.S. Government Cash Reserve Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 43 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.42% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 452,589,287 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 23 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,816,061 | [5] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Composition including fixed income credit quality
Maturity breakdown
Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000206005 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® U.S. Government Cash Reserve Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class I | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | CRHXX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS U.S. Government Cash Reserve Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 43 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.42% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 452,589,287 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 23 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,816,061 | [6] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Composition including fixed income credit quality
Maturity breakdown
Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002183 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® U.S. Government Cash Reserve Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class C | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MCCXX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS U.S. Government Cash Reserve Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 43 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.42% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 452,589,287 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 23 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,816,061 | [7] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Composition including fixed income credit quality
Maturity breakdown
Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002182 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® U.S. Government Cash Reserve Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class B | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MCRXX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS U.S. Government Cash Reserve Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 43 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.42% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 452,589,287 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 23 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,816,061 | [8] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Composition including fixed income credit quality
Maturity breakdown
Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002179 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® U.S. Government Cash Reserve Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class A | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MSRXX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS U.S. Government Cash Reserve Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 43 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.42% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 452,589,287 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 23 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,816,061 | [9] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Composition including fixed income credit quality
Maturity breakdown
Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned to portfolio securities utilizing ratings from Moody’s, Fitch, and Standard & Poor’s rating agencies and applying the following hierarchy: If all three agencies provide a rating, the middle rating (after dropping the highest and lowest ratings) is assigned; if two of the three agencies rate a security, the lower of the two is assigned. Ratings are shown in the S&P scale. All ratings are subject to change. The fund did not hold unrated securities. The fund is not rated by these agencies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002190 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Core Equity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class A | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRGAX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Core Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 93 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.87% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class A over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance. This graph includes the deduction of the maximum applicable sales charge.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/a for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 6,509,449,817 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 173 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 32,783,354 | [10] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 57.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Global equity sectors
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002192 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Core Equity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class B | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRGBX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Core Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 173 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.62% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class B over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/b for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 6,509,449,817 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 173 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 32,783,354 | [11] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 57.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Global equity sectors
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002193 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Core Equity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class C | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRGCX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Core Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 173 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.62% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class C over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] | Average Annual Total Returns through 8/31/26 This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/c for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 6,509,449,817 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 173 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 32,783,354 | [12] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 57.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Global equity sectors
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002194 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Core Equity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class I | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRGRX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Core Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 67 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.62% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class I over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/i for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 6,509,449,817 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 173 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 32,783,354 | [13] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 57.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Global equity sectors
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002196 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Core Equity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRGGX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Core Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 173 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.62% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R1 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r1 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 6,509,449,817 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 173 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 32,783,354 | [14] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 57.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Global equity sectors
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002198 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Core Equity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRERX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Core Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 120 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.12% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R2 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r2 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 6,509,449,817 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 173 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 32,783,354 | [15] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 57.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Global equity sectors
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002199 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Core Equity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRGHX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Core Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 93 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.87% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R3 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r3 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 6,509,449,817 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 173 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 32,783,354 | [16] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 57.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Global equity sectors
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002191 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Core Equity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRGJX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Core Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 67 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.62% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R4 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r4 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 6,509,449,817 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 173 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 32,783,354 | [17] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 57.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Global equity sectors
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000124424 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Core Equity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRGKX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Core Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 58 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.54% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R6 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r6 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 6,509,449,817 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 173 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 32,783,354 | [18] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 57.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Global equity sectors
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000075013 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® New Discovery Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MNDKX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS New Discovery Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 94 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.85% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R6 over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r6 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,140,841,934 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 118 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 17,475,466 | [19] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 95.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002211 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® New Discovery Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MNDJX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS New Discovery Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 107 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.96% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R4 over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r4 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,140,841,934 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 118 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 17,475,466 | [20] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 95.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002222 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® New Discovery Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MNDHX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS New Discovery Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 134 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.21% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R3 over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r3 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,140,841,934 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 118 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 17,475,466 | [21] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 95.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002221 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® New Discovery Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MNDRX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS New Discovery Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 162 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.46% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R2 over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r2 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,140,841,934 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 118 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 17,475,466 | [22] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 95.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002219 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® New Discovery Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MNDGX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS New Discovery Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 217 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.96% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R1 over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r1 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,140,841,934 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 118 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 17,475,466 | [23] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 95.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002217 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® New Discovery Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class I | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MNDIX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS New Discovery Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 107 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.96% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class I over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/i for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,140,841,934 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 118 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 17,475,466 | [24] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 95.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002216 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® New Discovery Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class C | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MNDCX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS New Discovery Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 217 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.96% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class C over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/c for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,140,841,934 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 118 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 17,475,466 | [25] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 95.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002215 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® New Discovery Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class B | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MNDBX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS New Discovery Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 217 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.96% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class B over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/b for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,140,841,934 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 118 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 17,475,466 | [26] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 95.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002210 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® New Discovery Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class A | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MNDAX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS New Discovery Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 134 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.21% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class A over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests. This graph includes the deduction of the maximum applicable sales charge.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/a for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,140,841,934 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 118 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 17,475,466 | [27] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 95.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002223 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® ResearchInternational Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class A | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRSAX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Research International Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 108 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.98% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class A over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance. This graph includes the deduction of the maximum applicable sales charge.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/a for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 17,611,863,872 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 117 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 107,956,758 | [28] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 35.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002228 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® ResearchInternational Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class B | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRIBX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Research International Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 189 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.72% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class B over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/b for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 17,611,863,872 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 117 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 107,956,758 | [29] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 35.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002229 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® ResearchInternational Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class C | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRICX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Research International Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 190 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.73% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class C over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] | Average Annual Total Returns through 8/31/26 This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/c for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 17,611,863,872 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 117 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 107,956,758 | [30] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 35.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002230 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® ResearchInternational Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class I | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRSIX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Research International Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] | FUND EXPENSES What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 81 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.73% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] | MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] | FUND PERFORMANCE The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions. Growth of a Hypothetical $10,000 Investment This graph shows the performance of a hypothetical $10,000 investment in Class I over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] | Average Annual Total Returns through 8/31/26 This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] | Visit mfs.com/perf/i for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 17,611,863,872 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 117 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 107,956,758 | [31] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 35.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable. Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] | PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26) Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002232 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® ResearchInternational Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRSGX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Research International Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 190 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.73% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R1 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r1 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 17,611,863,872 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 117 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 107,956,758 | [32] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 35.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002234 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® ResearchInternational Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRSRX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Research International Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 136 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.23% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R2 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r2 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 17,611,863,872 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 117 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 107,956,758 | [33] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 35.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002235 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® ResearchInternational Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRSHX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Research International Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 108 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.98% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R3 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r3 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 17,611,863,872 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 117 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 107,956,758 | [34] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 35.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002224 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® ResearchInternational Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRSJX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Research International Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 81 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.73% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R4 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r4 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 17,611,863,872 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 117 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 107,956,758 | [35] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 35.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000034436 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® ResearchInternational Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRSKX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Research International Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 70 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.63% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R6 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r6 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 17,611,863,872 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 117 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 107,956,758 | [36] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 35.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000124425 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Technology Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MTCLX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Technology Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 88 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.77% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R6 over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r6 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,372,124,346 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 54 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 15,777,828 | [37] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 59.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Top five industries
For purposes of these classifications, MFS uses its own internal sector/industry classification methodology, which may deviate from classification methodologies used by other industry participants (e.g., the Global Industry Classification Standard).
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002250 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Technology Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MTCJX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Technology Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 99 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.86% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R4 over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r4 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,372,124,346 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 54 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 15,777,828 | [38] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 59.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Top five industries
For purposes of these classifications, MFS uses its own internal sector/industry classification methodology, which may deviate from classification methodologies used by other industry participants (e.g., the Global Industry Classification Standard).
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002258 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Technology Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MTCHX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Technology Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 127 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.11% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R3 over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r3 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,372,124,346 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 54 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 15,777,828 | [39] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 59.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Top five industries
For purposes of these classifications, MFS uses its own internal sector/industry classification methodology, which may deviate from classification methodologies used by other industry participants (e.g., the Global Industry Classification Standard).
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002257 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Technology Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MTERX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Technology Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 155 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.36% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R2 over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r2 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,372,124,346 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 54 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 15,777,828 | [40] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 59.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Top five industries
For purposes of these classifications, MFS uses its own internal sector/industry classification methodology, which may deviate from classification methodologies used by other industry participants (e.g., the Global Industry Classification Standard).
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002255 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Technology Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MTCKX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Technology Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 212 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.86% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R1 over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r1 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,372,124,346 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 54 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 15,777,828 | [41] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 59.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Top five industries
For purposes of these classifications, MFS uses its own internal sector/industry classification methodology, which may deviate from classification methodologies used by other industry participants (e.g., the Global Industry Classification Standard).
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002253 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Technology Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class I | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MTCIX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Technology Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 99 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.86% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class I over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/i for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,372,124,346 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 54 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 15,777,828 | [42] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 59.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Top five industries
For purposes of these classifications, MFS uses its own internal sector/industry classification methodology, which may deviate from classification methodologies used by other industry participants (e.g., the Global Industry Classification Standard).
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002252 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Technology Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class C | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MTCCX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Technology Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 212 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.86% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class C over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] | Average Annual Total Returns through 8/31/26 This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/c for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,372,124,346 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 54 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 15,777,828 | [43] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 59.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Top five industries
For purposes of these classifications, MFS uses its own internal sector/industry classification methodology, which may deviate from classification methodologies used by other industry participants (e.g., the Global Industry Classification Standard).
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002251 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Technology Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class B | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MTCBX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Technology Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 212 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.86% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class B over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/b for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,372,124,346 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 54 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 15,777,828 | [44] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 59.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Top five industries
For purposes of these classifications, MFS uses its own internal sector/industry classification methodology, which may deviate from classification methodologies used by other industry participants (e.g., the Global Industry Classification Standard).
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002249 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Technology Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class A | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MTCAX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Technology Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 127 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.11% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class A over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests. This graph includes the deduction of the maximum applicable sales charge.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/a for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 2,372,124,346 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 54 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 15,777,828 | [45] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 59.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Top five industries
For purposes of these classifications, MFS uses its own internal sector/industry classification methodology, which may deviate from classification methodologies used by other industry participants (e.g., the Global Industry Classification Standard).
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002259 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Value Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class A | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MEIAX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Value Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Notice [Text Block] | This report describes certain changes to the Fund that occurred during the reporting period.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 85 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.80% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class A over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests. This graph includes the deduction of the maximum applicable sales charge.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Change Date | Jun. 10, 2026 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/a for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 46,014,206,763 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 70 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 230,847,371 | [46] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 29.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change [Text Block] |
MATERIAL FUND CHANGES
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Strategies [Text Block] | Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Summary of Change Legend [Text Block] |
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Web Address | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002264 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Value Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class B | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MFEBX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Value Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Notice [Text Block] |
This report describes certain changes to the Fund that occurred during the reporting period.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 165 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.55% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class B over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Change Date | Jun. 10, 2026 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/b for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 46,014,206,763 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 70 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 230,847,371 | [47] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 29.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change [Text Block] |
MATERIAL FUND CHANGES
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Strategies [Text Block] |
Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Summary of Change Legend [Text Block] |
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Web Address | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002265 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Value Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class C | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MEICX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Value Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Notice [Text Block] | This report describes certain changes to the Fund that occurred during the reporting period.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 165 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.55% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class C over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] | Average Annual Total Returns through 8/31/26 This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Change Date | Jun. 10, 2026 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/c for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 46,014,206,763 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 70 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 230,847,371 | [48] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 29.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change [Text Block] |
MATERIAL FUND CHANGES
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Strategies [Text Block] | Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Summary of Change Legend [Text Block] |
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Web Address | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002266 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Value Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class I | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MEIIX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Value Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Notice [Text Block] |
This report describes certain changes to the Fund that occurred during the reporting period.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 59 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.55% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class I over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Change Date | Jun. 10, 2026 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/i for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 46,014,206,763 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 70 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 230,847,371 | [49] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 29.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change [Text Block] |
MATERIAL FUND CHANGES
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Strategies [Text Block] |
Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Summary of Change Legend [Text Block] |
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Web Address | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002268 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Value Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MEIGX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Value Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Notice [Text Block] |
This report describes certain changes to the Fund that occurred during the reporting period.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 165 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.55% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R1 over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Change Date | Jun. 10, 2026 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r1 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 46,014,206,763 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 70 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 230,847,371 | [50] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 29.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change [Text Block] |
MATERIAL FUND CHANGES
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Strategies [Text Block] |
Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Summary of Change Legend [Text Block] |
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Web Address | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002270 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Value Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MVRRX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Value Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Notice [Text Block] |
This report describes certain changes to the Fund that occurred during the reporting period.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 112 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.05% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R2 over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Change Date | Jun. 10, 2026 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r2 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 46,014,206,763 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 70 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 230,847,371 | [51] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 29.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change [Text Block] |
MATERIAL FUND CHANGES
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Strategies [Text Block] |
Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Summary of Change Legend [Text Block] |
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Web Address | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002271 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Value Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MEIHX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Value Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Notice [Text Block] | This report describes certain changes to the Fund that occurred during the reporting period.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 85 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.80% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R3 over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Change Date | Jun. 10, 2026 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r3 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 46,014,206,763 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 70 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 230,847,371 | [52] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 29.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change [Text Block] |
MATERIAL FUND CHANGES
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Strategies [Text Block] | Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Summary of Change Legend [Text Block] |
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Web Address | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000002260 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Value Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MEIJX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Value Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Notice [Text Block] | This report describes certain changes to the Fund that occurred during the reporting period.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 59 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.55% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R4 over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Change Date | Jun. 10, 2026 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r4 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 46,014,206,763 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 70 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 230,847,371 | [53] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 29.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change [Text Block] |
MATERIAL FUND CHANGES
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Strategies [Text Block] | Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Summary of Change Legend [Text Block] |
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Web Address | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000033014 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Value Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MEIKX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Value Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Notice [Text Block] | This report describes certain changes to the Fund that occurred during the reporting period.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 47 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.44% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R6 over a ten year period or since inception, if shorter, in comparison to (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of (i) a broad measure of market performance and (ii) an additional index that MFS believes more closely reflects the market segments in which the fund invests, over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Change Date | Jun. 10, 2026 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r6 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 46,014,206,763 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 70 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 230,847,371 | [54] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 29.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change [Text Block] |
MATERIAL FUND CHANGES
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Material Fund Change Strategies [Text Block] |
Effective June 10, 2026, the MFS Value Fund adopted a policy to invest at least 80% of its net assets in value companies and expanded on the factors used to define value companies.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Summary of Change Legend [Text Block] |
This is a summary of certain changes to the fund since September 1, 2025. For more complete information, you may review the fund's prospectus as amended, which is available at funds.mfs.com or upon request at 1‑800‑225‑2606.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Prospectus Web Address | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132021 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low VolatilityEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MLVTX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 59 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.56% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R6 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r6 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 317,343,526 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 97 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,656,252 | [55] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 49.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132020 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low VolatilityEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MLVRX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 68 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.64% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R4 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r4 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 317,343,526 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 97 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,656,252 | [56] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 49.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132019 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low VolatilityEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MLVPX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 94 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.89% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R3 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r3 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 317,343,526 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 97 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,656,252 | [57] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 49.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132018 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low VolatilityEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MLVOX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 120 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.14% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R2 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r2 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 317,343,526 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 97 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,656,252 | [58] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 49.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132017 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low VolatilityEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MLVMX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 172 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.64% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R1 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r1 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 317,343,526 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 97 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,656,252 | [59] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 49.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132016 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low VolatilityEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class I | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MLVHX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 68 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.64% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class I over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/i for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 317,343,526 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 97 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,656,252 | [60] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 49.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132015 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low VolatilityEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class C | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MLVGX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 172 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.64% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class C over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/c for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 317,343,526 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 97 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,656,252 | [61] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 49.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132014 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low VolatilityEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class B | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MLVBX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 172 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.64% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class B over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/b for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 317,343,526 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 97 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,656,252 | [62] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 49.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132013 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low VolatilityEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class A | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MLVAX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 94 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.89% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class A over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance. This graph includes the deduction of the maximum applicable sales charge.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/a for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 317,343,526 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 97 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,656,252 | [63] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 49.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Equity sectors
Top ten holdings
MFS uses the Global Industry Classification Standard (GICS®) for sector/industry reporting. MFS has applied its own internal sector/industry classification methodology for equity securities and non-equity securities that are unclassified by GICS.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132022 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low Volatility GlobalEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class A | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MVGAX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Global Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 105 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.99% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class A over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance. This graph includes the deduction of the maximum applicable sales charge.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/a for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 300,940,594 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 108 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,590,456 | [64] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132023 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low Volatility GlobalEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class B | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MVGBX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Global Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 184 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.74% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class B over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
CDSC – Contingent Deferred Sales Charge.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/b for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 300,940,594 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 108 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,590,456 | [65] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] | PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26) Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132024 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low Volatility GlobalEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class C | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MVGCX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Global Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 184 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.74% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class C over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] | Average Annual Total Returns through 8/31/26 This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/c for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 300,940,594 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 108 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,590,456 | [66] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132025 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low Volatility GlobalEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class I | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MVGIX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Global Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 79 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.74% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class I over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/i for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 300,940,594 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 108 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,590,456 | [67] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132026 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low Volatility GlobalEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MVGJX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Global Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 184 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.74% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R1 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r1 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 300,940,594 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 108 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,590,456 | [68] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132027 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low Volatility GlobalEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MVGKX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Global Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 131 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.24% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R2 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r2 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 300,940,594 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 108 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,590,456 | [69] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] | PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26) Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132028 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low Volatility GlobalEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MVGLX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Global Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 105 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.99% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R3 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r3 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 300,940,594 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 108 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,590,456 | [70] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] | PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26) Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] |
Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132029 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low Volatility GlobalEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MVGMX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Global Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 79 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.74% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R4 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r4 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 300,940,594 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 108 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,590,456 | [71] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000132030 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Low Volatility GlobalEquity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MVGNX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Low Volatility Global Equity Fund for the period of September 1, 2025 to August 31, 2026. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report Annual or Semi-Annual | annual shareholder report | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information [Text Block] | You can find additional information about the fund at funds.mfs.com. You can also request this information by contacting us at 1‑800‑225‑2606 or by sending an e-mail request to orderliterature@mfs.com. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Phone Number | 1‑800‑225‑2606 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Email | orderliterature@mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Information Website | funds.mfs.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses [Text Block] |
FUND EXPENSES
What were the fund costs for the last year?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expenses Paid, Amount | $ 70 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.66% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Factors Affecting Performance [Text Block] |
MANAGEMENT'S DISCUSSION OF FUND PERFORMANCE
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | The fund’s past performance is not a good predictor of the fund’s future performance. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Line Graph [Table Text Block] |
FUND PERFORMANCE
The fund’s past performance is not a good predictor of the fund’s future performance. The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. The graph and table below assume reinvestment of dividends and capital gain distributions.
Growth of a Hypothetical $10,000 Investment
This graph shows the performance of a hypothetical $10,000 investment in Class R6 over a ten year period or since inception, if shorter, in comparison to a broad measure of market performance.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Average Annual Return [Table Text Block] |
Average Annual Total Returns through 8/31/26
This table shows the average annual total returns of the class of shares noted for the periods shown, both with (if any) and without sales charges. It also shows the average annual total returns of a broad measure of market performance over the same periods.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Deduction of Taxes [Text Block] | The graph and table below do not reflect the deduction of taxes that a shareholder would pay on fund distributions or the redemption of fund shares. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Updated Performance Information Location [Text Block] |
Visit mfs.com/perf/r6 for more recent performance information.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Assets | $ 300,940,594 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 108 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 1,590,456 | [72] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 8/31/26
# Includes the effect of any management fee waivers, if applicable.
Where the fund holds derivatives, they are not included in the total number of portfolio holdings.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings [Text Block] |
PORTFOLIO COMPOSITION (BASED ON TOTAL INVESTMENTS AS OF 8/31/26)
Portfolio structure
Top ten holdings
Issuer country weightings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largest Holdings [Text Block] | Top ten holdings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||