Working Remotely From Spain for a UK Company
Your employer can stay in London while you work from a flat in Andalusia, but the paperwork does not stay behind. Working remotely from Spain for a UK company touches three separate systems, immigration, social security and income tax, and each one has its own rules.
Since Brexit, British citizens need a residence permit to live here, and the digital nomad visa is the usual route. A permanent move also puts you into Spanish social security and, once you are tax resident, into Spanish income tax. Your employer has a worry of its own on top: a home office in Spain could make the company taxable here. Agree the details with human resources before you give notice on your UK home.
Key takeaways
Moving from outside the EU? Check in two minutes which visa you qualify for.
Working remotely from Spain: the rules at a glance
Since the end of free movement, British citizens count as third-country nationals in Spain. They need a residence permit to live and work here. Spain created a permit for exactly this case in 2022: residence for international teleworking, known as the digital nomad visa. It covers employees who work only for companies outside Spain and do their job with computers and telecoms.
Social security and tax follow separate rules. Under the social security protocol of the EU–UK Trade and Cooperation Agreement you are insured where you work, so working only from Spain means the Spanish system. Under the UK–Spain tax treaty your salary is taxed in the country where you live and work, which after the move is Spain.
|
Your situation |
Social security |
Income tax |
|---|---|---|
|
Posted by a UK employer for up to 24 months |
UK National Insurance with certificate of coverage |
depends on residence and days in Spain |
|
Moved to Spain for good, working only from here |
Spanish social security |
Spain, once you are tax resident |
|
Spanish tax resident with UK workdays |
Spanish social security |
UK may tax the days worked in the UK |
|
Choosing the Beckham regime |
Spanish social security |
24 percent on employment income up to €600,000 |
The table shows why a permanent move changes more than your address. A short posting keeps you in the British systems, while a move for good puts you into Spanish social security and, after 183 days, into Spanish tax.
Moving from outside the EU?
Check in two minutes if you qualify for the Non-Lucrative, Digital Nomad or Student Visa. If it fits, you continue to Bureaucracy.es, the partner we chose, where a case manager takes your file from there.
Free, no sign-up. If you later become a Bureaucracy.es client, we receive a referral commission.
Your residence permit: the digital nomad visa
The rules sit in the Spanish entrepreneurs law, Ley 14/2013. You need a degree, a vocational qualification or at least three years of professional experience. Your employer must have been trading for at least a year, and you must have worked for it for at least three months before you apply.
The income threshold is 200 percent of the Spanish minimum wage. The minimum wage for 2026 is €1,221 a month. It is paid 14 times a year. If you simply double the monthly amount, you need €2,442 a month. If you divide the annual minimum wage by twelve first, you arrive at €2,849, so ask the consulate which one it applies before you submit.
You can apply at the Spanish consulate. In London that means an appointment at the BLS visa application centre. If you are already in Spain legally, you can apply from here. The visa runs for up to a year, and a residence permit issued in Spain can last up to three years. Our full guide to the Digital Nomad Visa lists every document.
One document links the visa to social security. The London consulate asks either for a UK certificate of coverage or for proof that your employer and you are registered with Spanish social security. Sort this point with your employer first, because the consulate asks for one of the two in your visa file.
Clear your head for Spain
You don’t need to know everything at once. Just what comes next.
Pick how you’d like to go on: one step at a time, or everything in one go.
Free
Your 7-step roadmap
Seven steps from the first idea to registering at the town hall, in the right order. You always know what’s next.
You download the roadmap as a PDF right after signing up. No spam, unsubscribe any time.
Social security: UK National Insurance or Spanish contributions
The trade agreement keeps one simple rule: you pay social security where you work. The exception is a detached worker, someone sent abroad by a UK employer for up to 24 months, who keeps paying UK National Insurance with a certificate of coverage.
Your employer applies for that certificate with form CA3822, after confirming once with form CA3821 that it qualifies. HMRC accepts applications no more than 12 months in advance, and the certificate is not a work permit. A permanent move does not fit this route, because a posting has to be temporary.
If you move for good, Spanish social security applies, and your UK employer must register with it as an employer without an office in Spain. The company has to do this before you start work. The cross-border telework agreement that lets some EU workers stay insured at home does not help here, because the UK has said it will not sign it.
Your own social security number is a separate step, and our guide to the Spanish social security number shows the steps. Did you move to the EU before 2021? Then the Withdrawal Agreement may give you different rights, so check that point first.
Income tax: who taxes your salary
Spain treats you as tax resident if you spend more than 183 days here in a calendar year or if the centre of your economic interests is here. Our guide to the 183-day rule explains how the days are counted. The UK applies its own statutory residence test. Under it you can be non-resident with fewer than 16 days in the UK. If you work full-time abroad, the limit is fewer than 91 days, of which fewer than 31 may be working days there.
The UK–Spain tax treaty has applied to Spanish income tax since 2015. Its article 14 lets the country where you live tax your salary, unless you work in the other one. A UK company with no activity in Spain does not have to withhold Spanish tax, so you declare your salary yourself. When nobody withholds, you must file a return from €15,876 of salary a year. If you want help with it, our guide to the gestor, Spain’s paperwork adviser, shows when one is worth it.
On the UK side, tell HMRC with form P85 that you have left, if you will work abroad full-time for at least a full tax year. If HMRC accepts that you are non-resident, it can then issue an NT code, which lets your employer pay you without deducting UK income tax. Without it, PAYE continues, and the P85 is also how you reclaim tax that was deducted. Our guides to the Spanish tax return and to income tax in Spain show what you will pay here.
The Beckham regime for new arrivals
If you were not tax resident in Spain in the previous five years, you can opt for the special regime in article 93 of the income tax law. Since 2022 it expressly covers remote work for a foreign employer and names holders of the digital nomad visa as an example. You then pay 24 percent on employment income up to €600,000 for the year of arrival and the five years after. Our article on the Beckham Law covers the conditions.
The risk for your employer: a permanent establishment
Your human resources team will ask about something else. Their worry is a permanent establishment, a fixed place of business that makes the company taxable in Spain. If one existed, your employer would have to declare profits here and withhold Spanish tax. Article 5 of the treaty also treats a person who habitually concludes contracts for the company as such a presence.
The OECD rewrote its guidance on home offices in November 2025. Tax authorities use this commentary to read treaties like the UK–Spain one. If you spend less than 50 percent of your working time in a home office in Spain, it is normally not a place of business of your employer. Above that share, the question is whether the company has a commercial reason to be present in Spain, such as serving Spanish clients.
Letting you work from Spain to keep you on the team, or to save office costs, is not such a reason under the commentary. A different time zone alone does not count either. The risk rises if you visit Spanish clients regularly or sign contracts in the company’s name. Keep your role in writing. Leave contract signatures to the UK office.
Our expert tip:
Ask human resources for a short addendum to your contract that names Spain as your place of work, states your share of days here and confirms that you do not sign contracts for the company. The consulate, HMRC and Spanish social security all ask some version of these questions, and one signed page answers them.
Getting paid in pounds while you live in euros
Your salary will probably keep arriving in sterling on a UK account. Rent, electricity and your Spanish tax bill are due in euros, and you settle the Spanish tax through your annual return. Our guide to opening a bank account in Spain explains how to set up the euro side.
Put money aside each month for that tax bill, because nobody withholds it for you. Every monthly transfer from pounds to euros also carries a rate and a fee, and over a year small differences add up.
Our recommendation: Wise account for euros and other currencies
With a Wise account you send money from the UK to Spain and see the exchange rate and the fee before you press send.
Affiliate link. It costs you nothing extra and we earn a commission.
Frequently asked questions
Verdict
Working remotely from Spain for a UK company is possible, but a permanent move means a residence permit, Spanish social security and Spanish income tax. Only a temporary posting keeps you in the British system.
The real trouble starts when you move first and tell human resources later. If your employer keeps paying UK contributions while Spain is responsible, both sides have to unwind the payments afterwards. Your visa file also lacks the social security proof the consulate asks for.
Sources and last checked
Ley 14/2013, Art. 74 bis to 74 quinquies, BOE-A-2013-10074 · Real Decreto 126/2026 (SMI 2026), BOE-A-2026-3815 · Spanish Consulate London: Digital Nomad Visa · Spanish Consulate Chicago: Telework visa · Unidad de Grandes Empresas: Nómadas digitales FAQ · EU–UK Trade and Cooperation Agreement, Protocol on Social Security Coordination, Art. SSC.10 and SSC.11 · GOV.UK: Paying National Insurance if you’re going to work in the EU; CA3822; Employees working abroad; P85; RDR3 Statutory Residence Test · HMRC PAYE Manual PAYE81670 · FPS Social Security Belgium: Cross-border telework · UK–Spain Double Taxation Convention, SI 2013/3152, Art. 4, 5 and 14; HMRC Manual DT17550 · Ley 35/2006 (IRPF), Art. 9, 93 and 96 · Dirección General de Tributos, Consultas V1339/2026 and V1374/2026 · OECD: The 2025 Update to the OECD Model Tax Convention, Commentary on Art. 5, paras 44.1 to 44.21 · Agencia Tributaria: Residents with UK income. All sources accessed 11.10.2026. Last checked 11.10.2026.

