Moving to Spain From the UK on the Digital Nomad Visa: Your UK Tax Residency in the Year You Move (2026)
Written by Hoply
Reviewed by Natalia Menendez, licensed lawyer expert
Key Takeaways
- UK tax residency does not end on the day you land in Spain. It is decided for each UK tax year (6 April to 5 April) under HMRC's Statutory Residence Test.
- Spain decides tax residency for the full calendar year. More than 183 days in Spain makes you resident from 1 January, under Article 9 of Ley 35/2006.
- In the tax year you leave, you normally stay UK resident. Split-year treatment divides that year into a UK part and an overseas part if you meet HMRC's conditions.
- Because the two tax years do not match, both countries can treat you as resident for the same months. The 2013 UK-Spain Double Taxation Convention settles that overlap.
If you are moving to Spain from the UK on the Digital Nomad Visa, your UK tax residency in the year you move depends on HMRC's Statutory Residence Test, not on how many days you spend in Spain. The UK looks at each tax year from 6 April to 5 April. Spain looks at the calendar year and, under Article 9 of Ley 35/2006, treats you as resident once you spend more than 183 days there.
Most people who leave part-way through a UK tax year remain UK resident for that year, and split-year treatment can then limit UK tax on what they earn after leaving.
In this guide
- Why the UK and Spanish rules do not line up
- When UK tax residency ends
- How split-year treatment works
- Moving in March vs moving in September
- When both countries treat you as resident
- Tax on salary, dividends and self-employment income
- The Beckham Law for UK employees
- What to tell HMRC before you leave
Why UK and Spanish Tax Residency Rules Do Not Line Up
The two countries measure different things over different periods.
| United Kingdom | Spain | |
|---|---|---|
| Tax year | 6 April to 5 April | 1 January to 31 December (Article 12 of Ley 35/2006) |
| Main test | Statutory Residence Test: UK days, UK work and UK ties | More than 183 days in Spain, or main centre of economic interests in Spain |
This is why the formula of "90 days out of the UK and 190 days in Spain" does not work. HMRC does not count your days in Spain, and Spain does not split the year at your arrival date.
We explain the Spanish day count in our guide to moving to Spain mid-year. It is a different rule from the immigration threshold in our analysis of the Supreme Court ruling on the 183-day rule.
When UK Tax Residency Ends Under the Statutory Residence Test
The Statutory Residence Test (SRT) is the set of rules, in force since 6 April 2013, that decides whether you are UK tax resident for a given tax year. HMRC's RDR3 guidance, last updated on 11 June 2026, applies it in three stages.
First come the automatic overseas tests. If you were UK resident in any of the previous three tax years, you are non-resident for a tax year in which you spend fewer than 16 days in the UK. You are also non-resident if you work full-time overseas, spend fewer than 91 days in the UK and work more than three hours in the UK on fewer than 31 days.
Next come the automatic UK tests: spending 183 days or more in the UK makes you resident.
If neither set gives an answer, the sufficient ties test combines your UK days with your UK ties: family, accommodation, work, more than 90 days in a recent tax year, and the UK being the country where you spent most nights.
| Days in the UK in the tax year | UK ties that make a recent UK resident still resident |
|---|---|
| 16 to 45 | At least 4 |
| 46 to 90 | At least 3 |
| 91 to 120 | At least 2 |
| Over 120 | At least 1 |
A partner who stays in the UK, a home you keep available and regular working trips can each count as a tie. With three ties, 46 days in the UK is enough to remain UK resident.
How Split-Year Treatment Works When You Move to Spain
Split-year treatment is the rule that divides a UK tax year into a UK part and an overseas part when you leave or arrive during it. You are still UK resident for the whole year, but most foreign income of the overseas part falls outside UK tax.
It is not a choice. It applies only if you meet one of the cases in Finance Act 2013, Schedule 45. Two of them fit most Digital Nomad Visa moves, and both require UK residence in the previous tax year.
Case 1, starting full-time work overseas. You work an average of at least 35 hours a week abroad, with no significant break, from your start date to 5 April. The following tax year you must be non-resident through the full-time work overseas test.
Your UK days after the start date are capped by the month you start, according to HMRC's table. A September start allows 17 UK workdays and 52 UK days. A March start allows 2 and 7.
Case 3, ceasing to have a home in the UK. You give up every UK home during the year and then spend fewer than 16 days in the UK. You must be non-resident the following tax year. Within six months you also need a sufficient link with Spain: being tax resident there, being present there at the end of every day, or having your only home there.
Moving in March vs Moving in September: Two Example Timelines
The same move produces different results depending on the month.
| Move on 1 March 2027 | Move on 1 September 2027 | |
|---|---|---|
| UK position | Resident for 2026-27, split from March if Case 1 or 3 applies | Resident for 2027-28, split from September if Case 1 or 3 applies |
| Next UK tax year | Must be non-resident in 2027-28 | Must be non-resident in 2028-29 |
| Days in Spain in 2027 | 306 | 122 |
| Spanish position | Resident for all of 2027, from 1 January | Not resident for 2027 on day count, resident from 2028 |
| Overlap | 1 January to 28 February 2027: resident in both countries | No dual residence in 2027 |
The two people below are fictional and are used only to illustrate the rules.
Hannah, a product manager employed by a Manchester company, moves on 1 March. Spain treats her as resident for all of 2027. Under the general rules, her January and February salary, earned and taxed in the UK, also falls within her Spanish return, and the treaty decides how the overlap is resolved.
Owen, a freelance developer, moves on 1 September. He is not Spanish tax resident for 2027 on the day count, but Spain may still tax income from work physically done in Spain.
What Happens If the UK and Spain Both Treat You as Tax Resident
Split-year treatment does not change your status under the treaty. HMRC's residence manual states that it does not affect whether you are UK resident for double taxation agreement purposes, so dual residence is common in the year of a move.
Article 4 of the 2013 UK-Spain Double Taxation Convention, in force since 12 June 2014, resolves it with a tie-breaker applied in order. The first test is where you have a permanent home. If you have one in both countries, residence goes to your centre of vital interests, meaning your closer personal and economic ties. Then come habitual abode, nationality and, finally, agreement between the two tax authorities.
The country that wins is your treaty residence. The other can tax only what the Convention allows.
Will You Pay Tax Twice on UK Salary, Dividends or Self-Employment Income
Both countries may have a claim on the same income, but the Convention is designed so that you do not pay the full tax twice.
| Profile | UK side | Spanish side |
|---|---|---|
| Employee on UK payroll | Once non-resident, UK tax applies only to earnings for duties performed in the UK. Ask your employer how PAYE will be adjusted with HMRC. | As a resident, you declare the salary. Under Article 22, Spain credits UK tax that the Convention allows the UK to charge. |
| Sole trader | Under Article 7, business profits are taxable only in your country of residence unless you keep a permanent establishment in the other. | Profits are taxed in Spain once you are resident, and you register as autónomo. |
| Limited company director | Article 10 lets the UK tax dividends at up to 10%. Dividends from your own company can be taxed in the UK later if you move back within five years. | As a resident, dividends enter the savings base, taxed at 19% to 30% in 2026. |
Directors should read this alongside our guide for UK limited company directors. Sole traders will find the HMRC documents the UGE accepts in our guide to self-employment registration proof.
If you want the Spanish side modelled against your own dates before you commit to them, you can book a tax consultation with Hoply's specialists and review it alongside your UK accountant's advice.
How the Beckham Law Changes Your Position as a UK Employee
The Beckham Law is Spain's special regime for inbound workers under Article 93 of Ley 35/2006. Employees who qualify pay a flat 24% on employment income up to €600,000, and are otherwise taxed only on Spanish-source income, for the tax year in which they become Spanish resident and the five that follow.
You must not have been Spanish tax resident in the previous five tax years. According to the Agencia Tributaria, remote employees holding the international telework visa meet the relocation condition.
Two points matter in the year you move. Employment income earned during the regime is treated as obtained in Spain, but income from work done before your move is not brought into it. The Agencia Tributaria also states that taxpayers under the regime are not considered residents for the purposes of double taxation treaties.
Employees are the clearest case. Directors and company owners need individual review. Our Beckham Law guide covers the conditions and the six-month deadline.
What to Tell HMRC Before You Leave the UK: P85, Self Assessment and SA109
You must tell HMRC if you leave the UK to live abroad permanently or to work abroad full-time for at least one full tax year. How you do it depends on whether you file a tax return.
If you do not file Self Assessment, you send form P85, which HMRC also uses to work out any refund. It applies even if you keep your UK employer and have no P45.
If you do file, you report your departure and split-year treatment on the SA109 residence pages. HMRC's own online service does not support SA109, so you need commercial software, a paper return or an adviser. The paper deadline is 31 October and the online deadline 31 January.
National Insurance follows separate rules, covered in our guide for UK citizens.
Keep a record of every day you spend in the UK after leaving, because both countries count days.
Check Your Digital Nomad Visa Route Before You Fix Your Move Date
Your move date decides which UK tax year is split, whether Spain treats you as resident for the whole calendar year, and how long the two overlap. Your visa route as employee, sole trader or company owner decides the rest.
The UK side of this picture is governed by HMRC rules, so we recommend confirming it with a UK accountant. On the Spanish side, our Spain-based immigration lawyers review your profile, confirm the right visa route and file your application, with an approved-or-refunded guarantee.
If you have not applied yet, the best time to check is before you set the date, and you can request a free case evaluation with Hoply to see how your route and your timeline fit together.
Frequently Asked Questions
This article is for informational purposes only and does not constitute legal or tax advice. Regulations can change and every case is different. Always consult a qualified immigration lawyer and tax adviser. At Hoply we have specialists who can review your specific situation.
