Days · Tax residency

How Many Days Can I Spend in a Country Before Becoming a Tax Resident?

Wondering how many days tax resident status takes? It's usually 183 days a year, but the US, UK, and US states count differently. Get the per-country answer.

10 min read

In most countries, you become a tax resident once you spend 183 days or more in a single year, that's the global default. But the exact number depends on the jurisdiction: the United States uses a three-year weighted formula, the UK uses a sliding scale tied to your connections, and a handful of US states treat 183 days as a hard line on top of a domicile test. The safe answer for most people: stay under 183 days in any country that isn't your home, and watch the edge cases below.

The 183-day default (and why it's 183)

Half of a 365-day year is 182.5 days, so 183 is the smallest whole-day majority, the point at which you've spent more time in a country than you've spent anywhere else. That's why so many tax codes converge on it. Cross 183 days and you've generally tipped into tax residency, which usually means the country can tax your worldwide income, not just the income you earned there.

Countries that lean on a 183-day count include Spain, Italy, Mexico, Singapore, Japan, and many others (Germany frames the same idea as a 'habitual abode' of more than six months). The catch is in two details that vary everywhere: which year you count over, and what counts as a day. Get either wrong and your number is wrong. And some countries you might assume use a day count, France is the classic example, actually decide residency on where your home and center of life sit, with 183 days appearing only as a treaty tie-breaker.

But 183 days is a threshold, not a target. Most countries also have a 'tie' or 'domicile' test that can make you resident with far fewer days if your home, family, or center of life is there. Treat the day count as the floor, not the whole picture.

How many days, by jurisdiction

Here's the day count that matters most in the places people ask about. Use it as a routing table, then check the specific rule for anywhere you're near the line.

JurisdictionThe day thresholdCounting period
Most countries (default)183 daysCalendar year (Jan 1 – Dec 31)
United States (federal)31 days this year + a 183-day weighted total3-year weighted lookback (Substantial Presence Test)
United Kingdom16–183 days depending on your tiesUK tax year (Apr 6 – Apr 5), sliding scale
Schengen Area (visa, not tax)90 daysRolling 180-day window
New York / many US states184 days + a permanent homeCalendar year, any part of a day counts
Thailand180 daysCalendar year
Australia183 days (plus domicile/ordinary-residence tests)Income year (Jul 1 – Jun 30)

Need the precise math for the big three? Run your dates through the 183-day calculator, the Substantial Presence Test calculator, or the Schengen 90/180 calculator.

The US doesn't use a simple 183 days

If you're asking about the United States, forget the single-year count. The federal Substantial Presence Test weights three years: every day this year counts as a full day, days last year count as one-third, and days two years ago count as one-sixth. Add them up, if the total reaches 183 (and you were present at least 31 days this year), you meet the test and are taxed as a US resident on your worldwide income.

That weighting means you can trip the test with well under 183 days in the current year if you've been visiting regularly. The flip side: some people stay non-resident even after a long current-year stay because their prior years were light. See the full weighted formula breakdown, and note that students, teachers, and certain visa holders may be exempt individuals who don't count their days at all.

Even if the math makes you a US resident, you may be able to file Form 8840 and claim a closer connection to another country, but only if you were present fewer than 183 days in the current year. Cross 183 actual days and that escape hatch closes.

What counts as a 'day' (this trips everyone up)

Two people can spend the same trip in a country and end up with different official day counts, because jurisdictions define a 'day' differently:

  • Any part of a day: New York and most US states count any portion of a day as a full day, a one-hour layover at JFK can count.
  • Midnight presence: the UK generally counts a day only if you were in the country at midnight (with limited transit exceptions).
  • Entry and exit both count: the Schengen 90/180 rule counts your arrival day and departure day, even if you were there for a few hours.
  • Full days, with carve-outs: the US federal test counts full days of presence but excludes qualifying transit (under 24 hours), certain medical-condition days, and exempt-individual days.
  • Half-days and partial days: a few countries round differently, always confirm the local definition before you count.

Because the definitions differ, the same calendar can be 179 days under one rule and 184 under another. When you're close to a line, count under that jurisdiction's definition, not a generic one. The edge-case guide on layovers and partial days walks through the messy ones.

Days aren't the whole story

Staying under 183 days protects you from the presence trigger, but most countries have a second path to residency through domicile or your "center of vital interests", where your home, family, and economic life sit. If your permanent home and family are in a country, you can be resident there even on a light day count.

When two countries both claim you, tax treaties resolve it with a tie-breaker: permanent home first, then center of vital interests, then habitual abode, then nationality. So "how many days" answers the presence test, but a defensible position also needs your home, ties, and intent to line up. See how treaty tie-breakers work if you're genuinely living between two places.

How to stay on the right side of the line

If you split your year across borders, snowbird, remote worker, frequent business traveler, you need a running count under every rule you touch, not a guess in December. Auditors won't accept "about 170 days." They'll accept arrival and departure dates backed by boarding passes, hotel folios, and card statements.

Tax Days tracks this on your iPhone: log a trip in seconds and the app counts your days in real time against the 183-day rule for any country, the US Substantial Presence Test, Schengen 90/180, the UK SRT, and US state rules, and warns you before you cross a threshold rather than after.

Rule of thumb: start tracking once you spend more than 90 days a year in any country that isn't your primary home. By 120 days you're in the danger zone, and the last thing you want is to discover you hit 184 after the year has closed.

FAQ

Frequently asked questions

How many days can I stay in a country without being a tax resident?

In most countries, fewer than 183 days in a calendar year keeps you out of presence-based tax residency. The US uses a 3-year weighted formula instead, and many US states use 184 days combined with a permanent home. Staying under 183 protects you from the day-count trigger, but not from domicile or 'center of life' tests.

Is the 183-day rule the same in every country?

No. The number is widely shared, but the counting period and the definition of a 'day' vary. Some countries count any part of a day, others count midnight presence, and the US weights three years together. Always count under the specific jurisdiction's rule.

Does the day I arrive or leave count?

It depends. New York and most US states count any part of a day, so both arrival and departure days count. The UK generally counts midnight presence. Schengen counts both entry and exit days. The US federal test excludes qualifying transit days under 24 hours.

Can I be a tax resident with fewer than 183 days?

Yes. If your permanent home, family, and economic center are in a country, you can be resident there on a domicile or 'center of vital interests' basis even with a low day count. Days are a floor, not the whole test.

How does the US decide if I'm a tax resident?

Through the Substantial Presence Test: days this year count fully, last year's days at one-third, and the prior year's at one-sixth. If the weighted total reaches 183 and you were present at least 31 days this year, you're a US resident for tax purposes. You can run the math at /tools/substantial-presence-test-calculator.

What's the safest day count if I split time between two countries?

Keep each country other than your home base under 90 days if you can, and never let any single country exceed 182 days in its counting year without a plan. Track contemporaneously so you can prove your numbers in an audit.

Sources & further reading

Every rule on this page is drawn from primary sources. Verify the current law before making a residency decision.

  1. [1]Substantial Presence TestIRS
  2. [2]Form 8840, Closer Connection Exception StatementIRS
  3. [3]OECD Model Tax Convention, Article 4 (Resident) tie-breakerOECD