Spanish tax residency, explained
Spain has the most enforcement-minded 183-day presumption in Western Europe — sporadic absences count as presence unless you prove residency elsewhere, and authorities have used phone and border data in disputes. Here is the full Article 9.1 picture.
The three triggers
- The 183-day presumption. More than 183 days on Spanish territory in the calendar year — with the hostile twist that sporadic absences count as presence unless you prove tax residence in another country.
- Vivienda habitual. Your habitual dwelling in Spain — the "habitual" assessment weighs family living in the home and the pattern of use.
- Centre of economic interests. Where your economic activities or interests base — predominantly, directly or indirectly.
Two traps
Nationals moving to tax havens: Spanish nationals who move to a jurisdiction listed as a tax haven keep Spanish residency for the year of the move and the following four — regardless of days, and the burden of proof is theirs. Corporate-style patterns: a Spanish company managed from Spain is Spanish tax-resident (a point for founders and freelancers who "move" their company but stay on Spanish soil).
The Beckham Law and treaties
The special regime (Art. 93) taxes qualifying inbound workers as non-residents (flat 24%) for the arrival year plus five — despite residency. Conditions include not having been Spanish resident in the previous five years and moving for a qualifying employment or entrepreneurial reason, with a filing deadline. It changes taxation, not the residency label — and the Spain–X treaty tie-breaker still applies if two countries claim you (walk the cascade).
Check your own pattern in the Spain tax residency calculator.
- Ley 35/2006 (LIRPF), Article 9.1 — official text (BOE)
- LIRPF Article 93 — special regime for relocated workers (Beckham Law)