54 countries · 127 indicators · 45 sourcesLiveGet API key

Trade · Africa ranking

Imports (% of GDP) by African country

104.5%Lesotho leads · 2025

Lesotho has the highest imports of goods and services as a share of GDP of any African country, at 104.5%, ahead of Somalia and Djibouti.

Imports of goods and services as a share of GDP. 52 of 54 countries, ranked · World Bank — World Development Indicators, 2025.

Latest available year varies by country (19602025); each row shows its year, and values more than 5 years behind the most recent are marked .

#1 vs #5282×Lesotho vs Sudan
Median31.5%Egypt
Lowest1.3%Sudan

By region

regional average
Southern Africa48.6%
7 countries · led by Lesotho
East Africa46.3%
15 countries · led by Somalia
North Africa37.8%
6 countries · led by Libya
West Africa34.6%
15 countries · led by Guinea
Central Africa29%
9 countries · led by Democratic Republic of the Congo

Full ranking

52 of 54 countries
#CountryImports (% of GDP)Period
1Lesotho
104.5%2025
2Somalia
98.8%2025
3Djibouti
95.8%2025
4Seychelles
92.7%2025
5Mauritius
74.9%2025
6Libya
65.9%2025
7Namibia
63.9%2025
8Guinea
62.3%2025
9Mozambique
55.7%2025
10Tunisia
54.8%2025
11Mauritania
54.2%2025
12Eswatini
53.7%2024
13Cabo Verde
53.4%2025
14Morocco
51.1%2025
15Gambia
49.4%2025
16Democratic Republic of the Congo
43.9%2025
17Republic of the Congo
43.6%2025
18Senegal
38.6%2025
19Botswana
37.5%2025
20Togo
35.3%2023
21Rwanda
35.1%2025
22Ghana
33.9%2024
23Central African Republic
33.6%2025
24Sao Tome and Principe
33.3%2025
25Madagascar
32.9%2025
26Comoros
31.6%2025
27Egypt
31.5%2025
28Burkina Faso
30%2025
29South Africa
29.5%2025
30Gabon
29.4%2025
31Eritrea
29.2% ⚠ ’112011
32South Sudan
28.9% ⚠ ’152015
33Uganda
28.8%2025
34Malawi
28.8%2025
35Equatorial Guinea
28.4%2025
36Sierra Leone
28.2%2025
37Zambia
27.6%2024
38Guinea-Bissau
27%2025
39Mali
26.7%2025
40Cote d'Ivoire
24.8%2025
41Zimbabwe
23.4%2024
42Algeria
22.1%2025
43Kenya
21.8%2025
44Cameroon
20.3%2025
45Ethiopia
20.2%2025
46Benin
20.1%2025
47Tanzania
20%2025
48Niger
18.1%2025
49Nigeria
16.9% ⚠ ’601960
50Chad
16.7%2025
51Angola
11.7%2025
52Sudan
1.3%2025

Get this ranking via API

GET /v1/data

One call to /v1/data returns the latest Imports (% 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=imports_goods_services_pct_gdp&latest=true&country_codes=NG,KE,ZA,EG" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Cite or republish this ranking

Data: Africa APIWorld Bank — World Development Indicators, 2025. 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

free · auto-updating

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).

<iframe src="https://africa-api.com/embed/imports-gdp-share" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="Imports (% 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/imports-gdp-share">Imports (% of GDP) by African country — Africa API</a></p>

Frequently asked questions

Which African country has the highest imports of goods and services as a share of GDP?

Lesotho has the highest imports of goods and services as a share of GDP in Africa at 104.5% (2025), followed by Somalia and Djibouti.

Which African country has the lowest imports of goods and services as a share of GDP?

Sudan has the lowest imports of goods and services as a share of GDP of the 52 African countries with data, at 1.3% (2025).

How many African countries report Imports (% of GDP) data?

52 of 54 African countries have a Imports (% of GDP) figure in the Africa API, each from the latest year available for that country (which can differ between countries, here 1960–2025). Every value links to its full series with source and history.

How do I get this ranking via API?

Call GET /v1/data?metric_key=imports_goods_services_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 trade rankings