54 country profiles · 207 indicator definitionsAPI dataGet API key

Trade · Africa ranking

Imports (% of GDP) by African country

104.5%Lesotho · highest shown · 2025

Lesotho has the highest reported imports of goods and services as a share of GDP among the 49 countries shown, at 104.5% (2025).

Imports of goods and services as a share of GDP. 49 of 54 countries are shown. Open a country to see its source details and available history.

Latest available year varies by country (2023–2025). Only observations within 2 years of the freshest result are included, and each row shows its period.

#1 vs #4982×Lesotho vs Sudan
Median32.9%Madagascar
Lowest1.3%Sudan

By region

unweighted mean of countries shown
East Africa49%
13 countries shown · highest value: Somalia
Southern Africa48.6%
7 countries shown · highest value: Lesotho
North Africa37.8%
6 countries shown · highest value: Libya
West Africa35.9%
14 countries shown · highest value: Guinea
Central Africa29%
9 countries shown · highest value: Democratic Republic of the Congo

Full ranking

49 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
31Uganda
28.8%2025
32Malawi
28.8%2025
33Equatorial Guinea
28.4%2025
34Sierra Leone
28.2%2025
35Zambia
27.6%2024
36Guinea-Bissau
27%2025
37Mali
26.7%2025
38Cote d'Ivoire
24.8%2025
39Zimbabwe
23.4%2024
40Algeria
22.1%2025
41Kenya
21.8%2025
42Cameroon
20.3%2025
43Ethiopia
20.2%2025
44Benin
20.1%2025
45Tanzania
20%2025
46Niger
18.1%2025
47Chad
16.7%2025
48Angola
11.7%2025
49Sudan
1.3%2025

Get this ranking via API

GET /v1/data

Request the latest available Imports (% of GDP) values for the selected countries as JSON. The response includes source metadata; check reporting periods before comparing values.

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

Check the original source's reuse conditions before republishing. Keep each observation's source and reporting period with the value, and link to this page. See the terms and source metadata reference.

Embed this ranking

iframe snippet

Paste this snippet into a page that supports iframes. The chart loads the available ranking observations and includes their reporting periods. A link to this page 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>

About this ranking

Which observations are included?

The table includes 49 of 54 countries with available observations for 2023 or later and within 2 years of the freshest result. Each row shows its reporting period. Countries without an eligible observation are omitted.

Does a higher value mean a better result?

The table is sorted by value, from highest to lowest. The order does not rate a country's performance. Interpretation depends on the indicator and its definition.

More trade rankings