Economy · Africa ranking
Tax Revenue (% of GDP) by African country
Lesotho has the highest tax revenue as a share of GDP of any African country, at 37.3%, ahead of Namibia and South Africa.
Central government tax revenue as a share of GDP. 42 of 54 countries, ranked · World Bank — World Development Indicators, 2024.
By region
Full ranking
| # | Country | Tax Revenue (% of GDP) | |
|---|---|---|---|
| 1 | Lesotho | 37.3% | |
| 2 | Namibia | 33% | |
| 3 | South Africa | 25.4% | |
| 4 | Eswatini | 24.3% | |
| 5 | Botswana | 22.5% | |
| 6 | Seychelles | 22.1% | |
| 7 | Mozambique | 21.9% | |
| 8 | Morocco | 20.7% | |
| 9 | Mauritius | 20.5% | |
| 10 | Tunisia | 20.1% | |
| 11 | Senegal | 19.5% | |
| 12 | Burkina Faso | 18.6% | |
| 13 | Cabo Verde | 18.4% | |
| 14 | Gambia | 18.2% | |
| 15 | Zambia | 16.8% | |
| 16 | Kenya | 14.1% | |
| 17 | Togo | 13.8% | |
| 18 | Rwanda | 13.5% | |
| 19 | Malawi | 13.5% | |
| 20 | Cote d'Ivoire | 13% | |
| 21 | Tanzania | 12.8% | |
| 22 | Burundi | 12.6% | |
| 23 | Uganda | 12.6% | |
| 24 | Egypt | 12.5% | |
| 25 | Ghana | 12.4% | |
| 26 | Mali | 12% | |
| 27 | Niger | 11.8% | |
| 28 | Cameroon | 11.3% | |
| 29 | Madagascar | 11.1% | |
| 30 | Benin | 10.8% | |
| 31 | Democratic Republic of the Congo | 10.7% | |
| 32 | Gabon | 9.5% | |
| 33 | Guinea-Bissau | 8.2% | |
| 34 | Central African Republic | 8.2% | |
| 35 | Angola | 7.7% | |
| 36 | Guinea | 7.4% | |
| 37 | Sudan | 7.4% | |
| 38 | Zimbabwe | 7.2% | |
| 39 | Equatorial Guinea | 6.6% | |
| 40 | Republic of the Congo | 6.5% | |
| 41 | Ethiopia | 3.4% | |
| 42 | Somalia | 2.2% |
Get this ranking via API
One call to /v1/data returns the latest Tax Revenue (% of GDP) figure for every country you pass — JSON, with source metadata on each observation.
curl "https://api.africa-api.com/v1/data?metric_key=tax_revenue_pct_gdp&latest=true&country_codes=NG,KE,ZA,EG" \
-H "Authorization: Bearer $AFRICA_API_KEY"Cite or republish this ranking
Data: Africa API — World Bank — World Development Indicators, 2024. Free to republish with a link to this page. Pull the live figures via the API above so your version never goes stale.
Embed this ranking
Drop this chart into your article or site — it stays live as the data updates. Paste the snippet anywhere HTML is allowed (a citation link is included).
Frequently asked questions
Which African country has the highest tax revenue as a share of GDP?
Lesotho has the highest tax revenue as a share of GDP in Africa at 37.3% (2024), followed by Namibia and South Africa.
Which African country has the lowest tax revenue as a share of GDP?
Somalia has the lowest tax revenue as a share of GDP of the 42 African countries with data, at 2.2% (2024).
How many African countries report Tax Revenue (% of GDP) data?
42 of 54 African countries have a recent Tax Revenue (% of GDP) figure in the Africa API. Each value links to the country's full series with source and history.
How do I get this ranking via API?
Call GET /v1/data?metric_key=tax_revenue_pct_gdp&latest=true with the country codes you need and a free Africa API key — the response returns the latest value per country as JSON.
More economy rankings