Gibraltar is a 6.7-square-kilometre limestone peninsula at the southern tip of the Iberian Peninsula, joined to Spain by a sandy isthmus and separated from Africa by 14 kilometres of water at the western entrance to the Mediterranean Sea. It is dominated by a single dramatic geological feature — the Rock — a 426-metre limestone monolith that rises almost vertically from the surrounding flatlands and contains a labyrinth of natural and artificial caves. The Rock has been British territory since 1713, when Spain ceded it to the United Kingdom under the Treaty of Utrecht that ended the War of the Spanish Succession. Spain has been asking for it back ever since. The territory has a population of about 32,000, an economy built primarily on tourism, online gambling, and shipping services, and a political status that has become considerably more complicated since Britain's 2020 departure from the European Union.
The Geography
The Rock of Gibraltar sits at the southwestern entry to the Mediterranean, controlling the western approaches to the Strait of Gibraltar — the 14-kilometre-wide passage that separates Europe from Africa and the Atlantic from the Mediterranean. The Rock itself is a limestone outcrop oriented roughly north-to-south, with steeper cliffs on its eastern face and a more gradual slope on the western side. The territory of Gibraltar consists of the Rock, the small flat areas around it (including the airport, which is built across the isthmus connecting the Rock to mainland Spain and which has the unusual feature of a road that crosses the active runway with traffic lights stopping cars when planes are landing), and a small section of territorial waters extending out from the coast. The total land area is approximately 6.7 square kilometres — about the size of New York's Central Park.
The Treaty of Utrecht
British forces captured Gibraltar in August 1704 during the War of the Spanish Succession. The British and Dutch sieged the small Spanish garrison for three days; the surrender on 4 August opened the Rock to occupation by the alliance forces. The Treaty of Utrecht of 1713 that ended the war formally ceded Gibraltar to Britain "in perpetuity," with provisions that no Jews or Moors could be allowed to live there (the latter provision was breached almost immediately and is no longer in force) and that if Britain ever decided to give up the Rock, it would be offered first to Spain. Spain has used the existence of this preferential clause as part of its long-running argument that the British position is contingent rather than absolute. The British have generally treated the cession as definitive.
The Long Spanish Siege
Spain has attempted to retake Gibraltar by military force three times: in 1727, in 1779-83 (the Great Siege), and during the Napoleonic Wars. The Great Siege was the longest and most dramatic — 3 years and 7 months of bombardment and blockade, with Spanish forces eventually defeated by British defenders supplied through the Strait by sea. Since the early 19th century Spanish attempts to recover the territory have been diplomatic rather than military. The Franco dictatorship closed the land border in 1969 and kept it closed for 16 years; the closure was a major hardship for Gibraltarians who had relied on the border for goods, services, and family connections to nearby Spanish towns. The border reopened in 1985 as Spain prepared for EU membership. Spanish governments since then have used various mechanisms — diplomatic pressure at the UN, occasional disputes about fishing waters and airspace, periodic restrictions on border crossings — to maintain pressure on the territory.
The 1967 and 2002 Referendums
Gibraltarians have voted twice on their constitutional status, both times by overwhelming majorities to remain British. The 1967 referendum, organised by Britain in response to Spanish diplomatic pressure, asked whether Gibraltar should "pass under Spanish sovereignty" or "remain under British sovereignty with its present institutions." The vote was 99.6 percent in favour of remaining British, with a 96 percent turnout. The 2002 referendum, organised by the Gibraltarian government in response to a British-Spanish proposal for joint sovereignty, asked whether voters approved a "principle of joint sovereignty over Gibraltar." The vote was 98.5 percent against. Both results reflected a stable Gibraltarian political consensus that British sovereignty should continue and that no degree of Spanish involvement is acceptable.
The Border and Brexit
From Spain's 1986 EU accession until Britain's 2020 departure, Gibraltar and Spain were both inside the European Union, which meant the border between them functioned as an internal EU frontier with relatively free movement. Brexit changed this. Gibraltar voted 96 percent in favour of remaining in the EU in the 2016 referendum but left along with the rest of British territory in 2020. The post-Brexit treatment of Gibraltar has been negotiated separately from the broader UK-EU relationship; a 2020 framework agreement provided for Gibraltar to be incorporated into the Schengen Area through Spain, with Spanish border officials operating at Gibraltar's port and airport but the actual land frontier between the territory and Spain functioning as an internal Schengen border. The detailed treaty implementing this framework was not finalised until 2024 and the practical implementation has been slow. The arrangement is unusual: Gibraltar is in Schengen but not the EU, in customs union with the EU but not in the single market for goods.
The Population
Gibraltar's population of about 32,000 is ethnically mixed — descended from British, Spanish, Italian (particularly Genoese), Maltese, Portuguese, and Moroccan migrants who arrived in waves over three centuries. The local language is English (the official language) but most Gibraltarians also speak Spanish and many speak a local Spanish-English mixed dialect called Llanito. About 75 percent of the population identifies as Roman Catholic; there are smaller Muslim, Jewish, and Anglican communities. The territory has functioned as one of the longest-running examples of a small, ethnically mixed population developing a distinct identity that does not match any of its parent communities — Gibraltarians are not British in the standard sense, not Spanish at all, and not really anything else either.
The Monkeys
One of the more famous features of Gibraltar is its population of Barbary macaques — the only wild monkey population in Europe. The macaques live on the upper Rock and have become a major tourist attraction. Local legend, dating from the 18th century, holds that as long as the macaques remain on the Rock, British rule will continue. Winston Churchill is said to have ordered additional monkeys imported from North Africa during the Second World War when the population dipped to dangerous levels. The current population is around 300, divided into several troops that range across the upper Rock's nature reserve. The animals are wild but habituated to humans and can be aggressive about food and bags. Visitors are warned not to feed them or get too close.
The Economy
Gibraltar's economy has changed substantially over the past several decades. The British military presence — for most of the territory's history its dominant economic activity — has declined dramatically since the end of the Cold War. Tourism remains substantial, with cruise ships stopping at the port and day-trippers crossing from Spain. The economy is increasingly built on financial services, online gambling (Gibraltar has a relatively permissive regulatory regime that attracted dozens of major online betting companies), and shipping bunker services (Gibraltar is a major refuelling point for ships transiting the strait). The territory has high per-capita income — GDP per capita is well above the UK average — and very low unemployment. The economic effects of Brexit have been mixed: some financial services activity has moved to other EU jurisdictions; tourism has been variable; the practical operation of the border with Spain has continued, though with more complications than the EU period.
The Spanish Position
Spanish governments have continued to assert their claim to Gibraltar throughout the period of British rule. The claim has been pursued at the UN (where Gibraltar is listed as a "non-self-governing territory" subject to decolonisation), in bilateral negotiations with Britain, and through occasional pressure on the practical operation of the border. Spanish political parties of every persuasion have maintained the position, though with varying degrees of emphasis. The 2002 joint-sovereignty proposal was the closest the two governments came to a substantial agreement; it collapsed on Gibraltarian rejection. The post-Brexit treaty arrangements have not changed the underlying Spanish position but have established a more functional working relationship at the border. Whether the long-running dispute will eventually be resolved through Gibraltarian incorporation into Spain, formal British recognition of permanent sovereignty, or simply continued ambiguity is impossible to say. Three centuries of standoff suggest a fourth is plausible.