Commodity Origins

What does Morocco sell and buy?

Morocco's largest tracked commodity export in 2024 was tomatoes, $1.5 billion, 24% of its exports of the 98 commodities on this site; it ranked 3rd among exporters of it. Its largest import was natural gas, $2.2 billion, 20% of its tracked imports. Together the tracked commodities came to $6.5 billion of exports and $11 billion of imports, a deficit of $4.8 billion.

What Morocco produces and ranks in · What feeds Morocco · All trade profiles · JSON

Exports

Morocco's largest tracked commodity exports, 2024
CommodityValue, 2024Share of tracked exportsWorld rankShare of world exports1995 valueChange
Tomatoes$1.5 billion24%313%$160 million9.6×
Phosphate fertilizers$1.4 billion22%141%$243 million5.8×
Phosphate rock$1.3 billion20%125%$358 million3.6×
Sugar$733 million11%81.8%under $1 million—
Avocados$310 million4.8%83.2%——
Fishmeal$199 million3.1%172.1%$8 million26×
Copper$161 million2.5%340.1%$42 million3.8×
Barite$143 million2.2%315%$17 million8.2×
Silver$139 million2.1%300.5%$43 million3.2×
Olive oil$81 million1.3%110.5%$16 million5.1×
Aluminum$65 million1.0%600.1%——
Plywood$63 million1.0%310.4%$20 million3.1×

83 of the 98 tracked commodities have exports; the top three are 66% of the total. Concentration (Herfindahl-Hirschman index of tracked exports, 0 to 10,000, where 10,000 would be one commodity): 1,621.

Imports

Morocco's largest tracked commodity imports, 2024
CommodityValue, 2024Share of tracked importsWorld rankShare of world imports1995 valueChange
Natural gas$2.2 billion20%300.5%$148 million15×
Wheat$1.7 billion15%93.0%$480 million3.6×
Coal$1.7 billion15%140.9%$143 million12×
Sugar$1.2 billion10%72.8%$139 million8.5×
Aluminum$762 million6.8%241.0%$9 million84×
Corn$600 million5.3%211.3%$82 million7.4×
Sawnwood$329 million2.9%210.9%$160 million2.1×
Barley$251 million2.2%92.8%$62 million4.1×
Dates$247 million2.2%210%$1 million—
Tea$241 million2.1%73.2%$84 million2.9×
Coffee$225 million2.0%280.7%$59 million3.8×
Potash$205 million1.8%141.0%$14 million15×

91 of the 98 tracked commodities have imports; the top three are 50% of the total.

The whole of Morocco's goods trade

The commodities above are only part of what Morocco trades. In 2024 its goods exports were $68 billion and its imports $88 billion in 96 product chapters. The 98 commodities on this site made up 9.6% of the exports and 13% of the imports. The largest export chapter was electrical machinery and equipment and parts thereof (19% of exports, 33rd among exporters of that chapter) and the largest import chapter mineral fuels, mineral oils and products of their distillation (13% of imports).

Morocco's largest goods exports by HS chapter, 2024
Export chapter (HS)Value, 2024Share of exportsWorld rankShare of world trade in the chapter
85: Electrical machinery and equipment and parts thereof; sound recorders and reproducers; television image and sound recorders and reproducers, parts and accessories of such articles$13 billion19%330.4%
87: Vehicles; other than railway or tramway rolling stock, and parts and accessories thereof$12 billion18%260.7%
31: Fertilizers$9.4 billion14%39.7%
62: Apparel and clothing accessories; not knitted or crocheted$5.4 billion7.9%112.3%
88: Aircraft, spacecraft, and parts thereof$3.0 billion4.4%121.2%
08: Fruit and nuts, edible; peel of citrus fruit or melons$2.9 billion4.4%171.8%
07: Vegetables and certain roots and tubers; edible$2.7 billion4.0%92.7%
28: Inorganic chemicals; organic and inorganic compounds of precious metals; of rare earth metals, of radio-active elements and of isotopes$2.4 billion3.5%201.3%
61: Apparel and clothing accessories; knitted or crocheted$2.1 billion3.0%180.8%
25: Salt; sulphur; earths, stone; plastering materials, lime and cement$1.9 billion2.8%82.9%
Morocco's largest goods imports by HS chapter, 2024
Import chapter (HS)Value, 2024Share of importsWorld rankShare of world trade in the chapter
27: Mineral fuels, mineral oils and products of their distillation; bituminous substances; mineral waxes$11 billion13%420.4%
85: Electrical machinery and equipment and parts thereof; sound recorders and reproducers; television image and sound recorders and reproducers, parts and accessories of such articles$10 billion12%420.3%
87: Vehicles; other than railway or tramway rolling stock, and parts and accessories thereof$8.9 billion10%360.5%
84: Machinery and mechanical appliances, boilers, nuclear reactors; parts thereof$8.9 billion10%470.3%
39: Plastics and articles thereof$4.1 billion4.7%400.6%
10: Cereals$2.6 billion3.0%181.6%
72: Iron and steel$2.5 billion2.8%400.5%
28: Inorganic chemicals; organic and inorganic compounds of precious metals; of rare earth metals, of radio-active elements and of isotopes$2.3 billion2.6%261.2%
88: Aircraft, spacecraft, and parts thereof$2.2 billion2.5%270.8%
73: Iron or steel articles$1.8 billion2.0%460.5%

Goods only, no services. CEPII BACI, all products (HS 2022), current US dollars; chapter names from the UN Comtrade HS classification. World rank is by import value for the import table. The tracked share is the profile's own total over the all-products total for the same year; it is left out where the two disagree.

Net position by commodity

Exports minus imports of the same commodity in 2024. Morocco is a net seller of tomatoes ($1.5 billion), phosphate fertilizers ($1.4 billion), phosphate rock ($1.3 billion), avocados ($303 million), fishmeal ($198 million). It is a net buyer of natural gas ($2.2 billion), wheat ($1.7 billion), coal ($1.7 billion), aluminum ($698 million), corn ($600 million).

Who Morocco trades with

The three largest destinations of each leading export and the three largest origins of each leading import, by value, 2024. Shares are of Morocco's own exports or imports of that commodity.

Largest trade partners by leading commodity, 2024
FlowCommodityLargest partners
Sells toTomatoesFrance (56%); United Kingdom (14%); Netherlands (8.3%)
Sells toPhosphate fertilizersBangladesh (31%); Brazil (28%); India (12%)
Sells toPhosphate rockIndia (33%); Turkey (Türkiye) (12%); Mexico (12%)
Sells toSugarTurkey (Türkiye) (27%); Lebanon (12%); Ghana (7.6%)
Sells toAvocadosSpain (33%); France (20%); Netherlands (17%)
Sells toFishmealTurkey (Türkiye) (53%); Spain (14%); Greece (14%)
Buys fromNatural gasUnited States (56%); Spain (28%); United Kingdom (4.4%)
Buys fromWheatFrance (32%); Canada (23%); Russia (18%)
Buys fromCoalUnited States (79%); South Africa (9.8%); Kazakhstan (5.9%)
Buys fromSugarBrazil (100%); France (0.2%); Egypt (0.1%)
Buys fromAluminumUnited Arab Emirates (45%); Bahrain (17%); Qatar (15%)
Buys fromCornBrazil (48%); Argentina (34%); United States (9.7%)

Tracked exports and imports since 1995

$0.0bn$2.0bn$4.0bn$6.0bn$8.0bn$10bn$12bn199520002005201020152020
ExportsImports

Current US dollars, so the lines include inflation and price changes as well as volume. Years with fewer than five tracked commodities are left out.

CEPII BACI, primary customs line of each commodity, current US dollars. Only the 98 commodities on this site whose customs line is comparable across HS revisions are counted, so these are tracked-commodity totals, not Morocco's whole trade. Flows are BACI's reconciled records of what one country shipped to another. Values come from the long series on the HS 1992 coding, so a figure can differ by a few percent from the same flow on a commodity page, which uses the current coding; a change since the first year is shown only where the first-year value was at least $5 million. Cite as: Commodity Origins, "Morocco: what it sells and buys", https://commodityorigins.com/trade-profiles/MAR/ (CC BY 4.0).