African countries by Foreign direct investment, net inflows (USD)
Egypt has the highest value (15.5 bn) and South Africa the lowest (−2.2 bn). The median across 54 countries is 563.2 m. Data years: 2025.
- −2.2 bn – 53.1 m
- 53.1 m – 293.9 m
- 293.9 m – 834.0 m
- 834.0 m – 1.9 bn
- 1.9 bn – 15.5 bn
- no data
Source: World Bank WDI. Data methodology
| No. | Country | Value | Year of observation |
|---|---|---|---|
| 1 | 15.5 bn | 2025 | |
| 2 | 7.8 bn | 2025 | |
| 3 | 5.8 bn | 2025 | |
| 4 | 4.0 bn | 2025 | |
| 5 | 3.8 bn | 2025 | |
| 6 | 3.4 bn | 2025 | |
| 7 | 3.3 bn | 2025 | |
| 8 | 2.2 bn | 2025 | |
| 9 | 2.0 bn | 2025 | |
| 10 | 1.9 bn | 2025 | |
| 11 | 1.9 bn | 2025 | |
| 12 | 1.7 bn | 2025 | |
| 13 | 1.5 bn | 2025 | |
| 14 | 1.4 bn | 2025 | |
| 15 | 1.3 bn | 2025 | |
| 16 | 1.1 bn | 2025 | |
| 17 | 1.1 bn | 2025 | |
| 18 | 967.5 m | 2025 | |
| 19 | 965.0 m | 2025 | |
| 20 | 889.0 m | 2025 | |
| 21 | 843.7 m | 2025 | |
| 22 | 834.0 m | 2025 | |
| 23 | 827.6 m | 2025 | |
| 24 | 804.4 m | 2025 | |
| 25 | 634.1 m | 2025 | |
| 26 | 598.9 m | 2025 | |
| 27 | 596.3 m | 2025 | |
| 28 | 530.1 m | 2025 | |
| 29 | 500.0 m | 2025 | |
| 30 | 481.7 m | 2025 | |
| 31 | 378.8 m | 2025 | |
| 32 | 311.9 m | 2025 | |
| 33 | 293.9 m | 2025 | |
| 34 | 273.7 m | 2025 | |
| 35 | 257.1 m | 2025 | |
| 36 | 238.6 m | 2025 | |
| 37 | 221.3 m | 2025 | |
| 38 | 177.0 m | 2025 | |
| 39 | 153.9 m | 2025 | |
| 40 | 149.0 m | 2025 | |
| 41 | 103.5 m | 2025 | |
| 42 | 82.4 m | 2025 | |
| 43 | 73.0 m | 2025 | |
| 44 | 53.1 m | 2025 | |
| 45 | 43.8 m | 2025 | |
| 46 | 36.6 m | 2025 | |
| 47 | 35.1 m | 2025 | |
| 48 | 33.6 m | 2025 | |
| 49 | 33.5 m | 2025 | |
| 50 | 9.2 m | 2025 | |
| 51 | 4.3 m | 2025 | |
| 52 | 1,900 | 2025 | |
| 53 | −649.0 m | 2025 | |
| 54 | −2.2 bn | 2025 |
Latest available year for each country; years can differ between countries.
Other rankings
PopulationGDP (current US$)GDP per capita (US$)Inflation, consumer prices (%)Life expectancy at birth (years)Under-5 mortality (per 1,000 live births)Extreme poverty (% of population, international poverty line)Secondary school enrolment (% gross)Urban population (% of total)Internet users (% of population)Access to electricity (% of population)Renewable energy (% of final energy consumption)Remittances received (USD)Remittances received (% of GDP)External debt stocks (USD)Total debt service (% of GNI)International tourist arrivalsMobile subscriptions (per 100 people)Fertility rate (births per woman)Population growth (% per year)CO₂ emissions per capita (t)Human Development IndexSafely managed drinking water (% of population)Safely managed sanitation (% of population)Stunting in children under 5 (%)Maternal mortality (per 100,000 live births)Refugees hosted in the countryInternally displaced peopleFatalities, best estimatePopulation in 2050 (projection)Population growth 2025–2050 (%)Median age (years, estimate)Renewables in electricity generation (%)Fossil fuels in electricity generation (%)Carbon intensity of electricity (gCO₂/kWh)Remaining recoverable oil (2P, estimate)Remaining recoverable gas (2P, estimate)Oil and gas fieldsPublic debt, % of GDPExternal debt, % of GNIDebt service, % of exportsScientific publications per yearTrade with Europe (PL, DE, ES, FR)Electricity use per person, kWhRisk signals in the red zoneFixed broadband per 100 peopleMobile money account, % of adultsMobile share of web traffic, %Agriculture, % of GDPEmployment in agriculture, %Cereal yield, kg per hectareUndernourishment, % of populationPeople in food crisis (IPC 3+), millionsGovernance, average of six WGI scores (0–100)Control of corruption (WGI, 0–100)Rule of law (WGI, 0–100)B-READY business environment score (0–100)Doctors per 1,000 peopleHealth spending, % of GDPDTP3 vaccination, % of childrenMalaria cases per 1,000 at riskUS travel advisory level (1–4)