Economy · Africa ranking
FDI (% of GDP) by African country
Mozambique has the highest net FDI inflows as a share of GDP of any African country, at 15.6%, ahead of Namibia and Egypt.
Net foreign direct investment inflows as a share of GDP. 54 of 54 countries, ranked · UNCTAD STRUCTURAL TRADE, 2024.
By region
Full ranking
| # | Country | FDI (% of GDP) | |
|---|---|---|---|
| 1 | Mozambique | 15.6% | |
| 2 | Namibia | 15.4% | |
| 3 | Egypt | 15.2% | |
| 4 | Liberia | 14.2% | |
| 5 | Mauritania | 14% | |
| 6 | Seychelles | 13.8% | |
| 7 | Gambia | 9.8% | |
| 8 | Somalia | 6.4% | |
| 9 | Uganda | 5.9% | |
| 10 | Senegal | 5.5% | |
| 11 | Gabon | 5.5% | |
| 12 | Rwanda | 5.4% | |
| 13 | Chad | 5.1% | |
| 14 | Guinea | 5% | |
| 15 | Zambia | 4.9% | |
| 16 | Mauritius | 4.6% | |
| 17 | Cote d'Ivoire | 4.4% | |
| 18 | Democratic Republic of the Congo | 4.1% | |
| 19 | Sierra Leone | 4% | |
| 20 | Republic of the Congo | 3.7% | |
| 21 | Niger | 3% | |
| 22 | Ethiopia | 2.8% | |
| 23 | Mali | 2.7% | |
| 24 | Sao Tome and Principe | 2.6% | |
| 25 | Benin | 2.5% | |
| 26 | Botswana | 2.4% | |
| 27 | Madagascar | 2.4% | |
| 28 | South Sudan | 2.4% | |
| 29 | Cabo Verde | 2.3% | |
| 30 | Tanzania | 2.1% | |
| 31 | Ghana | 2% | |
| 32 | Malawi | 1.9% | |
| 33 | Eswatini | 1.9% | |
| 34 | Tunisia | 1.8% | |
| 35 | Cameroon | 1.7% | |
| 36 | Sudan | 1.7% | |
| 37 | Djibouti | 1.6% | |
| 38 | Equatorial Guinea | 1.5% | |
| 39 | Central African Republic | 1.5% | |
| 40 | Guinea-Bissau | 1.3% | |
| 41 | Zimbabwe | 1.3% | |
| 42 | Kenya | 1.2% | |
| 43 | Morocco | 1% | |
| 44 | Libya | 0.9% | |
| 45 | Togo | 0.8% | |
| 46 | Burundi | 0.7% | |
| 47 | South Africa | 0.6% | |
| 48 | Algeria | 0.5% | |
| 49 | Comoros | 0.5% | |
| 50 | Nigeria | 0.4% | |
| 51 | Burkina Faso | 0.4% | |
| 52 | Angola | -0.1% | |
| 53 | Eritrea | -1.5% | |
| 54 | Lesotho | -1.8% |
Get this ranking via API
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 API — UNCTAD 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
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).
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 15.6% (2024), followed by Namibia and Egypt.
Which African country has the lowest net FDI inflows as a share of GDP?
Lesotho has the lowest net FDI inflows as a share of GDP of the 54 African countries with data, at -1.8% (2024).
How many African countries report FDI (% of GDP) data?
54 of 54 African countries have a recent FDI (% of GDP) 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_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