World Flows

Trade between Germany and Morocco

In the 12 months to Jul 2026, $4.5 billion of goods went from Germany to Morocco and $4.9 billion from Morocco to Germany, by each exporter's figures to the IMF. That leaves Morocco with a surplus of $334 million 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 Germany to Morocco$4.5 billion$6.0 billion+32%+13%
From Morocco to Germany$4.9 billion$1.9 billion−61%−12%

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

Germany to MoroccoMorocco to Germany

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

What goes each way, by product, 2024

From Germany to Morocco

Product2024ShareOn 2023
Electrical equipment$936 million20%+50%
Vehicles$871 million19%+35%
Machinery$689 million15%+69%
Plastics$360 million8%+37%
Cereals$236 million5%−46%
Optical, medical and measuring instruments$197 million4%+13%
Pharmaceutical products$145 million3%+25%
Paper and paperboard$78.9 million2%+3%
Impregnated, coated, covered or laminated textile fabrics$61.1 million1%+33%
Chemical products$56.0 million1%+10%

From Morocco to Germany

Product2024ShareOn 2023
Electrical equipment$1.3 billion32%+64%
Vehicles$944 million24%+103%
Clothing, not knitted$342 million9%+5%
Fruit and nuts$332 million8%+36%
Clothing, knitted$238 million6%+18%
Vegetables$208 million5%−24%
Footwear$166 million4%+21%
Ores$112 million3%+103%
Fertilisers$75.3 million2%+73%
Rubber$41.5 million1%+32%

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 Germany export to Morocco?
In the 12 months to Jul 2026, Germany reported $4.5 billion of goods exports to Morocco, and Morocco reported $6.0 billion of imports from Germany. By Germany's figures that is +13% on the 12 months before.
How much does Morocco export to Germany?
In the 12 months to Jul 2026, Morocco reported $4.9 billion of goods exports to Germany, and Germany reported $1.9 billion of imports from Morocco. By Morocco's figures that is −12% on the 12 months before.
What does Germany export to Morocco?
Mostly electrical equipment ($936 million, 20%), vehicles ($871 million, 19%), machinery ($689 million, 15%) in 2024, by HS chapter, from CEPII's BACI.
What does Morocco export to Germany?
Mostly electrical equipment ($1.3 billion, 32%), vehicles ($944 million, 24%), clothing, not knitted ($342 million, 9%) in 2024, by HS chapter, from CEPII's BACI.
Who has the trade surplus, Germany or Morocco?
Morocco: $334 million in the 12 months to Jul 2026, by each exporter's figures.
Why do Germany's and Morocco'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.