54 country profiles · 207 indicator definitionsAPI dataGet API key

Economy · Africa ranking

FDI (% of GDP) by African country

24.7%Mozambique · highest shown · 2025

Mozambique has the highest reported net FDI inflows as a share of GDP among the 54 countries shown, at 24.7% (2025).

Net foreign direct investment inflows as a share of GDP. 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—Mozambique vs Botswana
Median2%Tunisia
Lowest-3.3%Botswana

By region

unweighted mean of countries shown
East Africa5.3%
16 countries shown · highest value: Mozambique
West Africa4.2%
16 countries shown · highest value: Guinea
North Africa2%
6 countries shown · highest value: Egypt
Southern Africa1.8%
7 countries shown · highest value: Namibia
Central Africa1.5%
9 countries shown · highest value: 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

Request the latest available FDI (% of GDP) 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_pct_gdp&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-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>

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