Africa is home to 54 United Nations Member States. This reference lists each country with its capital and groups the countries using the United Nations Statistics Division’s M49 geographic subregions. Capital names need a little context in some cases: a country’s constitutional capital, seat of government and largest city are not always the same.
Countries and capitals by UN subregion
The UN M49 system groups Africa into Northern Africa and Sub-Saharan Africa, with Sub-Saharan Africa divided into Eastern, Middle and Western Africa. Southern Africa is also a subregion within Sub-Saharan Africa. The five tables below use these five subregions for easier browsing and include only the 54 African UN Member States. The full M49 country-or-area listing also includes non-sovereign territories and Western Sahara; those entries are not counted among the 54 UN Member States. These are statistical groupings, not political unions.
Northern Africa
| Country | Capital |
|---|---|
| Algeria | Algiers |
| Egypt | Cairo |
| Libya | Tripoli |
| Morocco | Rabat |
| Sudan | Khartoum |
| Tunisia | Tunis |
Western Africa
| Country | Capital |
|---|---|
| Benin | Porto-Novo |
| Burkina Faso | Ouagadougou |
| Cabo Verde | Praia |
| Côte d’Ivoire | Yamoussoukro |
| The Gambia | Banjul |
| Ghana | Accra |
| Guinea | Conakry |
| Guinea-Bissau | Bissau |
| Liberia | Monrovia |
| Mali | Bamako |
| Mauritania | Nouakchott |
| Niger | Niamey |
| Nigeria | Abuja |
| Senegal | Dakar |
| Sierra Leone | Freetown |
| Togo | Lomé |
Middle Africa
| Country | Capital |
|---|---|
| Angola | Luanda |
| Cameroon | Yaoundé |
| Central African Republic | Bangui |
| Chad | N’Djamena |
| Republic of the Congo | Brazzaville |
| Democratic Republic of the Congo | Kinshasa |
| Equatorial Guinea | Ciudad de la Paz |
| Gabon | Libreville |
| São Tomé and PrÃncipe | São Tomé |
Eastern Africa
| Country | Capital |
|---|---|
| Burundi | Gitega |
| Comoros | Moroni |
| Djibouti | Djibouti |
| Eritrea | Asmara |
| Ethiopia | Addis Ababa |
| Kenya | Nairobi |
| Madagascar | Antananarivo |
| Malawi | Lilongwe |
| Mauritius | Port Louis |
| Mozambique | Maputo |
| Rwanda | Kigali |
| Seychelles | Victoria |
| Somalia | Mogadishu |
| South Sudan | Juba |
| United Republic of Tanzania | Dodoma |
| Uganda | Kampala |
| Zambia | Lusaka |
| Zimbabwe | Harare |
Southern Africa
| Country | Capital |
|---|---|
| Botswana | Gaborone |
| Eswatini | Mbabane (administrative) |
| Lesotho | Maseru |
| Namibia | Windhoek |
| South Africa | Pretoria (administrative) |
Important capital-city notes
- South Africa: Pretoria is the administrative capital, Cape Town is the legislative capital, and Bloemfontein is the judicial capital. The table shows Pretoria as the main entry but all three roles matter.
- Equatorial Guinea: Ciudad de la Paz was declared the country’s capital by Decree-Law No. 1/2026 on 2 January 2026. The transfer of state institutions from Malabo is gradual, so some sources may still show Malabo or describe it as an operational centre.
- Eswatini: Mbabane is the administrative capital; Lobamba is the royal and legislative capital.
- Benin: Porto-Novo is the official capital, while Cotonou is the seat of government and the country’s largest city.
- Côte d’Ivoire: Yamoussoukro is the official capital; Abidjan remains the country’s largest city and a major administrative and economic centre.
- Tanzania: Dodoma is the capital; Dar es Salaam remains the largest city and an important commercial centre.
- Burundi: Gitega is the political capital; Bujumbura remains the country’s principal economic centre.
Why do some sources give different numbers of African countries?
The most common count is 54, referring to African states that are members of the United Nations. The African Union lists 55 member states, including the Sahrawi Arab Democratic Republic, associated with the disputed territory of Western Sahara. Different sources may count countries, territories, dependencies or partially recognised states differently. A reliable list should always explain which definition it uses.
How are African countries grouped into regions?
This article follows the UN Statistics Division’s M49 geographic classification. It is designed for statistical consistency. Other atlases, organisations and cultural or political descriptions may use different regional boundaries or labels. For a wider overview, see our Africa continent guide.
Frequently asked questions
How many countries are in Africa?
There are 54 African UN Member States. The African Union has 55 member states, reflecting a different membership framework.
Which African country has three capitals?
South Africa has three capitals: Pretoria (administrative), Cape Town (legislative) and Bloemfontein (judicial).
Which city became Equatorial Guinea’s capital in 2026?
Ciudad de la Paz was legally declared the capital of Equatorial Guinea in January 2026. The decree gives state institutions up to one year to complete the transfer. Government reporting in February 2026 described preparations for the gradual installation of ministries and public institutions.
Are capitals always the largest cities?
No. Examples include Nigeria, where Abuja is the capital while Lagos is the largest city, and Tanzania, where Dodoma is the capital while Dar es Salaam is the largest city.
Sources and methodology
- United Nations document A/70/257 — list of 54 African States used for UN regional statistics.
- UN Statistics Division: M49 — geographic regions and subregions.
- UNData: Africa regional profile — 2025 population, surface area and density estimates.
- African Union: Member States — AU membership.
- South African Government — functions of the three capitals.
- Government of Equatorial Guinea — Decree-Law No. 1/2026 declaring Ciudad de la Paz the capital.
- Government of Equatorial Guinea: February 2026 update — preparations for transferring public institutions to Ciudad de la Paz.
Editorial note: Capital information is checked against official government and international sources. Where the formal capital and the practical location of government functions differ, the distinction is explained rather than hidden in a single city name. Country inclusion follows the 54 African UN Member States framework; Western Sahara is discussed separately because its status is disputed and its membership treatment differs between organisations.