Spain Tax Residency (183-day rule)
Overview
| Key parameters | |
|---|---|
| Threshold | 183 days |
| Period / Window | Calendar year (1 Jan – 31 Dec) |
| Counting | Any part of a day |
| Alternative | Economic interests test, family |
Understanding the rule
You are a Spanish tax resident for a calendar year if you meet any one of three tests, in any order:
- Presence test — more than 183 days in Spain during the calendar year.
- Economic interests test — the main base of your economic activities is in Spain, directly or indirectly, regardless of day count — not just where income happens to be paid or invoiced from.
- Family presumption — your spouse (not legally separated) and dependent minor children habitually live in Spain, which presumes you're resident too, even if you personally spend fewer than 183 days there. This presumption can be rebutted with evidence to the contrary.
Meeting any one test makes you a full Spanish tax resident, taxed on worldwide income. Falling short of all three makes you a nonresident, generally taxed only on Spanish-source income.
How to keep track
- The test is more than 183 days present in Spain during the calendar year, not a rolling window or a separate tax year.
- Sporadic absences — short trips abroad — generally still count as days of Spanish presence, unless you can prove tax residence in another country.
- If the other country is a listed tax haven, Spain's tax authority can require you to prove 183 days of actual presence there before accepting the absence.
Keep travel records — boarding passes, entry and exit stamps — to support your day count, and if you're relying on tax residence elsewhere to exclude an absence, keep a certificate of tax residence from that country.
Beckham Law
The Beckham Law is a separate special regime for qualifying new arrivals — it doesn't change whether you're a Spanish tax resident, only how your income is taxed once you are.
- What it means — Spanish employment income is taxed at a flat 24% rate up to a set threshold (47% above it), instead of ordinary progressive rates, and foreign-source income generally isn't taxed in Spain at all.
- Who can apply — employees, remote workers, entrepreneurs, and some directors who weren't Spanish tax residents in the 5 tax years before moving, applying within 6 months of registering with Spanish Social Security or starting the qualifying activity.
- What it gives — the flat-rate treatment runs for the year of the move plus the next 5 years, 6 tax years in total. A spouse and children can sometimes join the same regime if they relocate together and their own income stays below the main taxpayer's.
- What it doesn't cover — wealth tax still applies as normal, and foreign income only stays untaxed if it's a minor share of your total earnings, since the core of your professional activity has to be in Spain.
Edge cases
- The family presumption can catch people who rarely visit. Working abroad while your spouse and children stay in Spain can trigger Spanish residency by presumption alone, separate from your own day count.
- Sporadic absences work against you by default. Short trips abroad don't automatically pause your day count — the burden is on you to prove residence elsewhere if you want them excluded.
- Spain has no split-year treatment. You are either resident for the whole calendar year or not at all, so someone arriving in July and passing the threshold is taxed as a resident on worldwide income from 1 January.
If you get this rule wrong
Filing as a nonresident when you were actually a Spanish tax resident means back taxes on your worldwide income, plus a penalty of 50% to 150% of the unpaid tax depending on how Agencia Tributaria classifies the infraction. A simple late filing is treated more lightly than a deliberate misstatement — just a surcharge of 1% per month late, capped at 15% after a year. Professional tax advice is strongly recommended in situations like this.
Examples
Comfortably over the day threshold
You move to Barcelona in March and spend 220 days in Spain by the end of the calendar year, with no significant ties elsewhere. You clear the 183-day threshold on presence alone, so you're a Spanish tax resident this year.
Away for work, but family stays behind
You take an 8-month overseas work assignment, spending only 120 days in Spain this year. Your spouse and children remain in your Madrid home throughout. You fall short of the 183-day test on your own, but the family presumption still applies — you're presumed resident unless you can show your own tax residence elsewhere.
New arrival choosing the Beckham regime
You move to Spain for a new job, having lived and worked outside Spain for the past 7 years. You clear the 183-day presence test easily and also qualify for the Beckham Law's special regime, since you meet its 5-year prior non-residence requirement — letting you pay a flat rate on your Spanish employment income instead of ordinary progressive rates for 6 tax years.
Official sources
FAQ
For informational purposes only — this page does not provide legal, tax, immigration, residency, financial or any other advice. All information on this website is general in nature and should not be relied upon as professional or legal guidance. You are solely responsible for verifying information with official sources and consulting with qualified professional regarding your specific circumstances.