DataBrighten

    Debt service on external debt, total (TDS, current US$)

    5,899 × 6rows × columns: 122 countries, 1970 to 2025

    Real data: World Bank, World Development Indicators, indicator DT.TDS.DECT.CD, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows5,899country-year values
    Countries122with at least one value
    Years1970 – 202556 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Total debt service is the sum of principal repayments and interest actually paid in currency, goods, or services on long-term debt, interest paid on short-term debt, and repayments (repurchases and charges) to the IMF. Data are in current U.S. dollars.

    The numbers in 2025

    In 2025, 122 countries have a value. The highest is China (419.80 billion); the lowest is Sao Tome and Principe (7.04 million). The median country value is 1.54 billion.

    Top 10 countries, 2025

    TDS, current US$

    Source: World Bank, DT.TDS.DECT.CD, retrieved 19 November 2026. Computed from debt-service-on-external-debt-total-tds-current-usd.csv.

    Highest, 2025

    #CountryValue
    1China419.80 billion
    2Brazil169.16 billion
    3Turkiye101.22 billion
    4India89.46 billion
    5Mexico71.96 billion
    6Kazakhstan61.04 billion
    7Russian Federation55.43 billion
    8Indonesia55.36 billion
    9Colombia36.85 billion
    10Argentina33.07 billion

    Lowest, 2025

    #CountryValue
    1Sao Tome and Principe7.04 million
    2Somalia, Fed. Rep.16.42 million
    3Eritrea16.51 million
    4Comoros19.28 million
    5Tonga21.65 million
    6Solomon Islands24.25 million
    7Timor-Leste26.37 million
    8Samoa34.79 million
    9Syrian Arab Republic38.60 million
    10Vanuatu38.87 million
    How many countries report, by decade
    DecadeMost countries in one year
    1970s83
    1980s96
    1990s115
    2000s118
    2010s122
    2020s122

    By region, 2025

    World Bank regionValue
    South Asia105.00 billion

    First rows

    debt-service-on-external-debt-total-tds-current-usd.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200610894252.3
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20076154687.8
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20088030776.5
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200910739033.8
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201010431611.1
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201110326866.7
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201214850800.8
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201325088493.4

    Data dictionary

    ColumnTypeMeaning
    countrytextCountry or economy, World Bank name
    iso3textISO 3166-1 alpha-3 code
    regiontextWorld Bank region
    income_grouptextWorld Bank income group
    yearnumberCalendar year of the value
    valuenumberDebt service on external debt, total (TDS, current US$), exactly as the World Bank API returns it (not rounded)

    Only country-years with a value are in the long file; blank cells in the wide file mean no value was published.

    Practice questions

    answers computed from the file

    Which country has the highest value in 2025?

    China, with 419.80 billion.

    Excel (on the long CSV: E = year, F = value)

    =FILTER(A2:A100000,(E2:E100000=2025)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2025)))

    SQL (table wb = the CSV)

    SELECT country, value FROM wb WHERE year = 2025
      AND value = (SELECT MAX(value) FROM wb WHERE year = 2025);

    pandas (df = pd.read_csv("debt-service-on-external-debt-total-tds-current-usd.csv"))

    y = df[df.year == 2025]
    y[y.value == y.value.max()][["country", "value"]]

    File: debt-service-on-external-debt-total-tds-current-usd.csv

    How many countries report a value for 2025?

    122 of the 217 economies in the file's country list.

    Excel (on the long CSV: E = year, F = value)

    =COUNTIF(E2:E100000,2025)

    SQL (table wb = the CSV)

    SELECT COUNT(*) FROM wb WHERE year = 2025;

    pandas (df = pd.read_csv("debt-service-on-external-debt-total-tds-current-usd.csv"))

    (df.year == 2025).sum()

    File: debt-service-on-external-debt-total-tds-current-usd.csv

    What is the median across countries in 2025?

    1.54 billion (median of the 122 country values; not a World Bank aggregate).

    Excel (on the long CSV: E = year, F = value)

    =MEDIAN(FILTER(F2:F100000,E2:E100000=2025))

    SQL (table wb = the CSV)

    -- SQLite has no MEDIAN(); this picks the middle value(s)
    SELECT AVG(value) FROM (SELECT value FROM wb WHERE year = 2025 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2025) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2025));

    pandas (df = pd.read_csv("debt-service-on-external-debt-total-tds-current-usd.csv"))

    df[df.year == 2025]["value"].median()

    File: debt-service-on-external-debt-total-tds-current-usd.csv

    Which country rose the most between 2015 and 2025?

    China: from 126.69 billion to 419.80 billion, a rise of 293.12 billion (out of 121 countries with both years).

    Excel (on the long CSV: E = year, F = value)

    Use the wide file (debt-service-on-external-debt-total-tds-current-usd-wide.csv): add a column = [2025] - [2015], then sort it largest to smallest.

    SQL (table wb = the CSV)

    SELECT a.country, b.value - a.value AS rise FROM wb a JOIN wb b ON a.iso3 = b.iso3
    WHERE a.year = 2015 AND b.year = 2025 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("debt-service-on-external-debt-total-tds-current-usd.csv"))

    w = df.pivot(index="country", columns="year", values="value")
    (w[2025] - w[2015]).dropna().nlargest(1)

    File: debt-service-on-external-debt-total-tds-current-usd.csv

    Which year has the most countries reporting?

    2025, with 122 countries.

    Excel (on the long CSV: E = year, F = value)

    Make a pivot table: year in Rows, Count of value in Values, then sort by the count.

    SQL (table wb = the CSV)

    SELECT year, COUNT(*) AS n FROM wb GROUP BY year ORDER BY n DESC, year DESC LIMIT 1;

    pandas (df = pd.read_csv("debt-service-on-external-debt-total-tds-current-usd.csv"))

    df.groupby("year").size().sort_values(ascending=False).head(1)

    File: debt-service-on-external-debt-total-tds-current-usd.csv