Spain tax residency: the 183-day rule
Spain treats you as a tax resident at 183 days in the calendar year (1 January – 31 December) — but the day count is only the part we can calculate. It is one of Spain's tests, not the whole rule (see the others below). Source: Agencia Tributaria, last reviewed 2025-09-01.
183 days isn't the only route — Spain can also treat you as resident on non-day grounds (centre of economic interests, family ties). See every test below.
Spend 183 days or more in Spain during the calendar year (1 January – 31 December) and it will generally treat you as a tax resident for that period.
Reviewed by Quentin Dupard, founder · last reviewed 2025-09-01 · How we research
- Threshold
- 183 days
- Counting window
- Calendar year
- Day-based test
- 1
- Last reviewed
- 2025-09-01
How does Spain count days for tax residency?
According to Agencia Tributaria, you become a tax resident of Spain once you spend 183 days or more there in the calendar year (1 January – 31 December). Because the count is per calendar year, it resets every 1 January and days from a previous year do not carry over — though a single stay that spans New Year is split across two years’ totals.
183-day presence test
183 days · the calendar year (1 January – 31 December)Spend 183 days or more in Spain during the calendar year (1 January – 31 December) and it will generally treat you as a tax resident for that period.
Sporadic absences count toward the 183 days unless you prove tax residency elsewhere.
What else makes you a tax resident of Spain?
The day count is only one route. Spain can also make you a tax resident through any one of the following — regardless of how few days you spend there. These don't depend on a day count, so Yuravia can't track them for you; weigh them against your own situation.
Centre of economic interests
You are resident if the main base or core of your economic activities or interests sits in Spain, directly or indirectly — regardless of how many days you spend there (Art. 9.1.b, Ley 35/2006 del IRPF).
Family ties
Spain presumes you are resident if your legally non-separated spouse and dependent minor children habitually reside in Spain. The presumption is rebuttable, but the burden shifts to you to prove otherwise (Art. 9.1, Ley 35/2006 del IRPF).
Spain at a glance
- Tax year
- 1 January – 31 December (the Spanish personal income tax year is the calendar year, with no individual elective alternative).
- How days are counted
- Any day with physical presence in Spain counts — including arrival and departure days — and even a part-day of presence counts as a whole day. Sporadic/temporary absences are also added to the count unless you prove tax residency in another country.
- What residency means
- Spanish tax residents are taxed on their worldwide income (PIT) regardless of where it is generated; non-residents pay non-resident income tax (NRIT) only on Spanish-source income. There is no general first-year exception, but the special impatriate regime (below) is an opt-in carve-out.
- Notable regime
- Beckham Law / special impatriate regime (Art. 93 PIT Law): qualifying inbound workers, directors, entrepreneurs and certain highly-qualified professionals (non-resident in the prior 5 years) are taxed largely like non-residents — a 24% flat rate on Spanish employment income up to €600,000 (47% above) with most foreign-source income exempt — for the year of relocation plus the following five tax years (six years total).
Official source
Agencia Tributaria. View the primary guidance ↗
Rule last checked against this source on 2025-09-01.
Count your days in Spain
The day count is the one test you can actually calculate — the home, family and ties tests above, you can’t. Use a free calculator to see exactly how close you are to Spain's 183-day threshold — or let Yuravia track it automatically across every country at once and warn you before you cross a line.
Your trips to one country
Enter each stay in the country you're checking. Both the arrival and departure day count as days of presence.
Add at least one trip to see how close you are to 183 days in 2026.
Tracking more than one country?
Track every country automatically — freeYuravia watches 75 tax-residency rules at once and alerts you before any threshold.
Frequently asked questions
How many days can I stay in Spain without becoming a tax resident?
According to Agencia Tributaria, Spain treats you as a tax resident at 183 days in the calendar year (1 January – 31 December) (the "183-day presence test"). Staying under that is necessary but not sufficient — a permanent home, family, or your centre of vital interests can make you resident on fewer days.
Is the day count the only way to become a tax resident of Spain?
No. Beyond the day count, Spain can treat you as resident through centre of economic interests, family ties — any one of these can apply even if you stay well under 183 days. They don't depend on counting days, so confirm them against your own circumstances.
What counts as a day of presence in Spain?
In most jurisdictions any day on which you are physically present — including the arrival and departure days — counts as a full day. Treating both as counted is the conservative assumption. Always confirm the exact rule with Agencia Tributaria.
What is the official source for Spain's tax-residency rule?
Agencia Tributaria. The rule on this page was last checked against that source on 2025-09-01. Thresholds and tests change, so confirm before relying on it.
Related guides
Other countries
Never cross a threshold by accident
Yuravia tracks your days across Spain and 70+ other jurisdictions and warns you before you trip a tax-residency rule. Free, anonymous, no ads.
Create your free account