ES · rules v2026.1 · last verified 2026-08-28

Spain's residence day count, explained

Not tax or legal advice. Verify with a qualified professional.

Spain’s day-count test looks like the standard European model: spend more than 183 days in Spain during the calendar year and you are Spanish tax resident. What people get wrong is assuming that leaving Spain stops the count. Under Spain’s sporadic-absence doctrine, short trips out may still count as days in Spain unless you can prove tax residence elsewhere — so the raw presence figure your ledger shows can be a floor, not the final number, and the gap between the two is exactly where the risk sits.

ES · v2026.1

Spain 183-day rule

You are Spanish tax resident if you spend more than 183 days in Spain during the calendar year. Sporadic absences count as days IN Spain unless you prove tax residence elsewhere, and residence applies to the whole calendar year (no split year). Spain also treats you as resident if your centre of economic or family interests is there — a facts question this counter cannot decide.

Threshold 183 days
Reference period calendar year

How days are counted

  • Any part of a day present counts as a full day.

Official source Last verified 2026-08-28 Effective from 2000-01-01

How days are counted

Any part of a day present counts as a Spanish day, so both ends of every trip count in full. On top of that sits the sporadic-absence treatment: an absence from Spain may be added back into the Spanish count as if you had never left, unless tax residence in another country is certificated. The practical effect is asymmetric. Days in Spain always count; days out of Spain only reliably count as days out once you can evidence residence somewhere else. For someone between residences — recently departed from one country, not yet settled in another — this doctrine can make Spain’s count grow even during months spent largely abroad.

Residay’s counter shows raw presence, with the sporadic-absence caveat surfaced alongside it rather than silently folded in. That is deliberate: the add-back turns on whether residence elsewhere is certificated, which is a documentary fact, not a location fact, and presenting an inflated count as if it were observed presence would corrupt the evidence trail.

The whole-year effect

Crossing the threshold makes you resident for the entire calendar year — Spain has no split year. The marginal day is therefore retroactive to January, which gives the threshold unusual weight for anyone arriving mid-year: a move to Spain in early summer can produce residence for the whole of that year, including the months before arrival. Spain can also treat you as resident if your centre of economic or family interests is there, regardless of the count. That is a facts question this counter cannot decide, and the app flags it rather than pretending to compute it.

The Beckham Law

The régimen especial para trabajadores desplazados a territorio español — Article 93 LIRPF, known almost universally as the Beckham Law — lets someone who becomes Spanish tax resident by moving to Spain be taxed under the non-resident rules rather than the ordinary progressive ones. Employment income is drawn in wherever it arises and taxed at a flat rate up to a ceiling; foreign investment income and foreign gains generally remain outside the Spanish net, and wealth tax reaches Spanish assets only.

Note first what it is not. The regime is an election made by a person who has become Spanish tax resident, not a way of avoiding residence. The count above still has to be crossed, or the centre-of-interests limb met, before there is anything to elect into — which is why the arrival date and the day record matter as much here as anywhere else in this guide.

The flat rate is 24% on employment income up to 600,000 euros a year, with 47% on the excess. The regime runs for six tax years — the year residence is acquired plus the following five — and requires that you were not Spanish tax resident during the five tax years before the move. That look-back stood at ten years until Ley 28/2022, the Startups Law, shortened it to five with effect from 1 January 2023.

The same reform widened who may use it. What had been essentially a posted-employee regime now also reaches remote workers employed by a foreign company who work from Spain by telematic means, directors of Spanish companies — a shareholding restriction survives, but only for asset-holding entities — entrepreneurs carrying on an innovative activity certified as such, and highly qualified professionals providing services to emerging companies or engaged in training, research and development. A spouse and children under twenty-five may accompany the main applicant into the regime on conditions of their own. The election is made on Form 149 within six months of registration with Social Security, and that window is unforgiving.

Two features of Spanish residence described above bear directly on it. Residence is a whole-year matter with no split year, so the year of arrival is either inside the regime or outside it, and timing the move decides which. And electing the regime does not make you a non-resident in the eyes of the country you left: that state applies its own test to the same year, and where a treaty tie-breaker is in play the arguments run on permanent home, centre of vital interests and habitual abode. Those are questions a dated day record helps answer and an election does not.

What Residay computes and what it asks

Spain’s day-count test requires no attestations: the count itself is a pure function of presence. From your trips, the app derives the Spanish day count on the any-part basis, days remaining beneath the threshold, and the projected crossing date if your pattern continued — each counted day traceable to a trip. What the counter cannot decide, it names: whether an absence is protected from the add-back depends on certificated residence elsewhere, and whether your centre of economic or family interests sits in Spain is a question for you and your advisor, not a ledger.

Planning notes

  • Treat the raw count as a floor. If you cannot certificate residence elsewhere, plan as though your sporadic absences may be added back.
  • The whole-year effect makes mid-year moves expensive to get wrong — crossing the threshold in October means residence from January.
  • The centre-of-interests limb operates independently of days; family and economic ties in Spain can produce residence below the threshold.
  • If the Beckham election is in view, the calendar governs twice over: the regime runs from the tax year in which residence is acquired, and the application window closes six months after registration with Social Security.
  • A tax residence certificate from another country is the single most useful document to hold if you spend substantial time in Spain without intending residence.

Last reviewed 2026-08-30

Common questions

How many days can I spend in Spain before becoming tax resident?

Spend more than 183 days in Spain during the calendar year and you are Spanish tax resident. Treat the raw presence figure as a floor rather than the final number, because Spain's sporadic-absence doctrine can add days back into the count.

What is a sporadic absence in Spain?

Short trips out of Spain may still be counted as days in Spain, as if you had never left, unless you can prove tax residence elsewhere. The effect is asymmetric: days in Spain always count, while days out only reliably count as days out once residence somewhere else is certificated. For someone between residences the Spanish count can grow during months spent largely abroad.

Does the day I arrive in Spain count?

Yes. Any part of a day present counts as a Spanish day, so both ends of every trip count in full. Budget the calendar days you touch rather than the nights you sleep.

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

Yes. Spain also treats you as resident if your centre of economic or family interests is there, and that limb operates independently of the count. It is a facts question that a day counter cannot decide, so family and economic ties in Spain can produce residence below the threshold.

What is the Beckham Law in Spain?

It is the special regime for workers posted to Spanish territory, Article 93 LIRPF. Someone who becomes Spanish tax resident by moving to Spain may elect to be taxed under the non-resident rules: employment income is taxed at a flat 24% up to 600,000 euros a year and 47% above that, while foreign investment income and foreign gains generally stay outside the Spanish net and wealth tax reaches Spanish assets only. It runs for six tax years — the year residence is acquired plus the following five.

Who qualifies for the Beckham Law after the 2023 changes?

Ley 28/2022, the Startups Law, cut the required period of prior non-residence from ten tax years to five with effect from 1 January 2023 and widened the entry routes. Alongside posted employees it now reaches remote workers employed by a foreign company who work from Spain by telematic means, directors of Spanish companies (with a shareholding restriction surviving only for asset-holding entities), entrepreneurs carrying on a certified innovative activity, and highly qualified professionals working with emerging companies or in training and R&D. A spouse and children under 25 may accompany the main applicant on conditions of their own.