Relocation
Transferring Tax Residency to Spain: What Every EU Citizen Must Handle Before Arriving
7 min read
The most costly mistake Europeans make when relocating to Spain is not choosing the wrong neighborhood or filing the registration certificate late. It is failing to manage the tax residency change in time, ending up as a tax resident in two countries simultaneously for an entire year. This article explains what triggers Spanish tax residency and what needs to be done in the home country before it is too late.
What It Means to Be a Tax Resident in Spain
The Three Criteria That Trigger Spanish Tax Residency
Tax residency determines where your worldwide income is taxed. The Agencia Tributaria considers you a tax resident in Spain when at least one of these three criteria is met:
- You spend more than 183 days in Spanish territory during the calendar year
- You have your primary economic interests or base of economic activity in Spain
- Your spouse and minor non-emancipated children reside in Spain (except in cases of legal separation)
Any single criterion is sufficient — you do not need to meet all three. Being a tax resident in Spain means declaring all worldwide income through the IRPF return, not just income generated in Spain.
What the Spanish Tax Rates Actually Mean
IRPF is a progressive tax. Madrid applies a slightly lower combined (state + regional) scale than most other Spanish regions:
| Income bracket | Combined IRPF rate (Madrid, 2026) | |---|---| | Up to €12,450 | 19% | | €12,450–€20,200 | 24% | | €20,200–€35,200 | 30% | | €35,200–€60,000 | 37% | | €60,000–€300,000 | 43% | | Above €300,000 | 47% |
Anyone with significant income in their home country — dividends, rental income, capital gains — needs to plan for these rates before arriving. The Agencia Tributaria's documentation on residency obligations is published at www.agenciatributaria.es.
The 183-Day Rule: How It Is Counted and What Exceptions Exist
Counting the Days
The 183 days are counted over the full calendar year, from 1 January to 31 December. Days do not need to be consecutive. Occasional absences — holidays, business trips — do not interrupt the count, unless the taxpayer can prove tax residency in another country. Time spent in countries classified as tax havens under Spanish law does not count as absence.
Someone who spends January through June in Madrid, July in their home country and returns in August will have exceeded 183 days without having actively planned to become a Spanish tax resident. The count happens automatically by calendar year, not by intention.
The Exception and Its Limits
If you hold a valid tax residency certificate from your home country proving you remain a resident there, you may be in Spain for more than 183 days without that automatically triggering Spanish tax residency — provided the double taxation convention (DTA) between both countries allows for it and the situation is genuinely coherent. But the burden of proof falls entirely on the taxpayer, and this exception has clear limits.
For someone in a year of transition — part of the year in the home country, part in Spain — dual residency during that year is the typical outcome. DTAs resolve the conflict but do not eliminate filing obligations in both jurisdictions.
How to Deregister as a Tax Resident in Your Home Country
Country-by-Country Procedures
Tax deregistration in the home country is not automatic. It must be actively communicated to the relevant tax authority before the end of the tax year in which the move takes place — in some countries, even earlier. Key procedures by country:
- France: Déclaration de changement de domicile with the services des impôts and deregistration from the commune. France applies its own residency criteria; the France-Spain DTA allocates types of income between both countries in a specific way.
- Germany: Abmeldung at the Einwohnermeldeamt. For someone who retains a property in Germany without selling or renting it, formal deregistration can be more complex and may not fully resolve German tax residency.
- Netherlands: Uitschrijven with the Basisregistratie Personen (BRP). The Belastingdienst applies the Netherlands-Spain DTA with specific rules for occupational pensions and dividends from Dutch companies.
- Belgium, Italy, others: Each country has its own municipal and tax authority process; confirm the specific filing with a local tax adviser before the year ends.
Timing
Completing deregistration before the end of the calendar year of the move avoids retroactive complications. A month early is always better than a month late. The legal basis for Spanish tax residency changes is published in the Boletín Oficial del Estado.
Your Obligations in Spain from Year One
IRPF and the Modelo 720
Once you are a tax resident in Spain, the two main obligations are:
IRPF filing: mandatory if income exceeds €22,000 annually from a single payer, or €15,000 if there are multiple income sources or capital gains above €1,500. The declaration is filed between April and June of the year following the one it covers. For the first year in Spain, the return may be partial if the move took place mid-year.
Modelo 720: an informational declaration — it does not generate a direct payment — of assets and rights held abroad. Mandatory for Spanish tax residents who hold, per category:
- Foreign bank accounts with a balance above €50,000
- Foreign real estate above €50,000 in value
- Foreign securities, insurance and investments above €50,000
The modelo 720 is filed in the first quarter of the year following the one in which you became a tax resident.
The Impatriates Regime Option
For executives relocating to Spain with an employment contract, the Beckham Law and its tax implications offers an alternative to standard IRPF that can generate significant savings over the first six tax periods. The application must be filed within six months of starting work in Spain using form 149 with the Agencia Tributaria — there is no option to apply late.
British nationals have the additional layer of the specific UK-Spain tax treaty with its own rules on state pensions, capital gains and dividends from UK companies; if you are coming from the UK, see our guide on tax obligations for British citizens in Spain for the details that differ from EU country treaties.
Frequently asked questions
If I move to Madrid in July, do I become a Spanish tax resident for that whole year?
Not necessarily. If you arrive in July and the year ends in December, you will have spent roughly 180 days in Spain — just under the 183-day threshold. You may not become a tax resident that year under the day-count rule. However, the other two criteria — economic interests and family center — may still apply independently of the day count. In the year of the move, the safest approach is to do a precise count and check all three criteria before assuming you are not a resident.
Do I need to file a modelo 720 if I still own a flat in my home country after moving to Spain?
Yes, if the property value exceeds €50,000. The modelo 720 requires Spanish tax residents to declare foreign real estate above that threshold. This is an informational declaration; it does not create a tax payment obligation on the property itself, though it does require accurate reporting. Failure to file or filing incorrectly carries penalties, so consult a Spanish tax adviser for your first submission.
Can I remain a tax resident in both Spain and my home country at the same time?
Technically yes — both countries may claim residency under their own rules. Double taxation treaties (DTAs) determine which country has primary taxing rights by applying a hierarchy of tiebreaker rules: habitual abode, center of vital interests, nationality, and mutual agreement. In practice, being a dual tax resident creates filing obligations in both countries and requires active management to avoid penalties. The goal of pre-move planning is to avoid this situation entirely.
At Aedara, we coordinate the relocation process including tax planning for the year of the move. This is one of the areas where having prior guidance makes the biggest difference. Contact us before you arrive and we will plan it together.
