๐ช๐ธ Spain tax residency calculator
Enter your stays in Spain (and anywhere else โ one ledger feeds every country) and the calculator applies the Spanish rule over the calendar year, shows the exact day count against 183 days (presumption), and tells you how many safe days remain.
Your travel ledger
Paste your travel list (one stay per line)
Format: YYYY-MM-DD ~ YYYY-MM-DD XX with the two-letter code of a
country on this site, or a single day YYYY-MM-DD XX.
How the Spanish rule works
Article 9.1 of the Ley del IRPF sets three alternative triggers for Spanish tax residency: having your habitual dwelling (vivienda habitual) in Spain, having the centre of your economic interests in Spain, or โ the presumption โ staying on Spanish territory more than 183 days during the calendar year.
The Spanish presumption is unusually strict: sporadic absences count as presence unless you prove tax residency in another country (a residency certificate is the usual evidence). Spain is also known for substantiating presence with records such as mobile-phone and border data in enforcement cases.
Spanish nationals who move to a jurisdiction listed as a tax haven keep Spanish residency for the year of the move and the following four, regardless of days. If two countries both treat you as resident, the SpainโX treaty tie-breaker decides.
- Ley 35/2006 (LIRPF), Article 9.1, Personal scope โ Spanish tax residency criteria and the 183-day presumption โ official text
Every calculation above follows the cited publications. If a rule changes, the verification date above is updated โ pages with stale dates are flagged for re-verification.
What this calculator does not decide
- Sporadic absences count as days in Spain unless you prove tax residency in another country (e.g. a residency certificate). The calculator cannot apply this evidentiary rule.
- A vivienda habitual (habitual dwelling) or the centre of economic interests in Spain makes you resident regardless of day count.
- Spanish nationals moving to a tax-haven jurisdiction are presumed resident for the move year plus four more years, regardless of days.
- If another country also treats you as resident, the applicable double-tax treaty tie-breaker decides.
Spain residency FAQs
How many days can I stay in Spain without becoming tax resident?
Up to 183 days per calendar year is the statutory line: staying more than 183 days triggers residency. Note the trap: sporadic absences count as presence unless you prove tax residency in another country, so an untracked 190-day year is resident even if your own tally says less.
I own an apartment in Spain but stay under 183 days. Am I resident?
You can still be resident through your vivienda habitual (habitual dwelling) or the centre of your economic interests. Occasional use of a dwelling usually does not make it "habitual", but family living in the home or long stays point the other way.
Does the day I arrive in Spain count?
The calculator counts every day on which you are present at any time, including arrival and departure days. Spanish practice counts days on Spanish territory; absences need to be evidenced.
What is the Beckham Law and does it affect this?
The special expat regime (Art. 93 LIRPF) lets qualifying relocated workers be taxed as non-residents for up to six years despite becoming Spanish tax residents. It changes taxation, not residency itself โ and has its own entry conditions and deadlines.