Country profile

Morocco

Reconciled figures: exports and imports as agreed between the countries' own reports, valued free on board.

Exports 2024
$59.9B
Imports 2024
$95.1B
Trade balance
-$35.2B
deficit
Top export
Electrical machinery and equipment and parts thereof
18.3% of exports

What Morocco exports

Area is share of exports, 2024. Colours and icons are product groups (HS sections). Boxes open to 4-digit headings and 6-digit products.

Click a box to open it (press and hold for details).

Exports, imports and balance over time

Annual totals in US$.

Where Morocco sells

Exports by partner, 2024.

Loading map…

Top partners

The 30 partners tracked cover 87% of exports.

About these figures

  • Valuation: FOB.
  • US$ values as reported by the source.
  • Chapters (HS2) for every year; 4-digit headings for no years. Sources and licences.

Key figures, 2024

Largest exports by HS chapter, 2024
ProductValueShare
Electrical machinery and equipment and parts thereofUS$10.9 billion18.3%
VehiclesUS$10.1 billion17.0%
FertilizersUS$8.9 billion14.9%
Apparel and clothing accessoriesUS$5.2 billion8.7%
Fruit and nuts, edibleUS$2.9 billion4.8%
Vegetables and certain roots and tubersUS$2.6 billion4.4%
Apparel and clothing accessoriesUS$2.1 billion3.5%
Inorganic chemicalsUS$1.9 billion3.1%
SaltUS$1.6 billion2.8%
Meat, fish, crustaceans, molluscs or other aquatic invertebrates, or insectsUS$1.6 billion2.7%
Largest imports by HS chapter, 2024
ProductValueShare
Mineral fuels, mineral oils and products of their distillationUS$12.4 billion13.0%
Electrical machinery and equipment and parts thereofUS$10.3 billion10.9%
VehiclesUS$10.3 billion10.8%
Machinery and mechanical appliances, boilers, nuclear reactorsUS$9.5 billion10.0%
Plastics and articles thereofUS$4.3 billion4.6%
Aircraft, spacecraft, and parts thereofUS$2.9 billion3.1%
CerealsUS$2.7 billion2.8%
Inorganic chemicalsUS$2.6 billion2.8%
Iron and steelUS$2.5 billion2.6%
Copper and articles thereofUS$2.0 billion2.1%
Largest export partners, 2024
PartnerValueShare
SpainUS$11.5 billion19.2%
FranceUS$9.2 billion15.3%
GermanyUS$3.8 billion6.4%
United KingdomUS$2.7 billion4.5%
ItalyUS$2.6 billion4.3%
United StatesUS$2.3 billion3.8%
IndiaUS$1.9 billion3.1%
TürkiyeUS$1.9 billion3.1%
PolandUS$1.5 billion2.5%
BrazilUS$1.3 billion2.2%
Largest import partners, 2024
PartnerValueShare
SpainUS$15.9 billion16.7%
ChinaUS$10.5 billion11.0%
FranceUS$9.9 billion10.4%
United StatesUS$8.8 billion9.3%
GermanyUS$5.1 billion5.3%
TürkiyeUS$4.7 billion4.9%
ItalyUS$4.3 billion4.5%
Saudi ArabiaUS$3.0 billion3.1%
PortugalUS$2.8 billion3.0%
RomaniaUS$1.9 billion2.0%

Morocco trade: questions and answers

What is Morocco's trade balance?

In 2024, Morocco exported US$59.9 billion of goods and imported US$95.1 billion, a trade deficit of US$35.2 billion.

What does Morocco export?

In 2024, the largest product groups in Morocco's exports by HS chapter were Electrical machinery and equipment and parts thereof (18.3%), Vehicles (17.0%) and Fertilizers (14.9%), out of total exports of US$59.9 billion.

What does Morocco import?

In 2024, the largest product groups in Morocco's imports by HS chapter were Mineral fuels, mineral oils and products of their distillation (13.0%), Electrical machinery and equipment and parts thereof (10.9%) and Vehicles (10.8%), out of total imports of US$95.1 billion.

Who does Morocco trade with most?

Among the economies tracked here, in 2024 Morocco's biggest export markets were Spain (19.2%), France (15.3%) and Germany (6.4%), and its biggest import sources were Spain (16.7%), China (11.0%) and France (10.4%). Shares are of Morocco's total trade in that direction.

Where does the Morocco trade data come from?

From CEPII (BACI). Values are annual, in US dollars, and products are HS chapters (2 digits) with 4-digit headings for some years. Licence terms and method are on the Sources page.