Health · Africa ranking
Safely Managed Sanitation by African country
Tunisia has the highest access to safely managed sanitation of any African country, at 79.8%, ahead of South Africa and Algeria.
Share of the population using safely managed sanitation services. 35 of 54 countries, ranked · World Bank — World Development Indicators, 2024.
By region
Full ranking
| # | Country | Safely Managed Sanitation | |
|---|---|---|---|
| 1 | Tunisia | 79.8% | |
| 2 | South Africa | 73.8% | |
| 3 | Algeria | 62.5% | |
| 4 | Eswatini | 60.8% | |
| 5 | Egypt | 57.3% | |
| 6 | Comoros | 49.4% | |
| 7 | Malawi | 46.2% | |
| 8 | Lesotho | 43.8% | |
| 9 | Djibouti | 39.7% | |
| 10 | Kenya | 35.8% | |
| 11 | Sao Tome and Principe | 34.7% | |
| 12 | Mozambique | 33.9% | |
| 13 | Nigeria | 32.2% | |
| 14 | Senegal | 30.1% | |
| 15 | Tanzania | 28.5% | |
| 16 | Gambia | 28.1% | |
| 17 | Cote d'Ivoire | 27.1% | |
| 18 | Burkina Faso | 24.7% | |
| 19 | Zimbabwe | 23.6% | |
| 20 | Guinea-Bissau | 22.6% | |
| 21 | Libya | 21.7% | |
| 22 | Uganda | 20.4% | |
| 23 | Mali | 20% | |
| 24 | Ghana | 18.8% | |
| 25 | Sierra Leone | 16.8% | |
| 26 | Somalia | 16.4% | |
| 27 | Benin | 16.4% | |
| 28 | Central African Republic | 13.5% | |
| 29 | Democratic Republic of the Congo | 13.1% | |
| 30 | Togo | 13% | |
| 31 | Madagascar | 12.8% | |
| 32 | Chad | 11.1% | |
| 33 | Niger | 9.1% | |
| 34 | Morocco | 8.4% | |
| 35 | Ethiopia | 8.1% |
Get this ranking via API
One call to /v1/data returns the latest Safely Managed Sanitation figure for every country you pass — JSON, with source metadata on each observation.
curl "https://api.africa-api.com/v1/data?metric_key=safely_managed_sanitation_pct&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 access to safely managed sanitation?
Tunisia has the highest access to safely managed sanitation in Africa at 79.8% (2024), followed by South Africa and Algeria.
Which African country has the lowest access to safely managed sanitation?
Ethiopia has the lowest access to safely managed sanitation of the 35 African countries with data, at 8.1% (2024).
How many African countries report Safely Managed Sanitation data?
35 of 54 African countries have a recent Safely Managed Sanitation 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=safely_managed_sanitation_pct&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 health rankings