South Africa is the richest country in Africa by total economic size, with a nominal GDP of $410.34 billion in 2025. But “richest” can mean different things depending on whether you’re looking at the size of the whole economy, how much wealth the average person has, or how many millionaires live there. South Africa leads on most of those measures, though smaller nations like Seychelles and Mauritius come out on top when you compare living standards per person.
Largest Economies by Total GDP
Total GDP measures the value of all goods and services a country produces in a year. It tells you how big an economy is overall, though it doesn’t say much about how that wealth is distributed among citizens. According to IMF figures for 2025, Africa’s five largest economies are:
- South Africa: $410.34 billion
- Egypt: $347.34 billion
- Algeria: $268.89 billion
- Nigeria: $188.27 billion
- Morocco: $165.84 billion
Nigeria’s ranking might surprise people who remember it being called Africa’s largest economy just a few years ago. That changed after multiple currency devaluations slashed the naira’s value against the dollar, which dramatically reduced Nigeria’s GDP when measured in U.S. dollars. The underlying economy didn’t shrink in local terms, but in global comparisons it dropped sharply.
Egypt is on a trajectory to overtake South Africa as the continent’s largest economy by 2028, according to IMF projections. The country has undergone significant economic reforms, including shifting to a flexible exchange rate, tightening monetary policy, and attracting large-scale foreign investment. The IMF forecasts Egypt’s GDP reaching $485.3 billion by that point, compared to $458.4 billion for South Africa.
Richest Countries Per Person
GDP per capita gives a better picture of individual prosperity because it divides the economy’s total output by the number of people living there. When adjusted for purchasing power parity (PPP), which accounts for differences in the cost of living between countries, the rankings shift dramatically. Smaller nations with relatively few residents rise to the top. Based on World Bank data for 2024:
- Seychelles: $33,239 per person
- Mauritius: $31,840 per person
- Gabon: $21,510 per person
- Botswana: $20,538 per person
- Egypt: $19,094 per person
Seychelles, an island nation of roughly 100,000 people, tops the list largely because of its tourism-driven economy and small population. Mauritius follows a similar pattern, with a diversified economy built on finance, tourism, and manufacturing spread across about 1.3 million residents. South Africa, despite having the continent’s largest total economy, ranks eighth on this list at $15,456 per person because its wealth is divided among nearly 60 million people.
Nigeria, often cited as an economic powerhouse due to its oil reserves and large population, sits at just $9,087 per person. With over 200 million people, even a sizable economy translates to modest per-capita figures.
Where Africa’s Millionaires Live
Another way to measure wealth is by counting high-net-worth individuals. The 2025 Africa Wealth Report from Henley & Partners estimates how many millionaires, centi-millionaires (worth $100 million or more), and billionaires reside in each country. South Africa dominates this measure by a wide margin:
- South Africa: 41,100 millionaires, 112 centi-millionaires, 8 billionaires
- Egypt: 14,800 millionaires, 49 centi-millionaires, 7 billionaires
- Morocco: 7,500 millionaires, 35 centi-millionaires, 4 billionaires
- Nigeria: 7,200 millionaires, 20 centi-millionaires, 3 billionaires
- Kenya: 6,800 millionaires, 16 centi-millionaires
South Africa’s concentration of wealth reflects its well-developed financial sector, stock exchange (the largest in Africa), and diversified industries spanning mining, banking, retail, and technology. Mauritius, despite being much smaller, is home to an estimated 4,800 millionaires, making it one of the most millionaire-dense countries on the continent relative to population. Seychelles, with just 500 millionaires but 6 centi-millionaires and 1 billionaire among roughly 100,000 residents, has an extraordinarily high concentration of wealth per capita.
Quality of Life and Human Development
Wealth alone doesn’t capture how well people actually live. The United Nations Human Development Index (HDI) combines life expectancy, education levels, and income into a single score. The 2025 rankings paint a different picture from pure GDP figures:
- Seychelles: 0.848 (global rank 54)
- Mauritius: 0.806 (global rank 73)
- Algeria: 0.763 (global rank 96)
- Egypt: 0.754 (global rank 100)
- South Africa: 0.741 (global rank 106)
Seychelles and Mauritius lead Africa in quality of life thanks to strong investments in healthcare and education. Both nations have high literacy rates, longer life expectancies, and broader access to quality schooling compared to larger African economies. South Africa, despite its economic dominance, ranks fifth on the continent for human development. High inequality, uneven access to services, and public health challenges pull its HDI score down relative to its overall wealth.
Algeria, which ranks third in total GDP, also performs well on human development measures, placing third in Africa. Its oil and gas revenues have funded relatively broad social spending on education and healthcare.
Which Country Is Really the Richest?
The answer depends on what you’re measuring. South Africa is the richest country in Africa by total economic output and by the number of wealthy individuals living there. If you’re asking where the average person is best off financially, Seychelles and Mauritius lead the continent. And if quality of life is your benchmark, those same two island nations come out ahead again.
For most practical purposes, South Africa holds the title. It has the largest, most diversified economy, the deepest financial markets, and the greatest concentration of private wealth on the continent. But that wealth is distributed very unevenly, and a South African’s average purchasing power is lower than that of residents in several smaller African nations.

