Ask ten people to name Africa's richest country and you will hear Nigeria more often than any other answer. For most of the past decade, that answer was correct. It no longer is.
The rankings of Africa's largest economies have been dramatically reshuffled since 2023 — not because economies collapsed, but because of a force that most casual observers overlook entirely: currency. GDP league tables are denominated in US dollars, and when a country's currency loses two-thirds of its value against the dollar, its economy shrinks on paper even while its factories, farms, and markets keep running.
That is precisely what happened to Nigeria. And it is why this ranking looks very different from the one you may remember.
This article ranks Africa's ten largest economies by nominal GDP, using IMF World Economic Outlook projections for 2026. Figures are approximate and rounded — exchange rates move daily, and Africa's statistical agencies periodically rebase their numbers. Where a ranking is contested, we say so. If you are interested in a different measure of wealth — what lies in the ground rather than what flows through the economy — read our companion ranking of Africa's richest countries by natural resources, which remains the most-read article on this publication.
The 2026 Ranking at a Glance
| Rank | Country | Nominal GDP (2026 est.) | Engine of the economy |
|---|---|---|---|
| 1 | South Africa | ~$410 billion | Mining, finance, manufacturing |
| 2 | Egypt | ~$380 billion | Suez Canal, gas, construction |
| 3 | Algeria | ~$270 billion | Oil and gas |
| 4 | Nigeria | ~$250 billion | Oil, services, fintech |
| 5 | Ethiopia | ~$210 billion | Agriculture, aviation, manufacturing |
| 6 | Morocco | ~$160 billion | Automotive, phosphates, tourism |
| 7 | Kenya | ~$125 billion | Services, agriculture, tech |
| 8 | Angola | ~$118 billion | Oil, diamonds |
| 9 | Côte d'Ivoire | ~$90 billion | Cocoa, gold, ports |
| 10 | Tanzania | ~$85 billion | Gold, agriculture, tourism |
Source: IMF World Economic Outlook projections; figures rounded. Rankings in nominal USD terms shift with exchange rates and statistical rebasing.
1. South Africa — Back on Top
South Africa's return to the number-one position says as much about its rivals' currencies as about its own economy. The rand, for all its volatility, avoided the step-change devaluations that hit the naira and the Egyptian pound. But it would be wrong to attribute the ranking to luck alone.
South Africa remains the continent's most sophisticated economy: the deepest capital markets, the largest stock exchange (the JSE accounts for the majority of the Africa 30 Index by weight), the most developed banking system, and an industrial base no other African country matches. Its mining houses — the same platinum, gold, and manganese giants we profiled in our natural resources ranking — anchor global supply chains.
The caveats are real: electricity supply remains fragile, unemployment is among the highest in the world, and growth has trailed the continental average for a decade. South Africa is Africa's richest economy, but not its fastest-moving one.
2. Egypt — The Gravity of the Nile
Egypt's economy has absorbed extraordinary shocks — repeated currency devaluations, imported inflation, and a Suez Canal revenue crisis triggered by Red Sea shipping disruptions — and still holds the second position. That resilience rests on fundamentals: a population of over 110 million, natural gas self-sufficiency from the Zohr field, a construction sector building an entire new capital city, and remittances from one of the world's largest diasporas.
For investors, Egypt is a high-beta bet: when its currency stabilises, dollar-denominated returns from the EGX can be spectacular. When it doesn't, they evaporate. Commercial International Bank (COMI), Egypt's blue-chip lender, is a constituent of the Africa 30.
3. Algeria — The Quiet Giant
Algeria rarely features in African investment conversations, which is precisely why its third-place ranking surprises people. The country is one of the world's top ten natural gas exporters and Europe's third-largest gas supplier — a position that gained enormous strategic value after 2022, when Europe scrambled to replace Russian pipelines.
The economy is heavily state-directed and its stock market is nearly nonexistent, which keeps Algeria off most investors' maps. But by raw output, it comfortably outranks economies with far bigger reputations.
4. Nigeria — The Fall That Wasn't a Collapse
Here is the story most rankings gloss over. In 2022, Nigeria's GDP was reported above $470 billion — comfortably Africa's largest. By 2026, the same economy converts to roughly $250 billion. Did half of Nigeria's economy vanish? No. Its exchange rate did.
The naira reforms that began in mid-2023 — unifying multiple exchange rates and allowing the currency to float — were painful but necessary. The parallel-market spread collapsed, foreign investors regained the ability to repatriate profits, and portfolio inflows returned to the Nigerian Exchange. In local-currency terms, the NGX has been one of the world's best-performing stock markets. In dollar terms, the devaluation wiped out much of that gain — a dynamic we track daily in the Africa 30 Index, which converts all constituent prices to US dollars precisely so these effects are visible rather than hidden.
Measured by purchasing power parity — what money actually buys locally — Nigeria remains one of Africa's two largest economies. Measured by momentum, its fintech sector (Flutterwave, Moniepoint, OPay) is the continent's deepest. The dollar ranking understates Nigeria. Serious investors know it.
5. Ethiopia — The Fastest Riser
Ethiopia has quietly compounded near-double-digit growth for two decades, and it shows: the economy has multiplied several times over since 2000. It is Africa's second most populous country, home to its largest airline, and an emerging manufacturing base as industrial parks attract textile and light-manufacturing investment.
The 2025 opening of the Ethiopian Securities Exchange — the country's first stock market in five decades — is one of the most significant capital-markets events on the continent this decade. Ethiopia is not yet in the Africa 30; its exchange must first meet the liquidity criteria set out in our index methodology. Its trajectory suggests that is a question of when, not if.
6. Morocco — The Industrial Model
Morocco has done what many resource-rich African states have not: built an economy on making things. It is now Africa's largest car manufacturer, exporting over half a million vehicles a year from plants operated by Renault and Stellantis. It controls roughly 70% of the world's phosphate reserves — the backbone of global fertiliser supply — and is investing aggressively in green hydrogen and solar. Attijariwafa Bank and Maroc Telecom carry Morocco's weight in the Africa 30.
7. Kenya — East Africa's Anchor
Kenya is the commercial capital of East Africa: the region's banking hub, its logistics gateway, and the birthplace of mobile money. Safaricom's M-Pesa moves value equivalent to more than half of Kenya's GDP annually. The Nairobi Securities Exchange hosts four Africa 30 constituents — Safaricom, Equity Group, KCB, and East African Breweries — making Kenya the index's third-largest country exposure.
8. Angola — Oil's Long Shadow
Angola is Africa's second-largest oil producer, and oil still accounts for around 90% of its exports. The government's diversification agenda — agriculture, fisheries, the Lobito Corridor rail project connecting DRC copper to the Atlantic — is genuine but early. The Lobito Corridor in particular deserves investor attention: it is one of the largest US-backed infrastructure investments in Africa and repositions Angola as the export route for the continent's most strategic minerals.
9. Côte d'Ivoire — The Francophone Powerhouse
The world's largest cocoa producer has been one of Africa's fastest-growing economies for a decade, compounding at 6–7% with the kind of consistency most emerging markets only promise. Abidjan hosts the BRVM, the regional exchange serving eight West African countries, where Africa 30 constituents Sonatel, Ecobank, and Société Générale CI trade. The CFA franc's peg to the euro removes the currency drama that hammered Nigeria's ranking — a stability that is itself an underrated investment argument.
10. Tanzania — The Steady Compounder
Tanzania rounds out the ten with two decades of 5–7% growth, significant gold production, a nascent LNG project with the potential to transform its export base, and a tourism sector anchored by assets no competitor can replicate: Serengeti, Kilimanjaro, Zanzibar. It is the quietest economy on this list and, by some measures, the most consistent.
Total GDP Is Not the Whole Story
Two important reframes before the investment conclusions.
Per capita, the ranking inverts. The richest Africans on average do not live in the biggest economies. Seychelles, Mauritius, and Gabon top the per-capita table — small populations, tourism and financial-services income, and in Gabon's case, oil. Nigeria, with its enormous population, sits far down the per-capita list. We break the full per-person table down in The 10 Richest Countries in Africa Per Capita. "Richest country" always depends on the question: richest in total, richest per person, or richest in the ground — the third answer is our natural resources ranking.
Growth lives elsewhere. The African Development Bank projects the continent to remain the world's second-fastest-growing region in 2026, at roughly 4%. But the fastest growers — Rwanda, Senegal, Ethiopia, Côte d'Ivoire, Tanzania — are mostly mid-table or absent from this ranking. Size and speed are different bets.
What This Means for Investors
Three practical conclusions.
First: currency is the silent variable in every African return. Nigeria's fall from first to fourth happened almost entirely in the exchange rate. Any investment thesis that ignores currency — hedging costs, repatriation rules, devaluation risk — is incomplete. This is why the Africa 30 Index is calculated in US dollars: it shows African equity performance the way a global investor actually experiences it.
Second: the biggest economies are not automatically the best markets. Algeria is third by GDP and nearly uninvestable through public markets. Kenya is seventh and offers some of the continent's most liquid, best-governed listed companies. Market access, liquidity, and governance matter more than headline GDP.
Third: the reshuffle is the opportunity. Egypt and Nigeria — two of the continent's three most populous nations — have both been through brutal currency adjustments. Historically, the years after a major devaluation are when dollar-based investors do best, because assets are cheap in dollar terms and the currency risk has already materialised. That is the contrarian case the crowd misses while staring at league tables.
If you want to act on any of this, start with our practical guide on how to invest in African markets — it covers the JSE, NGX, NSE, EGX, and BRVM, plus the ETFs and funds that provide access from anywhere in the world.
Sources & Methodology
GDP figures are based on IMF World Economic Outlook projections and national statistical agency data, rounded and stated as approximations. Growth projections reference the African Development Bank's African Economic Outlook and IMF regional forecasts. Rankings are in nominal USD and shift with exchange-rate movements; PPP-based rankings differ materially. This article will be updated as new IMF data is released. Nothing here constitutes investment advice.