Map Options

Color Scheme:
map placeholder
GDP (IMF '24)










Click on a country for details.

Richest African Countries 2024


  • Despite widespread poverty and conflict, Africa has fast-growing economies with a potential GDP of $29 trillion by 2050, driven by agriculture, trade, and natural resources.

  • GDP, a key measure of national wealth, shows Nigeria as the richest African country in 2021, primarily due to its large population and petroleum-focused economy.

  • Egypt leads Africa in GDP adjusted for Purchasing Power Parity, reflecting its mixed economy with strengths in tourism, agriculture, fossil fuels, and emerging technology sectors.

Many of the world's poorest nations are in Africa. Numerous African economies are unstable, poverty is widespread, and poor access to vaccines is slowing the entire continent's recovery from the COVID-19 pandemic. Moreover, many African countries, including Cameroon, Chad, Nigeria, and Somalia, are currently at war with either terrorist insurgencies or one another, which puts further strain on their economies.

Despite these challenges, Africa's 54 countries include some of the fastest-growing economies in the world. The African economy is expected to reach a GDP of $29 trillion by 2050, powered by its agriculture, trade, and natural resources sectors. The region has an eager and expanding workforce, with 20 million new job seekers a year in sub-Saharan Africa alone. Africans are starting to catch up with the rest of the world technologically as well: Every day, more than 90,000 residents of sub-Saharan Africa log on to the internet for the first time. Africa may be the least developed of the major continents—even the richest African countries lag far behind the wealthiest countries in the world—but its potential is both substantial and undeniable.

Using gross domestic product (GDP) to measure the wealth of African countries

While there are several ways to compare various nations' wealth, one of the best methods is to evaluate each country's gross domestic product, or GDP. This is the value of all the goods and services produced by a nation in a given year. GDP is typically expressed in one of two ways. The first is in current US dollars (USD or US$). The second method is slightly more complex, but designed to make country-to-country comparisons more precise. In the second method, GDP is first adjusted for Purchasing Power Parity (PPP), which modifies each country's GDP in relation to its local cost of living, then expressed in a fictional currency called international dollars (INT). Results and rankings may differ depending upon which of the two methods is used.

Top 10 Richest African Countries by Overall GDP (current US$ - World Bank)*:

GDP (current US$ millions)
South Africa$419,015
Ivory Coast$70,043

* Data year 2021 (applies to all tables marked with *)

Top 10 Richest African Countries by Overall GDP*:

GDP (UN '22)
Nigeria$475.06 Bn
Egypt$409.31 Bn
South Africa$405.27 Bn
Algeria$191.91 Bn
Morocco$130.91 Bn
Ethiopia$118.97 Bn
Kenya$113.42 Bn
Angola$113.30 Bn
Ghana$73.77 Bn
Ivory Coast$70.02 Bn

Ranked by GDP in current USD, Nigeria comes out as the richest country in Africa during the year 2021. Nigeria is the most populous country in Africa, with 211 million residents—nearly twice the population of Egypt—contributing to its GDP. Nigeria is a lower-middle-income, mixed economy focused upon petroleum and (to a lesser extent) agriculture. It is also an emerging market with growing financial, service, communications, and technology sectors.

However, in terms of total GDP by PPP-adjusted international dollars (PPP INT$), Egypt ranks as the richest country in Africa for 2021. With 104 million people, Egypt is Africa's third-most populous country. Egypt is also a mixed economy strong in tourism, agriculture, and fossil fuels, with an emerging information and communications technology sector.

Shortcomings of GDP and strengths of GDP per capita and GNI per capita

Although GDP is an extremely valuable metric, it is also quite broad. For example, it disregards the number of citizens contributing to a country's GDP, which means a country with a vast, but less effective workforce can post a higher GDP than a country with a smaller, but more efficient workforce. GDP can also be distorted by the financial sector in tax haven countries (though this is a much greater concern in Europe than in Africa).

To overcome these shortcomings, economists often turn to GDP per capita, which divides gross domestic product by the number of people in the country, and to gross national income (GNI) per capita, which does the same and is less impacted by tax haven activity.

Richest African Countries by GDP per Capita (current US$ - World Bank)*:

GDP Per Capita (Current US$) - WB
Equatorial Guinea$7,507
South Africa$7,055

Switching the measurement to GDP per capita has a significant impact on the list of Africa's richest countries. Seychelles is the richest country when using this metric. The Seychelles economy is primarily driven by fishing, tourism, boat building, processing coconuts and vanilla, and agriculture, especially cinnamon, sweet potatoes, tuna, and bananas. Its public sector contributes the most employment and gross revenue, employing two-thirds of the total labor force.

Although Egypt has the highest total GDP of any African country, it ranks only eighth in terms of GDP per capita. What's more, Nigeria doesn't even make the new list—in fact, it's in 22nd place.

Gross national income (GNI) per capita of African economies

A final metric often used by economists to compare the wealth of different countries is gross national income, or GNI. While GDP measures the value of the goods and services a country creates, GNI measures the total income obtained through those goods and services. GNI also tracks money that enters or exits a country's economy as part of international business activities. This makes GNI a bit better at avoiding the artificially inflated totals that can distort the GDPs of countries that are known international tax shelters.

Richest African Countries by GNI per Capita (Atlas method, current US$ — World Bank)*:

GNI per capita, Atlas method (current US$) - WB
South Africa$6,530
Equatorial Guinea$5,150

Once again, Seychelles ranks first, with Mauritius close behind and countries including Botswana, Libya, Equatorial Guinea, and Gabon slotting in underneath. However, Egypt, which had the highest overall GDP in all of Africa, has fallen completely out of the top 10 (it was actually 13th in 2021).

How do Africa's richest countries compare to the richest countries on other continents?

Viewed on a global scale, even Africa's richest nations pale in comparison to those on most other continents. The average GNI per capita in North America was $68,599 USD in 2021, and the European Union's average GNI per capita was $37,779. However, Seychelles is ahead of the 2021 global average of $12,023 USD, and several other African countries have the potential to meet and exceed that goal as well.

Download Table Data

Enter your email below, and you'll receive this table's data in your inbox momentarily.

GDP (IMF '24)
% of Africa GDP
GDP (UN '22)
Per Capita (UN '21)
GNI per capita, Atlas method (current US$) - WB
GDP Per Capita (Current US$) - WB
GDP per capita (PPP INT$)
GDP (current US$ millions)
Seychelles$2.20 Bn0.08%$1.99 Bn$18,426$14,540$14,653$31,596$1,454
Mauritius$16.36 Bn0.58%$12.90 Bn$9,907$9,920$9,106$23,035$11,529
Libya$48.22 Bn1.71%$40.54 Bn$5,821$8,700$6,357$24,131$42,817
South Africa$373.23 Bn13.25%$405.27 Bn$6,642$6,530$7,055$14,624$419,015
Gabon$21.01 Bn0.75%$20.13 Bn$8,103$6,440$8,635$15,176$20,217
Botswana$21.42 Bn0.76%$20.35 Bn$7,483$6,430$6,805$16,304$17,615
Equatorial Guinea$10.71 Bn0.38%$11.77 Bn$6,705$5,150$7,507$16,080$12,269
Namibia$12.77 Bn0.45%$12.61 Bn$4,765$4,650$4,866$10,039$12,311
Algeria$266.78 Bn9.47%$191.91 Bn$4,147$3,660$3,691$12,128$163,044
Eswatini$5.08 Bn0.18%$4.33 Bn$3,541$3,650$3,978$9,730$4,743
Morocco$152.38 Bn5.41%$130.91 Bn$3,426$3,620$3,795$8,853$142,866
Tunisia$54.71 Bn1.94%$46.18 Bn$3,675$3,540$3,807$11,283$46,687
Egypt$347.59 Bn12.34%$409.31 Bn$3,575$3,350$3,699$12,706$404,143
Cape Verde$2.72 Bn0.1%$2.31 Bn$3,830$3,190$3,293$6,717$1,936
Djibouti$4.36 Bn0.15%$4.00 Bn$3,474$3,080$3,150$5,398$3,483
Ivory Coast$86.91 Bn3.08%$70.02 Bn$2,365$2,420$2,549$5,850$70,043
Ghana$75.24 Bn2.67%$73.77 Bn$2,121$2,280$2,363$5,971$77,594
Sao Tome and Principe$751.00 Mn0.03%$546.76 Mn$2,313$2,260$2,361$4,452$527
Nigeria$252.74 Bn8.97%$475.06 Bn$2,073$2,080$2,066$5,408$440,834
Kenya$104.00 Bn3.69%$113.42 Bn$2,018$2,080$2,082$5,211$110,347
Republic of the Congo$15.50 Bn0.55%$15.34 Bn$2,457$1,970$2,290$3,553$13,366
Mauritania$10.63 Bn0.38%$11.00 Bn$2,202$1,950$2,166$5,831$9,996
Angola$92.12 Bn3.27%$113.30 Bn$2,997$1,710$1,954$6,491$67,404
Cameroon$53.20 Bn1.89%$44.34 Bn$1,509$1,590$1,667$4,065$45,338
Comoros$1.42 Bn0.05%$1.25 Bn$1,437$1,580$1,578$3,547$1,296
Senegal$35.45 Bn1.26%$27.78 Bn$1,524$1,570$1,637$3,840$27,625
Zimbabwe$34.41 Bn1.22%$26.42 Bn$1,552$1,530$1,774$2,324$28,371
Benin$21.37 Bn0.76%$17.40 Bn$1,236$1,350$1,319$3,649$17,145
Lesotho$2.40 Bn0.09%$2.29 Bn$971$1,210$1,094$2,522$2,496
Tanzania$79.61 Bn2.83%$0$1,100$1,099$2,836$67,841
South Sudan$6.52 Bn0.23%$4.62 Bn$409$1,040$1,072$1,182$11,998
Zambia$29.87 Bn1.06%$29.14 Bn$1,379$1,030$1,137$3,556$22,148
Guinea$25.45 Bn0.9%$20.85 Bn$1,435$1,020$1,189$2,901$16,092
Togo$9.83 Bn0.35%$8.09 Bn$873$960$973$2,334$8,413
Ethiopia$205.13 Bn7.28%$118.97 Bn$917$940$925$2,548$111,271
Rwanda$13.70 Bn0.49%$13.31 Bn$924$840$822$2,460$11,070
Burkina Faso$21.90 Bn0.78%$19.18 Bn$804$830$893$2,395$19,738
Mali$21.66 Bn0.77%$18.83 Bn$784$820$874$2,330$19,140
Uganda$56.31 Bn2%$48.24 Bn$966$760$884$2,468$40,530
Guinea Bissau$2.15 Bn0.08%$1.57 Bn$717$760$795$2,012$1,639
Gambia$2.69 Bn0.1%$2.23 Bn$785$740$772$2,281$2,038
Sudan$26.86 Bn0.95%$36.73 Bn$744$650$752$4,066$34,326
Chad$18.70 Bn0.66%$16.80 Bn$891$640$686$1,566$11,780
Liberia$4.75 Bn0.17%$3.27 Bn$590$630$676$1,564$3,509
Malawi$11.24 Bn0.4%$12.56 Bn$585$620$635$1,638$12,627
Eritrea$00%$2.38 Bn$624$610$644$1,629$2,065
Niger$18.82 Bn0.67%$15.41 Bn$546$590$591$1,304$14,915
DR Congo$73.76 Bn2.62%$62.55 Bn$592$550$577$1,180$55,351
Sierra Leone$4.56 Bn0.16%$3.48 Bn$388$500$480$1,774$4,042
Madagascar$16.46 Bn0.58%$14.95 Bn$482$490$501$1,608$14,473
Mozambique$22.98 Bn0.82%$18.41 Bn$528$480$492$1,348$15,777
Central African Republic$2.81 Bn0.1%$2.40 Bn$405$480$461$920$2,517
Somalia$12.80 Bn0.45%$10.42 Bn$557$430$447$1,249$7,628
Burundi$3.08 Bn0.11%$4.03 Bn$297$220$222$775$2,780
Total$52.17 Bn100%$51.76 Bn
showing: 54 rows

What is the richest country in Africa?

Nigeria is the richest country in Africa when measured by GDP. Egypt is the richest country in Africa by total GDP when that GDP is calculated in PPP-adjusted international dollars, however.

Frequently Asked Questions