54 countries · 127 indicators · 45 sourcesLiveGet API key

Economy · Africa ranking

FDI (% of GDP) by African country

24.7%Mozambique leads · 2025

Mozambique has the highest net FDI inflows as a share of GDP of any African country, at 24.7% — 1.3× Guinea's 19.2%.

Net foreign direct investment inflows as a share of GDP. 54 of 54 countries, ranked · UNCTAD STRUCTURAL TRADE, 2025.

#1 vs #54Mozambique vs Botswana
Median2%Tunisia
Lowest-3.3%Botswana

By region

regional average
East Africa5.3%
16 countries · led by Mozambique
West Africa4.2%
16 countries · led by Guinea
North Africa2%
6 countries · led by Egypt
Southern Africa1.8%
7 countries · led by Namibia
Central Africa1.5%
9 countries · led by Republic of the Congo

Full ranking

54 of 54 countries
#CountryFDI (% of GDP)Period
1Mozambique
24.7%2025
2Guinea
19.2%2025
3Seychelles
14.8%2025
4Gambia
10.5%2025
5Namibia
9.7%2025
6Liberia
8.8%2025
7Somalia
6.5%2025
8Rwanda
6%2025
9Mauritania
5.2%2025
10Uganda
5.2%2025
11Mauritius
4.9%2025
12Cabo Verde
4.9%2025
13Zambia
4.5%2025
14Egypt
4.2%2025
15Eritrea
4%2025
16Ethiopia
3.6%2025
17Djibouti
3.4%2025
18Republic of the Congo
3.4%2025
19Malawi
3%2025
20Mali
2.9%2025
21Sierra Leone
2.4%2025
22Kenya
2.3%2025
23Equatorial Guinea
2.3%2025
24Democratic Republic of the Congo
2.1%2025
25Cote d'Ivoire
2.1%2025
26Benin
2%2025
27Togo
2%2025
28Tunisia
2%2025
29Libya
1.9%2025
30Tanzania
1.9%2025
31Morocco
1.8%2025
32Gabon
1.8%2025
33Sudan
1.7%2023
34Ghana
1.7%2025
35South Sudan
1.7%2025
36Madagascar
1.6%2025
37Central African Republic
1.5%2025
38Burundi
1.4%2024
39Guinea-Bissau
1.4%2025
40Nigeria
1.4%2025
41Niger
1.3%2025
42Zimbabwe
1.3%2024
43Burkina Faso
1.1%2025
44Cameroon
1%2025
45Sao Tome and Principe
1%2025
46Eswatini
0.9%2025
47Angola
0.8%2025
48Algeria
0.5%2025
49Comoros
0.5%2025
50Senegal
0.1%2025
51Chad
0%2025
52Lesotho
-0.2%2025
53South Africa
-0.5%2025
54Botswana
-3.3%2025

Get this ranking via API

GET /v1/data

One call to /v1/data returns the latest FDI (% of GDP) 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_pct_gdp&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-gdp-share" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="FDI (% of GDP) 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-gdp-share">FDI (% of GDP) by African country — Africa API</a></p>

Frequently asked questions

Which African country has the highest net FDI inflows as a share of GDP?

Mozambique has the highest net FDI inflows as a share of GDP in Africa at 24.7% (2025), followed by Guinea and Seychelles.

Which African country has the lowest net FDI inflows as a share of GDP?

Botswana has the lowest net FDI inflows as a share of GDP of the 54 African countries with data, at -3.3% (2025).

How many African countries report FDI (% of GDP) data?

54 of 54 African countries have a FDI (% of GDP) 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_pct_gdp&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