Morocco: latest

๐Ÿ‡ฒ๐Ÿ‡ฆ Morocco: trade in 2023

Middle East, North Africa, Afghanistan & Pakistan ยท World rank #58 exporter, #49 importer of 202 economies (2023).

Morocco exported $42B of goods and imported $71B in 2023, a trade deficit of $28B. Its largest export market was ๐Ÿ‡ช๐Ÿ‡ธ Spain (22.5% of exports) and its largest supplier was ๐Ÿ‡ช๐Ÿ‡ธ Spain (15.7% of imports). Against 2022, exports changed by +1.0% and imports by โˆ’2.8%.

$42BExports (2023)
$71BImports (2023)
โˆ’28BTrade balance
181Export markets
#58

largest exporter of 202 economies, and #49 importer

#1#202
23%

of exports go to ๐Ÿ‡ช๐Ÿ‡ธ Spain, the largest market

48%

of exports go to just three markets, out of 181

โˆ’28B

trade deficit: exports pay for 60% of imports

+1.0%

change in exports on 2022: $42B then, $42B in 2023

16%

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 2023. Ribbon width is in proportion to value within each side.

Where Morocco sold its goods in 2023

Morocco exported $42B of goods to 181 markets in 2023.

Where Morocco bought its goods in 2023

Morocco imported $71B of goods from 179 suppliers in 2023.

Where Morocco ran a surplus, and where a deficit

Exports to each partner minus imports from it, 2023. The six largest on each side, on one scale.

Morocco's partners on the map, 2023

Spain: $9.6B, 22.5% of exportsFrance: $8.7B, 20.5% of exportsItaly: $2.2B, 5.2% of exportsUnited Kingdom: $1.9B, 4.5% of exportsGermany: $1.8B, 4.3% of exportsUnited States: $1.3B, 3.0% of exportsIndia: $1.2B, 2.9% of exportsBrazil: $1.2B, 2.8% of exportsTurkiye: $1.2B, 2.8% of exportsNetherlands: $919M, 2.2% of exportsPortugal: $683M, 1.6% of exportsBelgium: $556M, 1.3% of exportsDjibouti: $541M, 1.3% of exportsRomania: $493M, 1.2% of exportsPakistan: $493M, 1.2% of exportsCote d'Ivoire: $467M, 1.1% of exportsPoland: $417M, 1.0% of exportsBangladesh: $406M, 1.0% of exportsChina: $350M, 0.8% of exportsArgentina: $331M, 0.8% of exportsMexico: $324M, 0.8% of exportsMauritania: $322M, 0.8% of exportsSenegal: $307M, 0.7% of exportsCanada: $280M, 0.7% of exportsAustria: $268M, 0.6% of exportsCzechia: $232M, 0.5% of exportsAustralia: $226M, 0.5% of exportsUnited Arab Emirates: $208M, 0.5% of exportsSwitzerland: $205M, 0.5% of exportsJapan: $175M, 0.4% of exportsSweden: $171M, 0.4% of exportsGuinea: $136M, 0.3% of exportsTunisia: $136M, 0.3% of exportsGreece: $133M, 0.3% of exportsNorway: $115M, 0.3% of exportsBenin: $113M, 0.3% of exportsMali: $113M, 0.3% of exportsSlovakia: $113M, 0.3% of exportsSlovenia: $112M, 0.3% of exportsNigeria: $109M, 0.3% of exportsTogo: $99M, 0.2% of exportsRussia: $98M, 0.2% of exportsBulgaria: $98M, 0.2% of exportsSaudi Arabia: $97M, 0.2% of exportsHungary: $92M, 0.2% of exportsLithuania: $91M, 0.2% of exportsGhana: $90M, 0.2% of exportsIreland: $87M, 0.2% of exportsUruguay: $87M, 0.2% of exportsLibya: $84M, 0.2% of exportsDenmark: $83M, 0.2% of exportsCameroon: $82M, 0.2% of exportsBurkina Faso: $69M, 0.2% of exportsAlgeria: $64M, 0.2% of exportsLebanon: $62M, 0.1% of exportsIsrael: $61M, 0.1% of exportsPeru: $60M, 0.1% of exportsChile: $59M, 0.1% of exportsCongo: $57M, 0.1% of exportsNew Zealand: $53M, 0.1% of exportsEgypt: $52M, 0.1% of exportsTanzania: $49M, 0.1% of exportsGabon: $46M, 0.1% of exportsIceland: $43M, 0.1% of exportsSouth Korea: $43M, 0.1% of exportsMorocco
Spain: $11B, 15.7% of importsChina: $7.5B, 10.6% of importsFrance: $7.5B, 10.6% of importsUnited States: $6.0B, 8.4% of importsTurkiye: $3.6B, 5.1% of importsGermany: $3.5B, 4.9% of importsItaly: $3.4B, 4.8% of importsSaudi Arabia: $2.3B, 3.3% of importsPortugal: $1.6B, 2.3% of importsBrazil: $1.6B, 2.2% of importsIndia: $1.5B, 2.1% of importsUnited Arab Emirates: $1.3B, 1.8% of importsRomania: $1.2B, 1.7% of importsBelgium: $1.1B, 1.5% of importsEgypt: $923M, 1.3% of importsRussia: $894M, 1.3% of importsPoland: $872M, 1.2% of importsUnited Kingdom: $843M, 1.2% of importsNetherlands: $797M, 1.1% of importsCanada: $706M, 1.0% of importsCzechia: $692M, 1.0% of importsSouth Korea: $662M, 0.9% of importsArgentina: $584M, 0.8% of importsGreece: $475M, 0.7% of importsJapan: $470M, 0.7% of importsVietnam: $405M, 0.6% of importsLithuania: $401M, 0.6% of importsSweden: $377M, 0.5% of importsTrinidad and Tobago: $376M, 0.5% of importsSwitzerland: $364M, 0.5% of importsHungary: $357M, 0.5% of importsSlovakia: $352M, 0.5% of importsKazakhstan: $333M, 0.5% of importsTunisia: $289M, 0.4% of importsAustria: $284M, 0.4% of importsIreland: $264M, 0.4% of importsQatar: $232M, 0.3% of importsSouth Africa: $229M, 0.3% of importsOman: $223M, 0.3% of importsColombia: $222M, 0.3% of importsBulgaria: $211M, 0.3% of importsFinland: $206M, 0.3% of importsIndonesia: $205M, 0.3% of importsMalaysia: $194M, 0.3% of importsThailand: $180M, 0.3% of importsIsrael: $179M, 0.3% of importsMexico: $174M, 0.2% of importsDenmark: $156M, 0.2% of importsUkraine: $146M, 0.2% of importsTaiwan: $143M, 0.2% of importsKuwait: $138M, 0.2% of importsLibya: $135M, 0.2% of importsNorway: $88M, 0.1% of importsJordan: $83M, 0.1% of importsMorocco
Morocco15% or more5 to 15%1 to 5%0.1 to 1%Under 0.1% or none

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 2023
PartnerMorocco exports toMorocco imports fromBalance
๐Ÿ‡ช๐Ÿ‡ธ Spain$9.6B$11Bโˆ’1.5B
๐Ÿ‡ซ๐Ÿ‡ท France$8.7B$7.5B+1.2B
๐Ÿ‡จ๐Ÿ‡ณ China$350M$7.5Bโˆ’7.2B
๐Ÿ‡บ๐Ÿ‡ธ United States$1.3B$6.0Bโˆ’4.7B
๐Ÿ‡ฎ๐Ÿ‡น Italy$2.2B$3.4Bโˆ’1.2B
๐Ÿ‡ฉ๐Ÿ‡ช Germany$1.8B$3.5Bโˆ’1.7B
๐Ÿ‡น๐Ÿ‡ท Turkiye$1.2B$3.6Bโˆ’2.4B
๐Ÿ‡ง๐Ÿ‡ท Brazil$1.2B$1.6Bโˆ’354M
๐Ÿ‡ฌ๐Ÿ‡ง United Kingdom$1.9B$843M+1.0B
๐Ÿ‡ฎ๐Ÿ‡ณ India$1.2B$1.5Bโˆ’266M
๐Ÿ‡ธ๐Ÿ‡ฆ Saudi Arabia$97M$2.3Bโˆ’2.2B
๐Ÿ‡ต๐Ÿ‡น Portugal$683M$1.6Bโˆ’962M
๐Ÿ‡ณ๐Ÿ‡ฑ Netherlands$919M$797M+121M
๐Ÿ‡ท๐Ÿ‡ด Romania$493M$1.2Bโˆ’694M
๐Ÿ‡ง๐Ÿ‡ช Belgium$556M$1.1Bโˆ’515M
๐Ÿ‡ฆ๐Ÿ‡ช United Arab Emirates$208M$1.3Bโˆ’1.1B
๐Ÿ‡ต๐Ÿ‡ฑ Poland$417M$872Mโˆ’455M
๐Ÿ‡ท๐Ÿ‡บ Russia$98M$894Mโˆ’796M
๐Ÿ‡จ๐Ÿ‡ฆ Canada$280M$706Mโˆ’427M
๐Ÿ‡ช๐Ÿ‡ฌ Egypt$52M$923Mโˆ’871M
๐Ÿ‡จ๐Ÿ‡ฟ Czechia$232M$692Mโˆ’460M
๐Ÿ‡ฆ๐Ÿ‡ท Argentina$331M$584Mโˆ’253M
๐Ÿ‡ฐ๐Ÿ‡ท South Korea$43M$662Mโˆ’619M
๐Ÿ‡ง๐Ÿ‡ญ Bahrain$3M$661Mโˆ’658M
๐Ÿ‡ฏ๐Ÿ‡ต Japan$175M$470Mโˆ’295M
๐Ÿ‡ฌ๐Ÿ‡ท Greece$133M$475Mโˆ’342M
๐Ÿ‡จ๐Ÿ‡ญ Switzerland$205M$364Mโˆ’158M
๐Ÿ‡ฆ๐Ÿ‡น Austria$268M$284Mโˆ’15M
๐Ÿ‡ธ๐Ÿ‡ช Sweden$171M$377Mโˆ’206M
๐Ÿ‡ฉ๐Ÿ‡ฏ Djibouti$541M$3,000+541M
๐Ÿ‡ต๐Ÿ‡ฐ Pakistan$493M$48M+445M
๐Ÿ‡ธ๐Ÿ‡ฌ Singapore$95M$427Mโˆ’333M
๐Ÿ‡จ๐Ÿ‡ฎ Cote d'Ivoire$467M$33M+434M
๐Ÿ‡ฒ๐Ÿ‡ฝ Mexico$324M$174M+150M
๐Ÿ‡ญ๐Ÿ‡ฐ Hong Kong$476M$21M+455M
๐Ÿ‡ฑ๐Ÿ‡น Lithuania$91M$401Mโˆ’310M
๐Ÿ‡ง๐Ÿ‡ฉ Bangladesh$406M$69M+337M
๐Ÿ‡ธ๐Ÿ‡ฐ Slovakia$113M$352Mโˆ’239M
๐Ÿ‡ญ๐Ÿ‡บ Hungary$92M$357Mโˆ’265M
๐Ÿ‡น๐Ÿ‡ณ Tunisia$136M$289Mโˆ’153M
๐Ÿ‡ป๐Ÿ‡ณ Vietnam$5M$405Mโˆ’400M
๐Ÿ‡น๐Ÿ‡น Trinidad and Tobago$5M$376Mโˆ’372M
๐Ÿ‡ฎ๐Ÿ‡ช Ireland$87M$264Mโˆ’177M
๐Ÿ‡ธ๐Ÿ‡ณ Senegal$307M$29M+278M
๐Ÿ‡ฐ๐Ÿ‡ฟ Kazakhstan$2M$333Mโˆ’331M
๐Ÿ‡ฒ๐Ÿ‡ท Mauritania$322M$3M+319M
๐Ÿ‡ง๐Ÿ‡ฌ Bulgaria$98M$211Mโˆ’113M
๐Ÿ‡ฆ๐Ÿ‡บ Australia$226M$49M+177M
๐Ÿ‡ถ๐Ÿ‡ฆ Qatar$28M$232Mโˆ’204M
๐Ÿ‡ฟ๐Ÿ‡ฆ South Africa$28M$229Mโˆ’201M
๐Ÿ‡จ๐Ÿ‡ด Colombia$35M$222Mโˆ’187M
๐Ÿ‡ฎ๐Ÿ‡ฑ Israel$61M$179Mโˆ’118M
๐Ÿ‡ฉ๐Ÿ‡ฐ Denmark$83M$156Mโˆ’73M
๐Ÿ‡ด๐Ÿ‡ฒ Oman$13M$223Mโˆ’209M
๐Ÿ‡ซ๐Ÿ‡ฎ Finland$22M$206Mโˆ’184M
๐Ÿ‡ฒ๐Ÿ‡พ Malaysia$25M$194Mโˆ’169M
๐Ÿ‡ฑ๐Ÿ‡พ Libya$84M$135Mโˆ’51M
๐Ÿ‡น๐Ÿ‡ญ Thailand$37M$180Mโˆ’143M
๐Ÿ‡ฎ๐Ÿ‡ฉ Indonesia$6M$205Mโˆ’199M
๐Ÿ‡ณ๐Ÿ‡ด Norway$115M$88M+27M
๐Ÿ‡บ๐Ÿ‡ฆ Ukraine$40M$146Mโˆ’106M
Taiwan$34M$143Mโˆ’109M
๐Ÿ‡ฐ๐Ÿ‡ผ Kuwait$21M$138Mโˆ’116M
๐Ÿ‡ธ๐Ÿ‡ฎ Slovenia$112M$45M+67M
๐Ÿ‡ณ๐Ÿ‡ฌ Nigeria$109M$40M+69M
๐Ÿ‡ฌ๐Ÿ‡ณ Guinea$136M$5M+131M
๐Ÿ‡น๐Ÿ‡ฌ Togo$99M$41M+57M
๐Ÿ‡ฉ๐Ÿ‡ฟ Algeria$64M$64M+906,000
๐Ÿ‡ฒ๐Ÿ‡ฑ Mali$113M$5M+109M
๐Ÿ‡ง๐Ÿ‡ฏ Benin$113M$124,000+113M
๐Ÿ‡ฏ๐Ÿ‡ด Jordan$30M$83Mโˆ’53M
๐Ÿ‡บ๐Ÿ‡พ Uruguay$87M$24M+63M
๐Ÿ‡จ๐Ÿ‡ฑ Chile$59M$41M+18M
๐Ÿ‡ต๐Ÿ‡ช Peru$60M$39M+21M
๐Ÿ‡ฌ๐Ÿ‡ญ Ghana$90M$6M+84M
๐Ÿ‡ณ๐Ÿ‡ฟ New Zealand$53M$35M+18M
๐Ÿ‡ฑ๐Ÿ‡ง Lebanon$62M$26M+36M
๐Ÿ‡จ๐Ÿ‡ฒ Cameroon$82M$4M+78M
๐Ÿ‡ฑ๐Ÿ‡ป Latvia$34M$50Mโˆ’16M
๐Ÿ‡น๐Ÿ‡ฟ Tanzania$49M$33M+16M

What Morocco trades: products in 2023

Product figures are BACI's reconciled data, which matches each export to the partner's import record. On that basis Morocco exported $52B and imported $72B in 2023, so these totals differ from the customs figures above. Shares below are of the BACI totals.

Exports by product group, 2023

The same figures as a list
  1. Transport equipment$11B20.5%
  2. Machinery & electronics$11B20.3%
  3. Chemicals & allied$8.4B16.1%
  4. Textiles & clothing$6.7B12.9%
  5. Vegetable products$5.5B10.5%
  6. Animal & animal products$2.1B4.1%
  7. Foodstuffs, beverages & tobacco$2.1B4.0%
  8. Minerals$1.7B3.3%
  9. Base metals$1.0B1.9%
  10. Instruments, arms & misc.$888M1.7%
  11. Plastics & rubber$661M1.3%
  12. Footwear & headgear$513M1.0%
  13. Stone, glass & precious metals$489M0.9%
  14. Wood & paper$290M0.6%
  15. Mineral fuels & oils$251M0.5%

Largest export products, 2023

Morocco exported 4,171 different products in 2023.

Imports by product group, 2023

The same figures as a list
  1. Machinery & electronics$14B20.1%
  2. Mineral fuels & oils$13B17.5%
  3. Transport equipment$7.6B10.5%
  4. Base metals$6.5B9.1%
  5. Vegetable products$5.5B7.6%
  6. Chemicals & allied$5.0B7.0%
  7. Textiles & clothing$4.8B6.7%
  8. Plastics & rubber$4.0B5.5%
  9. Foodstuffs, beverages & tobacco$3.1B4.4%
  10. Instruments, arms & misc.$2.6B3.7%
  11. Wood & paper$1.8B2.5%
  12. Stone, glass & precious metals$1.2B1.7%
  13. Animal & animal products$1.2B1.6%
  14. Minerals$778M1.1%
  15. Footwear & headgear$388M0.5%
  16. Hides, skins & leather$302M0.4%

Largest import products, 2023

Morocco's trade year by year

Customs figures in US dollars. Choose a year for its partners and products.

$7.2B$11B
2000
$7.1B$11B
$7.7B$12B
$8.6B$14B
$9.7B$17B
$11B$20B
2005
$12B$23B
$14B$31B
$19B$41B
$13B$32B
$17B$35B
2010
$21B$44B
$20B$43B
$22B$45B
$24B$46B
$21B$37B
2015
$23B$42B
$25B$45B
$28B$51B
$30B$51B
$28B$45B
2020
$37B$59B
$42B$73B
$42B$71B
$72B$98B
$79B$112B
2025
ExportsImports
YearExportsImportsBalance
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
YearExportsImportsBalance
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
Sources2023

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 2023: 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 2023: Exports, Imports and Trading Partners.” https://world.customsnepal.com/trade/morocco/2023 (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.