Morocco: latest

๐Ÿ‡ฒ๐Ÿ‡ฆ 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%.

$37BExports (2021)
$59BImports (2021)
โˆ’22BTrade balance
167Export markets
#62

largest exporter of 202 economies, and #51 importer

#1#202
22%

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

48%

of exports go to just three markets, out of 167

โˆ’22B

trade deficit: exports pay for 62% of imports

+31.2%

change in exports on 2020: $28B then, $37B in 2021

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 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

Spain: $7.9B, 21.5% of exportsFrance: $7.5B, 20.5% of exportsBrazil: $2.0B, 5.6% of exportsIndia: $1.8B, 4.9% of exportsItaly: $1.6B, 4.3% of exportsUnited Kingdom: $1.2B, 3.3% of exportsUnited States: $1.1B, 3.0% of exportsGermany: $1.1B, 2.9% of exportsNetherlands: $927M, 2.5% of exportsTurkiye: $797M, 2.2% of exportsBangladesh: $582M, 1.6% of exportsBelgium: $552M, 1.5% of exportsPakistan: $543M, 1.5% of exportsPortugal: $512M, 1.4% of exportsChina: $362M, 1.0% of exportsCote d'Ivoire: $358M, 1.0% of exportsPoland: $351M, 1.0% of exportsSenegal: $310M, 0.8% of exportsMexico: $305M, 0.8% of exportsArgentina: $304M, 0.8% of exportsSwitzerland: $271M, 0.7% of exportsMauritania: $262M, 0.7% of exportsDjibouti: $259M, 0.7% of exportsRomania: $252M, 0.7% of exportsAustralia: $251M, 0.7% of exportsCanada: $215M, 0.6% of exportsJapan: $194M, 0.5% of exportsAustria: $194M, 0.5% of exportsRussia: $187M, 0.5% of exportsCzechia: $156M, 0.4% of exportsTunisia: $144M, 0.4% of exportsUnited Arab Emirates: $132M, 0.4% of exportsGhana: $132M, 0.4% of exportsNigeria: $131M, 0.4% of exportsSweden: $131M, 0.4% of exportsAlgeria: $115M, 0.3% of exportsMali: $112M, 0.3% of exportsCameroon: $98M, 0.3% of exportsGuinea: $97M, 0.3% of exportsIreland: $96M, 0.3% of exportsBenin: $95M, 0.3% of exportsBurkina Faso: $88M, 0.2% of exportsGreece: $87M, 0.2% of exportsSaudi Arabia: $85M, 0.2% of exportsUkraine: $85M, 0.2% of exportsEgypt: $83M, 0.2% of exportsSlovenia: $79M, 0.2% of exportsDenmark: $77M, 0.2% of exportsLibya: $76M, 0.2% of exportsNew Zealand: $75M, 0.2% of exportsNorway: $72M, 0.2% of exportsHungary: $69M, 0.2% of exportsSlovakia: $69M, 0.2% of exportsBulgaria: $60M, 0.2% of exportsSouth Korea: $58M, 0.2% of exportsMozambique: $58M, 0.2% of exportsLithuania: $54M, 0.1% of exportsTogo: $53M, 0.1% of exportsIndonesia: $48M, 0.1% of exportsSouth Africa: $47M, 0.1% of exportsBelarus: $46M, 0.1% of exportsUruguay: $45M, 0.1% of exportsGabon: $44M, 0.1% of exportsLebanon: $42M, 0.1% of exportsPeru: $41M, 0.1% of exportsSyria: $39M, 0.1% of exportsMorocco
Spain: $9.2B, 15.7% of importsChina: $6.9B, 11.7% of importsFrance: $6.2B, 10.5% of importsUnited States: $3.7B, 6.4% of importsTurkiye: $3.4B, 5.8% of importsItaly: $3.0B, 5.1% of importsGermany: $2.6B, 4.4% of importsRussia: $2.0B, 3.4% of importsSaudi Arabia: $1.8B, 3.1% of importsPortugal: $1.6B, 2.8% of importsIndia: $1.1B, 1.8% of importsBelgium: $1.1B, 1.8% of importsUnited Arab Emirates: $1.0B, 1.7% of importsNetherlands: $904M, 1.5% of importsBrazil: $847M, 1.4% of importsArgentina: $830M, 1.4% of importsEgypt: $819M, 1.4% of importsRomania: $758M, 1.3% of importsUnited Kingdom: $728M, 1.2% of importsPoland: $691M, 1.2% of importsAlgeria: $650M, 1.1% of importsUkraine: $575M, 1.0% of importsCanada: $573M, 1.0% of importsCzechia: $516M, 0.9% of importsJapan: $434M, 0.7% of importsSouth Korea: $417M, 0.7% of importsSweden: $345M, 0.6% of importsVietnam: $334M, 0.6% of importsSwitzerland: $317M, 0.5% of importsHungary: $295M, 0.5% of importsAustria: $287M, 0.5% of importsTrinidad and Tobago: $284M, 0.5% of importsTunisia: $254M, 0.4% of importsSlovakia: $246M, 0.4% of importsKazakhstan: $216M, 0.4% of importsBulgaria: $188M, 0.3% of importsFinland: $182M, 0.3% of importsGreece: $176M, 0.3% of importsMalaysia: $173M, 0.3% of importsIreland: $170M, 0.3% of importsThailand: $162M, 0.3% of importsMexico: $161M, 0.3% of importsQatar: $156M, 0.3% of importsSouth Africa: $143M, 0.2% of importsDenmark: $135M, 0.2% of importsTaiwan: $132M, 0.2% of importsIndonesia: $118M, 0.2% of importsNorway: $102M, 0.2% of importsBelarus: $80M, 0.1% of importsSlovenia: $68M, 0.1% of importsBangladesh: $63M, 0.1% of importsLithuania: $63M, 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 2021
PartnerMorocco exports toMorocco imports fromBalance
๐Ÿ‡ช๐Ÿ‡ธ Spain$7.9B$9.2Bโˆ’1.4B
๐Ÿ‡ซ๐Ÿ‡ท France$7.5B$6.2B+1.3B
๐Ÿ‡จ๐Ÿ‡ณ China$362M$6.9Bโˆ’6.5B
๐Ÿ‡บ๐Ÿ‡ธ United States$1.1B$3.7Bโˆ’2.6B
๐Ÿ‡ฎ๐Ÿ‡น Italy$1.6B$3.0Bโˆ’1.4B
๐Ÿ‡น๐Ÿ‡ท Turkiye$797M$3.4Bโˆ’2.6B
๐Ÿ‡ฉ๐Ÿ‡ช Germany$1.1B$2.6Bโˆ’1.5B
๐Ÿ‡ง๐Ÿ‡ท Brazil$2.0B$847M+1.2B
๐Ÿ‡ฎ๐Ÿ‡ณ India$1.8B$1.1B+736M
๐Ÿ‡ท๐Ÿ‡บ Russia$187M$2.0Bโˆ’1.8B
๐Ÿ‡ต๐Ÿ‡น Portugal$512M$1.6Bโˆ’1.1B
๐Ÿ‡ฌ๐Ÿ‡ง United Kingdom$1.2B$728M+467M
๐Ÿ‡ธ๐Ÿ‡ฆ Saudi Arabia$85M$1.8Bโˆ’1.7B
๐Ÿ‡ณ๐Ÿ‡ฑ Netherlands$927M$904M+23M
๐Ÿ‡ง๐Ÿ‡ช Belgium$552M$1.1Bโˆ’503M
๐Ÿ‡ฆ๐Ÿ‡ช United Arab Emirates$132M$1.0Bโˆ’889M
๐Ÿ‡ฆ๐Ÿ‡ท Argentina$304M$830Mโˆ’526M
๐Ÿ‡ต๐Ÿ‡ฑ Poland$351M$691Mโˆ’340M
๐Ÿ‡ท๐Ÿ‡ด Romania$252M$758Mโˆ’506M
๐Ÿ‡ช๐Ÿ‡ฌ Egypt$83M$819Mโˆ’737M
๐Ÿ‡จ๐Ÿ‡ฆ Canada$215M$573Mโˆ’357M
๐Ÿ‡ฉ๐Ÿ‡ฟ Algeria$115M$650Mโˆ’535M
๐Ÿ‡จ๐Ÿ‡ฟ Czechia$156M$516Mโˆ’360M
๐Ÿ‡บ๐Ÿ‡ฆ Ukraine$85M$575Mโˆ’490M
๐Ÿ‡ง๐Ÿ‡ฉ Bangladesh$582M$63M+519M
๐Ÿ‡ฏ๐Ÿ‡ต Japan$194M$434Mโˆ’240M
๐Ÿ‡จ๐Ÿ‡ญ Switzerland$271M$317Mโˆ’46M
๐Ÿ‡ต๐Ÿ‡ฐ Pakistan$543M$43M+500M
๐Ÿ‡ฆ๐Ÿ‡น Austria$194M$287Mโˆ’94M
๐Ÿ‡ธ๐Ÿ‡ช Sweden$131M$345Mโˆ’215M
๐Ÿ‡ฐ๐Ÿ‡ท South Korea$58M$417Mโˆ’359M
๐Ÿ‡ฒ๐Ÿ‡ฝ Mexico$305M$161M+144M
๐Ÿ‡น๐Ÿ‡ณ Tunisia$144M$254Mโˆ’109M
๐Ÿ‡จ๐Ÿ‡ฎ Cote d'Ivoire$358M$27M+331M
๐Ÿ‡ญ๐Ÿ‡บ Hungary$69M$295Mโˆ’226M
๐Ÿ‡ป๐Ÿ‡ณ Vietnam$11M$334Mโˆ’323M
๐Ÿ‡ธ๐Ÿ‡ณ Senegal$310M$16M+294M
๐Ÿ‡ธ๐Ÿ‡ฐ Slovakia$69M$246Mโˆ’177M
๐Ÿ‡ธ๐Ÿ‡ฌ Singapore$156M$149M+7M
๐Ÿ‡น๐Ÿ‡น Trinidad and Tobago$4M$284Mโˆ’280M
๐Ÿ‡ฆ๐Ÿ‡บ Australia$251M$35M+217M
๐Ÿ‡ฎ๐Ÿ‡ช Ireland$96M$170Mโˆ’74M
๐Ÿ‡ฌ๐Ÿ‡ท Greece$87M$176Mโˆ’89M
๐Ÿ‡ฒ๐Ÿ‡ท Mauritania$262M$421,000+261M
๐Ÿ‡ฉ๐Ÿ‡ฏ Djibouti$259Mโ€”+259M
๐Ÿ‡ง๐Ÿ‡ฌ Bulgaria$60M$188Mโˆ’128M
๐Ÿ‡ฐ๐Ÿ‡ฟ Kazakhstan$142,000$216Mโˆ’216M
๐Ÿ‡ฉ๐Ÿ‡ฐ Denmark$77M$135Mโˆ’58M
๐Ÿ‡ซ๐Ÿ‡ฎ Finland$29M$182Mโˆ’153M
๐Ÿ‡ฟ๐Ÿ‡ฆ South Africa$47M$143Mโˆ’97M
๐Ÿ‡ถ๐Ÿ‡ฆ Qatar$30M$156Mโˆ’126M
๐Ÿ‡ฒ๐Ÿ‡พ Malaysia$11M$173Mโˆ’162M
๐Ÿ‡ณ๐Ÿ‡ด Norway$72M$102Mโˆ’29M
๐Ÿ‡น๐Ÿ‡ญ Thailand$9M$162Mโˆ’153M
๐Ÿ‡ฎ๐Ÿ‡ฉ Indonesia$48M$118Mโˆ’71M
๐Ÿ‡ณ๐Ÿ‡ฌ Nigeria$131M$32M+99M
Taiwan$30M$132Mโˆ’102M
๐Ÿ‡ธ๐Ÿ‡ฎ Slovenia$79M$68M+12M
๐Ÿ‡ฌ๐Ÿ‡ญ Ghana$132M$6M+126M
๐Ÿ‡ง๐Ÿ‡ญ Bahrain$3M$131Mโˆ’128M
๐Ÿ‡ง๐Ÿ‡พ Belarus$46M$80Mโˆ’34M
๐Ÿ‡ญ๐Ÿ‡ฐ Hong Kong$97M$20M+78M
๐Ÿ‡ฑ๐Ÿ‡น Lithuania$54M$63Mโˆ’8M
๐Ÿ‡ฒ๐Ÿ‡ฑ Mali$112M$4M+108M
๐Ÿ‡ฑ๐Ÿ‡พ Libya$76M$36M+40M
๐Ÿ‡ณ๐Ÿ‡ฟ New Zealand$75M$37M+38M
๐Ÿ‡ฌ๐Ÿ‡ณ Guinea$97M$6M+91M
๐Ÿ‡จ๐Ÿ‡ฒ Cameroon$98M$5M+93M
๐Ÿ‡น๐Ÿ‡ฌ Togo$53M$46M+8M
๐Ÿ‡ง๐Ÿ‡ฏ Benin$95M$204,000+95M
๐Ÿ‡ต๐Ÿ‡ช Peru$41M$53Mโˆ’12M
๐Ÿ‡ง๐Ÿ‡ซ Burkina Faso$88M$1M+87M
๐Ÿ‡ฌ๐Ÿ‡ฆ Gabon$44M$26M+18M
๐Ÿ‡ฏ๐Ÿ‡ด Jordan$9M$53Mโˆ’45M
๐Ÿ‡ฑ๐Ÿ‡ง Lebanon$42M$20M+21M
๐Ÿ‡ฒ๐Ÿ‡ฟ Mozambique$58M$1M+56M
๐Ÿ‡จ๐Ÿ‡ด Colombia$18M$40Mโˆ’23M
๐Ÿ‡จ๐Ÿ‡ฑ Chile$16M$40Mโˆ’24M
๐Ÿ‡น๐Ÿ‡ฒ Turkmenistan$542,000$51Mโˆ’50M
๐Ÿ‡บ๐Ÿ‡พ Uruguay$45M$5M+40M

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.

$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
Sources2021

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.