Basic guide12 min readUpdated · JUN 2026
The 183-day rule, properly explained: what counts as a day and what doesn't
Same-day entries and exits, layovers, sporadic absences and the calendar year: the nuances that decide your tax residency — and that almost nobody explains well.
If you live between countries, one number decides where you pay tax on everything you earn: 183. Spend more than half the year in a country and, as a general rule, that country considers you a tax resident. Sounds simple. It isn't: most surprises come from the fine print of what counts as a "day" — and that fine print is rarely explained properly.
What the rule actually says
In Spain, you are a tax resident if you stay on Spanish territory more than 183 days within the calendar year (January to December). The days don't need to be consecutive, you don't need to own a home or work there: accumulated physical presence is enough. Many countries apply a similar rule — Portugal, France, Italy or Germany, with variations — but each with its own small print: some count over the calendar year, others over any 12-month period.
What counts as a day
This is where counts done from memory fall apart:
- Entry and exit days both count. A Friday-to-Sunday trip is 3 days, not "a weekend". Landing at 23:50 counts as the full day.
- There is no minimum number of hours. A few hours of presence already mark the day. Midnight doesn't split anything: if you set foot in the country that day, that day counts.
- Layovers are the grey area. An airport transit without passing border control generally doesn't count as presence; leaving the airport does. If you do long layovers often, don't leave it to interpretation: keep the boarding passes.
"Sporadic absences": the nuance most people miss
Spanish law adds an important twist: for the count, sporadic absences are added as presence unless you can prove tax residency in another country. In practice: if your base is Spain and you take a two-week holiday in Thailand, the tax authority counts those two weeks as days in Spain — unless you can produce a tax residency certificate from another country.
This detail breaks the naive strategy of "I'll leave a few days before reaching 183 and I'm fine". Without accredited residency somewhere else, those short trips don't subtract.
Calendar year, not a rolling window
Spain's 183-day rule is measured within the calendar year: on January 1st the counter resets. Don't confuse it with the Schengen 90/180 rule, which is an immigration rule (how long you can stay as a visitor) and works on a 180-day rolling window. They are different rules with different logic, and you should watch both: you can be perfectly fine under Schengen and still cross the tax threshold, or the other way round. For the immigration side there's our Schengen calculator; for the tax side, the residency calculator.
Days are not the whole story
You can stay at 150 days and still be a tax resident. Spanish law has two more criteria, independent of the count:
- Center of economic interests. If your business or your main income is based in Spain, you can be a resident even if you spend half the year away.
- Family presumption. If your non-separated spouse and minor children habitually live in Spain, you are presumed to live there too — unless you prove otherwise.
The day count is the most objective criterion and the first one examined, but it's not the only board in play.
What happens if you cross 183
Being a tax resident means being taxed in that country on your worldwide income — not just what you earn there — with its filing obligations (in Spain, for instance, the declaration of assets held abroad). Crossing the threshold without knowing usually ends in assessments with surcharges and interest, and an audit can reconstruct your year from data you wouldn't expect: card movements, road tolls, utility usage, municipal registration.
How to keep the count without losing your mind
The rule is objective; the problem is the evidence. A reliable count needs two things: knowing how many days you have in each country and being able to prove them later. Spreadsheets fail at the second part. Daywhere counts your days automatically with background GPS, stores proof of where you were and warns you before you cross the threshold — not after. The calculator gives you today's snapshot; the app keeps the record all year long.
Informative content, not tax advice: every case has nuances — check yours with a qualified professional.