Country Guides

Spain's 183-Day Rule and Tax Residency, Explained

How Spain's 183-day rule works: the calendar-year count, temporary absences, the centre-of-economic-interests test, the family presumption, and tracking your days on iPhone.

8 min read · 8 July 2026 · Tax Residency Tracker Team

The Spain 183 day rule looks simple: spend more than 183 days in Spanish territory during a calendar year and you become a Spanish tax resident, taxable on your worldwide income. The headline is clean, but two traps that most guides gloss over quietly catch people out: "temporary absences" still count toward your 183 days unless you can prove tax residence elsewhere, and Spain has two other independent tests that can make you resident on far fewer days. This guide explains all three, and how to keep a provable, dated day count for the exact Spanish calendar year.

The Spain 183 day rule: the calendar-year count

Under Article 9 of Spain's IRPF Law (Law 35/2006), you are a Spanish tax resident if you spend more than 183 days in Spanish territory during a single calendar year. That year runs strictly from 1 January to 31 December. This is long-standing, stable law: nothing in the core residency rules changed for 2026.

  • The 183 days need not be consecutive. The Agencia Tributaria (Hacienda) sums your cumulative physical presence across the whole calendar year.
  • Any part of a day on Spanish soil counts as a full day, including your arrival and departure days.
  • There is no split-year or part-year residency. You are either resident or non-resident for the entire calendar year; moving mid-year does not interrupt the tax period.

The official wording is "more than 183", so 184 is the practical trigger, though most guides frame it as "183 or more" to leave a safety margin. Either way, treat 183 as a ceiling to stay under with room to spare, not a target to hit exactly.

Any ONE test makes you resident 183 days More than 183 days in the calendar year Economic Your main base of activities is in Spain Family Spouse and minor children live in Spain Days is only one of three doors into Spanish residency.
Spain has three independent residency tests. The day count is only the first; the other two can catch you on far fewer days.

Trap one: temporary absences still count

Here is the part most travellers miss. Spain treats sporadic (temporary) absences as Spanish days. If you spend most of the year in Spain and take a two-week holiday abroad, those two weeks are still counted toward your 183 unless you can prove you were tax resident in another country during that time.

The standard way to exclude those days is a Tax Residency Certificate (Certificado de Residencia Fiscal) issued by the central tax authority of the other country, for example HMRC in the UK or the IRS in the US. Crucially, the burden of proof sits entirely on you, the taxpayer. If you cannot document residence elsewhere, Hacienda adds those absent days back into your Spanish total.

One narrow exception applies: unpaid absences under cultural or humanitarian collaboration agreements with the Spanish authorities are not counted. For everyone else, a trip abroad does not automatically shrink your Spanish day count.

Trap two: two more tests that ignore your day count

Even if you stay well under 183 days, Spain has two further tests. Meeting any one of the three makes you resident.

Centre of economic interests. You are resident if the main base or nucleus of your activities or economic interests is in Spain, directly or indirectly, regardless of how many days you spend there. This is judged on a relative majority: you do not need most of your global assets in Spain, only more economic interest in Spain than in any single other country. Hacienda looks at where your investments are concentrated, where your business is managed and administered, where your income originates, and where your main clients are.

The family presumption. You are presumed resident, unless you prove otherwise, if your non-legally-separated spouse and dependent minor children habitually reside in Spain. This is a rebuttable presumption, but again the burden is on you to prove your own centre of life sits elsewhere. Commuting to a job abroad while your family lives in Spain will not, by itself, clear you.

What Spanish residency actually costs

Once you are resident, Spain taxes your worldwide income whatever its source. Non-residents are taxed only on Spanish-source income, which is why the line matters so much.

  • General income (employment, self-employment, rents) is taxed on a progressive scale combining a national rate with a supplement set by each autonomous community. Combined marginal rates commonly run from roughly 19% to about 47%, with regional variation pushing the top higher (Catalonia reaches around 54%, Madrid tops out near 49%).
  • Savings income (interest, dividends, capital gains) is taxed at flat nationwide rates with no regional variation: 19% on the first 6,000 euros, 21% from 6,000 to 50,000, 23% from 50,000 to 200,000, 27% from 200,000 to 300,000, and 30% above 300,000 euros.

Two footnotes worth knowing. An anti-avoidance rule keeps Spanish nationals who relocate to a listed non-cooperative jurisdiction (a tax haven) as Spanish taxpayers for the year of the move plus the following four years. And the optional Beckham Law regime lets qualifying inbound workers pay a flat 24% on employment income up to 600,000 euros for six years, with foreign investment income exempt. It is a distinct election, not part of the core rule, but worth asking your adviser about.

Track the Spain 183 day rule on your iPhone

Spain's strict calendar year plus the "absences count against you" rule make an accurate, evidenced day count essential. Tax Residency Tracker keeps that count continuously and helps you assemble the proof:

  • Set the tax year to 1 January so your count aligns to Spain's calendar year. The custom tax-year feature exists precisely so you can match different jurisdictions, such as the UK's 6 April year.
  • Automatic GPS detection spots border crossings and creates a dated stay for each country, even when the app is closed, so your Spanish days are logged without you remembering to. You can also add or edit stays by hand.
  • Real-time counting with alerts before 183. The app counts your Spanish days as they accrue and warns you as you approach the line, so you can plan a trip out before you cross it rather than discovering it in April.
  • Document proof on each stay. Attach camera photos, library photos, PDFs and scanned documents to a stay: a foreign tax residency certificate, your padron registration, a rental or work contract, children's school enrollment, or passport stamps. This is what lets you rebut the family presumption or support a foreign tax-residence claim for absent days.
  • Planned-stay previews let you add a future trip and see the projected Spanish total before you book, so you know whether it pushes you over 183.
  • CSV export with documents produces a dated, evidenced record for your gestor or accountant, covering a full tax year, a quick range, or a custom period, with a folder of the attached proof files.
  • Your choice of counting mode (calendar day, midnight rule, full 24-hour day or overnight) keeps the total aligned to how you are measured.

Everything runs on your device and is never uploaded, with optional iCloud sync through your own private account, so your travel history stays private while remaining audit-ready. Tax Residency Tracker is iPhone-only and free to download; the counting-model picker and export are premium features.

Frequently asked questions

Does a holiday abroad reduce my Spanish day count?

Not by default. Spain counts sporadic or temporary absences toward your 183 days unless you can prove you were tax resident in another country during that time, usually with a tax residency certificate from that country's tax authority. The burden of proof is on you.

Can I be a Spanish tax resident on fewer than 183 days?

Yes. Spain has three independent tests. Even under 183 days, you are resident if your main centre of economic interests is in Spain, or you can be presumed resident if your spouse and minor children live there habitually. Meeting any one test is enough.

Does Spain use the calendar year or a rolling window?

A strict calendar year, 1 January to 31 December, with no split-year treatment. A mid-year move does not interrupt the tax period, so set your tracker's tax year to 1 January for Spain.

What is the family presumption and how do I rebut it?

If your non-legally-separated spouse and dependent minor children habitually reside in Spain, you are presumed resident unless you prove otherwise. Rebutting it means documenting that your own centre of life and interests sits in another country, which is where dated records and attached proof documents matter.

Next, see how the general 183-day rule works across countries, how to count days for tax residency, how tax treaty tie-breaker rules resolve dual residence, and how to prove tax residency for an audit, or browse all guides.

Related guides

Country Guides UK Statutory Residence Test: How Many Days Can You Stay? How the UK Statutory Residence Test decides your tax residence - the automatic overseas and UK tests, the sufficient-ties test, how days are counted at midnight, and how to track UK days on iPhone. 8 min read Country Guides Portugal Tax Residency: The 183-Day Rule After NHR When you become a Portuguese tax resident: the 183-day rule over any rolling 12 months, the habitual-home test, and what NHR ending (and IFICI/NHR 2.0) means in 2026. 9 min read Country Guides UAE & Dubai Tax Residency: The 183-Day and 90-Day Rules How to become a UAE tax resident in 2026: the 183-day rolling rule, the 90-day route for HNWIs, the centre-of-interests test, and why a treaty TRC still needs 183 days. 9 min read
Browse all guides