Government Debt (% of GDP) by Country, 2004–2025 — Bar Chart Race
This bar chart race ranks 45 countries by government Debt (% of GDP) (Percent of GDP), year by year from 2004 to 2025. The data comes from IMF AFR Regional Economic Outlook (October 2026) (via IMF — World Economic Outlook and IMF Data).
Customise this chart & export videoDownload the data (CSV)
Key facts
- Senegal leads in 2025 with 127.74 Percent of GDP, followed by Cabo Verde (115.41).
- In 2004 the leader was Liberia with 543.39 Percent of GDP.
- Among today’s top ten, Senegal grew the most: 3.4× since 2004.
- The animation covers 22 time steps from 2004 to 2025 across 45 countries.
How the ranking changed
First place changed hands 4 times between 2004 and 2025: Eritrea overtook Liberia in 2008, Cabo Verde overtook Eritrea in 2020, Zambia overtook Cabo Verde in 2023 and Senegal overtook Zambia in 2024. Eritrea had the longest run at the top (2008–2019).
The biggest climbers into the 2025 top ten were Senegal (33rd in 2004, now 1st), South Africa (35th in 2004, now 9th) and Mozambique (24th in 2004, now 6th).
Senegal, Cabo Verde, Malawi, Mozambique and Mauritius were not in the top ten in 2004 but are in it by 2025.
Top 10 in 2025
| Rank | Name | Value (Percent of GDP) |
|---|---|---|
| 1 | Senegal | 127.74 |
| 2 | Cabo Verde | 115.41 |
| 3 | Zambia | 100.58 |
| 4 | Congo | 100.42 |
| 5 | Malawi | 96.56 |
| 6 | Mozambique | 90.29 |
| 7 | Mauritius | 86.8 |
| 8 | Gabon | 84.18 |
| 9 | South Africa | 78.44 |
| 10 | Guinea-Bissau | 75.1 |
Top 10 in 2004
| Rank | Name | Value (Percent of GDP) |
|---|---|---|
| 1 | Liberia | 543.39 |
| 2 | São Tomé and Príncipe | 354.45 |
| 3 | Guinea-Bissau | 201.96 |
| 4 | Eritrea | 193.51 |
| 5 | Burundi | 166.09 |
| 6 | DR Congo | 164.09 |
| 7 | Seychelles | 163.23 |
| 8 | Zambia | 129.91 |
| 9 | Congo | 122.59 |
| 10 | Ethiopia | 103.1 |
Top 5 over time
| Period | #1 | #2 | #3 | #4 | #5 |
|---|---|---|---|---|---|
| 2004 | Liberia543.39% | São Tomé and Príncipe354.45% | Guinea-Bissau201.96% | Eritrea193.51% | Burundi166.09% |
| 2010 | Eritrea201.79% | São Tomé and Príncipe82.99% | Seychelles82.22% | Guinea-Bissau61.73% | Cabo Verde61.16% |
| 2020 | Cabo Verde168.15% | Zambia140% | Mozambique119.97% | Angola119.84% | Congo109.98% |
| 2025 | Senegal127.74% | Cabo Verde115.41% | Zambia100.58% | Congo100.42% | Malawi96.56% |
About the data
Government Debt (Percent of GDP)
Source: IMF AFR Regional Economic Outlook (October 2026) (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 government Debt (% of GDP) in 2025?
Senegal, with 127.74%. Cabo Verde is second with 115.41% and Zambia third.
Which country was first in 2004?
Liberia, with 543.39%. By 2025 it ranks 11th or lower.
When did Senegal become the top country?
Senegal took first place in 2024, overtaking Zambia.
What were the top 5 countries in 2020?
1. Cabo Verde (168.15%), 2. Zambia (140%), 3. Mozambique (119.97%), 4. Angola (119.84%) and 5. Congo (109.98%).
Where does the data come from?
IMF AFR Regional Economic Outlook (October 2026) (via IMF — World Economic Outlook and IMF Data), published under IMF copyright; reuse with attribution. The chart covers 22 time steps from 2004 to 2025 for 45 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