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 — and since we first published this ranking in July, the order below the top has moved again.

Updated 1 November 2026. This ranking now uses the IMF's October 2026 World Economic Outlook, released on 13 October. What changed since our July edition: Nigeria climbs from fourth to third (about $387 billion); Ghana (eighth) and DR Congo (tenth) enter the top ten; Côte d'Ivoire and Tanzania drop out; Ethiopia falls from fifth to ninth after the birr's float; and South Africa's lead over Egypt widens to about $46 billion.

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, since 2024, the same arithmetic has started to work in its favour as the naira steadies. 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 the IMF's October 2026 World Economic Outlook projections for 2026. Figures are 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.

The 2026 Ranking at a Glance

Rank Country Nominal GDP (2026) Real growth (2026) Engine of the economy
1South Africa~$489 billion1.0%Mining, finance, manufacturing
2Egypt~$443 billion5.1%Suez Canal, gas, construction
3Nigeria~$387 billion4.2%Oil, services, fintech
4Algeria~$332 billion3.8%Oil and gas
5Morocco~$196 billion4.5%Automotive, phosphates, tourism
6Angola~$157 billion4.4%Oil, diamonds
7Kenya~$151 billion4.5%Services, agriculture, tech
8Ghana~$129 billion5.7%Gold, cocoa, oil
9Ethiopia~$127 billion9.2%Agriculture, aviation, manufacturing
10DR Congo~$122 billion5.2%Copper, cobalt

Source: IMF World Economic Outlook, October 2026 (released 13 October): nominal GDP in current US dollars and projected real growth for 2026; figures rounded. Rankings in nominal USD terms shift with exchange rates and statistical rebasing. Next in line: Côte d'Ivoire (~$110 billion) and Tanzania (~$96 billion).

1. South Africa — Still on Top

South Africa's lead says as much about its rivals' currencies as about its own economy. The IMF puts its GDP at about $489 billion in 2026, up from about $427 billion in 2025 — but it projects real growth of only 1.0%, so by our arithmetic most of that rise in dollar terms comes from a firmer rand rather than a faster 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 (South African listings make up half 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 at a projected 1.0% growth in 2026, 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, at about $443 billion in the IMF's October projection (about a fifth above its 2025 level, on 5.1% projected real growth). 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.

One caution on that number: Egypt's pound fell to a record low of about 56 per dollar in late October, so Egypt's dollar GDP is a figure to watch for revision in the IMF's next edition.

3. Nigeria — The Fall, and the Climb Back

Here is the story most rankings gloss over. On the IMF's current figures, Nigeria's GDP peaked at about $646 billion in 2022 — comfortably Africa's largest. By 2024 the same economy converted to about $252 billion. Did more than half of Nigeria's economy vanish? No. Its exchange rate did.

Since then the number has been climbing back: about $290 billion in 2025 and about $387 billion projected for 2026, enough to move Nigeria past Algeria and back to third. Two things drive the climb. The economy is growing in naira terms — the IMF's June 2026 Article IV report has nominal GDP rising from ₦442 trillion in 2025 to a projected ₦529 trillion in 2026, with real growth of 4.2% — and the arithmetic implies a firmer naira, which converts each naira into more dollars.

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 understated Nigeria through the trough, and it is now catching up. Serious investors know it.

4. Algeria — The Quiet Giant

Algeria rarely features in African investment conversations, which is precisely why its fourth-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 — about $332 billion in 2026 on the IMF's figures — it comfortably outranks economies with far bigger reputations.

5. Morocco — The Industrial Model

Morocco, fifth at about $196 billion, 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.

6. 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.

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 fourth-largest country exposure.

8. Ghana — The Comeback

Ghana is a new entrant. The IMF puts its economy at about $129 billion in 2026, up from about $83 billion in 2024 — a rise of more than half in two years — on projected real growth of 5.7%. Growth at that pace cannot explain a jump that size on its own; a recovering cedi after the 2022–23 debt crisis and restructuring explains much of the rest. Gold, cocoa and oil remain the backbone of the economy.

For investors the point is access: Ghana's exchange is not covered by the Africa 30 Index today, so the country's recovery is mostly invisible to anyone who follows African equities through the usual benchmarks.

9. Ethiopia — Fast Growth, Smaller in Dollars

Ethiopia drops from fifth in our July edition to ninth — not because growth slowed (the IMF still projects 9.2% for 2026, the fastest on this list) but because of the birr. After the currency was floated in July 2024, the IMF's series falls from about $210 billion in 2024 to about $126 billion in 2025, and stands at about $127 billion in 2026. It is the clearest case on the list of a fast-growing economy shrinking on paper because of its exchange rate.

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.

10. DR Congo — The Mineral Giant Enters

The DR Congo enters at tenth: about $122 billion in 2026, up from about $77 billion in 2024, on projected real growth of 5.2%. It is Africa's largest copper producer and the world's largest source of cobalt, and we profile the resources behind that in our DRC mineral wealth piece. Headline GDP flatters the picture: the DRC remains one of the poorest countries in the world per person.

Its export route matters as much as its output. The Lobito Corridor through Angola is the most strategic rail project for getting DRC copper to the Atlantic, which links this ranking's sixth and tenth economies.

Just Outside the Top Ten

Côte d'Ivoire (11th, about $110 billion). 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.

Tanzania (12th, about $96 billion). It has 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 of the twelve 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, at roughly $1,600 per person against about $7,700 in South Africa and $4,000 in Egypt on the IMF's 2026 figures. 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 World Bank's October Africa Economic Update puts Sub-Saharan growth at 4.3% in 2026. But the fastest growers on this list — Ethiopia (9.2%), Côte d'Ivoire and Tanzania (6.0%), Ghana (5.7%) and DR Congo (5.2%) — all rank eighth or lower, while South Africa, at the top of the table, is projected to grow 1.0%. 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 was driven mostly by the exchange rate, and so was much of its climb back to third. Ethiopia's slide from fifth to ninth in this update is the same force at work. 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 fourth 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. Nigeria's climb from $252 billion to a projected $387 billion since 2024 is what that recovery looks like in the GDP tables. 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 nominal GDP in current US dollars from the IMF World Economic Outlook, October 2026 edition (released 13 October 2026), retrieved from the IMF DataMapper on 1 November 2026. They are projections for 2026 and are rounded. Per-capita figures and real growth rates are the IMF's 2026 projections from the same edition. Regional growth is from the World Bank's Africa Economic Update (6 October 2026). Nigeria's naira GDP figures are from the IMF's 2026 Article IV consultation (June 2026); statements about the naira's average strength are our own arithmetic from those figures. Rankings are in nominal USD and shift with exchange-rate movements; PPP-based rankings differ materially. We update this article when the IMF publishes a new World Economic Outlook. Nothing here constitutes investment advice.