Ceuta is an autonomous Spanish city on the North African coast. It is part of Spain because centuries of Portuguese and Spanish rule left the city with the Spanish crown, and modern Spanish law treats it as an integral part of the country.
On a map, that answer can look strange. Ceuta sits on the African side of the Strait of Gibraltar, across the water from southern Spain. Its only land neighbor is Morocco. A person can therefore move from Morocco into Spain without crossing to the European continent.
That geography became international news on July 30, 2026, when thousands of people crossed from Morocco into Ceuta around the breakwaters at Tarajal beach. The event was not a crossing into a Spanish colony somewhere outside the country. It was a crossing over Spain’s border into one of its two autonomous cities in North Africa.
Portugal captured Ceuta, and a treaty left it with Spain
Ceuta has changed rulers many times because its harbor guards the meeting point of the Atlantic and Mediterranean. The part of the story that explains its present status begins in 1415, when Portugal captured the city.
The date is important because Ceuta did not become Spanish during the nineteenth- or twentieth-century European scramble for colonies in Africa. Portuguese control began more than four centuries before Morocco gained independence from French and Spanish protectorates in 1956.
Portugal and Spain came under the same monarch in 1580. This arrangement, known as the Iberian Union, joined the crowns but did not erase the two kingdoms or their separate institutions. When Portugal restored its own monarchy in 1640, Ceuta did not follow it. The city remained loyal to the Spanish crown.
The separation was formally settled in the 1668 peace treaty between Portugal and Spain. The treaty required the return of occupied places but made an explicit exception for Ceuta, which remained in Spanish possession.
That sequence gives the short historical answer: Portugal took Ceuta, the city stayed with the Spanish side when the shared monarchy ended, and Portugal recognized that outcome.
Ceuta is an autonomous city, not an overseas dependency
Ceuta’s present legal status is closer to a Spanish region or municipality with special self-government than to an overseas colony. Its 1995 Statute of Autonomy calls the city an integral part of the Spanish nation and gives it autonomy to manage local interests.
The statute defines Ceuta’s territory through its existing municipal boundary. Its institutions manage the local responsibilities assigned by the statute, while Ceuta remains within Spain’s constitutional system. Spain therefore does not administer it under a separate overseas-territory category.
Morocco rejects Spain’s position and claims Ceuta, Melilla and several smaller Spanish-held places along the North African coast. Spain does not accept that Ceuta is a colony awaiting decolonization or that its sovereignty is open to negotiation. A 2025 analysis from the Elcano Royal Institute describes the difference as a continuing Moroccan territorial claim rather than an international dispute recognized by Spain or the United Nations.
The competing positions explain why wording can be politically charged. “Spanish city in North Africa” states Spain’s current administration and law. “Occupied city” expresses Morocco’s claim. Geography alone does not settle which political description a government accepts.
The Morocco boundary is also a Spanish border

On July 30, authorities in Ceuta asked Madrid for emergency assistance after thousands crossed around the Tarajal breakwaters. The land and sea boundary there separates Morocco from Spanish territory, even though both sides lie on the African continent.
This is why reports describe Ceuta as an entry point into Spain. Crossing the boundary changes the country whose authorities and laws apply. It does not move a person onto the European continent.
The common label “Spanish enclave” is understandable but not perfectly precise. A strict enclave is completely surrounded by another country. Ceuta has a Mediterranean coastline, so geographers may call it an exclave or a semi-enclave: territory separated from the country’s main body, with land access through another state and access by sea.
Spanish territory and EU customs territory are different
Ceuta also shows why national borders and economic zones should not be treated as the same map.
Because Ceuta is part of Spain, it is territory of the European Union. Yet the European Commission excludes Ceuta from the EU customs, value-added-tax and excise territories. Special rules govern goods moving between Ceuta and the EU customs area.
That exception does not weaken Spanish sovereignty. It changes how taxes and customs operate.
Ceuta is therefore African by physical location, Spanish by constitutional status and European Union territory through Spain, with separate customs rules. Those descriptions answer different questions rather than contradicting one another. The coastline tells you which continent the city occupies. Treaties and constitutional law tell you which country governs it.
