Skip to content

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).

Loading chart…

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

Government Debt (% of GDP) by Country, 2025
RankNameValue (Percent of GDP)
1Senegal127.74
2Cabo Verde115.41
3Zambia100.58
4Congo100.42
5Malawi96.56
6Mozambique90.29
7Mauritius86.8
8Gabon84.18
9South Africa78.44
10Guinea-Bissau75.1

Top 10 in 2004

Government Debt (% of GDP) by Country, 2004
RankNameValue (Percent of GDP)
1Liberia543.39
2São Tomé and Príncipe354.45
3Guinea-Bissau201.96
4Eritrea193.51
5Burundi166.09
6DR Congo164.09
7Seychelles163.23
8Zambia129.91
9Congo122.59
10Ethiopia103.1

Top 5 over time

Government Debt (% of GDP) by Country: top 5 at each point
Period#1#2#3#4#5
2004Liberia543.39%São Tomé and Príncipe354.45%Guinea-Bissau201.96%Eritrea193.51%Burundi166.09%
2010Eritrea201.79%São Tomé and Príncipe82.99%Seychelles82.22%Guinea-Bissau61.73%Cabo Verde61.16%
2020Cabo Verde168.15%Zambia140%Mozambique119.97%Angola119.84%Congo109.98%
2025Senegal127.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