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).
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
| Rank | Name | Value (Percent of GDP) |
|---|---|---|
| 1 | United Kingdom | 120.66 |
| 2 | Sweden | 107.72 |
| 3 | Mauritius | 80.23 |
| 4 | Indonesia | 75.98 |
| 5 | Uruguay | 64 |
| 6 | North Macedonia | 62.08 |
| 7 | Thailand | 61.74 |
| 8 | Nicaragua | 56.91 |
| 9 | Mexico | 52.77 |
| 10 | Honduras | 41.08 |
Top 10 in 1955
| Rank | Name | Value (Percent of GDP) |
|---|---|---|
| 1 | Mexico | 8.7 |
Top 5 over time
| Period | #1 | #2 | #3 | #4 | #5 |
|---|---|---|---|---|---|
| 1955 | Mexico8.7% | — | — | — | — |
| 1960 | Mexico9.36% | — | — | — | — |
| 1970 | Nicaragua33.52% | Mexico15.16% | — | — | — |
| 1980 | Nicaragua121.43% | United Kingdom50.02% | Honduras27.9% | Mexico23.42% | — |
| 1990 | Nicaragua1,624.25% | Honduras86.43% | Paraguay67% | Mexico42.84% | United Kingdom27.75% |
| 2000 | Nicaragua152.36% | Honduras64.61% | Thailand55.31% | Türkiye49.86% | Peru48.3% |
| 2010 | United Kingdom181.91% | Saint Kitts and Nevis134.9% | Sweden105.96% | Czechia64.4% | Nicaragua60.14% |
| 2020 | United Kingdom131.39% | Sweden116.51% | Czechia95.42% | Mauritius80.63% | Indonesia79.1% |
| 2023 | United 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
- Real GDP Growth by Country
- GDP per Capita, Current Prices (US$) by Country
- GDP per Capita, Current Prices (PPP) by Country
- Inflation Rate, Average Consumer Prices by Country
- Inflation Rate, End of Period Consumer Prices by Country
- Current Account Balance, Percent of GDP by Country
- General Government Gross Debt by Country
- Government Revenue, Percent of GDP by Country
- All economy charts