Spain · tax residency · 2026

How many days make you tax resident in Spain?

183days
Tax residency thresholdchecked 2026-08-18 · sede.agenciatributaria.gob.es

183 days More than 183 days during the calendar year (año natural) in Spanish territory makes you tax resident in Spain — but the day count is only the test people know about.

Next step

One email when the app can tally these days for you.

How we know

Figures are as Agencia Estatal de Administración Tributaria (Agencia Tributaria) publishes them at sede.agenciatributaria.gob.es, checked 18 August 2026.

Day threshold
183 days More than 183 days during the calendar year (año natural) in Spanish territory
Tax year
1 January – 31 December
Other tests
Habitual residence also arises where the main nucleus or base of the person's activities or economic interests ('núcleo principal o la base de sus actividades o intereses económicos') is in Spain, directly or indirectly. There is a rebuttable presumption of residence where the non-legally-separated spouse and dependent minor children habitually reside in Spain.
Worldwide income
Yes — residents are taxed on worldwide income
Special regimes
Special regime for workers posted to Spanish territory (art. 93 Ley IRPF, the 'Beckham law'): election to be taxed under non-resident rules while remaining an IRPF taxpayer, for the tax period of the change of residence and the five following tax periods; employment income withheld at 24%, with the excess over EUR 600,000 from the same payer taxed at 47%. From 1 January 2023 the applicant must not have been resident in Spain in the five tax periods before the move, and the regime was extended to remote workers, entrepreneurs, highly qualified professionals serving start-ups, and family members.
Authority
Agencia Estatal de Administración Tributaria (Agencia Tributaria)
Checked
18 August 2026

Sources are listed further down the page.

How the counting works

Day-counting: sporadic absences ('ausencias esporádicas') count towards the 183 days unless the taxpayer proves tax residence in another country; for territories classified as tax havens the authority may require proof of 183 days' presence there. The manual distinguishes certified days of presence, presumed days between two certified dates, and sporadic absences. Temporary stays in Spain under cultural or humanitarian collaboration agreements with Spanish public administrations are not counted. Worldwide taxation of residents rests on art. 2 Ley IRPF, not separately retrieved in this run.

Why the day count is the part you can control

Ties, homes and intentions are argued after the fact; days are a record. That is why the first thing an adviser asks for is a list of the days you were in the country — and why reconstructing it from boarding passes and photos a year later is a bad afternoon. Log each stay as it happens and the tally is simply there, with the dates that produced it. If you are moving to Spain to work remotely, the Spain digital nomad visa page covers the permission side.

Sources

Questions people ask about Spain tax residency

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

183 days More than 183 days during the calendar year (año natural) in Spanish territory makes you tax resident in Spain, and residents are taxed on worldwide income. Days are not the only route in: Habitual residence also arises where the main nucleus or base of the person's activities or economic interests ('núcleo principal o la base de sus actividades o intereses económicos') is in Spain, directly or indirectly. There is a rebuttable presumption of residence where the non-legally-separated spouse and dependent minor children habitually reside in Spain. Checked 18 August 2026 against sede.agenciatributaria.gob.es.

When is Spain's tax year?

1 January – 31 December. Day counts are measured against that year unless the rule names a different period — here, More than 183 days during the calendar year (año natural) in Spanish territory.

Are residents of Spain taxed on worldwide income?

Yes — once you are tax resident in Spain, worldwide income falls in scope, subject to double-tax treaties. Special regime for workers posted to Spanish territory (art. 93 Ley IRPF, the 'Beckham law'): election to be taxed under non-resident rules while remaining an IRPF taxpayer, for the tax period of the change of residence and the five following tax periods; employment income withheld at 24%, with the excess over EUR 600,000 from the same payer taxed at 47%. From 1 January 2023 the applicant must not have been resident in Spain in the five tax periods before the move, and the regime was extended to remote workers, entrepreneurs, highly qualified professionals serving start-ups, and family members.

Is there a special tax regime for people moving to Spain?

Special regime for workers posted to Spanish territory (art. 93 Ley IRPF, the 'Beckham law'): election to be taxed under non-resident rules while remaining an IRPF taxpayer, for the tax period of the change of residence and the five following tax periods; employment income withheld at 24%, with the excess over EUR 600,000 from the same payer taxed at 47%. From 1 January 2023 the applicant must not have been resident in Spain in the five tax periods before the move, and the regime was extended to remote workers, entrepreneurs, highly qualified professionals serving start-ups, and family members. Conditions and time limits apply; the official page below is the place to check them.

How does Stretch count tax days for Spain?

Every stay you log feeds the tally: Stretch counts the days you were present against the 183-day threshold in the right window, so "how long was I actually there?" is answered before your accountant asks. Tax-day tallies are part of Stretch+; the day counter and the alerts are free forever.