Becoming a Spanish tax residentArticle 9 of 10 · 2 min read
Returning to Spain after years abroad: your tax status
Explains how Spanish tax residence works if you are a Spaniard coming home after years abroad: the general tests still apply, some Spaniards abroad stay resident, and the special inbound regime has a look-back period.
Key rules
- Posted abroad: Spaniards abroad only because of a diplomatic, consular or official post stay Spanish tax residents for the year of the move and four more years.
- Tax havens: Moving to a tax haven does not end Spanish residence for a Spanish national for the same five years.
The general tests apply to you
Being Spanish does not make you a tax resident by itself, and it does not exempt you. The exceptions are a few nationality-based rules for Spaniards who were abroad, and the look-back period for the special inbound regime. The tests apply by residence, so UK citizens with Withdrawal Agreement rights, EU citizens and non-EU citizens are treated alike; the nationality-based extension applies only to Spanish nationals.
Spaniards who can stay resident while abroad
Some Spanish nationals stay treated as Spanish tax residents even though they live abroad. This lasts for the year of the move and the four years after. It applies if your foreign residence exists only because you are:
- in a diplomatic or consular post, or a similar post;
- a member of a Spanish diplomatic mission or consular office;
- an official in active service holding an official post abroad, even if it is not diplomatic or consular.
The spouse (not legally separated) and minor children of a Spanish official posted abroad are also treated as Spanish residents for those years, unless they were non-resident before the posting. The same five-year rule applies to a Spanish national who moved to a tax haven, and for that case it covers you only.
If this fits you, you may never have stopped being a Spanish tax resident. Your return then changes less than you expect, so confirm your position before you file anything. It also means you may not meet the look-back test for the special regime below.
Your family's rights to join you as relatives of a Spaniard are in Returning to Spain as a Spaniard with a family.
Using the special inbound regime
The special regime for inbound workers, known as the Beckham regime, has a look-back period: five tax years of non-residence for arrivals from 2023, ten years before that. A returning Spaniard qualifies on the same footing as a foreigner, provided they were non-resident in those years. The other conditions, the form and the six-month deadline are in Posted to Spain by your employer.
More in Becoming a Spanish tax resident
- How the 183-day rule counts your days in Spain
- When Spain can claim you through your economic interests
- How a spouse and children in Spain affect your tax residency
- Moving to Spain mid-year and when your residency starts
- Tax residency versus your residence card, NIE and registration (padrón)
- Do remote workers and digital nomads pay Spanish income tax?
- Winter stays and second homes: are you a Spanish tax resident?
- Posted to Spain by your employer: residency and tax basics
- Documenting your travel and residence pattern before Hacienda asks
Need certainty before you act?
For important relocation decisions, speak with a qualified human specialist.
Always verify important information with the relevant official authority or a qualified adviser before acting. This website uses large language models together with various public data sources, official government documents and other established sources. Due to the amount of data on this website, some information might be wrong. Information may also be incomplete or outdated.