| Threshold | More than 183 days (maximum) |
|---|---|
| Period | A calendar year (1 January to 31 December) |
| How a day counts | Any day you are present for any part of it counts as a whole day, including the days you arrive and leave. |
| Last reviewed | 1 May 2026 |
Source: the tax authority's published guidance · last reviewed 1 May 2026
Count your daysHow Sojourn keeps the count
How Spain counts your days
Any day on which you were physically present in Spain for any portion counts as one full day. Arrival and departure days both count. Spain also applies a second alternative test based on your main economic or professional interests being located in Spain — crossing that threshold alone is sufficient for Spanish tax residency regardless of day count.
What the day count does not tell you
Spain's 183-day rule is the most commonly invoked test, but it is not the only one. Spain also presumes residency if your spouse and dependent children reside habitually in Spain, unless you can prove a different tax domicile. Spain's 'Beckham law' (Régimen especial de trabajadores desplazados) offers an optional special regime for inbound workers that can limit Spanish tax liability on foreign income for up to 6 years even after crossing the 183-day threshold. Confirm with a Spanish tax advisor.
Resident in two countries
Spain has tax treaties with over 90 countries. Spanish treaties follow the OECD model: permanent home, centre of vital interests, habitual abode, nationality, mutual agreement. Spain is known for robust enforcement of its exit-tax rules (Impuesto de Salida), which can apply when you move away and hold significant assets — the exit-tax position is separate from but related to the residency tie-breaker.
Proving residency
Spain issues a Tax Residency Certificate through its tax authority. Request it from the official service.
Other day-count rules for Spain
- 183 days (establish residency for the Beckham regime) — a calendar year (1 January to 31 December)
Common questions
How many days can I spend in Spain before I become tax resident?
More than 183 days per calendar year, counted over a calendar year (1 January to 31 December). The day count is not the whole test: Spain also looks at your ties, so you can be resident below it.
How does Spain count a day?
Any day you are present for any part of it counts as a whole day, including the days you arrive and leave.
What if I am resident in Spain and another country?
Spain has tax treaties with over 90 countries. Spanish treaties follow the OECD model: permanent home, centre of vital interests, habitual abode, nationality, mutual agreement. Spain is known for robust enforcement of its exit-tax rules (Impuesto de Salida), which can apply when you move away and hold significant assets — the exit-tax position is separate from but related to the residency tie-breaker.