🇨🇭 Switzerland tax residency calculator

Enter your stays in Switzerland (and anywhere else — one ledger feeds every country) and the calculator applies the Swiss rule over the calendar year, shows the exact day count against 90 nights (cantonal), and tells you how many safe days remain.

Your travel ledger

Paste your travel list (one stay per line)

Format: YYYY-MM-DD ~ YYYY-MM-DD XX with the two-letter code of a country on this site, or a single day YYYY-MM-DD XX.

How the Swiss rule works

Switzerland layers its residency rules. For federal direct tax, residency begins when you take up domestic residence (a home/abode) with the intention of staying — an intent-and-facts test, not a day count. The day-driven part is cantonal and communal: a stay of 90 days without gainful activity (or 30 days with gainful activity) in Switzerland triggers presumed tax residence at the cantonal level even without a formal abode.

Swiss practice counts the stay by nights spent in the country, which is why this calculator counts nights for Switzerland: a trip arriving 1 January and leaving 31 March is 89 nights. Days of arrival and departure collapse into nights the same way hotel bills do.

Cantons differ in practice and enforcement, and the interplay with the abode-based federal test means a low day count does not guarantee non-residence if your centre of life is in Switzerland. Cross-border commuters have their own rules.

Rule text verified 2026-09-29
  • Steuerharmonisierungsgesetz (StHG), Art. 3, Residence by domestic abode with intention to stay; stays for tax purposes — official text
  • Swiss Federal Tax Administration, Cantonal tax residency — length-of-stay rules (30/90 days) — official text

Every calculation above follows the cited publications. If a rule changes, the verification date above is updated — pages with stale dates are flagged for re-verification.

What this calculator does not decide

Switzerland residency FAQs

How many nights can I spend in Switzerland without becoming tax resident?

Up to 89 nights in a calendar year keeps you under the cantonal 90-night threshold if you are not working in Switzerland. If you carry out gainful activity there, the trigger can fall to 30 days — and an abode with intent to stay can create federal residency at any day count.

Why nights and not days?

Swiss practice measures stays by nights spent in the country, consistent with how the length of stay is evidenced (hotel bills, registrations). The calculator therefore counts every night of each stay.

I work remotely from Switzerland for my foreign employer. Does the 30-day rule apply?

The 30-day trigger concerns gainful activity carried out in Switzerland. Working from a Swiss location can count as gainful activity there even for a foreign employer — this is a fact question the calculator cannot resolve, so treat short stays with work cautiously.

Does Swiss residency matter if there is little income tax?

Yes — residency drives cantonal and communal tax on your income and wealth, social-insurance positions, and the treaty allocation between Switzerland and your other countries. Switzerland’s tax burden varies dramatically by canton and commune.

Informational only — not tax advice. Based on the published day-counting tests, the calculator tells you what appears to follow; it cannot see your housing, family, employment or treaty situation. Confirm with a qualified cross-border tax adviser.

Other country calculators

United States Substantial Presence Test: at least 31 days in the current year AND a 3-year weighted total (all days + ⅓ of last year + ⅙ of the year before) of at least 183 days. United Kingdom Statutory Residence Test in three layers: automatic overseas tests (fewer than 46 days for arrivals), automatic UK tests (183+ days), and a sufficient ties test in between. France 183-day rule as an indicator of principal stay, alongside four other statutory criteria: household (foyer), principal residence, professional activity, or centre of economic interests. Spain Statutory 183-day presumption with sporadic absences counted as presence, plus permanent-home and economic-interest criteria. Italy 183-day presence as an indicator, alongside population-registry registration, civil-code domicile and residence. Singapore 183-day statutory rule, with a 3-consecutive-year rule and a 60-day short-term employment concession on the side. Australia 183-day test over the July–June income year, one of four tests (resides, domicile, 183-day, superannuation) — the "resides" test is the primary one. Ireland 183 days in the calendar year, or 280 days combined over this and the previous year with at least 30 days in each — the two-year test catches repeated medium stays. United Arab Emirates Resident at 183 days of presence; possibly resident from 90 days if you also have a permanent home or place of business in the UAE. Malaysia 182-day statutory rule — deliberately not 183 — with linked-stay rules that can make short stays count across years. Thailand 180-day rule — another "not 183" country — with the remittance rule taxing residents on foreign income brought into Thailand. Philippines 180-day rule for resident-alien classification; resident aliens are taxed on Philippine-source income.