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.

Download on the App StoreGet it on Google Play

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.

CountryCapitalLargest city
AlgeriaAlgiers
AngolaLuanda
BeninPorto-NovoCotonou
BotswanaGaborone
Burkina FasoOuagadougou
BurundiGitegaBujumbura
CameroonYaoundéDouala
Cape VerdePraia
Central African RepublicBangui
ChadN'Djamena
ComorosMoroni
Congo (DRC)Kinshasa
Congo (Republic)Brazzaville
Côte d’IvoireYamoussoukroAbidjan
DjiboutiDjibouti
EgyptCairo
Equatorial GuineaCiudad de la PazBata
EritreaAsmara
EswatiniMbabaneManzini
EthiopiaAddis Ababa
GabonLibreville
GambiaBanjulSerekunda
GhanaAccra
GuineaConakry
Guinea-BissauBissau
KenyaNairobi
LesothoMaseru
LiberiaMonrovia
LibyaTripoli
MadagascarAntananarivo
MalawiLilongwe
MaliBamako
MauritaniaNouakchott
MauritiusPort Louis
MoroccoRabatCasablanca
MozambiqueMaputo
NamibiaWindhoek
NigerNiamey
NigeriaAbujaLagos
RwandaKigali
São Tomé and PríncipeSão Tomé
SenegalDakar
SeychellesVictoria
Sierra LeoneFreetown
SomaliaMogadishu
South AfricaPretoriaJohannesburg
South SudanJuba
SudanKhartoum
TanzaniaDodomaDar es Salaam
TogoLomé
TunisiaTunis
UgandaKampala
ZambiaLusaka
ZimbabweHarare

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.

Congo (DRC)Congo (Republic)
Congo (DRC) (Kinshasa) · Congo (Republic) (Brazzaville)Two Congos facing each other across the Congo River: the larger Democratic Republic of the Congo has Kinshasa, the Republic of the Congo has Brazzaville. Apart from Rome and Vatican City, they are often cited as the two closest national capitals in the world.
NigerNigeria
Niger (Niamey) · Nigeria (Abuja)Niger (Niamey) is the large Saharan country to the north; Nigeria (Abuja) is its populous southern neighbor. Nigeria is the one with the extra "-ia".
GuineaGuinea-Bissau
Guinea (Conakry) · Guinea-Bissau (Bissau)Guinea has Conakry; Guinea-Bissau carries its capital in its name — Bissau. Equatorial Guinea, further south, has Ciudad de la Paz.
SudanSouth Sudan
Sudan (Khartoum) · South Sudan (Juba)Sudan keeps the old capital, Khartoum; South Sudan, independent since 2011, has Juba.
MaliMauritania
Mali (Bamako) · Mauritania (Nouakchott)Mali (Bamako) is landlocked; Mauritania (Nouakchott) lies on the Atlantic coast to its west.

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

  1. StudyUse this guide's reference table to study all 54 capitals. Note which ones you would have guessed wrong.
  2. GroupWork through the five sub-regions above one at a time. Spend extra time on West Africa and on the capital exceptions.
  3. 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.
  4. 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.

Download on the App StoreGet it on Google Play

Scan with your phone camera to download GeoSpeedrun