Why residence decides everything
A tax resident of Spain pays Spanish personal income tax (IRPF) on all of their income, whichever country it comes from. A non-resident, by contrast, pays non-resident income tax (IRNR) only on Spanish-source income.
That is why residence is the first question in any international planning: it determines the tax that applies, the reporting obligations on assets abroad and how double tax treaties are applied.
The tests in article 9
The law provides three routes for treating a person as resident. Meeting any one of them is enough, and the burden of proof does not always fall on the same side.
| Test | What is examined | How it is usually proved |
|---|---|---|
| Physical presence | Days spent in Spanish territory during the calendar year, including sporadic absences | Passport, tickets, rental contracts, spending records |
| Centre of economic interests | Where the main core or base of your business activities or economic interests lies | Source of income, location of assets, place of business |
| Family presumption | Habitual residence in Spain of the spouse (not legally separated) and dependent minor children | Municipal registration (empadronamiento), school enrolment; can be rebutted with evidence |
1. Se entenderá que el contribuyente tiene su residencia habitual en territorio español cuando se dé cualquiera de las siguientes circunstancias:
a) Que permanezca más de 183 días, durante el año natural, en territorio español. Para determinar este período de permanencia en territorio español se computarán las ausencias esporádicas, salvo que el contribuyente acredite su residencia fiscal en otro país. En el supuesto de países o territorios considerados como paraíso fiscal, la Administración tributaria podrá exigir que se pruebe la permanencia en éste durante 183 días en el año natural. […]
b) Que radique en España el núcleo principal o la base de sus actividades o intereses económicos, de forma directa o indirecta.
Se presumirá, salvo prueba en contrario, que el contribuyente tiene su residencia habitual en territorio español cuando, de acuerdo con los criterios anteriores, resida habitualmente en España el cónyuge no separado legalmente y los hijos menores de edad que dependan de aquél.
In short. You are resident if you spend more than 183 days in Spain in the calendar year, if the main core of your economic interests is in Spain, or — unless proved otherwise — if your spouse (not legally separated) and minor children live here.
Source: Ley 35/2006, of 28 November (BOE)
Try it: the physical presence test
days
Tax resident in Spain
You meet the physical presence test: you pay Spanish personal income tax (IRPF) on your worldwide income.
Indicative only. Sporadic absences count as days in Spain unless you prove tax residence in another country.
When two countries treat you as resident
It is common for the domestic law of two States to treat you as resident at the same time. In that case, if there is a treaty, its tie-breaker rules apply in sequence: permanent home, centre of vital interests, habitual abode, nationality and, as a last resort, agreement between the competent authorities.
The outcome is documented with a certificate of tax residence for treaty purposes, which you should request before any information request from the tax authorities arises.
Change of residence and exit tax
If you cease to be resident, you may be taxed on unrealised gains in shares and holdings (art. 95 bis LIRPF) when you have been an IRPF taxpayer for at least ten of the previous fifteen tax periods and the market value of your shares or holdings exceeds €4,000,000, or €1,000,000 if your holding in an entity is above 25%.
You also need to consider notifying the change of address, the last tax year as a resident and, for moves to the EU or the EEA, the deferral options provided for in the legislation.
Frequently asked questions
01What happens if I do not exceed 183 days but my family lives in Spain?
The presumption of residence based on your spouse and minor children applies, and it can be rebutted. You will need to prove tax residence in another State, normally with a certificate.
02Can I become resident halfway through the year?
IRPF is determined by calendar year: you are either resident or non-resident for the whole tax year. When two States treat you as resident in the same year, the treaty decides which one has residence; some treaties also contain specific rules for the year of the move, so you need to read the relevant one.
03Does municipal registration (empadronamiento) count as proof?
It is an indication, not conclusive proof. The tax authorities and the courts look at all the circumstances together.
This guide is for general information and does not replace the analysis of a specific case. Check the legislation cited in its current wording.