The Law To Know

Tax Residency by Days

How many days in a country make you a tax resident there? In many countries the answer is about six months, but some count fewer days, some use a formula, and some ignore the day count and look at your home and family. This guide sets out the residence test of 62 countries.

Part of the comparative law toolkit. It describes how residence is tested, not how to avoid tax.

A 183-day test (about six months) (37)A shorter day test (under 183 days) (2)Several day tests, or a formula (15)No day count: ties and facts decide (8)Not yet covered
Argentina: No day count: ties decideAustralia: Several tests or a formulaAustria: A 183-day testBelgium: No day count: ties decideBrazil: Several tests or a formulaBulgaria: A 183-day testCanada: No day count: ties decideChile: A 183-day testChina: A 183-day testColombia: A 183-day testCroatia: A 183-day testCyprus: Several tests or a formulaCzechia: A 183-day testDenmark: A 183-day testEgypt: A 183-day testEstonia: A 183-day testFinland: A 183-day testFrance: No day count: ties decideGermany: A 183-day testGreece: A 183-day testHong Kong: Several tests or a formulaHungary: A 183-day testIndia: Several tests or a formulaIndonesia: A 183-day testIreland: Several tests or a formulaIsrael: Several tests or a formulaItaly: A 183-day testJapan: No day count: ties decideKenya: Several tests or a formulaLatvia: A 183-day testLithuania: A 183-day testLuxembourg: A 183-day testMalaysia: Several tests or a formulaMalta: A 183-day testMexico: No day count: ties decideNetherlands: No day count: ties decideNew Zealand: Several tests or a formulaNigeria: A 183-day testNorway: Several tests or a formulaPakistan: A 183-day testPeru: A 183-day testPhilippines: No day count: ties decidePoland: A 183-day testPortugal: A 183-day testRomania: A 183-day testRussia: A 183-day testSaudi Arabia: A 183-day testSingapore: A 183-day testSlovakia: A 183-day testSlovenia: A 183-day testSouth Africa: Several tests or a formulaSouth Korea: A 183-day testSpain: A 183-day testSweden: A 183-day testSwitzerland: A shorter day testThailand: A shorter day testTurkey: A 183-day testUkraine: A 183-day testUnited Arab Emirates: Several tests or a formulaUnited Kingdom: Several tests or a formulaUnited States: Several tests or a formulaVietnam: A 183-day test

Every country, side by side

Type a country to find it. Open a country for the other tests and the notes.

CountryKind of testThe day test
ArgentinaNo day count: ties decideNo fixed day count: permanent home, family and centre of interests
AustraliaSeveral tests or a formulaThe resides test (the ordinary meaning of living there), the domicile test, the 183-day test and the Commonwealth superannuation test
AustriaA 183-day testMore than 183 days in the year (a stay of more than six months)
BelgiumNo day count: ties decideNo fixed day count in the law
BrazilSeveral tests or a formulaMore than 183 days in any 12-month period for a temporary visa holder; a permanent visa holder is resident on arrival
BulgariaA 183-day testMore than 183 days in any 12-month period
CanadaNo day count: ties decideNo day count for being a resident: residential ties decide. A 'sojourner' staying 183 days or more in a year is treated as resident
ChileA 183-day testMore than six months (183 days) in a 12-month period, or more than 6 months in two successive tax years
ChinaA 183-day test183 days or more in a tax year
ColombiaA 183-day testMore than 183 days (continuous or not) in any 365-day period
CroatiaA 183-day testMore than 183 days in any 12-month period
CyprusSeveral tests or a formulaMore than 183 days in the tax year, or the 60-day rule
CzechiaA 183-day testA stay of 183 days or more in the year
DenmarkA 183-day testA stay of six months or more
EgyptA 183-day testMore than 183 days in a tax year
EstoniaA 183-day testMore than 183 days in any 12-month period
FinlandA 183-day testA continuous stay of more than six months
FranceNo day count: ties decideNo fixed day count in the law
GermanyA 183-day testA habitual abode is presumed once you stay more than six months
GreeceA 183-day testMore than 183 days in any 12-month period
Hong KongSeveral tests or a formulaMore than 180 days in a year, or more than 300 days over two consecutive years, for treaty residence; Hong Kong taxes only income from Hong Kong sources
HungaryA 183-day testA stay of more than 183 days in the year
IndiaSeveral tests or a formula182 days or more in the tax year; or 60 days or more in the year and 365 days or more in the four years before
IndonesiaA 183-day testMore than 183 days in any 12-month period
IrelandSeveral tests or a formula183 days in the tax year, or 280 days across two consecutive tax years (with at least 30 in each)
IsraelSeveral tests or a formula183 days or more in the tax year; or 30 days or more in the year and 425 days or more over the year and the two before
ItalyA 183-day testMore than 183 days in the year (184 in a leap year), counting part-days
JapanNo day count: ties decideNo day count: a domicile or a residence of one year or more
KenyaSeveral tests or a formula183 days or more in the tax year, or an average of 122 days or more over the current and the two preceding years
LatviaA 183-day testMore than 183 days in any 12-month period
LithuaniaA 183-day test183 days or more in a calendar year
LuxembourgA 183-day testMore than 183 days in the year
MalaysiaSeveral tests or a formula182 days or more in the calendar year, or a stay of 182 days that spans two years, or shorter stays tied to the years before
MaltaA 183-day testMore than 183 days in the year
MexicoNo day count: ties decideNo day count: the home and the centre of vital interests decide
NetherlandsNo day count: ties decideNo fixed day count in the law
New ZealandSeveral tests or a formula183 days or more in any 12-month period, or a permanent place of abode in New Zealand
NigeriaA 183-day test183 days or more in any 12-month period
NorwaySeveral tests or a formulaMore than 183 days in any 12-month period, or more than 270 days in any 36-month period
PakistanA 183-day test183 days or more in the tax year
PeruA 183-day testMore than 183 days in any 12-month period
PhilippinesNo day count: ties decideNo fixed day count for citizens; a foreigner staying for more than a year is a resident alien
PolandA 183-day testMore than 183 days in the tax year
PortugalA 183-day testMore than 183 days in any 12-month period beginning or ending in the year
RomaniaA 183-day testMore than 183 days in any 12-month period
RussiaA 183-day testMore than 183 days in any 12 consecutive months
Saudi ArabiaA 183-day test183 days or more in the tax year, or in a 12-month period that overlaps two tax years
SingaporeA 183-day test183 days or more in the calendar year in Singapore (including work done there)
SlovakiaA 183-day testMore than 183 days in the year
SloveniaA 183-day testMore than 183 days in the tax year
South AfricaSeveral tests or a formulaThe physical presence test: more than 91 days in the current year, and in each of the five years before, and more than 915 days in total over those five years
South KoreaA 183-day test183 days or more of residence
SpainA 183-day testMore than 183 days in the calendar year (short absences count as present unless you prove residence elsewhere)
SwedenA 183-day testA continuous stay of more than six months
SwitzerlandA shorter day testFor tax purposes, 30 days with gainful activity or 90 days without it
ThailandA shorter day test180 days or more in a calendar year
TurkeyA 183-day testA stay of more than six months (183 days) in a calendar year
UkraineA 183-day testMore than 183 days in the tax year
United Arab EmiratesSeveral tests or a formula183 days or more in a 12-month period; or 90 days or more with a permanent home or business and a residence permit
United KingdomSeveral tests or a formulaThe Statutory Residence Test: 183 days or more in the tax year makes you resident; fewer than 16 days (46 if not resident in the three previous years) makes you non-resident; in between, your ties decide
United StatesSeveral tests or a formulaThe substantial presence test: at least 31 days in the year and a weighted total of at least 183 days (all days this year, a third of the days last year, a sixth of the days the year before)
VietnamA 183-day test183 days or more in a calendar year, or in the 12 months from the first day of arrival

Read this first

This guide gives the general residence test in each country's income tax law, from our own knowledge, with the main day counts. Day counts and tests are reformed from time to time, special regimes and treaties change the result, and tax residency has serious consequences, so check the tax authority and ask a qualified adviser. It is not tax or legal advice, and it does not suggest how to avoid tax.

The '183-day rule' in tax treaties is a different test

Most tax treaties say that a visitor who works in a country for less than 183 days in a 12-month period, is paid by an employer outside it and whose pay is not charged to a local branch, is taxed only in their home country. That rule tells you where a visiting employee's pay is taxed. It does not tell you where you are a tax resident, which is decided by each country's own test, listed here.

What to remember anywhere

You can be resident in two countries at once

Each country applies its own test, so two can claim you. Most tax treaties settle it with a tie-breaker in this order: where you have a permanent home, then where your personal and economic ties are closest (centre of vital interests), then where you habitually live, then your nationality.

Count the days the way the country does

Some count any part of a day, some count the day you are present at midnight, some count arrival and departure days, and some count days in any 12 months rather than a calendar year. Keep a record of your travel: passport stamps, tickets and bank statements.

A home can make you resident without the days

A permanent home that you keep available, a family that stays, or a business you run can make you resident in countries that look at ties, whatever the day count.

Leaving is not always the end

Some countries keep taxing you for years after you leave unless you break your ties, and some tax citizens wherever they live. The United States is the best-known example.

Ask a tax adviser before you rely on a day count

Residence decides which country taxes your worldwide income, and the consequences can be large. A day count here is a starting point, not a plan.

Read the official rules

Take it further

Support this free tool

This guide is free, and it takes a lot of careful work to build and keep up to date. If it helped you, you can leave a small contribution. No account is needed, and nothing is sold to you.

A one-time card payment through Stripe. It is a contribution, not a purchase, and it is not tax-deductible.

Use this on your own site

Teachers, bloggers, journalists and researchers are welcome to use the map and the data, free, with a link back to this page. The data is licensed under CC BY 4.0: reuse it, even commercially, if you credit us. More about the licence.

Embed the map

<iframe src="https://tools.thelawtoknow.com/embed/tax-residency" title="Tax Residency by Days, TheLawToKnow" width="100%" height="560" style="border:0" loading="lazy"></iframe>

Download the data

The table as a CSV file (opens in Excel and Google Sheets)

Credit line

<a href="https://tools.thelawtoknow.com/tax-residency">Tax Residency by Days</a>, TheLawToKnow

Cite this page

TheLawToKnow Tools. Tax Residency by Days. https://tools.thelawtoknow.com/tax-residency.

Know the test in a country we have not covered, or spotted a mistake? Tell us.