Can you name the capital of all 54 countries of Africa?
Each round shows a country of Africa and its flag; type its capital. Eswatini and South Africa have more than one accepted city and Djibouti shares its country’s name. Wrong guesses can be tried again, there is no timer, and naming all 54 completes the run.
How to play
- Each round shows a country’s name and flag. Type its capital in the box below. Capital letters, accents and punctuation do not matter, and where a country has several capitals or a separate seat of government, any listed city is accepted, along with common alternative spellings.
- A correct answer is accepted by itself after a short pause and the next round begins. Press Enter to check any other answer.
- A wrong guess is marked so you can try again, as often as you like. There is no timer.
- Stuck? Press Finish to end the run: the answer is revealed and that country counts as missed.
- The 54 capitals of Africa come in shuffled order, each once. Your score counts up to 54 at the top of the board, and naming the last one completes the run. The answer review below the board lists every round.
- Your result is saved in this browser. Once enough people have played a game, the results also show how your score ranks, and you can copy or share an image of your result, or replay.
Tips for playing
Think about the official capital rather than the best-known city: in this set, the capital of Nigeria is Abuja and the capital of Ivory Coast is Yamoussoukro.
The capitals of all 54 countries of Africa
Show all 54 answers
| Country | Capital | Also accepted |
|---|---|---|
| Algeria | Algiers | |
| Angola | Luanda | |
| Benin | Porto-Novo | |
| Botswana | Gaborone | |
| Burkina Faso | Ouagadougou | |
| Burundi | Gitega | |
| Cameroon | Yaoundé | |
| Cape Verde | Praia | |
| Central African Republic | Bangui | |
| Chad | N'Djamena | |
| Comoros | Moroni | |
| Democratic Republic of the Congo | Kinshasa | |
| Djibouti | Djibouti | |
| Egypt | Cairo | |
| Equatorial Guinea | Ciudad de la Paz | Djibloho, Oyala |
| Eritrea | Asmara | |
| Eswatini | Mbabane | Lobamba |
| Ethiopia | Addis Ababa | |
| Gabon | Libreville | |
| Gambia | Banjul | |
| Ghana | Accra | |
| Guinea | Conakry | |
| Guinea-Bissau | Bissau | |
| Ivory Coast | Yamoussoukro | |
| Kenya | Nairobi | |
| Lesotho | Maseru | |
| Liberia | Monrovia | |
| Libya | Tripoli | |
| Madagascar | Antananarivo | |
| Malawi | Lilongwe | |
| Mali | Bamako | |
| Mauritania | Nouakchott | |
| Mauritius | Port Louis | |
| Morocco | Rabat | |
| Mozambique | Maputo | |
| Namibia | Windhoek | |
| Niger | Niamey | |
| Nigeria | Abuja | |
| Republic of the Congo | Brazzaville | |
| Rwanda | Kigali | |
| Sao Tome and Principe | São Tomé | |
| Senegal | Dakar | |
| Seychelles | Victoria | |
| Sierra Leone | Freetown | |
| Somalia | Mogadishu | |
| South Africa | Pretoria | Bloemfontein, Cape Town |
| South Sudan | Juba | |
| Sudan | Khartoum | |
| Tanzania | Dodoma | |
| Togo | Lomé | |
| Tunisia | Tunis | |
| Uganda | Kampala | |
| Zambia | Lusaka | |
| Zimbabwe | Harare |
“Also accepted” lists the other names and cities that count for each country.
Frequently asked questions
How many capitals are in the Capitals of Africa quiz?
54, one for each country of Africa in the site’s 197-country list. Western Sahara is not a separate answer.
Which countries of Africa have more than one accepted capital?
Eswatini (Mbabane or Lobamba) and South Africa (Pretoria or Bloemfontein or Cape Town). Where a country divides its capital functions or has a separate seat of government, any listed city counts.
Which capitals share their country’s name?
Djibouti (Djibouti). Typing the country’s name is accepted.
Do I need to type accents or punctuation?
No. Accents and punctuation are optional, so “Yaounde” counts for Yaoundé and “Sao Tome” counts for São Tomé. Capital letters do not matter either.
What happens if I guess wrong?
Nothing is lost. The guess is marked and you can try again as often as you like. The run ends when you name all 54 or press Finish, which reveals the answer.
Where do the answers come from?
From the mledoze/countries dataset (Open Database License 1.0), adapted with accepted alternative spellings and seats of government and last reviewed in October 2026. The full list of accepted answers is below.
Capitals to double-check
A country’s capital is not always the city it is best known for. In this set:
- Nigeria: Abuja (Lagos is not accepted).
- Ivory Coast: Yamoussoukro (Abidjan is not accepted).
- Tanzania: Dodoma (Dar es Salaam is not accepted).
- Morocco: Rabat (Casablanca is not accepted).
- Benin: Porto-Novo (Cotonou is not accepted).
- Burundi: Gitega (Bujumbura is not accepted).
- Equatorial Guinea: Ciudad de la Paz (Malabo is not accepted).
- Cameroon: Yaoundé (Douala is not accepted).
Capitals of Africa at a glance
- Other names the game accepts: “Djibloho” or “Oyala” for Ciudad de la Paz.
Shorter capitals quizzes in Africa
One shorter capitals quiz covers part of this list: the Middle East (Egypt, plus 16 countries counted in Asia). The other 53 countries are in no shorter quiz.
Which countries count?
The quiz uses the 54 countries of Africa from the site’s 197-country list. Western Sahara is not a separate answer.
Sources
Source: mledoze/countries · Answers reviewed 2026-10-01
Country data is licensed under ODbL 1.0. We adapt the capital list with accepted alternative spellings and seats of government. Review date is an editorial check, not a claim that all capitals changed on that date.
Found an incorrect answer or a source that needs updating? Send a correction with the game name and a reference.


