v3.26.3
Fees and Expenses - MFS Emerging Markets Debt Fund
Jul. 31, 2026
USD ($)
Prospectus [Line Items]  
Expense Heading [Optional Text] Fees and Expenses
Expense Narrative [Text Block]

This table describes the fees and expenses that you may pay when you buy, hold, and sell shares of the fund. Investors may also pay commissions or other fees to their financial intermediaries when they buy, hold, and sell shares of the fund, which are not reflected below.

You may qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your family invest, or agree to invest in the future, at least $100,000 in MFS funds. More information about these and other waivers and reductions is available from your financial intermediary and in “Sales Charges and Waivers and Reductions” on page 12 and “Appendix A – Waivers and Reductions of Sales Charges” on page A-1 of the fund’s prospectus.

Expense Breakpoint Discounts [Text] You may qualify for sales charge reductions if, with respect to Class A shares, you and certain members of your family invest, or agree to invest in the future, at least $100,000 in MFS funds.
Expense Breakpoint, Minimum Investment Required [Amount] $ 100,000
Shareholder Fees Caption [Optional Text] Shareholder Fees (fees paid directly from your investment):
Shareholder Fees [Table]
Shareholder Fees - MFS Emerging Markets Debt Fund
Class A
Class B
Class C
Class I
Class R1
Class R2
Class R3
Class R4
Class R6
Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price) 4.25% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
Maximum Deferred Sales Charge (as a percentage of Offering Price) 1.00% [1] 4.00% 1.00% 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
[1] This contingent deferred sales charge (CDSC) applies to shares purchased without an initial sales charge and redeemed within 18 months of purchase.
Operating Expenses Caption [Optional Text] Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment):
Annual Fund Operating Expenses [Table]
Annual Fund Operating Expenses - MFS Emerging Markets Debt Fund
Class A
Class B
Class C
Class I
Class R1
Class R2
Class R3
Class R4
Class R6
Management Fees (as a percentage of Assets) 0.67% 0.67% 0.67% 0.67% 0.67% 0.67% 0.67% 0.67% 0.67%
Distribution and Service (12b-1) Fees 0.25% 1.00% 1.00% 0.00% 1.00% 0.50% 0.25% 0.00% 0.00%
Other Expenses (as a percentage of Assets): 0.16% 0.16% 0.16% 0.16% 0.16% 0.16% 0.16% 0.16% 0.05%
Expenses (as a percentage of Assets) 1.08% 1.83% 1.83% 0.83% 1.83% 1.33% 1.08% 0.83% 0.72%
Fee Waiver or Reimbursement [1] (0.01%) (0.01%) (0.01%) (0.01%) (0.01%) (0.01%) (0.01%) (0.01%) (0.01%)
Net Expenses (as a percentage of Assets) 1.07% 1.82% 1.82% 0.82% 1.82% 1.32% 1.07% 0.82% 0.71%
Fee Waiver or Reimbursement over Assets, Date of Termination November 30, 2027 November 30, 2027 November 30, 2027 November 30, 2027 November 30, 2027 November 30, 2027 November 30, 2027 November 30, 2027 November 30, 2027
[1] Massachusetts Financial Services Company (MFS) has agreed in writing to waive at least 0.01% of the fund's management fee as part of an agreement pursuant to which MFS has agreed to reduce its management fee by a specified amount if certain MFS mutual fund assets exceed thresholds agreed to by MFS and the fund's Board of Trustees. The agreement to waive at least 0.01% of the management fee will continue until modified by the fund's Board of Trustees, but such agreement will continue until at least November 30, 2027.
Expense Example [Heading] Example
Expense Example Narrative [Text Block]

This example is intended to help you compare the cost of investing in the fund with the cost of investing in other mutual funds.

The example assumes that: you invest $10,000 in the fund for the time periods indicated and you redeem your shares at the end of the time periods (unless otherwise indicated); your investment has a 5% return each year; and the fund’s operating expenses remain the same.

Expense Example by, Year, Caption [Text] Although your actual costs will likely be higher or lower, under these assumptions your costs would be:
Expense Example, With Redemption [Table]
Expense Example - MFS Emerging Markets Debt Fund - USD ($)
Class A
Class B
[1]
Class C
[1]
Class I
Class R1
Class R2
Class R3
Class R4
Class R6
Expense Example, with Redemption, 1 Year $ 529 $ 585 $ 285 $ 84 $ 185 $ 134 $ 109 $ 84 $ 73
Expense Example, with Redemption, 3 Years 753 875 575 264 575 420 342 264 229
Expense Example, with Redemption, 5 Years 994 1,189 989 460 989 728 595 460 400
Expense Example, with Redemption, 10 Years $ 1,685 $ 1,950 $ 1,950 $ 1,024 $ 2,147 $ 1,601 $ 1,316 $ 1,024 $ 894
[1] Shares automatically convert to Class A shares approximately eight years after purchase; therefore, the expense examples reflect Class A share expenses after eight years.
Expense Example, No Redemption [Table]
Expense Example, No Redemption - MFS Emerging Markets Debt Fund - USD ($)
Class B
Class C
Expense Example, No Redemption, 1 Year [1] $ 185 $ 185
Expense Example, No Redemption, 3 Years [1] 575 575
Expense Example, No Redemption, 5 Years [1] 989 989
Expense Example, No Redemption, 10 Years [1] $ 1,950 $ 1,950
[1] Shares automatically convert to Class A shares approximately eight years after purchase; therefore, the expense examples reflect Class A share expenses after eight years.
Portfolio Turnover [Heading] Portfolio Turnover
Portfolio Turnover [Text Block]

The fund pays transaction costs, such as commissions, when it buys and sells securities (or “turns over” its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when shares are held in a taxable account. These transaction costs, which are not reflected in “Annual Fund Operating Expenses” or in the “Example,” affect the fund’s performance. During the most recent fiscal year, the fund’s portfolio turnover rate was 83% of the average value of its portfolio.

Portfolio Turnover, Rate 83.00%
Class A  
Prospectus [Line Items]  
Expenses Deferred Charges [Text Block] This contingent deferred sales charge (CDSC) applies to shares purchased without an initial sales charge and redeemed within 18 months of purchase.