Spain tax residency calculator
Count your recorded days in Spain. Review the calculation, the other residence factors and the official sources behind the Spanish rules.
Add your stays
Import or paste a travel list
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. This site's CSV exports can be
re-imported as-is.
Your saved stays
Calendar dates include both endpoints. The result above applies its own counting rule and removes overlapping dates.
Saved in this browser · no account required
How the Spanish rule works
Article 9.1 of the Ley del IRPF tests whether you stay in Spain more than 183 days in the calendar year or have your main base of economic activities or interests there. Residence is also presumed, unless rebutted, when your non-separated spouse and dependent minor children habitually reside in Spain.
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.
- Agencia Tributaria — Individual resident in Spain, More than 183 days, main economic base and family presumption — official text
- 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.
- The main base of economic activities or interests can establish residence below the day threshold. The non-separated spouse and dependent-minor-child presumption is rebuttable.
- 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 rules explained in depth — the full article →
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?
Owning an apartment alone is not an independent Article 9 trigger. Check the main base of your economic activities or interests, and the rebuttable presumption for a non-separated spouse and dependent minor children habitually resident in Spain.
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.