54 countries · 127 indicators · 45 sourcesLiveGet API key

Economy · Africa ranking

Foreign Direct Investment by African country

$46.58BEgypt leads · 2024

Egypt has the highest net FDI inflows of any African country, at $46.58B — 11.7× Ethiopia's $3.98B.

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

#1 vs #54Egypt vs Angola
Median$681.28MMauritius
Lowest$-136.42MAngola

By region

regional total

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

North Africa$51.84B
6 countries · led by Egypt
East Africa$17.42B
16 countries · led by Ethiopia
West Africa$15.21B
16 countries · led by Cote d'Ivoire
Central Africa$6.92B
9 countries · led by Democratic Republic of the Congo
Southern Africa$6.88B
7 countries · led by South Africa

Full ranking

54 of 54 countries
#CountryForeign Direct InvestmentPeriod
1Egypt
$46.58B2024
2Ethiopia
$3.98B2024
3Cote d'Ivoire
$3.8B2024
4Mozambique
$3.55B2024
5Uganda
$3.3B2024
6Democratic Republic of the Congo
$3.11B2024
7South Africa
$2.47B2024
8Namibia
$2.06B2024
9Senegal
$2.02B2024
10Guinea
$1.83B2024
11Tanzania
$1.72B2024
12Ghana
$1.67B2024
13Morocco
$1.64B2024
14Mauritania
$1.53B2024
15Kenya
$1.5B2024
16Algeria
$1.44B2024
17Zambia
$1.24B2024
18Gabon
$1.14B2024
19Nigeria
$1.08B2024
20Chad
$1.02B2024
21Tunisia
$936.46M2024
22Cameroon
$925.28M2024
23Rwanda
$818.95M2024
24Somalia
$765M2024
25Liberia
$746.79M2024
26Mali
$708.59M2024
27Libya
$702M2013
28Mauritius
$681.28M2024
29Republic of the Congo
$603.62M2024
30Zimbabwe
$596.7M2024
31Sudan
$548.2M2023
32Benin
$543.01M2024
33Niger
$526.45M2024
34Botswana
$467.42M2024
35Madagascar
$413.31M2024
36Seychelles
$298.58M2024
37Sierra Leone
$274M2024
38Gambia
$232.36M2024
39Malawi
$220.39M2024
40Equatorial Guinea
$188.01M2024
41Eswatini
$92.57M2024
42Togo
$83.75M2024
43South Sudan
$83.42M2024
44Burkina Faso
$82.94M2024
45Djibouti
$67.82M2024
46Cabo Verde
$63.81M2024
47Central African Republic
$40.41M2024
48Burundi
$31.71M2024
49Guinea-Bissau
$26.61M2024
50Sao Tome and Principe
$21.87M2024
51Comoros
$7.1M2024
52Eritrea
$-27.95M2024
53Lesotho
$-42.2M2024
54Angola
$-136.42M2024

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, 2024. 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 $46.58B (2024), followed by Ethiopia and Cote d'Ivoire.

Which African country has the lowest net FDI inflows?

Angola has the lowest net FDI inflows of the 54 African countries with data, at $-136.42M (2024).

How many African countries report Foreign Direct Investment data?

54 of 54 African countries have a recent Foreign Direct Investment figure in the Africa API. Each value links to the country's 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