๐ฒ๐ฆ Morocco: trade in 2022
Middle East, North Africa, Afghanistan & Pakistan ยท World rank #62 exporter, #49 importer of 202 economies (2022).
Morocco exported $42B of goods and imported $73B in 2022, a trade deficit of $31B. Its largest export market was ๐ซ๐ท France (20.2% of exports) and its largest supplier was ๐ช๐ธ Spain (14.1% of imports). Against 2021, exports changed by +15.0% and imports by +23.9%.
largest exporter of 202 economies, and #49 importer
of exports go to ๐ซ๐ท France, the largest market
of exports go to just three markets, out of 169
trade deficit: exports pay for 58% of imports
change in exports on 2021: $37B then, $42B in 2022
of imports come from ๐ช๐ธ Spain, the largest supplier
Where Morocco's goods come from, and where they go
The five largest suppliers and the five largest markets in 2022. Ribbon width is in proportion to value within each side.
Where Morocco sold its goods in 2022
Morocco exported $42B of goods to 169 markets in 2022.
Where Morocco bought its goods in 2022
Morocco imported $73B of goods from 178 suppliers in 2022.
Where Morocco ran a surplus, and where a deficit
Exports to each partner minus imports from it, 2022. The six largest on each side, on one scale.
Morocco's partners on the map, 2022
Shade shows each partner's share of Morocco's exports or imports. Hover or tap a country for the figure; every partner is in the table further down.
The 80 largest trading partners of Morocco in 2022
What Morocco trades: products in 2022
Product figures are BACI's reconciled data, which matches each export to the partner's import record. On that basis Morocco exported $50B and imported $73B in 2022, so these totals differ from the customs figures above. Shares below are of the BACI totals.
Exports by product group, 2022
The same figures as a list
- Chemicals & allied$12B23.3%
- Transport equipment$8.5B16.9%
- Machinery & electronics$7.9B15.7%
- Textiles & clothing$6.2B12.3%
- Vegetable products$5.5B10.9%
- Minerals$2.4B4.9%
- Foodstuffs, beverages & tobacco$2.0B3.9%
- Animal & animal products$1.9B3.8%
- Base metals$1.0B2.0%
- Instruments, arms & misc.$669M1.3%
- Plastics & rubber$509M1.0%
- Footwear & headgear$508M1.0%
- Stone, glass & precious metals$505M1.0%
- Mineral fuels & oils$503M1.0%
- Wood & paper$273M0.5%
Largest export products, 2022
Morocco exported 4,116 different products in 2022.
Imports by product group, 2022
The same figures as a list
- Mineral fuels & oils$15B21.0%
- Machinery & electronics$13B17.1%
- Chemicals & allied$6.6B8.9%
- Transport equipment$6.5B8.8%
- Vegetable products$6.2B8.4%
- Base metals$6.0B8.2%
- Textiles & clothing$4.6B6.3%
- Plastics & rubber$3.9B5.3%
- Foodstuffs, beverages & tobacco$2.7B3.6%
- Instruments, arms & misc.$2.4B3.2%
- Wood & paper$2.0B2.7%
- Minerals$1.8B2.5%
- Stone, glass & precious metals$1.2B1.6%
- Animal & animal products$929M1.3%
- Footwear & headgear$391M0.5%
Largest import products, 2022
Morocco's trade year by year
Customs figures in US dollars. Choose a year for its partners and products.
| Year | Exports | Imports | Balance |
|---|---|---|---|
| 2025 | $79B | $112B | โ33B |
| 2024 | $72B | $98B | โ26B |
| 2023 | $42B | $71B | โ28B |
| 2022 | $42B | $73B | โ31B |
| 2021 | $37B | $59B | โ22B |
| 2020 | $28B | $45B | โ17B |
| 2019 | $30B | $51B | โ21B |
Earlier years, 2000 to 2018
| Year | Exports | Imports | Balance |
|---|---|---|---|
| 2018 | $28B | $51B | โ23B |
| 2017 | $25B | $45B | โ20B |
| 2016 | $23B | $42B | โ19B |
| 2015 | $21B | $37B | โ16B |
| 2014 | $24B | $46B | โ22B |
| 2013 | $22B | $45B | โ23B |
| 2012 | $20B | $43B | โ23B |
| 2011 | $21B | $44B | โ23B |
| 2010 | $17B | $35B | โ19B |
| 2009 | $13B | $32B | โ19B |
| 2008 | $19B | $41B | โ22B |
| 2007 | $14B | $31B | โ17B |
| 2006 | $12B | $23B | โ11B |
| 2005 | $11B | $20B | โ9.6B |
| 2004 | $9.7B | $17B | โ7.8B |
| 2003 | $8.6B | $14B | โ5.3B |
| 2002 | $7.7B | $12B | โ3.9B |
| 2001 | $7.1B | $11B | โ4.3B |
| 2000 | $7.2B | $11B | โ4.1B |
Totals and partners for every year on this page: International Monetary Fund, International Trade in Goods by partner country, retrieved 2026-11-15. These are each economy's own customs figures, converted to US dollars at the average exchange rate of each month; imports include freight and insurance, exports do not. Products for 2022: BACI (CEPII), reconciled from UN Comtrade at the 6-digit HS level. The sources use different methods, so compare like with like. About the data
Cite or embed this page
Citation
World Trade Data. “Morocco Trade in 2022: Exports, Imports and Trading Partners.” https://world.customsnepal.com/trade/morocco/2022 (updated 15 November 2026).
Embed this card on your site
You may quote these figures and use this card with a link to this page. The data comes from the sources named above; please credit them as well.