Country intelligence · MAR · 2024

Morocco trade profile

In 2024, Morocco recorded $46.9B in merchandise exports and $73.5B in imports, producing a $26.6B trade deficit. Exports changed +9.7% from the previous year, while imports changed +10.1%.[1]

Exports

$46.9B

+9.7%

Imports

$73.5B

+10.1%

Trade balance

-$26.6B

deficit

Active partners

270

50 FTA-linked

Historical evidence

Ten-year trade movement

The bars compare exports and imports on the same scale. The accompanying table preserves the exact values so the trend is usable without interpreting a graphic.

2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
ExportsImports

Exact annual values

YearExportsImportsBalanceExport growth
2024$46.9B$73.5B-$26.6B+9.7%
2023$42.8B$66.8B-$24.0B+0.1%
2022$42.7B$68.5B-$25.8B+14.9%
2021$37.2B$55.2B-$18.0B+32.6%
2020$28.0B$41.2B-$13.2B-5.5%
2019$29.7B$47.8B-$18.1B-0.1%
2018$29.7B$47.3B-$17.6B+12.3%
2017$26.5B$41.9B-$15.4B+11.2%
2016$23.8B$38.9B-$15.1B+2.7%
2015$23.2B$35.4B-$12.2B-2.2%

Leading export sectors

HS2 chapters rank broad product groups by observed export value in 2024.

1

HS 85 · Electrical machinery

261 active HS6 lines · 161 export partners

$8.1B
2

HS 87 · Vehicles

87 active HS6 lines · 145 export partners

$7.9B
3

HS 31 · HS chapter

24 active HS6 lines · 118 export partners

$7.1B
4

HS 62 · HS chapter

112 active HS6 lines · 158 export partners

$3.5B
5

HS 08 · HS chapter

66 active HS6 lines · 116 export partners

$2.3B
6

HS 07 · HS chapter

63 active HS6 lines · 107 export partners

$2.2B
7

HS 28 · HS chapter

173 active HS6 lines · 105 export partners

$1.8B
8

HS 03 · HS chapter

207 active HS6 lines · 121 export partners

$1.7B

Leading export markets

Destinations rank bilateral export flows from Morocco; growth describes each corridor rather than the whole economy.

1

Spain

Annual change +1.3% · 3-year CAGR 5.1%

$9.1B
2

France

Annual change +10.5% · 3-year CAGR 4.9%

$7.9B
3

Germany

Annual change +6.3% · 3-year CAGR 22.0%

$2.8B
4

Italy

Annual change +8.1% · 3-year CAGR 13.5%

$2.3B
5

United Kingdom

Annual change +9.1% · 3-year CAGR 21.6%

$2.1B
6

India

Annual change +33.6% · 3-year CAGR 2.3%

$1.8B
7

Brazil

Annual change +14.0% · 3-year CAGR -9.0%

$1.5B
8

United States

Annual change +13.5% · 3-year CAGR 13.8%

$1.5B

Sources, definitions and limitations

[1] Primary trade source

OECD Bilateral International Merchandise Trade Statistics, harmonised by Yugalinks at country-year, HS2 and bilateral-corridor levels. Coverage shown here is 1995–2024 where observations are available.

Calculation notes

USD values are aggregated from reported merchandise records. YoY compares consecutive annual totals; three-year CAGR is the mart-provided compound annual growth rate. Missing values are not inferred.