Cairo is Africa’s largest city by the United Nations’ 2025 urban-centre measure. Lagos is second. The surprise is third place: Luanda comes just ahead of Kinshasa. Older lists can put Kinshasa above Lagos because they are counting differently defined places, sometimes using a projection made years before 2025.
The UN estimated 25.57 million residents in Cairo, 12.79 million in Lagos, 11.37 million in Luanda and 10.94 million in Kinshasa at mid-2025. All four figures come from the same release and use the Degree of Urbanization, not city hall boundaries or commuting regions.
How to use this article: Start with the top ten and map, see what the numbers call a city, or compare the two UN releases for the same year.
Africa’s ten largest cities in 2025
From Cairo to Abidjan
Cairo is roughly twice the size of Lagos on this measure, while only about 426,000 separate the modeled populations of Luanda and Kinshasa. That is a smaller gap and not a precise head count. The ten entries include two places in Egypt, Cairo and Alexandria, which the UN records as separate urban centres. The list also runs from Atlantic coastal cities such as Luanda and Abidjan to inland Johannesburg and Addis Ababa.
| Africa rank | Urban centre | Country | Residents (millions) |
|---|---|---|---|
| 1 | Cairo | Egypt | 25.57 |
| 2 | Lagos | Nigeria | 12.79 |
| 3 | Luanda | Angola | 11.37 |
| 4 | Kinshasa | DR Congo | 10.94 |
| 5 | Dar es Salaam | Tanzania | 7.80 |
| 6 | Alexandria | Egypt | 7.27 |
| 7 | Johannesburg | South Africa | 7.08 |
| 8 | Khartoum | Sudan | 6.81 |
| 9 | Addis Ababa | Ethiopia | 6.71 |
| 10 | Abidjan | Côte d’Ivoire | 6.62 |
The numbers on the map locate the ten urban centres, not their extent. The Africa map and country list answers a different question: which country or territory is where.
What the United Nations counts as a city
A dense population cluster, not a local government
The 2025 edition uses the Degree of Urbanization. In simplified terms, it identifies connected clusters on a grid of one-square-kilometer cells. The density threshold is 1,500 residents per square kilometer (about 3,900 per square mile), and an urban centre must contain at least 50,000 people. Population data and satellite-derived information help the model estimate where people live. This allows a comparison across countries without requiring every country to have drawn its municipalities the same way.
A municipality covers a legal jurisdiction. A commuting-based metro area can include settlements well outside a connected block of development. The UN urban centre in this ranking is a third unit: a population cluster identified from a harmonized grid. It can extend beyond a municipal line without including every town that sends workers into the city.
Kinshasa and Brazzaville face each other across the Congo River, but the workbook counts them separately: about 10.94 million in Kinshasa and 3.66 million in Brazzaville. The JRC’s companion gridded method normally splits clusters at country borders. Nearby capitals are not added together simply because their city centres lie close to each other.
Why older lists put Kinshasa ahead of Lagos
A 2018 projection and a 2025 estimate answer different questions
Find the year in the column, then check the year on the source. The UN’s 2018 revision projected about 23.07 million for Cairo, 17.78 million for Kinshasa and 17.16 million for Lagos in 2025. It largely relied on country-specific agglomeration definitions; its Lagos note refers to Lagos State. The 2025 revision uses the common grid, with Lagos estimated above Kinshasa and Luanda between them.
In the older 2025 projection Kinshasa was about 620,000 ahead of Lagos. In the newer 2025 estimate, Lagos was about 1.85 million ahead. These are two versions of the same target year, not observations seven years apart. The boundary definition changed, and so did the underlying population information and modeling. The two releases cannot tell us how much of the gap came from any one change.
How to reproduce the Africa ranking
Use the same year and geographic group before sorting
Use the 2025 column in the UN’s city population workbook F21 and match each row’s location code to the standard Africa group in the location workbook. Keep nonblank estimates of at least 50,000; a blank at 2025 is not a count of zero. This gives 2,435 urban centres across 56 source countries or areas with qualifying entries. Sort by the unrounded source values. Exact ties share a rank; none occur in the top ten. The UN’s separate world top-100 file confirms these same ten estimates.
The workbook stores population in thousands: 25,566.102 in the Cairo row means an estimate of 25,566,102 after multiplying by 1,000. The table rounds that to 25.57 million. The source’s digits make the calculation reproducible, but they do not show that every resident was directly counted in 2025.
Download the 2025 Africa urban-centre rankings CSV. It lists all 2,435 qualifying centres with source IDs, original population precision and geography fields.
Frequently Asked Questions
Does a satellite town count if there is open land between it and the city?
Not automatically. The method relies on grid-cell density and connectivity, not simply proximity or a road link. Its processing can smooth boundaries and fill small gaps, so a visible patch of open land is not by itself enough to tell which side of the statistical line a town falls on.
Are the figures based on censuses taken on the same day?
No. All entries are estimates for mid-2025, but the source censuses and other inputs vary across places. The common reference date makes the comparison possible without turning the estimates into a simultaneous continent-wide census.
Does a higher population rank mean a city covers more land?
No. This list sorts by residents. A denser urban centre can have more people in less space. To compare physical size, use the land-area field from the same urban-centre dataset, not an area measured inside a different set of municipal or metro boundaries.
What Did We Learn Today?
Cairo leads, followed by Lagos and Luanda, when one UN grid method is used at mid-2025. To compare any other ranking, check the year, which kind of boundary it uses, and whether it reports a new estimate or an older projection.
Sources & Data Notes
Open sources, data notes and image credit
- United Nations, Department of Economic and Social Affairs, Population Division (2025), World Urbanization Prospects 2025, Online Edition, F21 and F18 city workbooks, and the F00-1 location workbook. GeographyPin selected the standard Africa grouping and ranked nonblank 2025 values of at least 50,000; no original figure is reproduced. Primary workbook files use CC BY 3.0 IGO. The point map uses F18’s 2025 population-weighted centres and original GeographyPin cartography over a public-domain Natural Earth land outline.
- United Nations, World Urbanization Prospects 2025: Summary of Results, chapter II and box 2.2; methods and prior revisions. The 2018 edition’s F12 workbook, Population of Urban Agglomerations with 300,000 Inhabitants or More in 2018, is used only for four labeled legacy projections for 2025.
- European Commission Joint Research Centre, GHSL WUP 2025 technical documentation, on grid processing and splits between countries; NASA astronaut photograph and notes for the two capitals across the Congo River.
- Cover photograph: Cairo skyline and Nile panorama, © Vyacheslav Argenberg, June 17, 2007, CC BY 4.0; cropped, reframed and converted to WebP. This is not a 2025 view.
