Spain and the UK deepen bilateral ties within a strategic framework

Border between Spain and Gibraltar with the Rock in the background, customs building in the foreground, and several flags flying on top (Spain, the UK, Gibraltar and the EU).
View of the Rock of Gibraltar from the Spanish side of the land border. Photo: bennymarty / Getty Images.

Spain and the UK have finally put their relationship on a new and bolder footing, following June’s agreement on Gibraltar, a British Overseas Territory, which removes border checks between Spain and the Rock.

The UK-EU agreement on Gibraltar, ceded to Britain under the 1713 Treaty of Utrecht and long claimed by Spain, was the last piece of the UK’s EU exit jigsaw, enabling the two countries to deepen their relationship. In the 2016 referendum an overwhelming 96% of Gibraltarians voted in favour of remaining in the EU. At Spain’s insistence, Gibraltar was not covered by the Trade and Cooperation Agreement (TCA), which sets out post-Brexit arrangements for the UK and came into force in May 2021 (see Figure 1).

Figure 1. EU-UK relations: big changes compared with benefits of EU membership

EU-UK Trade and Cooperation AgreementEU Member State
Free movement of people  
   Removal of border checksNoYes
   Pet passportsNoYes
   Visa-free travel (90 days in 180-day period)YesYes
   Visa-free travel (beyond 90 days)NoYes
   Right to work, study, live in another EU country0Yes
   Removal of roaming chargesNoYes
Trade in goods  
   Frictionless tradeNoYes
   Zero tariffs or quotasYesYes
   Zero customs formalities0Yes
   Zero sanitary and phytosanitary (SPS) checksNoYes
   Zero rules of origin procedures0Yes
   Fisheries agreementYes (with conditions)Yes
Trade in services  
   Financial services passportNoYes
   Easy recognition of professional qualificationsNoYes
Air transport  
   Single aviation area, full freedomsNoYes
   Bilateral 5th freedoms for extra-EU air cargoYes (limited)Yes
Road transport  
   Single internal transport market for hauliersNoYes
   Cross-trade operationsYes (limited)Yes
Energy  
   Single internal energy marketNoYes
   Energy trading platformsYes (limited)Yes
EU programmes  
   Access to ErasmusNoYes
   Access to NextGeneration EU, SURENoYes
   Galileo encrypted military signalNoYes
   Access to Horizon EuropeYes (from January 2024)Yes
Note: 0 = specific conditions related to EU-UK Trade and Cooperation Agreement. Source: European Commission.

The Gibraltar agreement was signed after three and a half years of negotiations, longer than it took for the UK’s withdrawal agreement from the EU and the subsequent TCA. The price, among other factors, of an open land crossing into Spain is dual Gibraltar and Schengen border checks at Gibraltar’s airport. Spain will carry out the Schengen checks. The treaty has yet to be ratified by the EU and British parliaments. Once this is done the 1.2km border fence between Spain and Gibraltar will be removed. Around 15,000 frontier workers residing in Spain (over half of Gibraltar’s workforce) cross the border every day. The dictator, General Franco, closed the border in 1969 and it was not fully reopened until 1985, the year before Spain joined the EEC.

The imminence of the EU’s new Entry/Exit System for non-EU citizens, which is being phased-in between this month and next April, brought greater urgency to reaching agreement on the EU-Gibraltar treaty before the EES was launched. Without the agreement the new automated IT system for registering travellers might have introduced a hard border between Spain and Gibraltar unless there were other arrangements. That would have meant checking everyone’s documents, creating long queues. David Lammy, the former British Foreign Secretary, said this would ‘wreck the territory’s economy and possibly cost it hundreds of millions of pounds a year’.

Instead, although Gibraltar is not joining the Schengen area, which has no internal border checks on the movement of people, once the treaty is implemented the infrastructure currently at the land border, including for the EES, will be moved to the airport, while the 1.2km fence between Gibraltar and Spain will be removed.

The Spain-UK strategic framework signed last month enhances bilateral cooperation ‘in full coherence and complementarity with Spain’s membership of the EU and with the relationship the UK has established with the EU through existing agreements and arrangements and others that may be concluded in the future’.

Of the four large EU economies, Spain was the only one without a bilateral agreement with the UK, putting both countries at a disadvantage. France has the 2010 Lancaster House Treaties and the 2025 Lancaster House 2.0, Germany the 2025 treaty and Italy the 2023 memorandum of understanding on bilateral cooperation.

That gap has now been filled and a roadmap for greater cooperation created. The framework is long on good intentions and short on specifics but should enable the already thriving trade and investment relationship to flourish further. There are now channels at a higher political level for resolving problems, such as improving short-term business travel stays, and cooperating on issues, with provision for an annual dialogue between the two countries’ Foreign Ministers.

Both sides would like greater mobility opportunities (temporary movement not migration) and are committed to working towards a youth experience scheme between the UK and the EU. Exchanges under the Erasmus student mobility programme were highly popular between the UK and Spain, but when the UK left the EU it opted not to take part in the Erasmus+ programme 2021-27 as an associated third country. Spain was a top receiving country for UK students and Britain was the second most popular destination for Spaniards.

The Spanish and UK governments are to some extent politically aligned; both are led by social-democratic parties. Spain’s government, however, is a minority coalition with the hard-left Sumar with unreliable parliamentary support from an unholy alliance of Catalan and Basque separatist and nationalist parties. The UK’s Labour government, on the other hand, enjoys a whopping parliamentary majority.

Spain recognised a Palestine state in May 2024 and the UK in September 2025. Prime Minister Pedro Sánchez is the most vocal critic in Europe of the Israeli government’s ‘genocide’ in Gaza, a term that Prime Minister Sir Keir Starmer has not used. Sánchez has also announced plans to formalise an arms embargo and block Israel-bound fuel deliveries from passing through Spanish ports. The UK does not have a full arms embargo; most significantly, it supplies 13% to 15% of the components used in the F-35 jet, used extensively by Israel to strike Gaza. These components are sent to manufacturing centres abroad as part of a global programme.

Both Sánchez and Starmer are also at the forefront of Europe’s support for Ukraine against Russia’s war of aggression.

Total trade in goods and services (exports and imports) between Spain and the UK in 2024 amounted to €69.5 billion, making Spain the UK’s 7th largest trading partner, while the UK is Spain’s 5th largest. Spain has run a merchandise trade surplus with the UK for many years (see Figure 2).

Figure 2. Spain’s merchandise exports to the UK and imports from the UK, 2000-24 (€ billion)

200020052010201620192024
Exports10.213.011.519.119.723.8
Imports12.013.210.911.211.910.2
Balance-1.8-0.2+0.6+7.9+7.8+13.6
Source: Ministry of Economy, Commerce and Business.

The EU and the UK are working on a sanitary and phytosanitary (SPS) agreement which would simplify the movement of food and agricultural products by slashing costs, reducing border checks and eliminating paperwork like export health certificates for many products. Both Spain and the UK would benefit significantly from an agreement. The EU and the UK are also looking to link their emissions trading schemes, which would benefit Spain’s steel and chemical industries.

The UK’s rejoining in 2024 of Horizon Europe, the EU’s key funding programme for research and innovation, as an associated country is spurring cooperation links between Spain and Britain. Spain is second after Germany in terms of links (close to 1,500 projects involving British and Spanish institutions, 9.3% of the total). Spain is the UK’s top collaborator for Horizon pillar 2 (global challenges/European industrial competitiveness).

As regards direct investment, the UK’s stock in Spain stood at €68.5 billion at the end of 2023, more than Italy and France and not far behind Germany (see Figure 3). Spain’s stock in the UK was £16.1 billion, substantially lower than in 2019 (see Figure 4). The last significant Spanish investment in the UK was state-owned shipbuilder Navantia’s purchase this year of Harland & Wolff’s facilities in Belfast, Appledore, Methil and Arnish, after it fell into administration in 2024. As the historic Titanic shipyard in Belfast is still undergoing upgrades, a UK warship will now be largely built in Spain.

Figure 3. Main investor countries in Spain, stock of inward direct investment, (€ billion) (1)

201420192023
US52.487.5117.1
Italy43.938.548.3
UK43.866.968.5
France39.354.568.8
Germany30.744.972.0
Mexico23.687.532.3
(1) Excluding Special Purpose Entities that take advantage of favourable fiscal conditions and channel capital through them towards a third country company belonging to the same enterprise group. Source: GlobalInvex. Ministry of Economy, Commerce and Business.

Figure 4. Main investor countries in the UK, stock of inward direct investment, (£ billion)

201420192023
US242.0460.0692.9
Netherlands180.2168.4183.0
France75.875.1115.6
Germany51.044.041.6
Luxembourg71.8149.9185.6
Spain43.044.916.1
Source: Office of National Statistics.

In defence, if there is an agreement on the UK’s participation in Security Action for Europe (SAFE), a new financial instrument designed to support joint procurement and investment in European defence production, Britain and Spain will seek opportunities to cooperate.

As well as the trade and investment relationship, there is the ‘people’ relationship. Spain is the top spot in the world for British holidaymakers (18.4 million tourists in 2024, see Figure 5).

Figure 5. International tourists coming to Spain by country of residence, 2024 (million)

Million% of total tourists
UK18.419.6
France12.913.7
Germany11.912.6
Italy5.45.7
Nordic countries (1)5.15.4
Netherlands4.75.0
US4.24.5
(1) Denmark, Finland, Sweden, Norway and Iceland. Source: Tourism Ministry.

The resident British community in Spain, based on those registered in town halls, was the sixth largest at 272,402 at the end of 2023 and the largest located in all of Europe (see Figure 6). A more realistic figure, according to the Ministry of Inclusion, Social Security and Migration and based on those with their residency document in order, was 425,770 at the end of June. The large difference is due to various factors including people signing up to the municipal register (padrón), not keeping their record up to date and then falling off the register. Not all those with the residency document live permanently in Spain.

Figure 6. Ten largest foreign nationalities at 1 January 2024 and 1 January 1996 (1)

Number in 2024% of totalNumber in 1996% of total
Morocco920,69314.2111,04317.4
Romania620,4639.52,2580.3
Colombia578,4778.99,9971.6
Italy325,3585.019,2873.0
Venezuela325,2545.016,549 (2)NA
UK272,4024.275,60011.8
China226,7183.511,6111.8
Peru219,6433.4928 (2)NA
Ukraine210,0123.2727 (2)NA
Honduras171,7712.6795 (2)NA
Total of all nationalities6,502,282100.0637,085100.0
(1) Figures based on those registered in town halls (empadronados) and excluding those who have acquired Spanish nationality. (2) The earliest year for figures for these countries is 2001.The figures for 1 January 2025 will be published in December. Source: Office of National Statistics.

The rules for Brits wishing to begin to live in Spain after Brexit, as opposed to those already in the country with legal residence before Brexit, are now the same as those for citizens of any other non-EU country. The maximum length of a short-term stay for non-EU citizens in the entire Schengen area is 90 days within any 180-day period unless a long-stay visa is obtained. It is now more difficult to live under the radar.

The number of Spaniards with settled status at the end of June was 340,791, according to the Home Office (see Figure 7). Many status holders, however, might not have lived in the UK for many years, or visited the country. Also, many might have spent time in the UK in the 2010s and then applied for EUSS status after Brexit just in case they wanted to come back to the UK.

Figure 7. Concluded applications to the EU settlement scheme by nationality and outcome, 28 August 2018-30 June 2025, UK total

Total applications, settled and pre-settled status (1)Approved settled status (2)
Romania1,864,3121,053,974
Poland1,272,7601,077,910
Italy739,696515,858
Bulgaria511,717305,315
Spain482,627340,791
(1) Settled status is indefinite permission to stay in the UK after five years of continuous residence, whereas pre-settled status is a limited five-year permission to stay for those with less than five years of residence. (2) After discounting those refused, application withdrawn or void or invalid, and taking into account upgrades from pre-settled to settled status. Source: UK Home Office.

The UK-Spain framework should enable the business communities of both countries to move on from Brexit. Spain, for its own historic reasons and the profound change EU membership has brought, is highly unlikely to leave the bloc and there is little prospect, as things stand at the moment, of the UK rejoining.