Spain-Morocco: A New Era for Western Med in 2026

Listen to this article · 7 min listen
Opinion: Let’s be clear, Spain and Morocco are forging a new partnership that’s changing the power map of the Western Mediterranean. Their long, tangled history of fighting and cooperating is being replaced by a practical alliance that means better-managed borders and real economic opportunities, but only if the leaders in Madrid and Rabat stick to the diplomatic path they’ve laid out since 2022.

Key Takeaways

  • Following a major diplomatic reset in 2022, Spain and Morocco are now collaborating on concrete issues like migration and energy, shelving old arguments over territory.
  • Jointly managing migration and sharing intelligence to stop terrorism are the bedrock of this relationship, giving Spain a more secure southern border and a key ally against Sahel-based threats.
  • Future growth and stability depend on joint economic projects, specifically in renewable energy and infrastructure, which promise to create jobs and secure energy supplies for both countries.
  • Spain’s 2022 endorsement of Morocco’s autonomy plan for Western Sahara was the turning point that rebuilt trust and allowed for everything else, from reopening borders to new investment.
  • This partnership will only last if high-level talks continue and both governments actually implement what they agree on, especially when the next inevitable challenge arises.

The relationship between Spain and Morocco has always been a complicated affair, shaped by their proximity, shared history, and often conflicting goals. For decades, the default setting was one crisis after another over everything from tiny islands to migration flows and questions of sovereignty. But I’d argue the diplomatic shift that began in 2022 has truly changed the game, creating a more predictable and beneficial partnership for both nations and the entire region. This is a strategic recalibration, forced by new geopolitical pressures and a shared need for economic growth.

A New Diplomatic Epoch: Beyond Historical Friction

The past between Spain and Morocco is heavy, defined by everything from the Moorish presence in Spain to Spanish colonial ventures in Morocco and the still-unsettled status of Ceuta and Melilla. This baggage frequently caused diplomatic meltdowns. Just think of the Perejil Island crisis in 2002, which showed how a dispute over a barren rock could nearly spiral into a real conflict. For years, it felt more like a rivalry than a partnership. That all changed in March 2022, when Spain’s government declared Morocco’s autonomy plan for Western Sahara the “most serious, realistic and credible basis” for ending that conflict. This was a deep diplomatic pivot, aligning Spain with the United States and other major powers on a core issue for Morocco. A report from the European Council on Foreign Relations noted this move “cleared the path for a new era of cooperation,” which in practical terms meant high-level meetings resumed, borders reopened, and you could feel the trust between the two governments increase almost overnight. The decision was controversial inside Spain, of course, but it was also a pragmatic choice. A stable, cooperative Morocco is essential to Spain’s strategic interests. A hostile Morocco presents unacceptable risks on migration and security with zero upside.

Shared Challenges, Collaborative Solutions: Migration and Security

Migration and security are the two issues where this new cooperation is most visible and most necessary. Morocco is the main gatekeeper for migrants trying to reach Europe through Spain, and managing that flow is impossible without close coordination. Before 2022, whenever a diplomatic fight broke out, Morocco’s enforcement would often slacken, leading directly to spikes in arrivals at Spain’s southern coast and in the Canary Islands. The tragic deaths at the Melilla border fence in June 2022 were a horrific reminder of the need for a coordinated, humane approach. Since the diplomatic reset, cooperation has ramped up considerably. You hear Spanish Interior Minister Fernando Grande-Marlaska constantly praising the “exemplary cooperation” with his Moroccan counterparts, and this translates into real-world action: joint maritime patrols, better intelligence sharing to break up smuggling rings, and more effective border protocols. Morocco’s work on counter-terrorism is just as important. The country is very effective at dismantling terrorist cells and provides critical intelligence to Spain about threats coming out of the Sahel. This collaboration is a strategic necessity. Frankly, neither country can handle these threats alone.

Economic Interdependence and Future Growth Vectors

The real glue holding this diplomatic opening together is economics. Spain is already one of Morocco’s biggest trading partners. In 2023, Spanish exports to Morocco hit nearly 12 billion euros, and imports were over 8 billion euros, and those numbers keep climbing. This relationship has expanded beyond just trading goods and into deep investment and strategic partnerships. The new focus is on high-growth sectors, and Spanish companies are piling into Morocco’s renewable energy market. Morocco wants to be a green hydrogen powerhouse, and Spain, with its own advanced energy sector, is the perfect partner for building out the wind and solar farms needed to do it. Ambitious ideas like the fixed tunnel link across the Strait of Gibraltar, while still a long way off, show how deeply the two economies are planning to integrate. Some critics claim Spain is putting geopolitics ahead of its economic interests, but the two are completely intertwined. A prosperous and stable Morocco is a huge market for Spanish companies and a reliable partner that helps create jobs on both sides of the Strait. To think the economic upside is just a happy accident is to misunderstand the entire strategy. When Spanish and Moroccan businesses are making money together, as the reported 15% jump in bilateral investment in 2024 suggests, they create a powerful lobby for continued political stability. That’s the feedback loop. The course of Spain-Morocco relations has clearly turned toward deeper cooperation. This shift, pushed by pragmatic leaders who see their shared interests, is already delivering more regional stability, better management of the migration challenge, and real economic gains. To make it stick, the high-level meetings have to continue and the agreements made in those rooms have to be implemented on the ground, especially when the next crisis hits.

What was the key moment that reshaped Spain-Morocco relations in recent years?

In March 2022, Spain officially endorsed Morocco’s autonomy plan for Western Sahara as the “most serious, realistic and credible basis” to end the conflict, which immediately thawed relations and led to a new era of cooperation.

How has cooperation on migration changed between Spain and Morocco?

Since the 2022 diplomatic reset, the two countries have intensified their work together through increased intelligence sharing, joint patrols, and stronger border management to reduce irregular migration flows.

What are the key economic sectors driving future collaboration between Spain and Morocco?

The primary sectors are renewable energy, especially green hydrogen production where Spanish firms are heavily involved, and large-scale infrastructure projects, building on their already strong trade relationship.

What role does Morocco play in regional security for Spain and Europe?

Morocco is a key security partner for Spain, actively working to dismantle extremist cells and sharing critical intelligence on terrorist threats, particularly those originating from the Sahel region.

What are the main challenges that could impact the long-term stability of Spain-Morocco relations?

Lasting stability will depend on managing future migration surges effectively, avoiding any new diplomatic flare-ups over territories like Ceuta and Melilla, and maintaining the political will in both governments to stay engaged.

Editorial Team

The Editorial Team at InfoStream Global is a group of writers and editors who cover the stories shaping their industry. They research each story and publish under a shared desk byline — experts in their fields, working as one team.