54, and why some say 55
The United Nations recognizes 54 sovereign states on the African continent, following the UN's own M49 geographic classification. That is the number this site uses, and it is the number behind the Africa section of the Geography app. The extra name you sometimes see is Western Sahara, whose government in exile, the Sahrawi Arab Democratic Republic, is a full member of the African Union, making the AU's own membership count 55. Morocco disputes Western Sahara's sovereignty and controls most of its territory, and Morocco itself rejoined the African Union in 2017 after decades outside it in protest of the SADR's admission. The UN classifies Western Sahara as a non-self-governing territory rather than a member state, which is why it sits outside the 54.
All 54, by subregion
Statisticians at the United Nations group Africa into five subregions: Northern Africa, Western Africa, Middle Africa, Eastern Africa, and Southern Africa. Eastern Africa is the most crowded, with 18 countries, and Western Africa is close behind with 16. Here is every country, sorted by subregion, with its capital.
| Country | Capital | Subregion |
|---|---|---|
| Algiers | Northern Africa | |
| Cairo | Northern Africa | |
| Tripoli | Northern Africa | |
| Rabat | Northern Africa | |
| Khartoum | Northern Africa | |
| Tunis | Northern Africa | |
| Porto-Novo (Cotonou is the seat of government) | Western Africa | |
| Ouagadougou | Western Africa | |
| Praia | Western Africa | |
| Yamoussoukro (Abidjan is the seat of government) | Western Africa | |
| Banjul | Western Africa | |
| Accra | Western Africa | |
| Conakry | Western Africa | |
| Bissau | Western Africa | |
| Monrovia | Western Africa | |
| Bamako | Western Africa | |
| Nouakchott | Western Africa | |
| Niamey | Western Africa | |
| Abuja | Western Africa | |
| Dakar | Western Africa | |
| Freetown | Western Africa | |
| Lome | Western Africa | |
| Luanda | Middle Africa | |
| Yaounde | Middle Africa | |
| Bangui | Middle Africa | |
| N'Djamena | Middle Africa | |
| Kinshasa | Middle Africa | |
| Malabo | Middle Africa | |
| Libreville | Middle Africa | |
| Brazzaville | Middle Africa | |
| São Tomé | Middle Africa | |
| Gitega | Eastern Africa | |
| Moroni | Eastern Africa | |
| Djibouti | Eastern Africa | |
| Asmara | Eastern Africa | |
| Addis Ababa | Eastern Africa | |
| Nairobi | Eastern Africa | |
| Antananarivo | Eastern Africa | |
| Lilongwe | Eastern Africa | |
| Port Louis | Eastern Africa | |
| Maputo | Eastern Africa | |
| Kigali | Eastern Africa | |
| Victoria | Eastern Africa | |
| Mogadishu | Eastern Africa | |
| Juba | Eastern Africa | |
| Dodoma | Eastern Africa | |
| Kampala | Eastern Africa | |
| Lusaka | Eastern Africa | |
| Harare | Eastern Africa | |
| Gaborone | Southern Africa | |
| Mbabane (Lobamba is the legislative capital) | Southern Africa | |
| Maseru | Southern Africa | |
| Windhoek | Southern Africa | |
| Pretoria (executive; Cape Town legislative, Bloemfontein judicial) | Southern Africa |
Largest, smallest, and youngest
By land area, Algeria is Africa's largest country at roughly 2.4 million square kilometers, more than four times the size of metropolitan France. By population, Nigeria leads the continent by a wide margin, with about 238 million people in 2025 according to UN estimates, more than double the next largest population. Seychelles, an archipelago nation off the East African coast, is the smallest African country by population, at well under 150,000 people. Africa's youngest country is South Sudan, which declared independence from Sudan on 9 July 2011 and joined the United Nations five days later, becoming the continent's 54th and the world's 193rd member state.
Quick facts
- Africa has 54 UN member states, following the UN's own geographic classification.
- Western Sahara, an African Union member, is not recognized by the UN as a sovereign state, which is why AU counts run to 55.
- Algeria is the largest African country by area; Nigeria is the most populous.
- Seychelles is the smallest African country by population.
- South Sudan, independent since 2011, is both Africa's and the world's youngest country.