Spain — 183-Day Tax Residency Rule
Summary
- Day threshold
- More than 183 days
- Window
- Calendar year
- Also triggers
- Economic interests / family
- Effect
- Worldwide income taxed
- Basis
- LIRPF Art. 9
If you spend more than 183 days in Spain during a calendar year, you become a Spanish tax resident and are taxed on your worldwide income through Personal Income Tax (IRPF). To stay outside residency on the day-count test, keep your total days in Spain at 183 or fewer in the year — but note that the day count is only one of three independent tests, so staying under the line does not by itself guarantee non-residency.
Who it applies to
This matters most if you are:
- A remote worker, digital nomad, or frequent traveler spending long stretches in Spain.
- Someone whose business, clients, or main economic activity is based in Spain while you live abroad.
- Someone whose spouse and minor children habitually live in Spain while you spend time elsewhere.
- An expat moving to or from Spain mid-year, where days on either side of the move add up.
It applies to individuals regardless of nationality — residency here is about presence and economic ties, not citizenship or visa status.
The rule — and why it exists
Spain defines tax residency through Article 9 of the Personal Income Tax Law (LIRPF), administered by the Agencia Tributaria. Any one of three tests is enough to make you resident:
- Day count. Spending more than 183 days in Spain in the calendar year.
- Centre of economic interests. The main base or core of your business, professional activities, or economic interests is in Spain — regardless of days.
- Family presumption. If your non-separated spouse and dependent minor children habitually reside in Spain, you are presumed resident too, unless you prove otherwise.
Why it exists: countries use physical presence and the location of your economic and family life as proxies for where you really belong for tax purposes. The three-pronged test stops people avoiding residency purely by counting days while their income, home, or family remain rooted in Spain.
Counting the days
- 1Add up every day you are present in Spain during the calendar year (1 January to 31 December).
- 2The count resets to zero at the start of each new calendar year — it is not a rolling 12-month window.
- 3Sporadic absences (ausencias esporádicas) still count toward the 183 days unless you prove tax residency in another country with a residency certificate.
- 4You cross the line once you exceed 183 days, at which point you are a Spanish tax resident for the whole year.
The sporadic-absences rule is the important one: short trips abroad are added back into your Spanish day count unless you can produce a tax-residency certificate from another country. That makes it harder to fall below the threshold simply by leaving Spain frequently for short periods.
Examples
Example 1 — clearly resident by days
You rent an apartment in Valencia and are present in Spain for around 210 days across the year. You exceed 183 days, so you are a Spanish tax resident and Spain can tax your worldwide income for that calendar year.
Example 2 — resident despite fewer days
You spend only ~120 days in Spain, but your consulting business is run from and mostly billed through Spain. The core of your economic interests is Spanish, so you can be resident under the economic-interests test even though you are well under 183 days.
Example 3 — sporadic absences added back
You are in Spain for 175 days but take several short trips abroad totaling 20 days, expecting them to keep you under the line. Because those are sporadic absences and you hold no foreign residency certificate, they are added back — pushing your effective count above 183 and making you resident.
Exceptions & edge cases
- Double-taxation treaties. If you are resident in two countries, the relevant treaty tie-breaker (permanent home → centre of vital interests → habitual abode → nationality) assigns a single treaty residence and divides taxing rights.
- No split year. Spanish residency is generally all-or-nothing for the calendar year — Spain does not split the year into resident and non-resident periods when you arrive or leave mid-year.
- Special expat regime ("Beckham Law"). Certain inbound workers may elect to be taxed under a special regime that treats them broadly like non-residents on foreign income for a limited period, subject to strict conditions.
- Foreign residency certificate. Proving genuine tax residence elsewhere is what lets you exclude sporadic absences from the count — an informal claim is not enough.
Common misconceptions
- "Under 183 days means I'm safe." False — the economic-interests and family tests can make you resident with far fewer days.
- "Short trips abroad lower my count." Sporadic absences are added back unless you hold a tax-residency certificate from another country.
- "Only Spanish income is taxed." Residency means worldwide income is in scope (subject to treaties), plus possible wealth tax and the Modelo 720 declaration.
- "I can split the year." Spain generally assesses residency for the whole calendar year, not for part of it.
Frequently asked questions
Does staying under 183 days guarantee I'm not a Spanish tax resident?
Is the 183 days a calendar year or a rolling 12 months?
Do short trips abroad reduce my Spanish day count?
What does becoming a Spanish tax resident actually mean?
Does Spain split the year into resident and non-resident periods?
Can a tax treaty override Spanish residency?
This rule is tracked automatically in Bounded
- Automatically tracks your days for this rule
- Alerts you before you cross the limit
- Counts arrival and departure days correctly
- Runs alongside your other visa, tax, and residency rules
Sources
For information only. This page is a plain-English summary of publicly available rules, not tax, legal, or immigration advice. Rules change and depend on your personal circumstances — always confirm with the official source above and a qualified professional before acting.