๐ฒ๐ฆ Morocco: trade in 2024
Middle East, North Africa, Afghanistan & Pakistan ยท World rank #48 exporter, #43 importer of 202 economies (2024).
Morocco exported $72B of goods and imported $98B in 2024, a trade deficit of $26B. Its largest export market was ๐ซ๐ท France (21.9% of exports) and its largest supplier was ๐ช๐ธ Spain (16.7% of imports). Against 2023, exports changed by +70.8% and imports by +38.7%.
โ Morocco had not reported some or all of 2024 to the IMF when this was built, so those figures were derived by the IMF from its partners' records. Treat them as provisional.
largest exporter of 202 economies, and #43 importer
of exports go to ๐ซ๐ท France, the largest market
of exports go to just three markets, out of 172
trade deficit: exports pay for 74% of imports
change in exports on 2023: $42B then, $72B in 2024
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 2024. Ribbon width is in proportion to value within each side.
Where Morocco sold its goods in 2024
Morocco exported $72B of goods to 172 markets in 2024.
Where Morocco bought its goods in 2024
Morocco imported $98B of goods from 178 suppliers in 2024.
Where Morocco ran a surplus, and where a deficit
Exports to each partner minus imports from it, 2024. The six largest on each side, on one scale.
Morocco's partners on the map, 2024
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 2024
| Partner | Morocco exports to | Morocco imports from | Balance |
|---|---|---|---|
| ๐ช๐ธ Spainโ | $10B | $16B | โ5.9B |
| ๐ซ๐ท Franceโ | $16B | $10B | +5.5B |
| ๐บ๐ธ United Statesโ | $2.4B | $8.8B | โ6.3B |
| ๐จ๐ณ Chinaโ | $542M | $10B | โ9.9B |
| ๐ฉ๐ช Germanyโ | $4.4B | $5.3B | โ864M |
| ๐ฎ๐น Italyโ | $4.2B | $4.4B | โ209M |
| ๐น๐ท Turkiyeโ | $2.1B | $4.7B | โ2.6B |
| ๐ฌ๐ง United Kingdomโ | $3.5B | $1.2B | +2.4B |
| ๐ง๐ท Brazilโ | $2.6B | $2.0B | +651M |
| ๐ฎ๐ณ Indiaโ | $2.7B | $1.7B | +991M |
| ๐ต๐น Portugalโ | $1.3B | $3.1B | โ1.8B |
| ๐ธ๐ฆ Saudi Arabiaโ | $185M | $2.9B | โ2.7B |
| ๐ท๐ด Romaniaโ | $1.0B | $1.9B | โ896M |
| ๐ง๐ช Belgiumโ | $1.1B | $1.7B | โ521M |
| ๐ณ๐ฑ Netherlandsโ | $1.3B | $850M | +476M |
| ๐ต๐ฑ Polandโ | $819M | $1.3B | โ481M |
| ๐ฆ๐ช United Arab Emiratesโ | $275M | $1.7B | โ1.5B |
| ๐จ๐ฟ Czechiaโ | $637M | $984M | โ348M |
| ๐จ๐ฆ Canadaโ | $600M | $862M | โ261M |
| ๐ช๐ฌ Egyptโ | $111M | $1.3B | โ1.2B |
| ๐ต๐ฐ Pakistanโ | $1.2B | $56M | +1.2B |
| ๐ฐ๐ฟ Kazakhstanโ | $2M | $1.2B | โ1.2B |
| ๐ฆ๐ท Argentinaโ | $667M | $495M | +171M |
| ๐ง๐ฉ Bangladeshโ | $1.1B | $81M | +992M |
| ๐ธ๐ฌ Singaporeโ | $309M | $842M | โ533M |
| ๐ฏ๐ต Japanโ | $238M | $768M | โ530M |
| ๐ฆ๐น Austriaโ | $535M | $445M | +90M |
| ๐ฐ๐ท South Koreaโ | $61M | $908M | โ847M |
| ๐ธ๐ฐ Slovakiaโ | $420M | $541M | โ121M |
| ๐ฆ๐บ Australiaโ | $880M | $78M | +801M |
| ๐ธ๐ช Swedenโ | $366M | $514M | โ148M |
| ๐ฉ๐ฏ Djiboutiโ | $832M | $1,000 | +832M |
| ๐จ๐ญ Switzerlandโ | $401M | $429M | โ27M |
| ๐ญ๐ฐ Hong Kongโ | $733M | $24M | +709M |
| ๐ญ๐บ Hungaryโ | $174M | $557M | โ383M |
| ๐ท๐บ Russiaโ | $84M | $632M | โ548M |
| ๐จ๐ฎ Cote d'Ivoireโ | $580M | $66M | +514M |
| ๐น๐ณ Tunisiaโ | $237M | $376M | โ139M |
| ๐ฒ๐ฝ Mexicoโ | $370M | $234M | +136M |
| ๐ฎ๐ฑ Israelโ | $86M | $494M | โ408M |
| ๐ง๐ฌ Bulgariaโ | $219M | $326M | โ107M |
| ๐ธ๐ณ Senegalโ | $474M | $60M | +414M |
| ๐ป๐ณ Vietnamโ | $110M | $419M | โ309M |
| ๐ง๐ญ Bahrainโ | $4M | $513M | โ509M |
| ๐ฌ๐ท Greeceโ | $200M | $292M | โ93M |
| ๐ฎ๐ช Irelandโ | $188M | $284M | โ96M |
| ๐ด๐ฒ Omanโ | $24M | $444M | โ420M |
| ๐บ๐ฆ Ukraineโ | $147M | $303M | โ156M |
| ๐น๐น Trinidad and Tobagoโ | $3M | $438M | โ435M |
| ๐ซ๐ฎ Finlandโ | $78M | $344M | โ266M |
| ๐ฒ๐ท Mauritaniaโ | $410M | $2M | +408M |
| ๐ถ๐ฆ Qatarโ | $24M | $360M | โ336M |
| ๐ฉ๐ฐ Denmarkโ | $172M | $161M | +11M |
| ๐น๐ญ Thailandโ | $64M | $266M | โ203M |
| ๐ณ๐ฌ Nigeriaโ | $192M | $137M | +55M |
| ๐ธ๐ฎ Sloveniaโ | $251M | $74M | +177M |
| ๐ฑ๐พ Libyaโ | $151M | $168M | โ17M |
| ๐ฑ๐น Lithuaniaโ | $194M | $114M | +80M |
| ๐ฌ๐ญ Ghanaโ | $278M | $8M | +270M |
| ๐ง๐ฏ Beninโ | $247M | $907,000 | +246M |
| ๐ฎ๐ฉ Indonesiaโ | $30M | $215M | โ186M |
| ๐ฟ๐ฆ South Africaโ | $35M | $200M | โ165M |
| ๐ฒ๐พ Malaysiaโ | $59M | $162M | โ104M |
| ๐ฌ๐ณ Guineaโ | $199M | $16M | +183M |
| ๐จ๐ฑ Chileโ | $166M | $40M | +125M |
| Taiwanโ | $25M | $179M | โ154M |
| ๐ณ๐ด Norwayโ | $113M | $76M | +37M |
| ๐ฒ๐ฑ Maliโ | $172M | $4M | +168M |
| ๐ฑ๐ง Lebanonโ | $140M | $27M | +113M |
| ๐ฐ๐ช Kenyaโ | $147M | $20M | +126M |
| ๐ฏ๐ด Jordanโ | $55M | $91M | โ36M |
| ๐ฑ๐ป Latviaโ | $76M | $68M | +8M |
| ๐ต๐ช Peruโ | $40M | $99M | โ59M |
| ๐ฐ๐ผ Kuwaitโ | $27M | $104M | โ76M |
| ๐ง๐ซ Burkina Fasoโ | $126M | $2M | +124M |
| ๐ท๐ธ Serbiaโ | $16M | $111M | โ95M |
| ๐น๐ฟ Tanzaniaโ | $85M | $38M | +47M |
| ๐น๐ฌ Togoโ | $102M | $3M | +99M |
| ๐จ๐ฒ Cameroonโ | $98M | $5M | +94M |
| ๐ฌ๐ฆ Gabonโ | $57M | $37M | +19M |
What Morocco trades: products in 2024
Product figures are BACI's reconciled data, which matches each export to the partner's import record. On that basis Morocco exported $68B and imported $88B in 2024, so these totals differ from the customs figures above. Shares below are of the BACI totals.
Exports by product group, 2024
The same figures as a list
- Transport equipment$15B22.3%
- Machinery & electronics$14B20.1%
- Chemicals & allied$12B18.0%
- Textiles & clothing$7.9B11.6%
- Vegetable products$6.2B9.2%
- Foodstuffs, beverages & tobacco$2.9B4.3%
- Minerals$2.4B3.6%
- Animal & animal products$2.0B3.0%
- Base metals$1.5B2.2%
- Instruments, arms & misc.$1.1B1.6%
- Plastics & rubber$924M1.4%
- Footwear & headgear$587M0.9%
- Stone, glass & precious metals$554M0.8%
- Wood & paper$439M0.6%
Largest export products, 2024
Morocco exported 4,156 different products in 2024.
Imports by product group, 2024
The same figures as a list
- Machinery & electronics$19B21.8%
- Transport equipment$11B12.9%
- Mineral fuels & oils$11B12.6%
- Base metals$8.5B9.7%
- Chemicals & allied$6.7B7.7%
- Textiles & clothing$6.5B7.4%
- Vegetable products$5.7B6.5%
- Plastics & rubber$5.1B5.9%
- Foodstuffs, beverages & tobacco$3.2B3.7%
- Instruments, arms & misc.$3.2B3.7%
- Wood & paper$2.2B2.5%
- Animal & animal products$1.5B1.7%
- Stone, glass & precious metals$1.4B1.6%
- Minerals$1.3B1.4%
- Hides, skins & leather$429M0.5%
- Footwear & headgear$411M0.5%
Largest import products, 2024
Where Morocco is a top-three world exporter
Imports that come mostly from one country
Products worth at least 0.1% of imports where a single supplier provides three-quarters or more.
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 2024: 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 2024: Exports, Imports and Trading Partners.” https://world.customsnepal.com/trade/morocco/2024 (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.