Countries in Africa

Africa has 54 countries, more than any other continent.

A map and full list of Africa's countries and capitals, with flags. Study it here, then take the map, capitals or flags quiz.

Zimbabwe Zambia Uganda Tunisia Togo Tanzania Eswatini South Sudan Sudan South Africa Somalia Sierra Leone Seychelles Senegal São Tomé and Príncipe Rwanda Nigeria Niger Namibia Mozambique Morocco Mauritius Mauritania Mali Malawi Madagascar Libya Liberia Lesotho Kenya Guinea-Bissau Guinea Ghana Gambia Gabon Ethiopia Eritrea Equatorial Guinea Egypt Djibouti Côte d'Ivoire Democratic Republic of the Congo Republic of the Congo Comoros Chad Central African Republic Cabo Verde Cameroon Burundi Burkina Faso Botswana Benin Angola Algeria Seychelles São Tomé and Príncipe Mauritius Comoros Cabo Verde

Test yourself

All 54 countries and their capitals

Countries of Africa and their capitals
# Flag Country Capital
1 Algeria Algiers
2 Angola Luanda
3 Benin Porto-Novo Cotonou is the seat of government.
4 Botswana Gaborone
5 Burkina Faso Ouagadougou
6 Burundi Gitega Gitega replaced Bujumbura as the political capital in 2019.
7 Cabo Verde Praia
8 Cameroon Yaoundé
9 Central African Republic Bangui
10 Chad N'Djamena
11 Comoros Moroni
12 Côte d'Ivoire Yamoussoukro Abidjan is the largest city and economic capital.
13 Democratic Republic of the Congo Kinshasa
14 Djibouti Djibouti
15 Egypt Cairo
16 Equatorial Guinea Malabo The government is moving to Ciudad de la Paz.
17 Eritrea Asmara
18 Eswatini Mbabane Mbabane is the executive capital; Lobamba is the royal and legislative capital.
19 Ethiopia Addis Ababa
20 Gabon Libreville
21 Gambia Banjul
22 Ghana Accra
23 Guinea Conakry
24 Guinea-Bissau Bissau
25 Kenya Nairobi
26 Lesotho Maseru
27 Liberia Monrovia
28 Libya Tripoli
29 Madagascar Antananarivo
30 Malawi Lilongwe
31 Mali Bamako
32 Mauritania Nouakchott
33 Mauritius Port Louis
34 Morocco Rabat
35 Mozambique Maputo
36 Namibia Windhoek
37 Niger Niamey
38 Nigeria Abuja
39 Republic of the Congo Brazzaville
40 Rwanda Kigali
41 São Tomé and Príncipe São Tomé
42 Senegal Dakar
43 Seychelles Victoria
44 Sierra Leone Freetown
45 Somalia Mogadishu
46 South Africa Pretoria South Africa has three capitals: Pretoria (executive), Cape Town (legislative) and Bloemfontein (judicial).
47 South Sudan Juba
48 Sudan Khartoum
49 Tanzania Dodoma Dodoma is the official capital; many offices remain in Dar es Salaam.
50 Togo Lomé
51 Tunisia Tunis
52 Uganda Kampala
53 Zambia Lusaka
54 Zimbabwe Harare

Africa at a glance

Algeria is Africa's largest country by area and Nigeria its most populous. The Gambia is the smallest country on the mainland, almost entirely surrounded by Senegal, and Seychelles is the smallest overall.

Sixteen African countries are landlocked, from Mali and Niger in the Sahel to Lesotho and Eswatini in the south. Lesotho sits entirely inside South Africa. Six are island nations: Cabo Verde, Comoros, Madagascar, Mauritius, São Tomé and Príncipe, and Seychelles.

South Sudan is the world's newest country, independent since 2011. Eswatini was called Swaziland until 2018.

Capitals to watch

Nigeria's capital is Abuja, not Lagos. Morocco's is Rabat, not Casablanca. Côte d'Ivoire's official capital is Yamoussoukro, Tanzania's is Dodoma, and Burundi moved its capital from Bujumbura to Gitega in 2019.

Questions people ask

How many countries are in Africa?

54. All of them are members of the United Nations.

What is the largest country in Africa?

Algeria, at about 2.4 million square kilometers. Before South Sudan became independent in 2011, the largest was Sudan.

What is the newest country in Africa?

South Sudan, which became independent from Sudan in July 2011. Its capital is Juba.