54 country profiles · 207 indicator definitionsAPI dataGet API key

Economy · Africa ranking

Foreign Direct Investment by African country

$15.45BEgypt · highest shown · 2025

Egypt has the highest reported net FDI inflows among the 54 countries shown, at $15.45B (2025).

Net foreign direct investment inflows, in current US dollars. 54 of 54 countries are shown. Open a country to see its source details and available history.

Latest available year varies by country (2023–2025). Only observations within 2 years of the freshest result are included, and each row shows its period.

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

By region

total of countries shown

The 5 largest values account for 52% of the total across the countries shown.

North Africa$22.87B
6 countries shown · highest value: Egypt
East Africa$21.85B
16 countries shown · highest value: Mozambique
West Africa$19.62B
16 countries shown · highest value: Guinea
Central Africa$4.94B
9 countries shown · highest value: Democratic Republic of the Congo
Southern Africa$775.88M
7 countries shown · highest value: 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

Request the latest available Foreign Direct Investment values for the selected countries as JSON. The response includes source metadata; check reporting periods before comparing values.

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

Check the original source's reuse conditions before republishing. Keep each observation's source and reporting period with the value, and link to this page. See the terms and source metadata reference.

Embed this ranking

iframe snippet

Paste this snippet into a page that supports iframes. The chart loads the available ranking observations and includes their reporting periods. A link to this page 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>

About this ranking

Which observations are included?

The table includes 54 of 54 countries with available observations for 2023 or later and within 2 years of the freshest result. Each row shows its reporting period. Countries without an eligible observation are omitted.

Does a higher value mean a better result?

The table is sorted by value, from highest to lowest. The order does not rate a country's performance. Interpretation depends on the indicator and its definition.

More economy rankings