Global Rules

How Many Days Can You Stay Without Becoming a Tax Resident?

The real answer to how many days you can spend in a country without becoming tax resident - the 183-day default, the ties and rolling-window traps that lower it, and how to track your safe margin on iPhone.

7 min read · 8 July 2026 · Tax Residency Tracker Team

"How many days can I stay without paying tax?" is the question every traveller, nomad and expat eventually asks - and the honest answer is it depends. The usual starting point is 183 days: stay fewer than that in a country using a simple day test and you often remain a nonresident for that test. But ties, rolling windows and weighted formulas routinely pull the real threshold well below 183 - and being under the line everywhere still does not guarantee you owe tax nowhere. This guide sets out the real limits and how to keep a safe margin on your phone.

The short answer: usually 182 days or fewer - but only as a starting point

In a country that uses a straightforward 183-day test, 182 days or fewer in the relevant period usually keeps you a nonresident for that day test. That is the headline most people remember, and for a single simple jurisdiction it is roughly right. Spain, for example, applies a 183-day count within the calendar year: cross it and you are presumed resident, taxable on worldwide income. But even "183-day" countries do not all count the same year - Portugal, for instance, measures 183 days across any rolling 12-month period, not a clean 1 January to 31 December calendar year.

The problem is treating 183 as a universal, fixed limit. It is neither. The number is only a default - and three things routinely move it: extra ties that lower the threshold, rolling windows that count days differently from a calendar year, and weighted formulas that blend several years together.

Recommended cap ~150 Day 183 Safe zone stay here Buffer Over the line Day 1 Day 365
Aim to stay inside the safe zone with a deliberate buffer below the legal line - not to touch 183 exactly.

When the real threshold is far below 183

The single biggest mistake is assuming 183 days is your safe limit everywhere. Many countries make you resident on fewer days once you have connections there. The UK's Statutory Residence Test can trigger residence at as few as 16 or 46 days depending on how many ties you have (a home, work, family, or prior residence). Plenty of jurisdictions layer a centre-of-vital-interests or permanent home test on top of the day count - so where your family lives, where you work, and where your main home is can make you resident long before the calendar runs out.

  • Ties lower the number. More connections to a country generally means fewer days needed to become resident there.
  • A home or family test can override the count entirely. Some countries treat you as resident from day one if your permanent home or economic centre is there.
  • Two countries can both claim you. If two countries each consider you resident, a double-tax treaty's "tie-breaker" rules decide - but you still have to document the days to use them.

Rolling windows and weighted tests break the "half the year" shortcut

Even where 183 is the number, a naive "just stay under half the year" count can mislead, because not every rule measures a clean calendar year:

  • Rolling windows look back a fixed number of days from today, not from 1 January. The Schengen 90/180 rule is the classic example - though it is an immigration/visa limit, not a tax test. Days from months ago can still count against you now. Since the EU Entry/Exit System (EES) became fully operational on 10 April 2026, those Schengen days are now logged biometrically at the border, so the 90/180 count is enforced automatically and is far harder to dispute. (The related ETIAS travel authorisation is expected to launch in late 2026 and is not yet required - and it is an entry permit, not a tax rule.)
  • Weighted multi-year formulas blend several years. The US Substantial Presence Test counts all of this year's days, one-third of last year's and one-sixth of the year before - so you can reach the ~183 weighted threshold with well under 183 actual days in the current year.
Common day thresholds by rule type - illustrative only; rules vary by country and change over time.
RuleTypical thresholdNotes
183-day countries (e.g. Spain; Portugal on a rolling 12 months) 183 days in a calendar or rolling year Cross it and you are presumed resident; a home/family test can apply on fewer days.
UK Statutory Residence Test 16 - 183 days, depending on ties More UK ties means fewer days needed; can trigger at 16 or 46 days.
Schengen Area 90/180 90 days in any rolling 180 An immigration/visa limit, not a tax-residency test.
US Substantial Presence Test ~183 weighted days over 3 years Weights this year fully, prior years by 1/3 and 1/6.
Thresholds differ by rule and jurisdiction - always confirm the current rules for each country you spend real time in.

Under the line everywhere still isn't a free pass

Here is the trap that catches careful travellers: staying under the day threshold in every country does not mean you owe tax nowhere. You can remain resident somewhere through domicile, a permanent home, or ongoing ties even in a year you barely visited. Some people never fully break residency in their home country simply because they kept a house, a business, or a family base there. "Nowhere resident" is much harder to achieve than a day count alone suggests.

So the goal is not to find the single largest number of days you can technically squeeze in. It is to understand which test each country applies, stay comfortably inside every relevant threshold, and keep a provable record of where you were.

Always leave a buffer - never aim to hit the line exactly

Whatever your threshold works out to be, do not try to land on it precisely. Aim to stay well below it. Two practical reasons:

  1. Any part of a day often counts. Under the common "any part of a day" rule, the day you arrive and the day you leave both count as full days - so a trip feels shorter than it counts.
  2. Undocumented days are resolved against you. If you cannot prove where you were on a given day, an auditor will typically assume presence in the country claiming you. A comfortable margin is cheap insurance against a count you cannot fully evidence.

Track your safe margin automatically on iPhone

Counting this by hand - across several countries, each with its own threshold, window and day rule - is exactly the kind of task that goes wrong under pressure. Tax Residency Tracker keeps the running total for you so you always know how much room you have left:

  • Real-time days remaining per country shows exactly how many days you can still spend in each place before you approach its threshold - calculated across every country at once.
  • Residency thresholds in one view track the 183-day status, the Schengen 90/180 rolling window, and the US Substantial Presence Test side by side, so no single count sneaks past the line.
  • Planned-stay previews let you add a future trip and instantly see its projected impact on your yearly totals and thresholds - so you can test a trip before you book it.
  • Alerts as you approach a line warn you while there is still time to change plans, not after you have crossed a threshold.
  • Automatic GPS detection spots border crossings and creates a dated stay for each country, even when the app is closed, so your buffer is based on real movements rather than memory.

Everything is processed on your device and never uploaded, so your travel history stays private while remaining audit-ready if you ever need to prove your days.

Frequently asked questions

Is 183 days the safe limit in every country?

No. 183 is a common default, but ties can lower it dramatically - the UK can make you resident at 16 or 46 days - and a home or centre-of-vital-interests test can apply on far fewer days. Treat 183 as a ceiling to stay under with margin, not a guaranteed safe number.

If I stay under the threshold everywhere, do I pay tax nowhere?

Not necessarily. You can remain resident somewhere through domicile, a permanent home or ongoing ties, even in a year you spent very little time there. "Nowhere resident" is harder to achieve than a simple day count suggests, so confirm your position rather than assuming.

Do arrival and departure days count toward the limit?

Under the most common "any part of a day" rule, yes - both the day you arrive and the day you leave count as full days. This is one reason to leave a buffer rather than aim for the exact threshold.

How big a buffer should I leave?

There is no fixed figure, but leaving a clear margin below the legal line protects you against miscounted travel days and days you cannot fully document. Setting a personal cap comfortably under the threshold and tracking against it is a practical approach.

Next, read the 183-day rule explained, see how the Schengen 90/180 rule works, check the UK Statutory Residence Test, understand digital nomad tax residency, or browse all tax-residency guides.

Related guides

Global Rules The 183-Day Rule Explained (and How to Track It) What the 183-day rule really means, how countries count the days, the traps that catch travellers out, and how to track every 183-day threshold automatically on your iPhone. 8 min read Global Rules Schengen 90/180 Rule: How the Calculator Works How the Schengen 90/180-day rule really works - the rolling 180-day window, how days are counted, what the EES border system now tracks, what happens if you overstay, and how to track your remaining days automatically on iPhone. 8 min read Global Rules How to Count Days for Tax Residency (Every Method) The four ways tax rules count a day - calendar day, the midnight rule, full 24-hour days, and overnight stays - how transit and same-day border crossings work, and how to count them right on iPhone. 7 min read
Browse all guides