The 183-Day Rule by Country: Comparison Guide

The 183-day rule is not one law. It is a family of national tax-residency tests that most countries build around half a year of physical presence. Spain, Portugal, Germany, France, Italy, and Canada use calendar-year or rolling 12-month windows. The UK uses its April-to-April tax year plus the Statutory Residence Test. The US uses the weighted Substantial Presence Test instead of a plain 183-day count. Crossing 183 days (or the US equivalent) can make your worldwide income taxable in that country, even if your visa status is clean. This guide compares the major tests side by side so you can plan multi-country years without triggering an unexpected residency bill.
This comparison is for digital nomads, remote workers, and expats who split time across countries and need a single view of how day-counting differs. Immigration rules decide whether you can be present. Tax residency decides which government taxes your worldwide income.
The problem it solves: many travelers treat "under 183 days" as a universal safe harbor. That fails when the window is rolling, when arrival days count differently, or when center-of-vital-interests tests apply below the day threshold.
Below you get a key-facts table, country-by-country mechanics, a worked multi-country example with concrete dates, common mistakes, and how to track thresholds automatically. For the conceptual overview of the rule itself, start with our 183-day rule explainer.
Staywise (the visa compliance app for digital nomads) tracks day counts across every country so residency thresholds show up before you cross them.
Key facts
| Country / system | Day threshold | Window | Day-count method | Other residency triggers |
|---|---|---|---|---|
| Spain | >183 days | Calendar year | Physical presence; temporary absences often count | Center of economic interests; spouse/children in Spain |
| Portugal | >183 days | Rolling 12 months | Consecutive or not | Habitual home on 31 Dec |
| United Kingdom | 183+ automatic | Tax year (6 Apr–5 Apr) | Midnight rule under SRT | Sufficient ties below 183 days |
| Germany | ~6 months continuous | Habitual abode | Continuous stay with short breaks ignored | Available dwelling |
| France | Principal stay / 183 indicator | Calendar year | Principal stay + other tests | Foyer, main activity, economic interests |
| Italy | >183 days | Calendar year | Any part of a day can count | Civil registry, domicile, residence |
| Australia | 183+ (one of four tests) | Income year (1 Jul–30 Jun) | Physical presence | Resides, domicile, superannuation tests |
| Canada | 183+ deemed resident | Calendar year | Physical presence | Significant residential ties |
| United States | Substantial Presence (weighted) | Current + 2 prior years | Weighted formula, not plain 183 | Green card / citizen status separate |
Official starting points: Agencia Tributaria, HMRC SRT guidance, IRS Substantial Presence Test, ATO tax residency, CRA non-residents.
How the major countries count 183 days
Spain. You are Spanish tax resident if you spend more than 183 days in Spain in a calendar year. Temporary absences usually count unless you can prove tax residency elsewhere. Spain also tests center of economic interests and whether your spouse and minor children habitually live in Spain. Source: Agencia Tributaria.
Portugal. Residence triggers if you spend more than 183 days, consecutive or not, in any 12-month period that starts or ends in the tax year. A home on 31 December that suggests habitual residence is an alternative trigger. Source: Portal das Finanças.
United Kingdom. The Statutory Residence Test makes you automatically UK resident at 183 days or more in the tax year (6 April to 5 April). Below that, day count combines with ties (family, accommodation, work) under the sufficient-ties test. Source: HMRC RDR3. See also our UK Statutory Residence Test guide.
Germany. Habitual abode (gewöhnlicher Aufenthalt) is presumed after a continuous stay of more than six months, with short interruptions ignored. An available dwelling can also create residency. Source: Bundeszentralamt für Steuern.
France. Residence can follow main home (foyer), principal stay (often indicated by 183 days), main professional activity, or center of economic interests. Source: impots.gouv.fr.
Italy. More than 183 days in a calendar year of civil-registry registration, domicile, or residence triggers residency. Italy can count any part of a day. Source: Agenzia delle Entrate.
Australia. Four tests apply; the 183-day test is one. Presence for half the income year (1 July–30 June) can make you resident unless the commissioner is satisfied your usual abode is overseas. Source: ATO.
Canada. Spending 183 days or more in a calendar year can make you a deemed resident, alongside the primary "resides in Canada" ties test. Source: CRA.
United States. Not a plain 183-day calendar test for non-citizens. The Substantial Presence Test weights current-year days plus one-third of the prior year and one-sixth of the year before that. US citizens remain taxable on worldwide income regardless of day count.
Comparison: window type, midnight rules, and dual residency
Three differences cause most nomad mistakes.
1. Window type. Calendar year (Spain, Italy, France, Canada) resets on 1 January. Rolling 12 months (Portugal) never fully resets just because the calendar flipped. UK tax year runs 6 April to 5 April. Australia runs 1 July to 30 June. Planning a "winter in Spain, summer in Portugal" year requires two different clocks.
2. What counts as a day. The UK midnight rule and many European systems count presence at midnight. Italy can count any fraction of a day. Arrival and departure days usually both count. Airport layovers that clear immigration can matter in strict jurisdictions.
3. Backup tests. Day count is rarely the only test. Spain, France, Canada, and Australia can claim residency through home, family, or economic center even under 183 days. OECD treaty tie-breaker rules only help when two countries both claim you and a treaty exists.
Visa day-counting (for example the Schengen 90/180 rule) is a separate system. Clean Schengen compliance does not prevent Spanish tax residency if your calendar-year total hits 183.
Worked example: one nomad, three countries, one year
Maya, a Canadian remote worker, in 2026
- 1 Jan – 20 Mar: Lisbon (79 days in Portugal)
- 21 Mar – 15 Jun: Barcelona (87 days in Spain)
- 16 Jun – 10 Sep: Lisbon again (87 days in Portugal)
- 11 Sep – 31 Dec: Toronto (112 days in Canada)
Portugal (rolling 12 months and calendar year): Calendar-year total = 79 + 87 = 166 days. Under 183 on calendar year alone, but she must recheck any rolling 12-month window that starts or ends in 2026 if she returns later.
Spain (calendar year): 87 days. Under 183. No day-count trigger. She still avoids keeping a Spanish economic center if she wants a clean non-resident story.
Canada: 112 days physical presence. Under the 183-day deemed-resident threshold, but CRA will still examine residential ties if she kept a home, spouse, or dependents in Canada.
Dual-residency risk: If Portugal later claims her on habitual home or a later rolling window, Canada-Portugal treaty tie-breakers would look at permanent home, center of vital interests, habitual abode, then nationality.
Change one variable and the outcome flips. If Maya stayed in Spain until 20 September instead of leaving 15 June, her Spanish total jumps past 183 and Spain becomes the primary problem.
Common mistakes when comparing countries
Assuming every country uses a calendar year. The UK, Australia, and Portugal break that assumption. A plan that "resets in January" fails in those systems.
Treating US presence like a simple 183-day test. Non-citizens need the three-year weighted formula. Citizens cannot day-count their way out of US tax filing.
Ignoring backup tests under 183 days. Family in Spain, a permanent home in France, or Canadian residential ties can trigger residency without a high day count.
Mixing visa days with tax days. Two clean Schengen 90-day cycles in one calendar year in the same country can leave you at 180 tax days. One more trip crosses many European thresholds.
Not documenting exit. Tax authorities can request flight records, card statements, and phone data. Passport stamps alone are weak evidence inside Schengen.
How Staywise tracks multi-country 183-day thresholds
Staywise tracks every day you spend in every country and runs simultaneous counts for calendar year, UK tax year, Australian income year, and rolling 12-month windows. Alerts fire before you approach a tax-residency threshold so you can plan an exit rather than discover the problem after year-end.
The app is privacy-first: passport numbers and photos stay on your device. Only travel dates and countries sync. The in-app AI assistant answers questions such as "how many more days can I spend in Spain this year without triggering residency?" Multi-passport support helps dual citizens keep separate presence histories.
Download Staywise on the App Store
How to track tax residency days while traveling
Tax residency day counts fail when you track countries in separate notes apps. Staywise (the visa compliance app for digital nomads) counts days across countries automatically and sends overstay alerts before a limit hits. Passport details stay on your device; only travel dates sync for the math. Available on iOS.
For tool comparisons, see Best Visa Tracker Apps for Digital Nomads (2026) and How to Track Your Days in Multiple Countries.
Download Staywise on the App Store
Frequently Asked Questions
Is the 183-day rule the same in every country?
No. Spain uses a calendar year. Portugal uses a rolling 12-month window. The UK uses its 6 April–5 April tax year plus the Statutory Residence Test. Italy can count any part of a day. The US uses a weighted multi-year formula for non-citizens and taxes citizens worldwide. Each country also has backup tests beyond pure day count. Always verify current rules with official sources before you travel or file, because thresholds and forms change.
Which countries use a calendar year for the 183-day test?
Spain, France, Italy, Germany (for many practical purposes around habitual abode), and Canada are commonly planned on a calendar-year basis. Always confirm the current domestic definition with the national tax authority, because some systems combine calendar presence with other residence concepts. When in doubt, check the national tax authority glossary for the exact residence period definition for the year you care about.
Does the UK use a simple 183-day rule?
No. Spending 183 days or more in the UK tax year makes you automatically resident, but below that the Statutory Residence Test applies sufficient ties. You can be UK resident with far fewer than 183 days if you have strong UK ties such as family, accommodation, and work. Worked examples under HMRC RDR3 guidance are the practical reference when your day count sits near a band boundary.
How does the US Substantial Presence Test compare to 183 days?
It is related but not identical. You generally meet substantial presence if you are in the US at least 31 days in the current year and the weighted total of current year days + one-third of prior year + one-sixth of the year before that equals 183 or more. US citizens and green card holders face different rules and remain taxable on worldwide income until expatriation or formal abandonment.
Can I be tax resident in two countries under 183-day rules?
Yes. Dual residency is common when two domestic tests both capture you. Bilateral tax treaties usually apply OECD-style tie-breakers (permanent home, center of vital interests, habitual abode, nationality, mutual agreement). Without a treaty, you can face genuine double taxation. Track both day counts and ties before year-end. Keep leases, boarding passes, and residency certificates ready if both authorities open an enquiry.
Related guides
- The 183-Day Rule Explained
- US Substantial Presence Test
- Tax Residency Statistics for Expats 2026
- OECD Tax Treaty Tie-Breaker Rules
About Staywise
Staywise is the visa compliance app for digital nomads. Built by nomads for nomads, it tracks your days across every country automatically, alerts you before overstays, and keeps passport details on your device for privacy. The in-app AI assistant answers visa questions in plain English. Available on iOS.
Important: This content is informational and does not constitute legal, tax, or immigration advice. Visa rules, tax regulations, and entry requirements change frequently and vary by individual circumstances. Always verify current requirements with official government sources or a qualified professional before making travel decisions. Staywise tracks your days and surfaces compliance information, but final responsibility for compliance rests with the traveler.