Shareholder Report |
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Apr. 30, 2026
USD ($)
Holding
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Document Type | N-CSR | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Amendment Flag | false | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Registrant Name | MFS SERIES TRUST IX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Entity Central Index Key | 0000063075 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Entity Investment Company Type | N-1A | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Document Period End Date | Apr. 30, 2026 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006757 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Municipal LimitedMaturity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class A | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MTLFX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Municipal Limited Maturity Fund for the period of May 1, 2025 to April 30, 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.58% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 3,116,903,553 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 1,069 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 9,561,990 | [1] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 26.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit
quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006758 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Municipal LimitedMaturity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class B | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MTLBX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Municipal Limited Maturity Fund for the period of May 1, 2025 to April 30, 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.33% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 3,116,903,553 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 1,069 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 9,561,990 | [2] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 26.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit
quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006759 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Municipal LimitedMaturity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class C | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MTLCX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Municipal Limited Maturity Fund for the period of May 1, 2025 to April 30, 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 | $ 146 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.43% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 3,116,903,553 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 1,069 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 9,561,990 | [3] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 26.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000092113 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Municipal LimitedMaturity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class I | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MTLIX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Municipal Limited Maturity Fund for the period of May 1, 2025 to April 30, 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 | $ 44 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.43% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 3,116,903,553 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 1,069 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 9,561,990 | [4] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 26.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit
quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000195152 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Municipal LimitedMaturity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MTLRX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Municipal Limited Maturity Fund for the period of May 1, 2025 to April 30, 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 | $ 37 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.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 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 4/30/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.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Performance Inception Date | Sep. 01, 2017 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 | $ 3,116,903,553 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 1,069 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 9,561,990 | [5] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 26.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit
quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006760 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Total Return Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class A | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRBFX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Total Return Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 61 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.60% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 8,274,986,056 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 1,074 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 28,761,662 | [6] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 48.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006765 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Total Return Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class B | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRBBX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Total Return Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 137 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.35% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 8,274,986,056 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 1,074 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 28,761,662 | [7] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 48.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006766 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Total Return Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class C | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRBCX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Total Return Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 148 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.45% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 8,274,986,056 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 1,074 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 28,761,662 | [8] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 48.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006767 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Total Return Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class I | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRBIX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Total Return Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 46 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.45% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 8,274,986,056 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 1,074 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 28,761,662 | [9] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 48.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | FUND STATISTICS AS OF 4/30/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 4/30/26) Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006769 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Total Return Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRBGX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Total Return Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 148 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.45% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 8,274,986,056 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 1,074 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 28,761,662 | [10] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 48.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006771 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Total Return Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRRRX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Total Return Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 97 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.95% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 8,274,986,056 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 1,074 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 28,761,662 | [11] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 48.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] | FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006772 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Total Return Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRBHX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Total Return Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 72 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.70% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 8,274,986,056 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 1,074 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 28,761,662 | [12] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 48.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006761 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Total Return Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRBJX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Total Return Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 46 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.45% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 8,274,986,056 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 1,074 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 28,761,662 | [13] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 48.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000034443 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Total Return Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MRBKX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Total Return Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 36 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.35% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 8,274,986,056 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 1,074 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 28,761,662 | [14] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 48.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006716 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Corporate Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class B | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MFBBX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Corporate Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 154 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.51% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 4,394,650,297 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 427 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 16,745,757 | [15] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit
quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006711 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Corporate Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class A | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MFBFX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Corporate Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 78 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.76% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 4,394,650,297 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 427 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 16,745,757 | [16] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit
quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000119776 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Limited Maturity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MQLKX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Limited Maturity Fund for the period of May 1, 2025 to April 30, 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 | $ 35 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.34% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 3,352,561,328 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 396 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 11,048,122 | [17] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 50.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006717 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Corporate Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class C | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MFBCX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Corporate Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 154 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.51% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 4,394,650,297 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 427 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 16,745,757 | [18] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit
quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006718 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Corporate Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class I | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MBDIX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Corporate Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 52 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.51% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 4,394,650,297 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 427 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 16,745,757 | [19] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006720 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Corporate Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MFBGX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Corporate Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 154 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.51% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 4,394,650,297 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 427 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 16,745,757 | [20] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006722 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Corporate Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MBRRX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Corporate Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 103 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.01% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 4,394,650,297 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 427 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 16,745,757 | [21] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006723 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Corporate Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MFBHX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Corporate Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 78 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.76% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 4,394,650,297 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 427 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 16,745,757 | [22] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006712 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Corporate Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MFBJX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Corporate Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 52 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.51% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 4,394,650,297 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 427 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 16,745,757 | [23] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000070424 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Corporate Bond Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MFBKX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Corporate Bond Fund for the period of May 1, 2025 to April 30, 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 | $ 42 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.41% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 4,394,650,297 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 427 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 16,745,757 | [24] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 41.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006745 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Limited Maturity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class A | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MQLFX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Limited Maturity Fund for the period of May 1, 2025 to April 30, 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.57% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 3,352,561,328 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 396 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 11,048,122 | [25] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 50.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006750 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Limited Maturity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class B | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MQLBX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Limited Maturity Fund for the period of May 1, 2025 to April 30, 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.32% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 3,352,561,328 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 396 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 11,048,122 | [26] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 50.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006751 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Limited Maturity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class C | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MQLCX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Limited Maturity Fund for the period of May 1, 2025 to April 30, 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 | $ 144 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.42% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 3,352,561,328 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 396 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 11,048,122 | [27] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 50.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] | Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006744 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Limited Maturity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class I | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MQLIX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Limited Maturity Fund for the period of May 1, 2025 to April 30, 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% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 3,352,561,328 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 396 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 11,048,122 | [28] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 50.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit
quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006753 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Limited Maturity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MQLGX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Limited Maturity Fund for the period of May 1, 2025 to April 30, 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 | $ 144 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 1.42% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 3,352,561,328 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 396 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 11,048,122 | [29] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 50.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit
quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006755 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Limited Maturity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MLMRX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Limited Maturity Fund for the period of May 1, 2025 to April 30, 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 | $ 84 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expense Ratio, Percent | 0.82% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 3,352,561,328 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 396 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 11,048,122 | [30] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 50.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit
quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006756 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Limited Maturity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MQLHX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Limited Maturity Fund for the period of May 1, 2025 to April 30, 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.67% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 3,352,561,328 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 396 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 11,048,122 | [31] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 50.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit
quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C000006746 [Member] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fund Name | MFS® Limited Maturity Fund | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class Name | Class R4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Trading Symbol | MQLJX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This annual shareholder report contains important information about MFS Limited Maturity Fund for the period of May 1, 2025 to April 30, 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% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 4/30/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 | $ 3,352,561,328 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Holdings Count | Holding | 396 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advisory Fees Paid, Amount | $ 11,048,122 | [32] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Investment Company Portfolio Turnover | 50.00% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Fund Statistics [Text Block] |
FUND STATISTICS AS OF 4/30/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 4/30/26)
Portfolio structure
Composition including fixed income credit
quality
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Credit Ratings Selection [Text Block] |
Ratings are assigned using Moody’s, Fitch, and Standard & Poor’s and applying a hierarchy: If all 3 agencies rate a security, the middle rating is assigned; if 2 agencies rate a security, the lower rating is assigned. If none of the 3 agencies rate a security, we use DBRS Morningstar. If none of the 4 agencies rate a security, we use Kroll Bond Rating Agency. Ratings are shown in the S&P and Fitch scale (e.g., AAA). All ratings are subject to change.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||