Morocco (MAR) Annual exports and imports in 2024 (USD).
Source: UN Comtrade. Warehouse 1: partner = World totals by HS4 and year.
Loading partners sankey...
Loading composition sunburst...
Morocco - trade dependency by partner, 2024 (USD) Share of exports, imports, and total trade attributed to each partner.
Year: 2024 | Unit: USD | Snapshot: 20251222 | Source: UN Comtrade
Share
Year 2024 Sort Total dependency Export dependency Import dependency Top 10 25 50 Search
Showing top 10 partners by total dependency.
Rank Partner Export dependency Import dependency Total dependency 1 Spain (ESP) 22.6%
$18.21B
16.7%
$16.41B
19.4%
$34.62B
2 France (FRA) 19.7%
$15.84B
10.5%
$10.32B
14.7%
$26.16B
3 USA (USA) 3.0%
$2.42B
8.9%
$8.76B
6.3%
$11.18B
4 China (CHN) 0.7%
$541.67M
10.7%
$10.45B
6.2%
$10.99B
5 Germany (DEU) 5.5%
$4.40B
5.4%
$5.27B
5.4%
$9.67B
6 Italy (ITA) 5.2%
$4.23B
4.5%
$4.44B
4.9%
$8.67B
7 Türkiye (TUR) 2.6%
$2.10B
4.8%
$4.72B
3.8%
$6.82B
8 United Kingdom (GBR) 4.4%
$3.53B
1.2%
$1.16B
2.6%
$4.70B
9 Brazil (BRA) 3.3%
$2.62B
2.0%
$1.97B
2.6%
$4.60B
10 India (IND) 3.3%
$2.69B
1.7%
$1.70B
2.5%
$4.39B
Generated by TradeVedia.com Source: UN Comtrade
Morocco's total international trade in 2024 was $178.5B, with exports of $80.6B and imports of $98.0B. The country ranked 40th for exports and 38th for imports globally in 2024. The top export destination was Spain, accounting for 22.6% of all exports with a value of $18.2B. Spain was also the largest source of imports, providing $16.4B (16.7%) of total imports. Top exports included Vehicles (HS2 87) at $16.4B and Electrical machinery (HS2 85) at $16.1B. Key imports were Electrical machinery (HS2 85) valued at $11.9B and Mineral fuels (HS2 27) at $11.6B. Morocco's Trade Performance in 2024 In 2024, Morocco was the world's 39th largest trading nation with a total trade volume of $178.5B. The country's exports were valued at $80.6B (ranking 40th) and its imports at $98.0B (ranking 38th), leading to a trade deficit of -$17.4B. The country's primary trading partners for both exports and imports are European nations.
Top Export and Import Partners Morocco's trade is concentrated with a few key partners. Spain is the top destination for exports, receiving $18.2B (22.6%), followed by France with $15.8B (19.7%). On the import side, Spain is also the leading partner, supplying $16.4B (16.7%) of goods, with China providing $10.4B (10.7%) and France $10.3B (10.5%).
Key Traded Products The country's leading export is Vehicles (HS2 87), which generated $16.4B in revenue, representing 20.3% of total exports. This is followed by Electrical machinery and equipment (HS2 85) at $16.1B and Fertilizers (HS2 31) at $12.6B. The most significant imports are Electrical machinery and equipment (HS2 85) at $11.9B, and Mineral fuels (HS2 27), which accounted for $11.6B of the import value.
Exports Morocco - exports over time (Exports), 2015-2024 (USD) Annual reported export values across available years.
Flow: Exports | Years: 2015-2024 | Unit: USD | Source: UN Comtrade
Share
Generated by TradeVedia.com Source: UN Comtrade
Top export categories Largest HS2 categories by export value in the selected year.
Rank Category Value Share 1 Vehicles; other than railway or tramway rolling stock, and parts and accessories thereof $16.39B 20.3% 2 Electrical machinery and equipment and parts thereof; sound recorders and reproducers; television image and sound recorders and reproducers, parts and accessories of such articles $16.08B 20.0% 3 Fertilizers $12.64B 15.7% 4 Apparel and clothing accessories; not knitted or crocheted $5.92B 7.4% 5 Aircraft, spacecraft, and parts thereof $3.24B 4.0% 6 Inorganic chemicals; organic and inorganic compounds of precious metals; of rare earth metals, of radio-active elements and of isotopes $3.08B 3.8% 7 Vegetables and certain roots and tubers; edible $2.13B 2.6% 8 Fruit and nuts, edible; peel of citrus fruit or melons $2.13B 2.6% 9 Apparel and clothing accessories; knitted or crocheted $1.82B 2.3% 10 Fish and crustaceans, molluscs and other aquatic invertebrates $1.79B 2.2% 11 Meat, fish, crustaceans, molluscs or other aquatic invertebrates, or insects; preparations thereof $1.43B 1.8% 12 Salt; sulphur; earths, stone; plastering materials, lime and cement $1.23B 1.5% 13 Furniture; bedding, mattresses, mattress supports, cushions and similar stuffed furnishings; lamps and lighting fittings, n.e.c.; illuminated signs, illuminated name-plates and the like; prefabricated buildings $1.19B 1.5% 14 Sugars and sugar confectionery $924.27M 1.1% 15 Machinery and mechanical appliances, boilers, nuclear reactors; parts thereof $861.45M 1.1%
Labels hide HS codes by default — hover a category to reveal the code.
Morocco - export composition by product categories (Exports), 2024 (USD) Largest product categories by export value in the selected year.
Flow: Exports | Year: 2024 | Unit: USD | Source: UN Comtrade
Share
Generated by TradeVedia.com Source: UN Comtrade
Morocco - export composition by 4-digit product groups (Exports), 2024 (USD) Area reflects share within the displayed list; hover for product codes.
Flow: Exports | Year: 2024 | Unit: USD | Source: UN Comtrade
Share
Generated by TradeVedia.com Source: UN Comtrade
Imports Morocco - imports over time (Imports), 2015-2024 (USD) Annual reported import values across available years.
Flow: Imports | Years: 2015-2024 | Unit: USD | Source: UN Comtrade
Share
Generated by TradeVedia.com Source: UN Comtrade
Top import categories Largest HS2 categories by import value in the selected year.
Rank Category Value Share 1 Electrical machinery and equipment and parts thereof; sound recorders and reproducers; television image and sound recorders and reproducers, parts and accessories of such articles $11.88B 12.1% 2 Mineral fuels, mineral oils and products of their distillation; bituminous substances; mineral waxes $11.58B 11.8% 3 Vehicles; other than railway or tramway rolling stock, and parts and accessories thereof $10.52B 10.7% 4 Machinery and mechanical appliances, boilers, nuclear reactors; parts thereof $9.42B 9.6% 5 Plastics and articles thereof $4.38B 4.5% 6 Aircraft, spacecraft, and parts thereof $3.00B 3.1% 7 Cereals $2.80B 2.9% 8 Inorganic chemicals; organic and inorganic compounds of precious metals; of rare earth metals, of radio-active elements and of isotopes $2.60B 2.7% 9 Iron and steel $2.46B 2.5% 10 Copper and articles thereof $1.95B 2.0% 11 Salt; sulphur; earths, stone; plastering materials, lime and cement $1.93B 2.0% 12 Iron or steel articles $1.92B 2.0% 13 Man-made staple fibres $1.90B 1.9% 14 Aluminium and articles thereof $1.59B 1.6% 15 Sugars and sugar confectionery $1.46B 1.5%
Labels hide HS codes by default — hover a category to reveal the code.
Morocco - import composition by product categories (Imports), 2024 (USD) Largest product categories by import value in the selected year.
Flow: Imports | Year: 2024 | Unit: USD | Source: UN Comtrade
Share
Generated by TradeVedia.com Source: UN Comtrade
Morocco - import composition by 4-digit product groups (Imports), 2024 (USD) Area reflects share within the displayed list; hover for product codes.
Flow: Imports | Year: 2024 | Unit: USD | Source: UN Comtrade
Share
Generated by TradeVedia.com Source: UN Comtrade