54 countries · 127 indicators · 45 sourcesLiveGet API key

Demographics · Africa ranking

Urban Population by African country

92.1%Gabon leads · 2025

Gabon has the highest share of the population living in urban areas of any African country, at 92.1%, ahead of Libya and Cabo Verde.

Share of the population living in urban areas. 54 of 54 countries, ranked · World Bank — World Development Indicators, 2025.

#1 vs #545.2×Gabon vs Malawi
Median45.5%Seychelles
Lowest17.6%Malawi

By region

regional average
North Africa62.6%
6 countries · led by Libya
Central Africa60.1%
9 countries · led by Gabon
West Africa50.1%
16 countries · led by Cabo Verde
Southern Africa48.6%
7 countries · led by Botswana
East Africa35.8%
16 countries · led by Djibouti

Full ranking

54 of 54 countries
#CountryUrban PopulationPeriod
1Gabon
92.1%2025
2Libya
87.9%2025
3Cabo Verde
77.6%2025
4Algeria
75.8%2025
5Djibouti
73%2025
6Equatorial Guinea
71.6%2025
7Angola
71.5%2025
8Tunisia
70.7%2025
9Sao Tome and Principe
69.2%2025
10Botswana
68%2025
11Gambia
65%2025
12Republic of the Congo
64.1%2025
13South Africa
63.8%2025
14Nigeria
63.8%2025
15Morocco
63.1%2025
16Mauritania
61.5%2025
17Ghana
58.9%2025
18Liberia
56.1%2025
19Senegal
55.8%2025
20Cameroon
55.7%2025
21Somalia
55.1%2025
22Cote d'Ivoire
54.5%2025
23Benin
53.4%2025
24Namibia
50.9%2025
25Guinea-Bissau
46.7%2025
26Sierra Leone
45.9%2025
27Zambia
45.9%2025
28Seychelles
45.5%2025
29Democratic Republic of the Congo
45.1%2025
30Lesotho
44.7%2025
31Central African Republic
44.6%2025
32Togo
44.4%2025
33Egypt
42.9%2025
34Zimbabwe
40.5%2025
35Mauritius
39%2025
36Guinea
38.5%2025
37Mozambique
37.2%2025
38Tanzania
36.9%2025
39Sudan
34.9%2025
40Eritrea
34.5%2025
41Comoros
33.9%2025
42Madagascar
32.9%2025
43Mali
32.2%2025
44Kenya
32.2%2025
45Uganda
31.9%2025
46Rwanda
30.9%2025
47Burkina Faso
28.9%2025
48Chad
27.6%2025
49Eswatini
26.7%2025
50Burundi
25.7%2025
51Ethiopia
24.1%2025
52South Sudan
21.7%2025
53Niger
18.4%2025
54Malawi
17.6%2025

Get this ranking via API

GET /v1/data

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 APIWorld Bank — World Development Indicators, 2025. 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

free · auto-updating

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

<iframe src="https://africa-api.com/embed/urban-population" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="Urban Population 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/urban-population">Urban Population by African country — Africa API</a></p>

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 92.1% (2025), 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.6% (2025).

How many African countries report Urban Population data?

54 of 54 African countries have a Urban Population figure in the Africa API, each from the latest year available for that country (which can differ between countries). Every value links to its 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