By Heavnn Editorial TeamReviewed by Stéphane Gombauld, co-founderLast reviewed 26 November 2026
Quick answer
You change tax residency in two moves that have to happen together: you stop meeting your old country's residence tests, and you start meeting your new country's. If both countries still claim you, the tax treaty between them decides, using your permanent home, your centre of vital interests, where you habitually live and, last, your nationality. What makes the change stick is not a declaration but a file of evidence that shows your life really moved.
Who this is for
Freelancers, consultants and founders who are leaving a high-tax country and want the move to hold up if the old tax office asks questions.
Digital nomads who have been "between countries" for a while and are no longer sure which country can tax them.
Anyone who has already moved but kept a flat, a partner, a company or a bank relationship back home.
People who need a certificate of tax residence from their new country to claim treaty relief.
This page covers the legal mechanics of the switch. For the practical to-do list of leaving (deregistration, banking, social security), see the leaving your home country guide. If you plan to have no fixed base at all, read perpetual traveler tax first: that is a different, riskier setup.
What does "changing tax residency" actually mean?
Tax residency is decided by each country under its own law. There is no global register and no form that moves you from one country to another. Each country runs its own tests, and you can be resident in two countries at once, or, for a short period, in none.
So a legal change of residency has three parts:
Break the old residency, so you no longer meet your home country's tests.
Build the new residency, so you clearly meet your new country's tests and can get it in writing.
Prove both, with records that would convince a tax inspector three years from now.
How do you break your old tax residency?
Most countries combine a day count with tests about your home, your family and your economic interests. Leaving physically is necessary, but on its own it is rarely enough. Here is what the rules look like in four common departure countries, taken from the official texts.
Country
Main residence tests
What catches leavers
United Kingdom
Automatic UK tests (183 or more days in the tax year, or your only home in the UK for 91 days or more in a row with at least 30 days there), automatic overseas tests, then the sufficient ties test. Tax year runs 6 April to 5 April.
Sufficient ties: if you were UK resident in one or more of the 3 previous tax years, as few as 16 to 45 days in the UK can make you resident with 4 ties. Temporary non-residence rules apply if you come back within 5 years or less.
Spain
More than 183 days in Spain in the calendar year, or Spain is the main base of your activities or economic interests. Spouse and minor children living in Spain create a presumption of residence.
Sporadic absences count as days in Spain unless you prove tax residence in another country. Moving to a tax haven keeps you a Spanish taxpayer for the year of the move and the next four tax periods.
Germany
A residence (Wohnsitz) or a habitual abode (gewöhnlicher Aufenthalt) in Germany. A continuous stay of more than six months always counts as habitual abode.
Keeping a home in Germany available to you can be enough, regardless of days spent there.
United States
Citizens are taxed on worldwide income wherever they live.
You cannot break US tax residency by moving. You can only reduce the tax with exclusions and credits.
Two takeaways from the table:
Days are a floor, not a finish line. Being under 183 days somewhere does not make you non-resident if your home, family or business stays there.
Your history matters. The UK applies stricter thresholds to people who were resident in recent years than to newcomers.
For US citizens the logic is different: the goal is reducing double tax, not breaking residency. See US expat tax services.
How do you build residency in the new country?
The new country also has to want you. That means meeting its own test, which usually combines legal registration with real presence:
A residence permit or registration where the country requires one (EU citizens moving within the EU usually register locally rather than apply for a visa).
A home you rent or own, with a contract in your name, available to you all year.
Physical presence that meets the local rule. Many countries use 183 days, but some use other thresholds or none at all.
Registration with the tax office and a local tax number, then filing a tax return there, even in a low-income first year.
A certificate of tax residence once you qualify. HMRC, for example, asks for a certificate of overseas residence showing that the other country regards you as resident under its domestic law for the period in question, attached to your claim.
A new residency that only exists on paper (an address, a permit, no life there) is the classic weak point. If the new country would not treat you as resident, the old one usually keeps you by default.
Not sure which country would claim you today? Run your days and ties through the free tax residency simulator, then count your stays precisely with the 183-day calculator.
What happens if two countries claim you?
If both countries treat you as resident under their own law, the double tax treaty between them applies a tie-breaker. HMRC's dual residents helpsheet (HS302) describes the tests in order, and you stop at the first one that gives an answer:
Permanent home: accommodation that is always available for your personal use. If you have one in only one country, that country wins.
Centre of vital interests: where your personal and economic links are stronger: family, social life, work, assets. See the centre of vital interests glossary entry.
Habitual abode: where you live regularly, normally or customarily, which in practice means comparing time spent in each country.
Nationality: generally, the country you are a national of.
If none of these decides it, treaties based on the OECD Model leave it to the two tax authorities to agree. The full sequence is explained in our tie-breaker rule guide.
The practical consequence: keeping a home available in your old country is the single most expensive mistake, because it pushes the decision to the centre of vital interests test, which is subjective and where your old country has years of evidence on its side.
Worked example: leaving the UK for Spain
Tom is a UK freelance developer who has been UK resident for the last 10 years. He moves to Valencia in April 2026, signs a 12-month rental contract and registers with the Spanish authorities. The figures below use the UK tax year 6 April 2026 to 5 April 2027 and the Spanish calendar year rules. Tom works part-time hours, so he does not meet the full-time work abroad test (an average of at least 35 hours a week), and his 50 UK days are above the 16-day automatic overseas threshold. The sufficient ties test therefore decides his UK status.
Scenario A: keeps his London flat
Scenario B: lets his London flat
Days in the UK (tax year 2026/27)
50
50
Days in Spain (calendar year 2026)
200
200
UK ties (assumed under HMRC's definitions)
3 (accommodation, 90-day, family)
2 (90-day, family)
Ties needed at 46 to 90 days (resident in a previous 3 years)
At least 3
At least 3
UK result
UK resident
Not UK resident
Spain result (more than 183 days)
Spanish resident
Spanish resident
Outcome
Dual resident: tie-breaker needed. He has a permanent home in both countries, so it goes to centre of vital interests, which is uncertain.
Spanish resident only. No tie-breaker needed.
One decision, letting the London flat on a proper tenancy instead of keeping it empty, moves Tom from an arguable dual-residence case to a clean single residence. The 50 days back in the UK are the same in both scenarios. Note that the year of departure itself can be split into a UK part and an overseas part under the split year rules; whether Tom qualifies depends on which of HMRC's split year cases he meets.
Tom's ties are assumptions for illustration: each UK tie has its own conditions in HMRC's guidance.
What goes in your proof file?
Tax authorities decide on documents. HMRC's residence manual has a full section on record keeping for the residence test, covering your home, your working hours and locations, and your ties. A good proof file covers both sides of the move:
Evidence
Shows you left
Shows you arrived
Home
Sale deed, end of lease, or a tenancy agreement letting your old home to a third party
Rental contract or deed in your name, utility bills
Days
Travel log with boarding passes and passport stamps for every trip back
Day count per calendar or tax year, kept monthly
Registration
Deregistration from the local register where one exists, notice to the tax office
Residence permit or local registration, tax number
Tax position
Final return in the old country showing the departure date
First return filed in the new country, certificate of tax residence
Economic life
Closed or non-resident bank accounts, gym and club memberships cancelled
Local bank account, health insurance, local contracts and clients where relevant
Family and social
Where your partner and children live
School enrolment, local doctor, community or club memberships
Keep everything for at least as long as your old country can reopen a tax year, and longer if you have a large disposal or a business sale in the years after you leave.
What triggers a residency audit?
There is no public checklist, but the same patterns come up again and again because they contradict the claim that you left:
A home that stays available in the old country, empty or used by family.
A spouse or minor children who stay behind. Spain, for example, presumes you are resident if they live in Spain, unless you prove otherwise.
A move to a low or no-tax jurisdiction, especially one on your old country's tax haven or non-cooperative list.
Returning to sell assets. The UK taxes certain gains and income on return if you were non-resident for 5 years or less. Some countries also apply an exit tax on departure.
Running your business from the old country: clients, a company managed there, or work done during visits. Founders should read moving abroad as a SaaS founder.
No residency anywhere. If you cannot show a certificate from a new country, the old one has little reason to let you go.
Common mistakes
Counting days only. Staying under 183 days is not a residency strategy. Home, family and economic interests often decide the case.
Using the wrong period. The UK counts by tax year (6 April to 5 April), Spain by calendar year. Track both if both matter.
Keeping the old flat "just in case". It is the fastest way to stay resident or to lose the tie-breaker.
Not filing in the new country. Without a return and a certificate, you have no proof the new country accepts you.
Moving before planning big disposals. Exit taxes and temporary non-residence rules can catch gains you thought were out of scope.
Can I change tax residency just by spending less than 183 days in my home country?
Usually not. Most countries also look at your home, family and economic interests. In the UK, someone resident in recent years can stay resident with as few as 16 to 45 days if they keep 4 UK ties.
Do I need a certificate of tax residence from my new country?
It is the strongest single document you can have. You often need it to claim treaty relief: HMRC, for example, asks for a certificate showing the other country treats you as resident for the period, sent with your claim.
What is the tie-breaker rule?
It is the treaty test used when two countries both treat you as resident. It checks, in order, permanent home, centre of vital interests, habitual abode and nationality, then leaves it to the two tax authorities if still unresolved.
Can I be tax resident nowhere?
For a short time, it can happen. As a long-term plan it is fragile: without a new residency, your old country can argue you never left, and treaties only protect you if you are resident somewhere. See perpetual traveler tax.
I am a US citizen. Can I change my tax residency?
You can become resident in another country, but the US taxes its citizens on worldwide income wherever they live. Moving changes how much US tax you pay, through exclusions and credits, not whether you file.
Last verified 23 November 2026. General information, not tax or legal advice. Residence rules depend on your full facts and on the treaty between the countries involved.
Last verified: 2026-11-26. This page is general information about international tax and is not tax or legal advice. Rules change and depend on your facts; confirm your situation with a qualified advisor before acting.