Skip to content

Public Sector Debt by Country, 1955–2023 — Bar Chart Race

This bar chart race ranks 15 countries by public Sector Debt (Percent of GDP), year by year from 1955 to 2023. The data comes from IMF Global Debt Database (Sep 2025) (via IMF — World Economic Outlook and IMF Data).

Loading chart…

Customise this chart & export videoDownload the data (CSV)

Key facts

  • United Kingdom leads in 2023 with 120.66 Percent of GDP, followed by Sweden (107.72).
  • In 1955 the leader was Mexico with 8.7 Percent of GDP.
  • Among today’s top ten, Mexico grew the most: 6.1× since 1955.
  • The animation covers 69 time steps from 1955 to 2023 across 15 countries.

How the ranking changed

First place changed hands 7 times between 1955 and 2023: Nicaragua overtook Mexico in 1970, United Kingdom overtook Nicaragua in 1974, Nicaragua overtook United Kingdom in 1978, Saint Kitts and Nevis overtook Nicaragua in 2005 and United Kingdom overtook Saint Kitts and Nevis in 2008, among others. Nicaragua had the longest run at the top (1978–2004).

The biggest climbers into the 2023 top ten were Indonesia (11th in 2010, now 4th).

United Kingdom, Sweden, Mauritius, Indonesia and Uruguay were not in the top ten in 1955 but are in it by 2023.

Top 10 in 2023

Public Sector Debt by Country, 2023
RankNameValue (Percent of GDP)
1United Kingdom120.66
2Sweden107.72
3Mauritius80.23
4Indonesia75.98
5Uruguay64
6North Macedonia62.08
7Thailand61.74
8Nicaragua56.91
9Mexico52.77
10Honduras41.08

Top 10 in 1955

Public Sector Debt by Country, 1955
RankNameValue (Percent of GDP)
1Mexico8.7

Top 5 over time

Public Sector Debt by Country: top 5 at each point
Period#1#2#3#4#5
1955Mexico8.7%————
1960Mexico9.36%————
1970Nicaragua33.52%Mexico15.16%———
1980Nicaragua121.43%United Kingdom50.02%Honduras27.9%Mexico23.42%—
1990Nicaragua1,624.25%Honduras86.43%Paraguay67%Mexico42.84%United Kingdom27.75%
2000Nicaragua152.36%Honduras64.61%Thailand55.31%Türkiye49.86%Peru48.3%
2010United Kingdom181.91%Saint Kitts and Nevis134.9%Sweden105.96%Czechia64.4%Nicaragua60.14%
2020United Kingdom131.39%Sweden116.51%Czechia95.42%Mauritius80.63%Indonesia79.1%
2023United Kingdom120.66%Sweden107.72%Mauritius80.23%Indonesia75.98%Uruguay64%

About the data

Total stock of debt liabilities issued by the public sector as a share of GDP.

Source: IMF Global Debt Database (Sep 2025) (via IMF — World Economic Outlook and IMF Data), licensed IMF copyright; reuse with attribution. Snapshot last refreshed on . Gaps in a series are interpolated between the nearest reported values.

Questions

Which country ranks first for public Sector Debt in 2023?

United Kingdom, with 120.66%. Sweden is second with 107.72% and Mauritius third.

Which country was first in 1955?

Mexico, with 8.7%. By 2023 it ranks 9th.

When did United Kingdom become the top country?

United Kingdom took first place in 2020, overtaking Sweden.

What were the top 5 countries in 1990?

1. Nicaragua (1,624.25%), 2. Honduras (86.43%), 3. Paraguay (67%), 4. Mexico (42.84%) and 5. United Kingdom (27.75%).

Where does the data come from?

IMF Global Debt Database (Sep 2025) (via IMF — World Economic Outlook and IMF Data), published under IMF copyright; reuse with attribution. The chart covers 69 time steps from 1955 to 2023 for 15 countries.

Can I export the bar chart race as a video?

Yes. The chart is rendered frame by frame in your browser and saved as an MP4 (H.264) file at up to 4K and 60 frames per second. Nothing is uploaded, so your data stays on your device.

More bar chart races