Africa capitals quiz

How many of the 54 capital cities of Africa do you know? Choose from four cities or type the answer yourself. The wrong options come from the same region, so you cannot rely on geography alone. Every country and capital is listed below for study.

How the capitals quiz works

Each round draws countries at random from the 54 scored in this quiz. Wrong options are capitals of neighbouring countries in the same region where possible, then elsewhere in Africa. You earn one point per correct answer; your streak counts correct answers in a row.

In typed mode, capital letters, accents, spaces, hyphens and apostrophes are ignored, so bogota matches Bogotá and nukualofa matches Nuku‘alofa. Common English forms such as Kiev for Kyiv and Ulan Bator for Ulaanbaatar are accepted, and a single-letter slip in longer names is marked correct with a spelling reminder. Where a country has more than one capital, any of them counts.

Capitals with a story: 8 special cases

These are the answers most often disputed, outdated or split between cities in other quizzes and atlases.

Flag of BeninBenin: Porto-Novo
Porto-Novo is the official capital. Cotonou, the largest city, is Benin’s economic hub and where most of government works.
Flag of BurundiBurundi: Gitega
Gitega replaced Bujumbura as the capital in 2019. Bujumbura, on Lake Tanganyika, remains the largest city.
Flag of Equatorial GuineaEquatorial Guinea: Ciudad de la Paz
Under Decree-Law 1/2026, Ciudad de la Paz (formerly Oyala), a planned city in mainland Río Muni, replaced Malabo on Bioko island as the national capital. Many atlases and older quizzes still give Malabo.
Flag of EswatiniEswatini: Mbabane
Mbabane is the administrative capital of Eswatini (formerly Swaziland). Lobamba, nearby, is the royal and legislative capital, where parliament sits.
Flag of Ivory CoastIvory Coast: Yamoussoukro
Yamoussoukro has been the official capital since 1983, but Abidjan, the largest city, remains the economic capital and hosts most embassies and much of government business.
Flag of NigeriaNigeria: Abuja
Abuja, a planned city in the centre of the country, replaced Lagos as the capital in 1991. Lagos remains by far the largest city.
Flag of South AfricaSouth Africa: Pretoria (administrative), Cape Town (legislative), Bloemfontein (judicial)
South Africa splits its capital functions between three cities: Pretoria (administrative), Cape Town (legislative) and Bloemfontein (judicial). Johannesburg, the largest city, is not one of them. The quiz shows Pretoria; any of the three is accepted when typing.
Flag of TanzaniaTanzania: Dodoma
Dodoma is the official capital and seat of parliament. Dar es Salaam is the largest city and commercial centre, and many offices and embassies remain there.

Tricky ones to remember

Capitals that are not the largest city

The most common wrong answer is the country’s biggest or best-known city. These are well-known cases in Africa; the list is not exhaustive, and city size depends on where the boundary is drawn.

CountryCapitalLarger city often guessed
Flag of BeninBeninPorto-NovoCotonou
Flag of BurundiBurundiGitegaBujumbura
Flag of Equatorial GuineaEquatorial GuineaCiudad de la PazBata
Flag of GambiaGambiaBanjulSerekunda
Flag of Ivory CoastIvory CoastYamoussoukroAbidjan
Flag of MoroccoMoroccoRabatCasablanca
Flag of NigeriaNigeriaAbujaLagos
Flag of South AfricaSouth AfricaPretoriaJohannesburg
Flag of TanzaniaTanzaniaDodomaDar es Salaam

Countries with similar names

Similar country names make it easy to attach a capital to the wrong one.

Capitals named after their country

3 capitals share the country’s name, or their country is named after them: Djibouti (Djibouti), São Tomé (Sao Tome and Principe) and Tunis (Tunisia).

The two closest capitals

The closest pair of capitals in Africa is Kinshasa (the Democratic Republic of the Congo) and Brazzaville (the Republic of the Congo), about 7 km apart in a straight line. Distances use capital coordinates from Wikidata.

Study list: all 54 capitals of Africa

Grouped by region, the same groups the quiz uses for its wrong options. Capitals are shown exactly as recorded on each country profile.

Central Africa

CountryCapital
Flag of AngolaAngolaLuanda
Flag of CameroonCameroonYaounde
Flag of Central African RepublicCentral African RepublicBangui
Flag of ChadChadN'Djamena
Flag of Democratic Republic of the CongoDemocratic Republic of the CongoKinshasa
Flag of Equatorial GuineaEquatorial GuineaCiudad de la Paznote
Flag of GabonGabonLibreville
Flag of Republic of the CongoRepublic of the CongoBrazzaville
Flag of Sao Tome and PrincipeSao Tome and PrincipeSão Tomé

East Africa

CountryCapital
Flag of BurundiBurundiGiteganote
Flag of ComorosComorosMoroni
Flag of DjiboutiDjiboutiDjibouti
Flag of EritreaEritreaAsmara
Flag of EthiopiaEthiopiaAddis Ababa
Flag of KenyaKenyaNairobi
Flag of MadagascarMadagascarAntananarivo
Flag of MalawiMalawiLilongwe
Flag of MauritiusMauritiusPort Louis
Flag of MozambiqueMozambiqueMaputo
Flag of RwandaRwandaKigali
Flag of SeychellesSeychellesVictoria
Flag of SomaliaSomaliaMogadishu
Flag of South SudanSouth SudanJuba
Flag of TanzaniaTanzaniaDodomanote
Flag of UgandaUgandaKampala

North Africa

CountryCapital
Flag of AlgeriaAlgeriaAlgiers
Flag of EgyptEgyptCairo
Flag of LibyaLibyaTripoli
Flag of MoroccoMoroccoRabat
Flag of SudanSudanKhartoum
Flag of TunisiaTunisiaTunis

Southern Africa

CountryCapital
Flag of BotswanaBotswanaGaborone
Flag of EswatiniEswatiniMbabanenote
Flag of LesothoLesothoMaseru
Flag of NamibiaNamibiaWindhoek
Flag of South AfricaSouth AfricaPretoria (administrative), Cape Town (legislative), Bloemfontein (judicial)note
Flag of ZambiaZambiaLusaka
Flag of ZimbabweZimbabweHarare

West Africa

CountryCapital
Flag of BeninBeninPorto-Novonote
Flag of Burkina FasoBurkina FasoOuagadougou
Flag of Cape VerdeCape VerdePraia
Flag of GambiaGambiaBanjul
Flag of GhanaGhanaAccra
Flag of GuineaGuineaConakry
Flag of Guinea-BissauGuinea-BissauBissau
Flag of Ivory CoastIvory CoastYamoussoukronote
Flag of LiberiaLiberiaMonrovia
Flag of MaliMaliBamako
Flag of MauritaniaMauritaniaNouakchott
Flag of NigerNigerNiamey
Flag of NigeriaNigeriaAbujanote
Flag of SenegalSenegalDakar
Flag of Sierra LeoneSierra LeoneFreetown
Flag of TogoTogoLomé

Capitals: Countries.World country records. Coordinates for distances: Wikidata (CC0), accessed 2026-10-10. For coordinates and time zones of each capital, see capitals of Africa.