Demographics · Africa ranking
Urban Population by African country
Gabon has the highest share of the population living in urban areas of any African country, at 91.9%, ahead of Libya and Cabo Verde.
Share of the population living in urban areas. 54 of 54 countries, ranked · World Bank — World Development Indicators, 2024.
By region
Full ranking
| # | Country | Urban Population | |
|---|---|---|---|
| 1 | Gabon | 91.9% | |
| 2 | Libya | 87.9% | |
| 3 | Cabo Verde | 76.8% | |
| 4 | Algeria | 75.3% | |
| 5 | Djibouti | 72.9% | |
| 6 | Equatorial Guinea | 71.4% | |
| 7 | Angola | 70.7% | |
| 8 | Tunisia | 70.4% | |
| 9 | Sao Tome and Principe | 68.9% | |
| 10 | Botswana | 67.5% | |
| 11 | Gambia | 64.3% | |
| 12 | Republic of the Congo | 63.9% | |
| 13 | South Africa | 63.7% | |
| 14 | Nigeria | 63% | |
| 15 | Morocco | 62.8% | |
| 16 | Mauritania | 60.6% | |
| 17 | Ghana | 58.4% | |
| 18 | Liberia | 55.5% | |
| 19 | Cameroon | 55.4% | |
| 20 | Senegal | 55.2% | |
| 21 | Somalia | 54.6% | |
| 22 | Cote d'Ivoire | 54% | |
| 23 | Benin | 52.5% | |
| 24 | Namibia | 50.4% | |
| 25 | Guinea-Bissau | 46.1% | |
| 26 | Zambia | 45.5% | |
| 27 | Sierra Leone | 45.4% | |
| 28 | Seychelles | 45.3% | |
| 29 | Democratic Republic of the Congo | 44.7% | |
| 30 | Central African Republic | 44.1% | |
| 31 | Togo | 43.8% | |
| 32 | Lesotho | 43.7% | |
| 33 | Egypt | 42.8% | |
| 34 | Zimbabwe | 39.9% | |
| 35 | Mauritius | 39% | |
| 36 | Guinea | 38.1% | |
| 37 | Mozambique | 36.4% | |
| 38 | Tanzania | 36.2% | |
| 39 | Sudan | 34.9% | |
| 40 | Eritrea | 34.5% | |
| 41 | Comoros | 33.5% | |
| 42 | Madagascar | 32.4% | |
| 43 | Kenya | 31.9% | |
| 44 | Mali | 31.6% | |
| 45 | Uganda | 31.3% | |
| 46 | Rwanda | 29.9% | |
| 47 | Burkina Faso | 28.3% | |
| 48 | Chad | 26.9% | |
| 49 | Eswatini | 26.2% | |
| 50 | Burundi | 24.8% | |
| 51 | Ethiopia | 23.6% | |
| 52 | South Sudan | 21.4% | |
| 53 | Niger | 18% | |
| 54 | Malawi | 17.3% |
Get this ranking via API
One call to /v1/data returns the latest Urban Population figure for every country you pass — JSON, with source metadata on each observation.
curl "https://api.africa-api.com/v1/data?metric_key=urban_population_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 share of the population living in urban areas?
Gabon has the highest share of the population living in urban areas in Africa at 91.9% (2024), followed by Libya and Cabo Verde.
Which African country has the lowest share of the population living in urban areas?
Malawi has the lowest share of the population living in urban areas of the 54 African countries with data, at 17.3% (2024).
How many African countries report Urban Population data?
54 of 54 African countries have a recent Urban Population 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=urban_population_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 demographics rankings