EximDataX

Morocco import and export data

In 2024, Morocco imported goods worth $89.17 billion and exported $63.32 billion, a trade deficit of $25.85 billion. Value rose 24% on 2023. Over 2017-2024 the trade grew strongly, by about 10% a year on average.

Imports 2024
$89.17B
Exports 2024
$63.32B
Trade balance
-$25.85B
Browse 886 products

Morocco imports and exports, 2017-2024

$0K$22.29B$44.59B$66.88B$89.17B20172018201920202021202220232024

Hover or tap a year for detail.

Where Morocco imports from

The largest suppliers were Spain (16%), China (11%), France (11%). Trade is spread widely: the top three suppliers together make up only 38%. Among the main suppliers, Portugal grew fastest (+57% on the year before).

Share of Morocco imports by supplier, 2024≥25%10-25%3-10%1-3%<1%

Top supplier countries

Where Morocco exports to

The largest buyer markets were Spain (19%), France (16%), Germany (6%). Trade is spread widely: the top three buyer markets together make up only 41%. Among the main buyer markets, United States grew fastest (+44% on the year before).

Share of Morocco exports by destination, 2024≥25%10-25%3-10%1-3%<1%

Top export markets

Top Morocco imports

  1. 1Refined petroleum products · HS 2710$6.97B7.8%
  2. 2Vehicle parts and accessories · HS 8708$4.30B4.8%
  3. 3Cars · HS 8703$2.87B3.2%
  4. 4Electrical wire and cable · HS 8544$2.27B2.5%
  5. 5Petroleum gas · HS 2711$1.87B2.1%
  6. 68803 · HS 8803$1.81B2%
  7. 7Coal · HS 2701$1.69B1.9%
  8. 8Wheat · HS 1001$1.66B1.9%
  9. 9Ammonia · HS 2814$1.59B1.8%
  10. 10Copper wire · HS 7408$1.48B1.7%
  11. 11Piston engine · HS 8407$1.46B1.6%
  12. 12Low voltage switch · HS 8536$1.40B1.6%

Top Morocco exports

  1. 1Cars · HS 8703$9.02B14%
  2. 2Compound fertilizer · HS 3105$7.90B13%
  3. 3Electrical wire and cable · HS 8544$6.98B11%
  4. 4Women's clothing · HS 6204$2.54B4%
  5. 5Phosphoric acid · HS 2809$2.34B3.7%
  6. 6Vehicle parts and accessories · HS 8708$1.82B2.9%
  7. 7Tomatoes · HS 0702$1.50B2.4%
  8. 8Other fresh fruit · HS 0810$1.46B2.3%
  9. 9Phosphate fertilizer · HS 3103$1.44B2.3%
  10. 10Phosphate rock · HS 2510$1.31B2.1%
  11. 118803 · HS 8803$1.10B1.7%
  12. 12Molluscs · HS 0307$1.07B1.7%
Beyond the public totals

Who is behind these numbers in Morocco?

The shipment records behind Morocco trade data: companies, dates, quantities and declared values.

Shipment records are in the platform

Tell us what you trade and we will show you the latest records on a live call.

Morocco trade data by product

Every product below has its own page: yearly trend, partner countries on a map, prices per kg and HS detail.

Chapter 13 · Lac; gums, resins and other vegetable saps and…

Chapter 14 · Vegetable plaiting materials; vegetable…

Chapter 36 · Explosives; pyrotechnic products; matches…

Chapter 45 · Cork and articles of cork

Chapter 46 · Manufactures of straw, esparto or other…

Chapter 47 · Pulp of wood or other fibrous cellulosic…

Chapter 66 · Umbrellas, sun umbrellas, walking-sticks, seat…

Chapter 67 · Feathers and down, prepared; and articles made…

Chapter 78 · Lead and articles thereof

Chapter 80 · Tin; articles thereof

Chapter 81 · Metals; n.e.c., cermets and articles thereof

Chapter 84 · Machinery and mechanical appliances, boilers…

Chapter 92 · Musical instruments; parts and accessories of…

Morocco on EximDataX

Mirror data: built from the shipment records of the countries that trade with it. Updated weekly on EximDataX (some markets daily), while public statistics stop at 2024.

Source: CEPII BACI (reconciled UN Comtrade data), HS 2017 edition, release 202601, Etalab Open Licence 2.0. Values in US dollars.

Straight answers

Trade data for Morocco: questions

What does Morocco import most?

The largest imports by value in 2024 were refined petroleum products ($6.97 billion), vehicle parts and accessories ($4.30 billion) and cars ($2.87 billion). Together they made up 16% of total imports of $89.17 billion. Each product has its own page below with suppliers and prices.

What are the main exports of Morocco?

The top exports in 2024 were cars ($9.02 billion), compound fertilizer ($7.90 billion) and electrical wire and cable ($6.98 billion), 38% of exports of $63.32 billion. That left a trade deficit of $25.85 billion.

Who are the biggest trading partners of Morocco?

The largest suppliers were Spain (16% of imports), China and France. The largest export markets were Spain (19% of exports), France and Germany. The maps above show every partner country.

Where can I get shipment-level Morocco trade data?

Mirror data: built from the shipment records of the countries that trade with it. Updated weekly on EximDataX (some markets daily), while public statistics stop at 2024. Public statistics like these stop at country totals; the platform shows the companies, dates and values behind them.

See what your buyers are buying.Then decide.

Everything we show you comes from official customs filings — records, not claims. 30 minutes. Your shipment. Your HS code. Real platform. If you don’t see something new about your market by the end of the call, we walk away. No follow-ups.

Free 3-day test account. No card on file. No funnel email sequence.