Working Remotely for a UK Company From Spain: Visa, Tax, Social Security and the Beckham Law

Want to keep your UK job and work from Spain? A detailed guide to the Digital Nomad Visa, A1 certificates and the 24-month rule, Spanish income tax, UK PAYE, permanent establishment risk for your employer, and how the Beckham Law can cut your tax to 24%.

Remote work has made it possible to keep a UK job while living in Spain. But it is not as simple as packing your laptop. You need the right to live in Spain, the right social security cover, and a clear view of which country taxes your salary.

1. Your Immigration Route

British citizens need a visa to live in Spain unless they are covered by the Withdrawal Agreement. See UK Citizens in Spain After Brexit. For remote workers, the usual route is the Digital Nomad Visa.

Digital Nomad Visa basics

  • You must work for an employer or clients outside Spain.

  • You must show income of 200% of the Spanish minimum wage, around €2,850 a month for a single applicant in 2026, plus extra for family members.

  • You usually need at least three months’ employment with the company, and a letter confirming you can work remotely.

  • You need either Spanish Social Security registration or a certificate showing you stay in the UK system.

Read our full guide: The Digital Nomad Visa in Spain.

2. Social Security: The A1 Certificate and the 24-Month Rule

Under the UK–EU Trade and Cooperation Agreement, an employee sent temporarily to work in Spain can remain in UK National Insurance for up to 24 months, if they are not replacing another posted worker. Spain’s social security guidance for UK workers sets out these conditions.

  • Your employer applies to HMRC for an A1 certificate. See GOV.UK on National Insurance for UK workers in the EU.

  • With an A1, you keep paying UK National Insurance and can get an S1 for healthcare in Spain.

  • After 24 months, or if you move permanently, Spanish Social Security normally applies. Your UK employer may need to register as an employer in Spain, or use an employer of record.

3. Income Tax: Which Country Taxes Your Salary?

If you live in Spain for more than 183 days in a calendar year, or your main interests are here, you are generally a Spanish tax resident. See the Spanish Tax Agency’s residence rules. Under the UK–Spain treaty, salary for work physically done in Spain is generally taxable in Spain.

  • Ask your UK employer to stop UK PAYE once you are non-UK resident and working abroad. HMRC can issue a direction so no UK tax is deducted.

  • A UK employer without a Spanish presence usually does not withhold Spanish tax, so you may have to settle it yourself through your Spanish return.

  • Understand Spanish payroll if your employer sets it up. See Understanding Your Spanish Payslip.

4. The Beckham Law: 24% Instead of Progressive Rates

Since 2023, remote workers for foreign employers can qualify for the Beckham Law, if they have not been Spanish tax resident in the previous five years. You would pay a flat 24% on employment income up to €600,000, and most UK investment income would stay outside Spanish tax. See Beckham Law for Remote Workers and The Beckham Law for UK Professionals.

Compare your options with the Beckham Law Calculator.

5. Risks for Your UK Employer

Employers sometimes hesitate because of these risks:

  • Permanent establishment: if your role involves negotiating or signing contracts in Spain, the company could become taxable in Spain.

  • Employment law: Spanish employment protections may apply to someone working in Spain.

  • Payroll and social security obligations once the A1 period ends.

Share our guide for HR teams with your employer: The Beckham Law for Employers and our services for employers.

6. Freelancers and Contractors

If you work through your own UK limited company or as a freelancer, the rules are different. Self-employed people in Spain usually register as autónomos and generally do not qualify for the Beckham Law. See Becoming Autónomo in Spain.

7. Step-by-Step Plan

  • Get written approval from your employer for remote work from Spain.

  • Ask your employer to apply for an A1 certificate.

  • Get your NIE. See How to Get an NIE Without Travelling to Spain.

  • Apply for the Digital Nomad Visa.

  • On arrival, register at your town hall and get your TIE.

  • Check Beckham Law eligibility and apply within six months.

  • Tell HMRC you are leaving and stop UK PAYE where appropriate.

  • Set up banking in both countries. See Banking Between the UK and Spain.

More Guides for Brits in Spain

Moving for Work? Check the Beckham Law

Spain Expat Consulting helps British professionals check Beckham Law eligibility, plan the timing of their move and prepare the Modelo 149 application, in English.

Book a Beckham Law consultation

Check your eligibility

Chat with us on WhatsApp

This article is general information only and not individual tax, legal or financial advice. UK and Spanish rules change regularly and depend on your personal situation, so always check the latest official guidance or speak with a qualified adviser in both countries.

Need help applying this information to your circumstances? Speak with Spain Expat Consulting about the assistance available for your next steps.