54 country profiles · 207 indicator definitionsAPI dataGet API key

Economy · Africa ranking

Government Spending (% of GDP) by African country

53.5%Lesotho · highest shown · 2024

Lesotho has the highest reported general government expenditure as a share of GDP among the 37 countries shown, at 53.5% (2024).

General government total expenditure as a share of GDP. 37 of 54 countries are shown. Open a country to see its source details and available history.

#1 vs #378.4×Lesotho vs Sudan
Median21.7%Republic of the Congo
Lowest6.4%Sudan

By region

unweighted mean of countries shown
Southern Africa39.8%
4 countries shown · highest value: Lesotho
North Africa27.5%
4 countries shown · highest value: Algeria
East Africa22.2%
11 countries shown · highest value: Seychelles
West Africa22%
11 countries shown · highest value: Senegal
Central Africa19.8%
7 countries shown · highest value: Gabon

Full ranking

37 of 54 countries
#CountryGovernment Spending (% of GDP)Period
1Lesotho
53.5%2024
2Namibia
39.9%2024
3Algeria
36.8%2024
4Tunisia
33.8%2024
5Seychelles
33.8%2024
6Senegal
33.5%2024
7Mozambique
33.2%2024
8Morocco
33%2024
9South Africa
33%2024
10Eswatini
32.8%2024
11Rwanda
28.8%2024
12Burkina Faso
27.8%2024
13Togo
26.4%2024
14Cabo Verde
26.1%2024
15Gabon
24.8%2024
16Kenya
23.3%2024
17Ghana
23.2%2024
18Burundi
22.3%2024
19Republic of the Congo
21.7%2024
20Djibouti
20.6%2024
21Guinea
20.6%2024
22Cote d'Ivoire
20.4%2024
23Guinea-Bissau
20.4%2024
24Central African Republic
19.5%2024
25Comoros
19.1%2024
26Tanzania
19.1%2024
27Chad
18.8%2024
28Uganda
18.7%2024
29Equatorial Guinea
18.5%2024
30Angola
18.4%2024
31Benin
18.1%2024
32Democratic Republic of the Congo
16.7%2024
33Madagascar
16.2%2024
34Niger
13.4%2024
35Nigeria
12.3%2024
36Ethiopia
9.5%2024
37Sudan
6.4%2024

Get this ranking via API

GET /v1/data

Request the latest available Government Spending (% of GDP) values for the selected countries as JSON. The response includes source metadata; check reporting periods before comparing values.

curl "https://api.africa-api.com/v1/data?metric_key=government_expenditure_pct_gdp&latest=true&country_codes=NG,KE,ZA,EG" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Cite or republish this ranking

Check the original source's reuse conditions before republishing. Keep each observation's source and reporting period with the value, and link to this page. See the terms and source metadata reference.

Embed this ranking

iframe snippet

Paste this snippet into a page that supports iframes. The chart loads the available ranking observations and includes their reporting periods. A link to this page is included.

<iframe src="https://africa-api.com/embed/government-spending" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="Government Spending (% of GDP) by African country — Africa API"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;margin:.5rem 0"><a href="https://africa-api.com/data/government-spending">Government Spending (% of GDP) by African country — Africa API</a></p>

About this ranking

Which observations are included?

The table includes 37 of 54 countries with available observations for 2023 or later and within 2 years of the freshest result. Each row shows its reporting period. Countries without an eligible observation are omitted.

Does a higher value mean a better result?

The table is sorted by value, from highest to lowest. The order does not rate a country's performance. Interpretation depends on the indicator and its definition.

More economy rankings