What tax residency means
Tax residency is a country's claim on you as a taxpayer. In most countries a resident pays income tax on income from anywhere in the world, while a non-resident pays only on income that comes from inside the country. The OECD Model Tax Convention, the template most tax treaties follow, defines a resident as a person liable to tax under a country's law because of domicile, residence or a similar test, and it leaves out anyone taxed there only on local income (Article 4(1)).
Every country writes its own test, so you work out your residency country by country. It is often confused with 3 other things:
- Citizenship. Your passport rarely matters for income tax. The United States is the main exception, covered below.
- A visa or residence permit. A permit decides how long you may stay; the tax test decides whether you are taxed as a resident.
- Domicile. Some tax systems also use domicile, the country you treat as your permanent home, a separate idea that can stay with you long after you move.
Why your tax residency sets your tax bill
Once you are resident, the country's tax system decides how much of your income it reaches. Under worldwide taxation a resident is taxed on everything; under a territorial system, only on income from local sources; under a remittance system, on foreign income only when it is brought into the country. For taxes as a digital nomad this comes first: whether your client income is taxed depends on where you are resident, then on where that country says the income comes from.
The 4 tax systems and what residency switches on (Nomad Tax Index data)
| System | What a resident is taxed on | Examples in the Index |
|---|---|---|
| Worldwide | Income from anywhere in the world | Portugal, Spain, United Kingdom, Cyprus, Switzerland |
| Territorial | Income from sources inside the country | Georgia, Panama, Paraguay, Malaysia |
| Remittance | Local income, plus foreign income brought into the country | Thailand, Mauritius |
| No personal income tax | No income tax, whatever your residency | UAE, Bahamas, Cayman Islands, Monaco |
Thailand shows how much the system matters: you become resident at 180 days in the tax year, and foreign income a resident earns from 2024 onward is taxed only when it is brought into Thailand (Revenue Department, Guide to P.N.D. 90). In a country with no personal income tax, such as the UAE, residency still matters: it gets you a tax residency certificate to claim treaty benefits (Cabinet Decision No. 85 of 2022, article 5), while the country you left decides under its own tests whether you are gone.
How countries decide you are tax resident
Most countries use more than 1 test, and meeting any one of them is enough. The tests fall into 4 families.
Days in the country
The most common test counts the days you spend in the country. The 183-day rule, roughly half a year, is the usual line, but the wording varies. Ireland makes you resident at 183 days or more in a tax year, or at 280 days across the current and previous year together, but never in a year with 30 days or fewer in Ireland (Revenue). Spain needs more than 183 days in the calendar year (LIRPF, article 9).
A home in the country
Some countries look at whether you keep a home there, whatever the day count. Portugal treats you as resident with fewer than 183 days if, on any day of the period, you have a home you appear to intend to keep as your habitual residence (CIRS, article 16). The UK makes you automatically resident if your only home was in the UK for 91 days or more in a row and you used it on at least 30 days of the tax year (GOV.UK).
Your family and your business
Spain also makes you resident if the main base of your activities or economic interests is in Spain, and it presumes you are resident if your spouse and dependent minor children live there, unless you prove otherwise (LIRPF, article 9). Tax treaties use a similar idea, the center of vital interests: the country where your personal and economic ties are closest.
Fewer than 183 days: Cyprus, the UAE, Switzerland and Paraguay
A few countries pair a short stay with a home, a permit or a business. Cyprus makes you resident with 60 days if you also keep an owned or rented home there, and run a business in Cyprus, work in Cyprus or hold a directorship in a Cyprus tax-resident company without ending that tie during the year, and spend no more than 183 days in any other single country. Since January 1, 2026 it no longer asks whether you are resident elsewhere (PwC, Cyprus residence).
The UAE makes a residence permit holder resident with 90 days in any 12 consecutive months, with a permanent home, a job or a business there (Cabinet Decision No. 85 of 2022, article 4). Switzerland taxes you as resident with a stay of at least 30 days while working, or at least 90 days without working (DBG, article 3). Paraguay's tax law presumes you live there habitually after more than 120 days (Law 125/1991, article 152).
Source: Nomad Tax Index data: each country's statute or tax authority, linked on its country page Portugal, Spain and Panama say more than 183 days and Paraguay more than 120, so days 184 and 121 are the ones that count. Argentina makes temporary permit holders resident from their 13th month. The UK's sufficient ties test can make you resident from 16 days (46 if you were not UK resident in the previous 3 tax years), and Malaysia counts 90 days for someone resident, or present 90 days or more, in 3 of the 4 previous years.
Show the numbers
| Days | |
|---|---|
| Switzerland (while working) | 30 days |
| Cyprus (60-day rule) | 60 days |
| UAE (residence permit holders) | 90 days |
| Paraguay | 120 days |
| Thailand | 180 days |
| Malaysia | 182 days |
| Georgia | 183 days |
| Portugal | 183 days |
| Spain | 183 days |
| United Kingdom | 183 days |
| Panama | 183 days |
| Argentina (temporary permit holders) | 365 days |
How the days are counted
The same number can be counted in different ways, and counting days for tax residency correctly turns on 3 questions:
- Which period. Spain counts the calendar year. Portugal counts any 12-month period that starts or ends in the year, and the UAE any 12 consecutive months. The UK counts its own tax year, April 6 to April 5.
- What counts as a day. Ireland counts any part of a day spent in the country (Revenue), and the US counts a day if you were there at any time during it (IRS). Cyprus counts the day you arrive but not the day you leave (PwC).
- Which days are left out. Some days never count, such as US transit stops of under 24 hours between 2 places outside the country (IRS, substantial presence test).
Under 183 days is not a safe harbor
A day count is only 1 of the tests, and you are non-resident only when you fail all of them. You can spend 150 days in Portugal and still be resident because you kept an apartment there as your home, or 100 days in Spain and be resident because your spouse and children live in Madrid. The UK goes lower for people who leave: if you were resident there in any of the previous 3 tax years and keep 4 UK ties, 16 days in the tax year can make you resident (Finance Act 2013, Schedule 45, paragraph 18).
Tax resident in 2 countries: how treaties break the tie
Because each country applies its own law, you can be tax resident in 2 countries for the same year: Portugal through your home, Spain through your days. Without a treaty between them, both can tax you as a resident.
Where a treaty exists, it settles the question with treaty tie-breaker rules applied in a fixed order, and you move to the next test only when the one before gives no answer (OECD Model, Article 4(2)):
- Permanent home. You are resident only where you have a permanent home available to you.
- Center of vital interests. With a home in both, you are resident where your personal and economic relations are closer.
- Habitual abode. If that cannot be decided, or you have a home in neither, you are resident where you habitually live.
- Nationality. If you live habitually in both or in neither, you are resident in the country of your nationality.
- Mutual agreement. If you are a national of both or of neither, the 2 tax authorities decide between them.
Working out where you are tax resident this year
- List every country where you spent days this year, kept a home, or have a spouse, children, a job or a business, and put the country you left first.
- For each country, note its day threshold, the period it counts (calendar year, tax year or any 12 months) and whether part days count.
- Check each country's home, family and business tests, which can apply with any day count.
- If 2 countries both claim you, find the treaty between them and run the tie-breaker in order, starting with a permanent home.
- If no new country claims you, assume the country you left still does until you fail its tests.
- Ask the country that wins for a tax residence certificate, and keep the day log, leases and registrations that back it.
US citizens: tax residency by passport
The United States taxes its citizens and resident aliens on worldwide income wherever they live (IRS), so for Americans abroad moving changes where else they owe tax, not whether the US taxes them.
Non-citizens become US tax residents through a green card or the substantial presence test: at least 31 days in the current year and 183 days over 3 years, counting every day this year, 1/3 of last year's days and 1/6 of the days from the year before. Visiting for about 122 days every year is enough to pass it.
Visas, permits and tax residency
A visa decides whether you may stay; tax residency decides who taxes you, and the 2 are written by different authorities. Thailand's test is a count of days in the tax year, with no reference to the visa you hold. The Schengen short-stay limit is an immigration count across the Schengen area, while tax residency is counted country by country.
Some permits are part of the tax test itself, as in the UAE, where the 90-day route only works for a residence permit holder (or a UAE or GCC national). Others carry their own tax rule: Croatia exempts what its digital nomads earn from employers not registered in Croatia (Narodne novine 138/2020), so a digital nomad visa can change your tax as well as your right to stay.
How to stop being tax resident in a country
Leaving a country does not end your residency there; failing its tests does. Becoming non-resident for tax means giving up the home, the days and the ties that the old country's law looks at, and being able to show that you did.
In the UK, you are automatically non-resident in a tax year with fewer than 16 days there if you were resident in any of the previous 3 years, or fewer than 46 days if you were not (GOV.UK). You are also automatically non-resident if you work full time abroad, averaging at least 35 hours a week, and spend fewer than 91 days in the UK, working there on no more than 30 of them (GOV.UK). Otherwise, between those lines and 183 days, your ties to the UK decide, unless your only home is in the UK or you work full time there.
Proving your tax residency
The usual proof is a tax residence certificate from the tax authority of the country where you are resident. It is what a foreign tax office or payer asks for before applying a treaty.
Banks ask too. Under the Common Reporting Standard, a bank must collect your self-certified country of tax residence when you open an account (HMRC, IEIM403140), and the account is reported according to that answer.
Tax resident nowhere: the perpetual traveler question
Some nomads plan to stay under every country's threshold and be resident nowhere, the perpetual traveler approach. The day counts can work, as in the year below, but the country you left keeps applying its own tests until you fail them, and with no new residence you have no certificate to give a bank or to claim a treaty with.
| Portugal, short-term rentalsUnder 183 days and no home kept: non-resident | 150 days |
|---|---|
| Thailand, on a long-stay visaUnder 180 days: non-resident | 120 days |
| GeorgiaUnder 183 days in any 12 months: non-resident | 60 days |
| Flights and short stays elsewhereToo short for the day tests in the countries visited | 35 days |
| Result | Resident in none of the 4; the country you left decides whether you ever stopped being resident there |
Day tests from the Index data. The result assumes no home, family or business in any of the 4 places.
How to choose a low-tax residency
Because residency decides which system applies to you, it is the main lever for paying less tax legally: moving it to a territorial country, a country with no income tax, or a country with a regime for new residents, and then living by that country's rules. Georgia and Paraguay both tax mainly local income, but Georgia's day test is 183 days in any 12 months and Paraguay's more than 120, so working out which of the 2 costs you less turns on where you can spend the days as much as on the rates.
An offshore company leaves your own residency where it was, so you are still taxed where you live on what you take out of it. Under the OECD Model, a company resident in 2 countries has its treaty residence settled by the 2 tax authorities by mutual agreement, looking at its place of effective management, where it was incorporated and other factors, and without agreement it gets no treaty relief (OECD Model, Article 4(3)). Many older treaties still use the place of effective management alone, and that can be the country where you sit and run it.
David's note
I would pick your residency by how it taxes the income you actually earn, not by its headline rate. A territorial country usually still taxes work you do while living there, so for a freelancer it often means a low rate rather than no tax, and a no-tax country can cost more in rent and permits than it saves on a modest income. Choose the country you will live in, meet its test with a margin of days and ties, and form any company after that.
