Countries in Africa by foreign investment
Net inflows of foreign direct investment — foreigners buying or building lasting stakes in companies — as a share of GDP. Below zero, more was withdrawn than came in. 52 countries in Africa, highest first. World Bank, 2025
Median country
2.0%
half above, half below| # | Country | % of GDP | Region |
|---|---|---|---|
| 1 | 27.4% | Western Africa | |
| 2 | 25.8% | Eastern Africa | |
| 3 | 10.6% | Western Africa | |
| 4 | 10.5% | Middle Africa | |
| 5 | 10.0% | Eastern Africa | |
| 6 | 9.6% | Southern Africa | |
| 7 | 9.5% | Western Africa | |
| 8 | 6.4% | Eastern Africa | |
| 9 | 5.9% | Eastern Africa | |
| =10 | 5.4% | Western Africa | |
| =10 | 5.4% | Eastern Africa | |
| =12 | 5.0% | Western Africa | |
| =12 | 5.0% | Eastern Africa | |
| =14 | 4.5% | Eastern Africa | |
| =14 | 4.5% | Eastern Africa | |
| 16 | 4.2% | Northern Africa | |
| 17 | 3.7% | Middle Africa | |
| 18 | 3.6% | Eastern Africa | |
| 19 | 3.2% | Eastern Africa | |
| 20 | 3.0% | Eastern Africa | |
| 21 | 2.8% | Western Africa | |
| 22 | 2.4% | Western Africa | |
| 23 | 2.3% | Middle Africa | |
| 24 | 2.1% | Middle Africa | |
| =25 | 2.0% | Western Africa | |
| =25 | 2.0% | Western Africa | |
| =25 | 2.0% | Northern Africa | |
| =28 | 1.9% | Eastern Africa | |
| =28 | 1.9% | Western Africa | |
| =28 | 1.9% | Eastern Africa | |
| =31 | 1.8% | Middle Africa | |
| =31 | 1.8% | Middle Africa | |
| =31 | 1.8% | Northern Africa | |
| =34 | 1.7% | Western Africa | |
| =34 | 1.7% | Northern Africa | |
| =36 | 1.4% | Middle Africa | |
| =36 | 1.4% | Western Africa | |
| =38 | 1.3% | Western Africa | |
| =38 | 1.3% | Southern Africa | |
| 40 | 1.2% | Western Africa | |
| 41 | 1.1% | Western Africa | |
| =42 | 1.0% | Eastern Africa | |
| =42 | 1.0% | Middle Africa | |
| =42 | 1.0% | Southern Africa | |
| 45 | 0.8% | Eastern Africa | |
| =46 | 0.5% | Northern Africa | |
| =46 | 0.5% | Eastern Africa | |
| 48 | 0.1% | Western Africa | |
| =49 | 0.0% | Middle Africa | |
| =49 | 0.0% | Northern Africa | |
| 51 | -0.5% | Southern Africa | |
| 52 | -3.3% | Southern Africa |
No World Bank figure for 2 countries: Eritrea, South Sudan.
Questions
- Which country in Africa has the most foreign investment for the size of its economy?
- Guinea has the most foreign investment for the size of its economy in Africa: 27.4% of GDP (2025). Next come Mozambique (25.8% of GDP) and the Gambia (10.6% of GDP).
- Which country in Africa has the least foreign investment for the size of its economy?
- Botswana, with -3.3% of GDP (2025).
- What is the typical foreign investment of a country in Africa?
- The median of the 52 countries in Africa is 2.0% of GDP: half are above it, half below. The median, not the average, because a few countries at the top would drag an average far above almost everyone.
- Where do the figures come from?
- Net inflows of foreign direct investment — foreigners buying or building lasting stakes in companies — as a share of GDP. Below zero, more was withdrawn than came in. Source: World Bank, 2025. Only independent states are ranked; territories are listed separately. A country’s continent follows Natural Earth; the handful of island states it files under the open ocean are placed by their UN subregion.
Source: World Bank (CC BY 4.0). Figures more than 5 years older than the newest are left out rather than shown beside current ones. Countries sharing a value share a rank. All sources.