๐ฒ๐ฆ Morocco: trade in 2021
Middle East, North Africa, Afghanistan & Pakistan ยท World rank #62 exporter, #51 importer of 202 economies (2021).
Morocco exported $37B of goods and imported $59B in 2021, a trade deficit of $22B. Its largest export market was ๐ช๐ธ Spain (21.5% of exports) and its largest supplier was ๐ช๐ธ Spain (15.7% of imports). Against 2020, exports changed by +31.2% and imports by +31.3%.
largest exporter of 202 economies, and #51 importer
of exports go to ๐ช๐ธ Spain, the largest market
of exports go to just three markets, out of 167
trade deficit: exports pay for 62% of imports
change in exports on 2020: $28B then, $37B in 2021
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 2021. Ribbon width is in proportion to value within each side.
Where Morocco sold its goods in 2021
Morocco exported $37B of goods to 167 markets in 2021.
Where Morocco bought its goods in 2021
Morocco imported $59B of goods from 174 suppliers in 2021.
Where Morocco ran a surplus, and where a deficit
Exports to each partner minus imports from it, 2021. The six largest on each side, on one scale.
Morocco's partners on the map, 2021
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 2021
Products
Product detail on this site starts in 2022. For 2021 this page has totals and partners only.
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. 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 2021: Exports, Imports and Trading Partners.” https://world.customsnepal.com/trade/morocco/2021 (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.