Tax residency in Spain
How to become a tax resident — and how hard it is to leave.
How to become a tax resident
Typically after 183+ days of presence in a year — or any of:
- More than 183 days of stay in Spain during the calendar year (sporadic absences count unless tax residence in another country is proven; special stricter proof if the other country is a tax haven)
- Main core or base of economic activities or interests located in Spain, directly or indirectly
- Presumption of residence if spouse (not legally separated) and minor dependent children habitually reside in Spain, unless proven otherwise
Spain offers a digital‑nomad residence visa for remote workers with sufficient income and a Golden Visa residence-by-investment route (e.g., €500k+ real estate), so a self-funded individual can usually obtain residence without great difficulty.
How to break residency
moderate to leaveEnding Spanish tax residence generally requires spending fewer than 184 days in Spain and shifting your main economic and family centre abroad, with proof of foreign tax residence sometimes required, especially for moves to tax havens. There is no general citizenship- or domicile-based tail, but anti‑avoidance rules and the family presumption can make it harder to demonstrate a clean break in practice.
“A natural person is deemed to have his or her habitual residence in Spain when any of the following circumstances apply: That you remain in Spain for more than 183 days during the calendar year. To determine this period of stay, your sporadic absences are taken into account, unless you prove your tax residence in another country. In the case of countries or territories classified as tax havens, the tax authorities may require proof of residence in said tax haven for 183 days in the calendar year. That the main core or base of its activities or economic interests is located in Spain, directly or indirectly. Likewise, it will be presumed, unless proven otherwise, that a taxpayer has his or her habitual residence in Spain when, in accordance with the above criteria, the spouse who is not legally separated and the minor children who depend on him or her habitually reside in Spain. A natural person will be a resident or non-resident for the entire calendar year since the change of residence does not imply the interruption of the tax period.” — Agencia Estatal de Administración Tributaria (Agencia Tributaria)
Estimate — confirm against the linked sources. See methodology.