How to determine tax residency in Spain
To determine tax residency in Spain, you test yourself against the three criteria in Article 9.1 LIRPF. They are alternatives rather than a checklist, so any single one is enough to make you one of the tax residents in Spain for that whole calendar year.
| Criterion |
What it measures |
The trap |
| Physical presence |
More than 183 days in Spain in a calendar year |
The count includes days you were not physically there |
| Centre of economic interests |
Whether the main base of your activities or economic interests sits in Spain |
No day threshold at all. Ninety days can be enough |
| Family presumption |
Whether your non-separated spouse and dependent minor children habitually live in Spain |
Rebuttable, but the burden of proof is on you |
Work through them in that order. The day count is the one you can measure, the economic interests criterion is the one that catches people who thought they had measured correctly, and the family presumption is the one that applies even when you personally are barely in the country.
What is the 183-day rule in Spain?
The 183 day rule is the physical presence criterion for Spain tax residency, explained in Article 9.1.a LIRPF: spend more than 183 days in Spanish territory during a calendar year and you are a tax resident.
The number people quote is wrong. The statute says more than 183 days, so the trigger is 184. TEAC states this directly when it describes the legal minimum threshold, and a large share of the English-language guides on this topic get it wrong by writing "183 or more".
Days do not need to be consecutive. Three separate trips of 62 days each get added together the same way one long stay would.
The tax year is fixed to the calendar year, 1 January to 31 December. It does not start when you land, and it does not roll.
The centre of economic interests criterion
If the main core or base of your activities or economic interests sits in Spain, you are resident regardless of how many days you spent there.
There is no day count in this criterion. That is what makes it the one people miss.
It is a qualitative weighing exercise. The tax authority looks at where your assets sit, where your income comes from, where your business is actually run, and where your economic life happens, jurisdiction by jurisdiction rather than Spain against everywhere else combined.
Someone with 120 days in Spain, a Spanish company, a Spanish flat and mostly Spanish clients has an economic interests problem. Staying under the day threshold will not fix it.
The family presumption
If your legally non-separated spouse and dependent minor children habitually live in Spain, Spain presumes you live there too.
This presumption is rebuttable. You can defeat it, but you have to produce evidence rather than an argument.
What tends to work in practice: a tax residency certificate from the other country, a foreign employment contract, a foreign lease or utility bills in your name, foreign tax filings, and children enrolled in schools outside Spain.
What does not work: telling the tax authority that your centre of life is somewhere else.
How does Spain actually count your days?
TEAC doctrine breaks the day count into three tiers that get added together: certified presence, presumed days, and sporadic absences. This is set out in TEAC resolutions RG 4045/2020 (28-03-2023) and RG 4812/2020 (25-04-2023), and reproduced in the tax authority's own IRPF manual.
| Tier |
What counts |
Why it matters to you |
| Certified presence |
Any day with hard proof you were physically in Spain |
Counted in full, with no minimum number of hours. Arrival and departure days both count |
| Presumed days |
Days between two certified presences, with no proof you were anywhere else |
Counted against you unless you can prove certified presence abroad |
| Sporadic absences |
Days spent outside Spain |
Added to your Spanish total unless you prove tax residency in another country |
Three things follow from that table, and each one costs people money.
A partial day is a full day. TEAC cites Commentary 5 to Article 15 of the OECD Model Convention: being present for part of a day, however small, is a day of presence. A 6am flight out still counts as a day in Spain.
Gaps default to Spain. If you were certifiably in Madrid on the 3rd and certifiably in Madrid on the 11th, the days in between are presumed Spanish. Unless you can show certified presence somewhere else, they go on your total.
Leaving does not subtract. A sporadic absence gets added to your Spanish days rather than deducted from them. The only way to remove those days is a tax residency certificate issued by another country's tax authority.
That last point is the one people find hardest to accept. Three weeks in Bali does not reduce your Spanish count. It sits inside it.
The non-cooperative jurisdiction rule
If you claim you moved to a territory Spain classifies as non-cooperative (the term that replaced "tax haven"), the tax authority can require you to prove 183 days of actual physical presence in that territory.
Under Article 8.2 LIRPF, Spanish nationals who move to a non-cooperative jurisdiction remain Spanish IRPF taxpayers for the year of the move plus the following four tax periods.
That is five years of worldwide taxation after the point you believed you had left.
What your intention will not do for you
The Supreme Court has repeatedly rejected the idea that your intention to return to Spain, or not to, determines whether time abroad counts as a sporadic absence. A run of judgments from 28-11-2017 and January 2018 settled the point.
The count is objective. What you meant to do does not enter the arithmetic.
Does a visa or residence permit make you a tax resident?
No. Administrative status and tax status are separate legal regimes, and neither one produces the other.
You can hold a Spanish residence permit and be a non-resident for tax purposes. You can hold no permit at all and be fully tax resident. Both happen constantly.
Here is what each step does and does not do.
| What you have |
Does it trigger tax residency? |
What it actually does |
| NIE |
No |
Gives you an identification number for economic transactions. Nothing more |
| Empadronamiento |
Not by itself |
Registers your address with the town hall. The tax authority treats it as evidence and cross-references the padrón during audits |
| TIE or residence card |
No |
Proves your immigration status |
| Digital Nomad Visa |
Not by itself, but almost always in practice |
Living and working remotely from Spain will usually trigger Article 9 within the first full calendar year |
| Non-Lucrative Visa |
Not by itself, but by design |
The NLV requires you to live in Spain, and living in Spain triggers Article 9 |
| EU registration certificate |
No |
EU citizens skip the visa and hit exactly the same three Article 9 criteria |
The empadronamiento point deserves its own line. It is not proof of tax residency, and Spanish notarial commentary is explicit that on its own it carries no tax significance. It is still an indicator the tax authority reads, and it is cross-checked against census data.
If you spend under 183 days in Spain, have no economic interests exposure, and do not want tax residency, registering on the padrón hands the tax authority a data point you did not need to give it.
What happens if you arrive in the middle of the year?
Spain has no split tax year. You are either resident for the entire calendar year or non-resident for the entire calendar year.
There is no proration for the months before you landed. The calendar does not negotiate.
Work the arithmetic through. You land on 1 April and stay through 31 August, which is 153 days. You come back in October for 31 days. Your total is 184 days.
You are now a Spanish tax resident for the whole of that year, including January, February and March, when you had not set foot in the country.
The mirror case is the useful one. Arrive on 1 September, stay to year end, and you are at roughly 122 days. Assuming no economic interests exposure and no family presumption, you are non-resident for that entire year, and Spanish tax residency starts on 1 January of the following year.
That is why the arrival date is a planning variable rather than a logistics detail. A late-year arrival buys a clean non-resident year. An early-summer arrival does not.
What are the tax obligations for residents in Spain?
The tax obligations for residents in Spain start with an annual income tax return, the Declaración de la Renta, filed with the Spanish Tax Agency (Agencia Tributaria) on Modelo 100 and covering worldwide income. Depending on your assets, they extend to wealth tax, the solidarity tax, and foreign asset reporting.
Five obligations sit under Spanish tax residency. They are governed by different rules and they do not all arrive together.
| Obligation |
Form |
Who it hits |
Deadline |
| Income tax return |
Modelo 100 (Modelo 151 under the Beckham regime) |
Most residents |
Roughly early April to 30 June |
| Wealth tax |
Modelo 714 |
Net assets above the regional exemption, generally €700,000 |
Same window as the Renta |
| Solidarity tax (ITSGF) |
Modelo 718 |
Net wealth above €3,000,000 |
From 1 July |
| Foreign assets |
Modelo 720 |
More than €50,000 abroad in any category |
31 March |
| Foreign crypto |
Modelo 721 |
Same threshold logic |
31 March |
Social security sits outside this list, because it follows where you work rather than where you are tax resident.
What is the impact of tax residency on income?
The impact of tax residency on income is that Spain moves from taxing only your Spanish-source income at a flat non-resident rate to taxing your worldwide income at progressive Spanish income tax rates. For most people that is the single largest financial consequence of crossing the threshold.
Non-residents pay a flat rate on Spanish-source income: 19% for residents of the EU, Iceland, Norway and Liechtenstein, and 24% for everyone else, which after Brexit includes the United Kingdom, and also includes the United States and Switzerland. There are no brackets and no personal allowance.
Residents move onto the IRPF scales, where the tax rates run progressively and the income earned anywhere in the world enters the base.
Income tax (IRPF) on the general base
Salary, pensions, business income and rental income sit in the general base.
The table circulating everywhere online, 19 / 24 / 30 / 37 / 45 / 47, is the withholding reference scale under art. 101.1 LIRPF. It combines the state scale with a default regional scale.
Your real rate depends on your autonomous community. Madrid's deflated scale puts the top marginal at around 45%. Catalonia and the Valencian Community push above the reference with extra bands for high incomes. Navarra and the Basque Country run separate regimes entirely, with top rates around 52% and 49%.
The state scale itself has not changed since 2021.
Savings income
Interest, dividends and capital gains sit in the savings base, and this scale is identical across common territory.
| Savings base |
Rate |
| Up to €6,000 |
19% |
| €6,000 to €50,000 |
21% |
| €50,000 to €200,000 |
23% |
| €200,000 to €300,000 |
27% |
| Above €300,000 |
30% |
The top band rose from 28% to 30% under Law 7/2024, with effect from 01-01-2025. It applies for the first time in the 2025 return, filed during 2026.
Wealth tax and the solidarity tax
Two layers, and the second one exists specifically to close the first one's gaps.
Regional wealth tax (Impuesto sobre el Patrimonio) applies above the regional exemption, generally €700,000, with an additional allowance of up to €300,000 against the main home. Madrid, Andalusia, Cantabria, La Rioja, Extremadura and Murcia apply a 100% relief, so nothing is paid at regional level there.
The Solidarity Tax on Large Fortunes (ITSGF), created by Law 38/2022, applies at state level above €3,000,000 of net wealth. No autonomous community can reduce or bonify it. Regional wealth tax already paid is credited against it, so the same wealth is not taxed twice.
For residents, both bite on worldwide assets. For non-residents, only on assets located in Spain.
Two developments worth knowing. The ITSGF was introduced as a temporary measure for 2022 and 2023 and has since been extended with no end date. And a TEAC resolution of 18-12-2025 extended the 60% cap (the escudo fiscal) to non-residents, removing a discrimination the tax authority had been applying.