54 countries · 127 indicators · 45 sourcesLiveGet API key

Economy · Africa ranking

Foreign Direct Investment by African country

$15.45BEgypt leads · 2025

Egypt has the highest net FDI inflows of any African country, at $15.45B — 2.0× Guinea's $7.76B.

Net foreign direct investment inflows, in current US dollars. 54 of 54 countries, ranked · UNCTAD STRUCTURAL TRADE, 2025.

#1 vs #54Egypt vs South Africa
Median$500MLiberia
Lowest$-2.31BSouth Africa

By region

regional total

The top 5 countries account for 52% of Africa's total net FDI inflows.

North Africa$22.87B
6 countries · led by Egypt
East Africa$21.85B
16 countries · led by Mozambique
West Africa$19.62B
16 countries · led by Guinea
Central Africa$4.94B
9 countries · led by Democratic Republic of the Congo
Southern Africa$775.88M
7 countries · led by Namibia

Full ranking

54 of 54 countries
#CountryForeign Direct InvestmentPeriod
1Egypt
$15.45B2025
2Guinea
$7.76B2025
3Mozambique
$5.69B2025
4Nigeria
$4.01B2025
5Ethiopia
$3.8B2025
6Uganda
$3.36B2025
7Morocco
$3.34B2025
8Kenya
$3.2B2025
9Cote d'Ivoire
$2.03B2025
10Ghana
$1.91B2025
11Democratic Republic of the Congo
$1.87B2025
12Tanzania
$1.72B2025
13Algeria
$1.53B2025
14Namibia
$1.45B2025
15Zambia
$1.29B2025
16Tunisia
$1.17B2025
17Angola
$1.15B2025
18Rwanda
$967.46M2025
19Zimbabwe
$965M2025
20Mali
$843.75M2025
21Somalia
$834M2025
22Libya
$827.57M2025
23Mauritius
$804.43M2025
24Mauritania
$634.08M2025
25Cameroon
$598.95M2025
26Republic of the Congo
$596.29M2025
27Sudan
$548.2M2023
28Liberia
$500M2025
29Benin
$481.66M2025
30Malawi
$451.55M2025
31Gabon
$378.81M2025
32Seychelles
$339.78M2025
33Burkina Faso
$311.88M2025
34Madagascar
$304.45M2025
35Equatorial Guinea
$293.85M2025
36Gambia
$266.56M2025
37Niger
$257.05M2025
38Togo
$221.29M2025
39Sierra Leone
$177.04M2025
40Cabo Verde
$153.09M2025
41Djibouti
$149.04M2025
42Eritrea
$82.37M2025
43South Sudan
$73M2025
44Burundi
$67.59M2025
45Eswatini
$45.42M2025
46Central African Republic
$43.82M2025
47Senegal
$36.58M2025
48Guinea-Bissau
$33.57M2025
49Sao Tome and Principe
$9.51M2025
50Comoros
$9.2M2025
51Chad
$4.3M2025
52Lesotho
$-5.77M2025
53Botswana
$-653.81M2025
54South Africa
$-2.31B2025

Get this ranking via API

GET /v1/data

One call to /v1/data returns the latest Foreign Direct Investment figure for every country you pass — JSON, with source metadata on each observation.

curl "https://api.africa-api.com/v1/data?metric_key=fdi_net_inflows_usd&latest=true&country_codes=NG,KE,ZA,EG" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Cite or republish this ranking

Data: Africa APIUNCTAD STRUCTURAL TRADE, 2025. Free to republish with a link to this page. Pull the live figures via the API above so your version never goes stale.

Embed this ranking

free · auto-updating

Drop this chart into your article or site — it stays live as the data updates. Paste the snippet anywhere HTML is allowed (a citation link is included).

<iframe src="https://africa-api.com/embed/fdi" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="Foreign Direct Investment by African country — Africa API"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;margin:.5rem 0"><a href="https://africa-api.com/data/fdi">Foreign Direct Investment by African country — Africa API</a></p>

Frequently asked questions

Which African country has the highest net FDI inflows?

Egypt has the highest net FDI inflows in Africa at $15.45B (2025), followed by Guinea and Mozambique.

Which African country has the lowest net FDI inflows?

South Africa has the lowest net FDI inflows of the 54 African countries with data, at $-2.31B (2025).

How many African countries report Foreign Direct Investment data?

54 of 54 African countries have a Foreign Direct Investment figure in the Africa API, each from the latest year available for that country (which can differ between countries, here 2023–2025). Every value links to its full series with source and history.

How do I get this ranking via API?

Call GET /v1/data?metric_key=fdi_net_inflows_usd&latest=true with the country codes you need and a free Africa API key — the response returns the latest value per country as JSON.

More economy rankings