๐Ÿ‡ช๐Ÿ‡ธ 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.

Rule text verified 2026-09-29
  • 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

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.

Informational only โ€” not tax advice. Based on the published day-counting tests, the calculator tells you what appears to follow; it cannot see your housing, family, employment or treaty situation. Confirm with a qualified cross-border tax adviser.

Other country calculators

United States Substantial Presence Test: at least 31 days in the current year AND a 3-year weighted total (all days + โ…“ of last year + โ…™ of the year before) of at least 183 days. United Kingdom Statutory Residence Test in three layers: automatic overseas tests (fewer than 46 days for arrivals), automatic UK tests (183+ days), and a sufficient ties test in between. France 183-day rule as an indicator of principal stay, alongside four other statutory criteria: household (foyer), principal residence, professional activity, or centre of economic interests. Italy 183-day presence as an indicator, alongside population-registry registration, civil-code domicile and residence. Singapore 183-day statutory rule, with a 3-consecutive-year rule and a 60-day short-term employment concession on the side. Australia 183-day test over the Julyโ€“June income year, one of four tests (resides, domicile, 183-day, superannuation) โ€” the "resides" test is the primary one. Ireland 183 days in the calendar year, or 280 days combined over this and the previous year with at least 30 days in each โ€” the two-year test catches repeated medium stays. Switzerland 90-night threshold for presumed cantonal residence, nights counted; federal residency is abode-based and can apply even below the threshold. United Arab Emirates Resident at 183 days of presence; possibly resident from 90 days if you also have a permanent home or place of business in the UAE. Malaysia 182-day statutory rule โ€” deliberately not 183 โ€” with linked-stay rules that can make short stays count across years. Thailand 180-day rule โ€” another "not 183" country โ€” with the remittance rule taxing residents on foreign income brought into Thailand. Philippines 180-day rule for resident-alien classification; resident aliens are taxed on Philippine-source income.