Latest
1/5

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

Download: CSV · JSON

No.CountryValueYear of observation
1EgyptNorth Africa15.5 bn2025
2GuineaWest Africa7.8 bn2025
3MozambiqueSouthern Africa5.8 bn2025
4NigeriaWest Africa4.0 bn2025
5EthiopiaEast Africa3.8 bn2025
6UgandaEast Africa3.4 bn2025
7MoroccoNorth Africa3.3 bn2025
8AngolaSouthern Africa2.2 bn2025
9Côte d’IvoireWest Africa2.0 bn2025
10GhanaWest Africa1.9 bn2025
11DR CongoCentral Africa1.9 bn2025
12TanzaniaEast Africa1.7 bn2025
13AlgeriaNorth Africa1.5 bn2025
14NamibiaSouthern Africa1.4 bn2025
15ZambiaSouthern Africa1.3 bn2025
16TunisiaNorth Africa1.1 bn2025
17KenyaEast Africa1.1 bn2025
18RwandaEast Africa967.5 m2025
19ZimbabweSouthern Africa965.0 m2025
20MadagascarEast Africa889.0 m2025
21MaliWest Africa843.7 m2025
22SomaliaEast Africa834.0 m2025
23LibyaNorth Africa827.6 m2025
24MauritiusEast Africa804.4 m2025
25MauritaniaNorth Africa634.1 m2025
26CameroonCentral Africa598.9 m2025
27Republic of the CongoCentral Africa596.3 m2025
28MalawiSouthern Africa530.1 m2025
29LiberiaWest Africa500.0 m2025
30BeninWest Africa481.7 m2025
31GabonCentral Africa378.8 m2025
32Burkina FasoWest Africa311.9 m2025
33Equatorial GuineaCentral Africa293.9 m2025
34GambiaWest Africa273.7 m2025
35NigerWest Africa257.1 m2025
36SeychellesEast Africa238.6 m2025
37TogoWest Africa221.3 m2025
38Sierra LeoneWest Africa177.0 m2025
39Cabo VerdeWest Africa153.9 m2025
40DjiboutiEast Africa149.0 m2025
41São Tomé and PríncipeCentral Africa103.5 m2025
42EritreaEast Africa82.4 m2025
43South SudanEast Africa73.0 m2025
44EswatiniSouthern Africa53.1 m2025
45Central African RepublicCentral Africa43.8 m2025
46SenegalWest Africa36.6 m2025
47BurundiCentral Africa35.1 m2025
48Guinea-BissauWest Africa33.6 m2025
49LesothoSouthern Africa33.5 m2025
50ComorosEast Africa9.2 m2025
51ChadCentral Africa4.3 m2025
52SudanEast Africa1,9002025
53BotswanaSouthern Africa−649.0 m2025
54South AfricaSouthern Africa−2.2 bn2025

See over time

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)