Countries in Africa by urban population

The share of people living in urban areas, as each country defines them — the World Bank does not impose one definition. 54 countries in Africa, highest first. World Bank, 2025

Map: Urban population — Africa
Highest
92%
Gabon
Median country
46%
half above, half below
Lowest
18%
Malawi
Countries in Africa by urban population, World Bank, 2025
#Country% urbanRegion
1Gabon92%Middle Africa
2Libya88%Northern Africa
3Cabo Verde78%Western Africa
4Algeria76%Northern Africa
5Djibouti73%Eastern Africa
6Equatorial Guinea72%Middle Africa
7Angola72%Middle Africa
8Tunisia71%Northern Africa
9São Tomé and Principe69%Middle Africa
10Botswana68%Southern Africa
11Gambia65%Western Africa
12Congo64%Middle Africa
=13Nigeria64%Western Africa
=13South Africa64%Southern Africa
15Morocco63%Northern Africa
16Mauritania62%Western Africa
17Ghana59%Western Africa
18Liberia56%Western Africa
19Senegal56%Western Africa
20Cameroon56%Middle Africa
21Somalia55%Eastern Africa
22Côte d'Ivoire55%Western Africa
23Benin53%Western Africa
24Namibia51%Southern Africa
25Guinea-Bissau47%Western Africa
=26Sierra Leone46%Western Africa
=26Zambia46%Eastern Africa
28Seychelles46%Eastern Africa
29DR Congo45%Middle Africa
30Lesotho45%Southern Africa
31Central African Republic45%Middle Africa
32Togo44%Western Africa
33Egypt43%Northern Africa
34Zimbabwe41%Eastern Africa
35Mauritius39%Eastern Africa
36Guinea39%Western Africa
37Mozambique37%Eastern Africa
38Tanzania37%Eastern Africa
39Sudan35%Northern Africa
40Eritrea35%Eastern Africa
41Comoros34%Eastern Africa
42Madagascar33%Eastern Africa
=43Kenya32%Eastern Africa
=43Mali32%Western Africa
45Uganda32%Eastern Africa
46Rwanda31%Eastern Africa
47Burkina Faso29%Western Africa
48Chad28%Middle Africa
49Eswatini27%Southern Africa
50Burundi26%Eastern Africa
51Ethiopia24%Eastern Africa
52South Sudan22%Eastern Africa
53Niger18%Western Africa
54Malawi18%Eastern Africa

Questions

Which country in Africa has the most urban population?
Gabon has the most urban population in Africa: 92% urban (2025). Next come Libya (88% urban) and Cabo Verde (78% urban).
Which country in Africa has the most rural population?
Malawi, with 18% urban (2025).
What is the typical urban population of a country in Africa?
The median of the 54 countries in Africa is 46% urban: half are above it, half below. The median, not the average, because a few countries at the top would drag an average far above almost everyone.
Where do the figures come from?
The share of people living in urban areas, as each country defines them — the World Bank does not impose one definition. Source: World Bank, 2025. Only independent states are ranked; territories are listed separately. A country’s continent follows Natural Earth; the handful of island states it files under the open ocean are placed by their UN subregion.

Source: World Bank (CC BY 4.0). Figures more than 5 years older than the newest are left out rather than shown beside current ones. Countries sharing a value share a rank. All sources.