World Flows

Trade between Morocco and Spain

In the 12 months to Jul 2026, $12.2 billion of goods went from Morocco to Spain and $14.8 billion from Spain to Morocco, by each exporter's figures to the IMF. That leaves Spain with a surplus of $2.6 billion on goods traded between the two.

Both countries' figures, the 12 months to Jul 2026

Goods goingBy the exporterBy the importerDifferenceExporter's figure, year on year
From Morocco to Spain$12.2 billion$12.2 billion0%+10%
From Spain to Morocco$14.8 billion$16.3 billion+10%+7%

The exporter values goods at its border; the importer adds freight and insurance, so its figure usually runs a few percent higher. Larger gaps come from goods routed through third countries and from timing and classification.

Month by month

Morocco to SpainSpain to Morocco

Goods exports each way as the exporting country reported them, billions of US dollars a month.

What goes each way, by product, 2024

From Morocco to Spain

Product2024ShareOn 2023
Electrical equipment$3.8 billion29%+24%
Clothing, not knitted$2.2 billion17%+32%
Vehicles$1.9 billion14%+45%
Fish and seafood$934 million7%−8%
Clothing, knitted$712 million5%+53%
Fruit and nuts$636 million5%+45%
Vegetables$450 million3%+11%
Furniture$415 million3%+18%
Fertilisers$245 million2%+109%
Rubber$243 million2%+61%

From Spain to Morocco

Product2024ShareOn 2023
Mineral fuels (oil, gas and coal)$2.3 billion16%−15%
Vehicles$1.8 billion13%+53%
Machinery$1.4 billion10%+12%
Electrical equipment$1.4 billion10%+29%
Plastics$791 million6%+25%
Copper$718 million5%+67%
Iron and steel$512 million4%+24%
Iron and steel products$338 million2%+10%
Live animals$300 million2%+47%
Fats and oils$281 million2%−12%

The ten largest HS chapters each way, from CEPII's BACI, which reconciles the two countries' declarations into one figure a flow. It is yearly, so its totals differ a little from the IMF's monthly figures above.

Questions

How much does Morocco export to Spain?
In the 12 months to Jul 2026, Morocco reported $12.2 billion of goods exports to Spain, and Spain reported $12.2 billion of imports from Morocco. By Morocco's figures that is +10% on the 12 months before.
How much does Spain export to Morocco?
In the 12 months to Jul 2026, Spain reported $14.8 billion of goods exports to Morocco, and Morocco reported $16.3 billion of imports from Spain. By Spain's figures that is +7% on the 12 months before.
What does Morocco export to Spain?
Mostly electrical equipment ($3.8 billion, 29%), clothing, not knitted ($2.2 billion, 17%), vehicles ($1.9 billion, 14%) in 2024, by HS chapter, from CEPII's BACI.
What does Spain export to Morocco?
Mostly mineral fuels (oil, gas and coal) ($2.3 billion, 16%), vehicles ($1.8 billion, 13%), machinery ($1.4 billion, 10%) in 2024, by HS chapter, from CEPII's BACI.
Who has the trade surplus, Morocco or Spain?
Spain: $2.6 billion in the 12 months to Jul 2026, by each exporter's figures.
Why do Morocco's and Spain's figures differ?
Every shipment is counted twice, once by each country. The exporter values it at its border, the importer adds freight and insurance; goods routed through a third country (a port or a trading hub) are often recorded against that country by one side; and the two count at different moments and classify some goods differently. Both figures are shown as reported.

Each country's trade with the world

Source: International Monetary Fund, International Trade in Goods (by partner country) (IMTS), Aug 2025 to Jul 2026. Figures in US dollars, as reported; the IMF estimates some from partners' figures. By product: CEPII, BACI (Gaulier and Zignago, 2010), version 202601.