The Ceuta crisis has reopened a strategic question Madrid has long preferred to leave unanswered: whether NATO, the European Union and Washington would stand firmly behind Spain if Morocco intensified its challenge to the two North African cities.

The sudden migration emergency in Ceuta has done more than overwhelm reception facilities and expose weaknesses along Europe’s southern frontier. It has revived a deeper Spanish anxiety surrounding Ceuta and Melilla: two small but strategically important cities on the North African coast whose security depends not only on fences, patrols and military units, but also on the willingness of Spain’s allies to treat them as unquestionably Spanish territory.
Tens of thousands of people crossed or attempted to cross from Morocco into Ceuta in late July, many entering through the sea after online rumours suggested that reaching the city would prevent their immediate return. Spanish authorities deployed additional soldiers and police, while rapidly changing official estimates reflected the scale and confusion of the emergency. Madrid subsequently said that most of those who entered had returned to Morocco, although the episode left dozens dead and hundreds of unaccompanied minors requiring protection.
The incident was not an armed attack, and no public evidence indicates that Morocco is preparing a military operation against either city. Nevertheless, the collapse of border controls demonstrated how quickly events originating on the Moroccan side could destabilize Spanish territory. Spanish intelligence assessments reported by El País concluded that Rabat had not planned the mass movement but had tolerated it and later sought to exploit it politically. Moroccan officials rejected suggestions of orchestration, attributing the crisis to criminal groups, social-media misinformation and changes in Spanish deportation procedures.
For Madrid, the distinction between organising a crisis and permitting one may offer little comfort. Morocco controls the territory surrounding both cities and plays a central role in restricting migration towards Spain. Whenever bilateral relations deteriorate, that dependence gives Rabat considerable leverage.
The precedent is well established. During a diplomatic confrontation in 2021, Moroccan border enforcement was relaxed after Spain admitted Brahim Ghali, the leader of the Western Sahara independence movement, for medical treatment. Thousands of people subsequently entered Ceuta over two days. Spain later moved closer to Morocco’s autonomy proposal for Western Sahara, helping restore cooperation, but the relationship remained structurally unequal: Madrid required Moroccan assistance on migration, security and trade, while Rabat retained multiple ways of applying pressure.
Spain considers Ceuta and Melilla integral parts of the country, with the same constitutional status as its other autonomous cities. Morocco regards them as remnants of European colonialism and maintains a longstanding claim over both territories. Ceuta has been under Iberian rule since the 15th century and became Spanish in the 17th century, while Melilla was taken by Spain in 1497. Their residents are Spanish citizens, and both cities form part of the European Union, even though they operate under special customs and border arrangements.
The most uncomfortable uncertainty concerns NATO.
Article 5 of the North Atlantic Treaty establishes that an armed attack against one ally should be treated as an attack against all. Article 6, however, defines the treaty’s geographical area primarily as member-state territory in Europe or North America, Turkey and islands in the North Atlantic north of the Tropic of Cancer. Because Ceuta and Melilla lie on the African mainland, they are not expressly included in that definition.
NATO has deliberately avoided giving Madrid an unequivocal territorial guarantee. At the alliance’s 2022 summit, then-Secretary General Jens Stoltenberg said NATO existed to protect every ally against threats, including in relation to Ceuta and Melilla. He also stressed that invoking Article 5 would ultimately require a political decision by member states. That formulation offered reassurance without resolving the legal ambiguity.
In practice, NATO members would be unlikely to ignore a direct military attack on Spain. The alliance could convene consultations, provide intelligence and offer bilateral assistance even before formally invoking collective defence. Yet ambiguity matters because deterrence is strongest when a potential challenger knows in advance that aggression will produce a unified response. A guarantee dependent on political negotiations after a crisis has begun is inherently weaker than one written clearly into defence planning.
The European Union provides Spain with a potentially broader legal safeguard. Article 42.7 of the Treaty on European Union obliges member states to provide aid and assistance when another member is subjected to armed aggression on its territory. Unlike NATO’s Article 6, the EU provision contains no comparable geographical restriction excluding continental Africa. Ceuta and Melilla would therefore appear to fall within its scope.
But the EU is not a unified military alliance. Its treaty does not specify the forces, command arrangements or operational response each country must provide. Several European states would probably support Spain diplomatically and materially, but the speed and scale of that support would depend on national governments, the character of the confrontation and whether Morocco employed conventional force or more ambiguous methods involving migration, protests, economic pressure, cyber operations or local disorder.
Madrid’s concern has been sharpened by developments in Washington. A report prepared by the US House Appropriations Committee for a 2027 spending bill described Ceuta and Melilla as Spanish-administered cities “located in Moroccan territory” and encouraged diplomatic engagement over their future status. The committee language is not binding law and does not by itself constitute a formal change in US policy, but its wording represented a striking departure from the language Spain would expect from its principal NATO ally.
The passage also reflected Morocco’s growing strategic value to the United States. Rabat is a significant security partner, purchases American military equipment and occupies an important position in Washington’s policies towards North Africa, the Middle East and the Atlantic. Spain remains a close US ally and hosts important American military facilities, but Madrid can no longer assume that every branch of the US political system will automatically endorse its territorial position.
That does not mean Morocco is preparing to seize the cities. An armed operation would carry enormous diplomatic, economic and military risks for Rabat and could destroy its relations with the European Union. Spain also maintains security forces in both territories and possesses considerably greater conventional military capabilities.
The more plausible danger is continued pressure below the threshold of war. Migration flows can be relaxed, customs arrangements interrupted, economic activity diverted to Moroccan ports and industrial zones, and sovereignty claims amplified internationally. Each measure can weaken the cities or test Spanish resolve without triggering a clear collective-defence response.
Europe’s reaction to the latest crisis has offered Madrid some reassurance. EU interior ministers publicly supported Spain and discussed stronger intelligence cooperation, border protection and action against smuggling and disinformation networks. But the initial divisions among European governments also demonstrated that solidarity cannot always be assumed, even when an external EU border is placed under extraordinary strain.
Spain’s challenge is therefore not simply to defend Ceuta and Melilla against an improbable invasion. It is to ensure that gradual political, economic or demographic pressure cannot create doubts about their future.
For Madrid, the most effective answer would be a clearer European defence commitment, more explicit NATO contingency planning and sustained investment in the two cities. Until those guarantees become more concrete, Ceuta and Melilla will remain Spanish territory protected by capable national forces—but surrounded by strategic uncertainty.




