Morocco’s economy is buying far more than it sells. The country’s goods trade deficit widened 25.4% to 323.9 billion dirhams (about $34 billion) in the first nine months of 2026, according to the Office des Changes, the exchange office (Challenge).
Imports climbed about 17% to roughly 708 billion dirhams, while exports grew 10.7% to 384 billion. That means Moroccan exports now cover only around 54% of the import bill.
An energy bill and an investment boom
Two forces drive the gap. The first is energy: Morocco imports almost all of its fuel, and its energy bill jumped 37% to 111.6 billion dirhams, pushed up by higher oil and gas prices since the war in Iran.
The second is more encouraging. Imports of finished capital goods rose 22% to 173.4 billion dirhams. That money is going into machines, factories, rail and stadium projects ahead of the 2030 World Cup, as well as new industrial plants. Capital-goods imports usually come back later as exports.
Where exports are growing
- Aerospace: 26.2 billion dirhams, +22.3%
- Automotive: 132.1 billion dirhams, +14.3%
- Agriculture and agri-food: 72.4 billion dirhams, +10.7%
- Phosphates and derivatives: 74.7 billion dirhams, flat (+0.2%)
- Textiles and leather: 32.2 billion dirhams, −5%
The weakness is phosphates. The kingdom holds most of the world’s known reserves, and phosphates and derivatives earn around a fifth of export revenue, but sales have stalled this year. Textiles, an older labour-intensive industry that sells mainly to Spain and France, keep losing ground to Asian competitors.
Why it is not a crisis
A goods deficit of this size would worry markets in many emerging economies. Morocco has three cushions. Services are strongly in surplus, led by tourism, which brought in a record 115 billion dirhams of travel receipts by the end of September. Remittances from Moroccans abroad stay large. And foreign direct investment is rising quickly, with net inflows up 58.4% by the end of September.
Shipping lines are betting on volume
Global carriers are responding to the rising flows. In October, Maersk said it had raised the capacity it allocates to Casablanca by 48%. It also restructured its operations there and stretched its scheduling buffer from 15 hours to 15 days to absorb congestion (CNBC Arabia). Casablanca handles about 35% of Morocco’s port traffic. The Danish group is also moving cargo into the city by rail from Tanger Med to get around congestion (Container News).
What to watch
For exporters selling into Morocco, a strong import appetite is good news: demand for European machinery, vehicles and equipment is clearly robust. For investors in the dirham and Moroccan debt, the key questions are whether energy prices ease in 2027 and whether this year’s investment wave turns into new export capacity. If both happen, today’s deficit will look like the cost of growth rather than a warning sign.
