Africa has 54 countries, more than any other region, and many of its capitals are recently changed, different from the largest city, or simply unfamiliar. Egypt, Morocco and Kenya have capitals many learners already know. But Equatorial Guinea designated a new capital in 2026, Burundi moved its political capital in 2019, and Tanzania's official capital is a city most travelers have never visited.
Understanding why governments moved — and which city is the answer GeoSpeedrun expects — is the fastest route to learning all 54.
Practice African capitals in GeoSpeedrun
Select Africa in the region picker for a capitals speedrun through all 54 countries. Use this guide's reference table to review the answers before you start.
Scan with your phone camera to download GeoSpeedrun
All 54 African capitals · Quiz yourself: African capitals
All 54 African capitals
GeoSpeedrun's Africa region covers all 54 internationally recognized African countries. Use the reference table below to study every country-capital pairing before you start the timer.
This guide follows GeoSpeedrun's Africa region: all 54 internationally recognized African countries. Egypt, which spans Africa and Asia, is counted in Africa. Where a country has more than one capital, the table shows the city the quiz accepts; the notes below explain the others.
| Country | Capital | Largest city |
|---|---|---|
| Algiers | ||
| Luanda | ||
| Porto-Novo | Cotonou | |
| Gaborone | ||
| Ouagadougou | ||
| Gitega | Bujumbura | |
| Yaoundé | Douala | |
| Praia | ||
| Bangui | ||
| N'Djamena | ||
| Moroni | ||
| Kinshasa | ||
| Brazzaville | ||
| Yamoussoukro | Abidjan | |
| Djibouti | ||
| Cairo | ||
| Ciudad de la Paz | Bata | |
| Asmara | ||
| Mbabane | Manzini | |
| Addis Ababa | ||
| Libreville | ||
| Banjul | Serekunda | |
| Accra | ||
| Conakry | ||
| Bissau | ||
| Nairobi | ||
| Maseru | ||
| Monrovia | ||
| Tripoli | ||
| Antananarivo | ||
| Lilongwe | ||
| Bamako | ||
| Nouakchott | ||
| Port Louis | ||
| Rabat | Casablanca | |
| Maputo | ||
| Windhoek | ||
| Niamey | ||
| Abuja | Lagos | |
| Kigali | ||
| São Tomé | ||
| Dakar | ||
| Victoria | ||
| Freetown | ||
| Mogadishu | ||
| Pretoria | Johannesburg | |
| Juba | ||
| Khartoum | ||
| Dodoma | Dar es Salaam | |
| Lomé | ||
| Tunis | ||
| Kampala | ||
| Lusaka | ||
| Harare |
Quiz yourself: African capitals
Ten random countries from the Africa region — pick the capital from four answers. No sign-up needed.
African capitals by region
Working through Africa in five sub-regions turns 54 answers into batches of 6 to 17.
North Africa
Six countries run along the Mediterranean and the Sahara, and their capitals are long-established cities. The classic mistake is naming Casablanca instead of Rabat for Morocco — Casablanca is by far the largest city, but Rabat is the capital.
Algeria — Algiers
Egypt — Cairo
Libya — Tripoli
Morocco — Rabat
Sudan — Khartoum
Tunisia — Tunis
West Africa
West Africa has the most countries — 17 — and several surprising capitals. Nigeria's capital is Abuja, not Lagos. Benin's constitutional capital is Porto-Novo, not Cotonou. Côte d'Ivoire's official capital is Yamoussoukro, not Abidjan. Burkina Faso's Ouagadougou is famous as one of the hardest capital names to spell.
Benin — Porto-Novo
Burkina Faso — Ouagadougou
Cape Verde — Praia
Côte d’Ivoire — Yamoussoukro
Gambia — Banjul
Ghana — Accra
Guinea — Conakry
Guinea-Bissau — Bissau
Liberia — Monrovia
Mali — Bamako
Mauritania — Nouakchott
Niger — Niamey
Nigeria — Abuja
São Tomé and Príncipe — São Tomé
Senegal — Dakar
Sierra Leone — Freetown
Togo — Lomé
East Africa
East Africa spans from the Horn of Africa to the Indian Ocean islands. Tanzania's official capital is Dodoma, not the larger Dar es Salaam. Burundi moved its political capital from Bujumbura to Gitega in 2019. The island countries — Comoros, Madagascar, Mauritius and Seychelles — each have their own capital in the quiz.
Burundi — Gitega
Comoros — Moroni
Djibouti — Djibouti
Eritrea — Asmara
Ethiopia — Addis Ababa
Kenya — Nairobi
Madagascar — Antananarivo
Mauritius — Port Louis
Rwanda — Kigali
Seychelles — Victoria
Somalia — Mogadishu
South Sudan — Juba
Tanzania — Dodoma
Uganda — Kampala
Central Africa
Two countries share the name Congo but have different capitals: the Democratic Republic of the Congo (Kinshasa) and the Republic of the Congo (Brazzaville) — on opposite banks of the same river. Equatorial Guinea has designated Ciudad de la Paz as its new capital, replacing Malabo.
Cameroon — Yaoundé
Central African Republic — Bangui
Chad — N'Djamena
Congo (DRC) — Kinshasa
Congo (Republic) — Brazzaville
Equatorial Guinea — Ciudad de la Paz
Gabon — Libreville
Southern Africa
Southern Africa's most complex case is South Africa, with three capitals for three branches of government. Lesotho is completely surrounded by South Africa, and Eswatini has a royal and legislative capital, Lobamba, next to its administrative capital, Mbabane.
Angola — Luanda
Botswana — Gaborone
Eswatini — Mbabane
Lesotho — Maseru
Malawi — Lilongwe
Mozambique — Maputo
Namibia — Windhoek
South Africa — Pretoria
Zambia — Lusaka
Zimbabwe — Harare
Important capital exceptions
Several African countries do not follow the simple 'one country, one capital' model. GeoSpeedrun's quiz uses the primary official answer in each case; the notes explain why it may differ from what you expect.
Equatorial Guinea — Ciudad de la Paz
Largest city: Bata
In January 2026, Equatorial Guinea designated Ciudad de la Paz — a planned city on the mainland — as its capital, with the government's relocation to be completed over the following year. Malabo, on the island of Bioko, is the former capital.
Côte d’Ivoire — Yamoussoukro
Largest city: Abidjan
Yamoussoukro became Côte d'Ivoire's official capital in 1983, chosen by the first president, Félix Houphouët-Boigny, who was born there. Abidjan, the largest city, still hosts most ministries and embassies.
Tanzania — Dodoma
Largest city: Dar es Salaam
Dodoma was chosen to replace the coastal city of Dar es Salaam. Parliament moved there, and the government has relocated in stages; Dar es Salaam remains the largest city and economic center.
Nigeria — Abuja
Largest city: Lagos
Lagos was the capital until 1991, when Abuja — a purpose-built federal capital in the center of the country — replaced it as a neutral seat of government. Lagos remains the largest city.
Burundi — Gitega
Largest city: Bujumbura
Gitega became Burundi's political capital in 2019, replacing Bujumbura, which remains the largest city and the economic capital.
South Africa — Pretoria
Largest city: Johannesburg
South Africa splits its capital functions: Pretoria is the executive capital, Cape Town the legislative capital and Bloemfontein the judicial capital. Pretoria is the answer most quizzes, including GeoSpeedrun, expect.
Benin — Porto-Novo
Largest city: Cotonou
Porto-Novo is Benin's constitutional capital and the seat of the National Assembly, but Cotonou — the largest city — hosts the presidency and most ministries.
Eswatini — Mbabane
Largest city: Manzini
Mbabane is the administrative capital and the seat of government. Lobamba, nearby, is the royal and legislative capital, home to Parliament.
Countries and capitals people mix up
Similar country names are a bigger trap in Africa than similar capitals. Learn these pairs side by side.
How to memorize African capitals
Learn the decoy city first
For countries with a famous large city that is not the capital, learn the wrong answer next to the right one: Nigeria — Abuja, not Lagos. Côte d'Ivoire — Yamoussoukro, not Abidjan. Tanzania — Dodoma, not Dar es Salaam. Morocco — Rabat, not Casablanca. Benin — Porto-Novo, not Cotonou.
Use the reason a capital moved
Capital moves are memorable because each has a story. Abuja was built as a central, neutral capital for a large federal country. Yamoussoukro was the first president's birthplace. Dodoma moved Tanzania's center inland. When you attach the reason to the city, the pairing sticks.
Group by region for review
Working region by region — North, West, East, Central, Southern — turns 54 answers into five batches. West Africa deserves the most attention: it has the most countries and several surprising answers.
Say unfamiliar names out loud
Rhythm helps with long names: Oua-ga-dou-gou (Burkina Faso), An-ta-na-na-ri-vo (Madagascar), N'Dja-me-na (Chad). Even rough pronunciation practice reinforces recall.
Four-step practice routine
- StudyUse this guide's reference table to study all 54 capitals. Note which ones you would have guessed wrong.
- GroupWork through the five sub-regions above one at a time. Spend extra time on West Africa and on the capital exceptions.
- QuizTake the quiz on this page or the Africa capitals quiz in the app. Write down every capital you miss, along with the answer you almost gave.
- ReviewFor each miss, find the one fact that fixes it — a story, a decoy pairing or a rhythm. Repeat until you can name every capital, then race your best time.
Frequently asked questions
How many African countries are in GeoSpeedrun's Africa quiz?
GeoSpeedrun's Africa region includes all 54 internationally recognized African countries, from Algeria in the north to South Africa in the south.
What is the capital of Equatorial Guinea?
Ciudad de la Paz, a planned city on the mainland, designated as the capital in January 2026. The former capital is Malabo, on the island of Bioko; the government is relocating in stages.
Why is Abuja and not Lagos the capital of Nigeria?
Lagos was Nigeria's capital until 1991. Abuja was purpose-built in the center of the country as a neutral federal capital. Lagos remains the largest city and economic hub, but Abuja is the seat of government.
How many capitals does South Africa have?
Three: Pretoria (executive), Cape Town (legislative) and Bloemfontein (judicial). Pretoria is the answer GeoSpeedrun expects.
What is the best way to practice African capitals with GeoSpeedrun?
Study the reference table, then work region by region — North, West, East, Central and Southern Africa — before tackling all 54 at once. After each quiz, review the capitals you missed.
Start quizzing African capitals
GeoSpeedrun records your best quiz time for Africa, and your results after each run show which capitals you missed. Free to download on iOS and Android.
Scan with your phone camera to download GeoSpeedrun
