Africa is home to some of the world’s fastest-changing economies, with major industries ranging from oil, mining and agriculture to banking, telecommunications, manufacturing and technology.
But which countries have the largest economies on the continent?
In this TopMost10 ranking, we compare African countries using nominal gross domestic product (GDP) in current U.S. dollars. GDP measures the total value of goods and services produced within an economy and is one of the most widely used indicators for comparing the overall size of national economies.
For consistency, this article uses the latest complete World Bank 2025 GDP data available in 2026.
That distinction matters because the phrase “richest country” can mean different things. A country with the largest total GDP does not necessarily have the highest income per person or the highest standard of living.
Based on the latest World Bank figures, South Africa has the largest economy in Africa, followed by Egypt, Nigeria and Algeria.
How We Ranked the Richest Countries in Africa
This ranking uses GDP at current U.S. dollar prices from the World Bank.
Nominal GDP is useful when comparing the overall economic size of countries at current market exchange rates.
However, GDP can change significantly from year to year because of economic growth, inflation and movements in currency exchange rates.
For that reason, this list should be interpreted as a snapshot based on the latest complete annual World Bank dataset rather than a permanent ranking.
10. Côte d’Ivoire
GDP: Approximately $99.8 billion
Region: West Africa
Major industries: Agriculture, cocoa, energy, manufacturing and services
Côte d’Ivoire rounds out the top ten largest economies in Africa with a nominal GDP of approximately $99.8 billion.
The country has developed into one of West Africa’s most important commercial economies.
Agriculture remains a major part of its economic foundation, and Côte d’Ivoire is particularly important to the global cocoa industry.
However, the country’s economy extends beyond cocoa.
Manufacturing, construction, telecommunications, energy, financial services and transportation have become increasingly important as the economy develops.
Abidjan serves as one of West Africa’s major commercial centers and plays an important role in regional finance and trade.
Côte d’Ivoire’s economic expansion also demonstrates that Africa’s largest economies are no longer limited to the continent’s traditional giants.
9. Ghana
GDP: Approximately $114.2 billion
Region: West Africa
Major industries: Gold, oil, cocoa, services and manufacturing
Ghana ranks ninth among Africa’s largest economies, with GDP of approximately $114.2 billion.
The country benefits from a diverse collection of natural resources and commercial activities.
Gold has historically been one of Ghana’s most important exports, while cocoa remains another major contributor to the economy.
Offshore oil production has added an additional source of export revenue.
Accra has also developed into an important business and services center, with activity spanning banking, telecommunications, real estate, retail and technology.
Ghana has faced periods of substantial inflation and fiscal pressure, demonstrating that a large GDP does not automatically mean an economy is free from serious challenges.
Nevertheless, its economic scale keeps Ghana firmly within Africa’s top ten.
8. Angola
GDP: Approximately $122.2 billion
Region: Southern Africa
Major industries: Oil, diamonds, agriculture and construction
Angola has one of Africa’s largest resource-driven economies.
Its nominal GDP reached approximately $122.2 billion in the latest World Bank dataset.
Oil has historically dominated Angola’s exports and government revenues, making energy prices especially important to the country’s economic performance.
Angola is also a significant diamond producer.
One of the country’s major long-term economic objectives has been diversification.
Expanding agriculture, manufacturing, logistics, fisheries and other industries could reduce the economy’s dependence on petroleum.
Its large resource base and Atlantic coastline give Angola substantial long-term economic potential.
7. Ethiopia
GDP: Approximately $126.4 billion
Region: East Africa
Major industries: Agriculture, manufacturing, construction and services
Ethiopia ranks seventh among Africa’s largest economies, with nominal GDP of approximately $126.4 billion.
The country has one of the continent’s largest populations, giving it a substantial domestic market and workforce.
Agriculture remains critically important, employing large numbers of people and producing export commodities such as coffee.
Manufacturing, construction, infrastructure and services have also contributed to Ethiopia’s economic transformation.
Addis Ababa has additional importance as a diplomatic center because it hosts the headquarters of the African Union.
Ethiopia has nevertheless faced significant economic and political challenges, including inflation, foreign-exchange constraints and the effects of conflict.
Its size and population mean that developments in Ethiopia can have implications far beyond its borders.
6. Kenya
GDP: Approximately $135.9 billion
Region: East Africa
Major industries: Services, agriculture, finance, technology and tourism
Kenya has the sixth-largest nominal GDP in Africa at approximately $135.9 billion.
It is also one of the continent’s most important business and technology centers.
Nairobi hosts major banks, multinational corporations, international organizations and a rapidly developing technology ecosystem.
Kenya became internationally recognized for innovations in mobile financial services, helping establish Nairobi’s reputation as one of Africa’s leading technology hubs.
Agriculture remains another major economic sector, with tea, coffee, horticulture and other products contributing to exports.
Tourism also plays an important role thanks to Kenya’s wildlife reserves, Indian Ocean coastline and internationally recognized safari industry.
Its diversified economy gives Kenya a different economic profile from countries that depend heavily on oil or minerals.
5. Morocco
GDP: Approximately $182.4 billion
Region: North Africa
Major industries: Automotive manufacturing, phosphates, tourism, agriculture and services
Morocco ranks fifth among Africa’s largest economies with GDP of approximately $182.4 billion.
The country has built one of the continent’s more diversified industrial economies.
Automotive manufacturing has become particularly important, supported by factories, suppliers and export infrastructure connected to European markets.
Morocco is also a major player in the global phosphate industry.
Tourism contributes significantly to the economy, with cities such as Marrakech, Casablanca, Fez and Rabat attracting international visitors.
The country has also invested heavily in infrastructure and renewable energy.
Morocco recorded economic growth of approximately 4.6% in 2025 according to World Bank data, adding to its position as one of North Africa’s major economies.
4. Algeria
GDP: Approximately $287.0 billion
Region: North Africa
Major industries: Oil, natural gas, construction and services
Algeria has the fourth-largest economy in Africa, with nominal GDP of approximately $287.0 billion.
Its enormous oil and natural-gas resources are central to the economy.
Hydrocarbon exports provide important foreign-exchange earnings and government revenue, while Algeria’s proximity to Europe gives its energy sector strategic importance.
The country’s economic challenge is diversification.
Reducing dependence on hydrocarbons by developing manufacturing, agriculture, technology and private-sector industries remains important for long-term economic resilience.
Algeria’s population, geographic size and natural resources nevertheless give it one of the largest economic bases on the continent.
3. Nigeria
GDP: Approximately $290.8 billion
Region: West Africa
Major industries: Oil and gas, telecommunications, finance, entertainment and agriculture
Nigeria ranks third among Africa’s largest economies based on the latest World Bank nominal-GDP figures.
Its GDP stood at approximately $290.8 billion in 2025.
Nigeria is Africa’s most populous country and has one of the continent’s largest consumer markets.
Oil remains economically important, but the Nigerian economy is much broader than petroleum.
Telecommunications, banking, fintech, agriculture, retail and entertainment all contribute substantially to economic activity.
Lagos has become one of Africa’s most important commercial cities and hosts major banks, technology startups, media companies and multinational businesses.
Nigeria’s entertainment industries have also achieved enormous international reach through Afrobeats and Nollywood.
The country nevertheless faces significant economic challenges, including inflation, poverty, infrastructure constraints and currency volatility.
World Bank data show that Nigeria’s economy grew approximately 4.0% in 2025.
For another perspective on Nigerian wealth, see our Top 10 Richest People in Africa in 2026, where Nigerian industrialist Aliko Dangote occupies the number-one position.
2. Egypt
GDP: Approximately $365.3 billion
Region: North Africa
Major industries: Services, manufacturing, construction, tourism, energy and transportation
Egypt has Africa’s second-largest economy based on the latest World Bank nominal-GDP data.
Its economy was worth approximately $365.3 billion in 2025.
Egypt benefits from a large population, substantial domestic market and an exceptionally important geographic position connecting Africa, Asia and the Mediterranean.
The Suez Canal is one of the world’s most strategically important maritime routes and plays a significant role in Egypt’s economy.
Tourism is another major industry, supported by the country’s ancient monuments, Red Sea resorts and historic cities.
Manufacturing, construction, energy, agriculture and financial services also contribute to the economy.
World Bank figures indicate economic growth of approximately 4.4% in 2025.
Egypt has faced significant inflation and currency pressures in recent years, however, showing once again why the size of an economy should not be confused with household prosperity.
1. South Africa
GDP: Approximately $427.2 billion
Region: Southern Africa
Major industries: Finance, mining, manufacturing, retail and services
South Africa has the largest economy in Africa based on the latest complete World Bank GDP figures available in 2026.
Its nominal GDP reached approximately $427.2 billion in 2025.
South Africa has one of the continent’s most diversified and industrialized economies.
Mining remains internationally important, particularly in commodities such as platinum-group metals, gold and other minerals.
However, modern South Africa’s economy extends far beyond mining.
Banking, insurance, telecommunications, manufacturing, retail, tourism and professional services are all major sectors.
Johannesburg is one of Africa’s leading financial centers and hosts the Johannesburg Stock Exchange as well as the headquarters of numerous major corporations.
Cape Town is another important economic center, particularly for tourism, technology, financial services and creative industries.
South Africa’s economy grew by approximately 1.1% in 2025 according to World Bank data, meaning its growth rate was slower than several other major African economies.
Nevertheless, when measured by nominal GDP in current U.S. dollars, South Africa occupies the number-one position in this ranking.
South Africa also features heavily in our Top 10 Best Universities in Africa in 2026, another indicator of the country’s strong institutional presence on the continent.
Summary: Top 10 Richest Countries in Africa by GDP
Here is the complete ranking based on the latest World Bank nominal GDP data available in 2026:
| Rank | Country | GDP | Region |
|---|---|---|---|
| 1 | South Africa | $427.2 billion | Southern Africa |
| 2 | Egypt | $365.3 billion | North Africa |
| 3 | Nigeria | $290.8 billion | West Africa |
| 4 | Algeria | $287.0 billion | North Africa |
| 5 | Morocco | $182.4 billion | North Africa |
| 6 | Kenya | $135.9 billion | East Africa |
| 7 | Ethiopia | $126.4 billion | East Africa |
| 8 | Angola | $122.2 billion | Southern Africa |
| 9 | Ghana | $114.2 billion | West Africa |
| 10 | Côte d’Ivoire | $99.8 billion | West Africa |
Source: World Bank GDP (current US$), 2025. Figures have been rounded for readability. GDP values and rankings can change as national statistics are revised and exchange rates fluctuate.
Why Is South Africa the Richest Country in Africa by GDP?
South Africa’s leading position comes from the overall scale and diversity of its economy.
Unlike economies that rely heavily on a single commodity, South Africa has substantial activity across finance, mining, manufacturing, telecommunications, retail, transportation, tourism and professional services.
Its financial markets and large corporate sector also distinguish it from many other African economies.
However, being Africa’s largest economy does not mean South Africa has the continent’s highest living standards or that its wealth is distributed evenly.
Why Did Nigeria Fall Behind South Africa and Egypt?
Nigeria has frequently appeared at or near the top of rankings of Africa’s largest economies.
One major reason its position changes is exchange rates.
Nominal GDP expressed in U.S. dollars converts the value of domestic economic activity into dollars at prevailing exchange rates.
If a country’s currency weakens sharply against the dollar, its dollar-denominated GDP can fall even when the country continues producing enormous quantities of goods and services.
This is one reason rankings based on nominal GDP can change significantly without an equally dramatic change in the underlying physical economy.
Nominal GDP vs. GDP Per Capita: What’s the Difference?
These measurements answer very different questions.
Nominal GDP measures the overall size of an economy at current market prices.
GDP per capita divides economic output by the country’s population.
A large country can therefore have an enormous economy while having relatively low GDP per person.
Conversely, a small country can have a modest total GDP but a high GDP per capita.
For example, Nigeria’s economy is much larger than the economies of many small African countries, but its enormous population means its GDP per capita is far lower than that of several smaller African economies.
Does the Largest GDP Mean the Highest Standard of Living?
No.
Total GDP tells us how large an economy is, but it does not show how national income is distributed or how much the average person earns.
Living standards can also depend on employment, inflation, public services, infrastructure, healthcare, education, security and the cost of living.
For this reason, readers should not interpret “richest country by GDP” as meaning every citizen of that country is wealthy.
Which Regions Dominate Africa’s Largest Economies?
The top ten demonstrate that economic power is distributed across several regions.
North Africa contributes Egypt, Algeria and Morocco.
West Africa contributes Nigeria, Ghana and Côte d’Ivoire.
East Africa contributes Kenya and Ethiopia.
Southern Africa contributes South Africa and Angola.
This geographic spread highlights the diversity of the African economy.
Which African Economies Are Growing Fastest?
The largest economy is not necessarily the fastest-growing economy.
Some smaller African economies can expand at considerably higher annual rates than South Africa, Egypt or Nigeria.
Growth rates also change from year to year depending on commodity prices, investment, political conditions, weather, reforms and global economic conditions.
For that reason, TopMost10 treats the largest economies and the fastest-growing economies as separate rankings.
Frequently Asked Questions
What is the richest country in Africa in 2026?
South Africa has the largest nominal GDP in Africa based on the latest complete World Bank figures available in 2026. Its 2025 GDP was approximately $427.2 billion.
What is the second-richest country in Africa by GDP?
Egypt ranks second with nominal GDP of approximately $365.3 billion.
Is Nigeria still the biggest economy in Africa?
Not according to the latest World Bank nominal GDP figures. Nigeria ranks third at approximately $290.8 billion, behind South Africa and Egypt.
What are the four largest economies in Africa?
The four largest African economies by nominal GDP in the latest World Bank data are South Africa, Egypt, Nigeria and Algeria.
What is the biggest economy in West Africa?
Nigeria is the largest economy in West Africa by nominal GDP, followed within this top ten by Ghana and Côte d’Ivoire.
What is the biggest economy in East Africa?
Kenya is the largest East African economy in this ranking, with GDP of approximately $135.9 billion, followed by Ethiopia at approximately $126.4 billion.
What is the biggest economy in North Africa?
Egypt is North Africa’s largest economy by nominal GDP, followed by Algeria and Morocco.
Is GDP the best way to measure the richest country?
It depends on what you want to measure. Nominal GDP is useful for comparing total economic size, while GDP per capita is more useful for comparing economic output relative to population. Neither measurement by itself provides a complete picture of living standards.
Explore More Africa Rankings
TopMost10 covers Africa from several perspectives, including wealth, education, entertainment, business and economic rankings.
See our Top 10 Richest People in Africa in 2026 to discover the entrepreneurs behind some of the continent’s largest private fortunes.
You can also read our Top 10 Most Successful African Musicians in 2026 and Top 10 Best Universities in Africa in 2026.
Final Thoughts
Africa’s largest economies reflect the extraordinary diversity of the continent.
South Africa leads with an economy worth approximately $427.2 billion, followed by Egypt at $365.3 billion, Nigeria at $290.8 billion and Algeria at $287.0 billion.
Morocco completes the top five, while Kenya, Ethiopia, Angola, Ghana and Côte d’Ivoire make up the remainder of Africa’s ten largest economies.
These rankings will continue to change as currencies move, economies grow and national statistics are revised.
For that reason, TopMost10 will periodically update this ranking as newer comparable World Bank GDP data become available.