Spanish tax · Residency

Spain tax residency: the 183-day rule and what else decides it

You are a Spanish tax resident if you spend more than 183 days in Spain during the calendar year, or if the main base of your activities or economic interests is in Spain, directly or indirectly (art. 9.1 Ley 35/2006). Either test is enough, so staying under 183 days does not settle the question.

Spanish residents (arts. 8 and 9) pay income tax on worldwide income, which art. 2 describes as all income, gains and losses wherever produced (art. 2). The tax period is the calendar year, and the law has no part-year residence for people who move (arts. 12 and 13). If you move to Spain in July and spend more than 183 days of that year here, our reading of arts. 9, 12 and 13 is that you are resident for the whole calendar year. How income earned before the move is treated we have not checked in AEAT guidance: put that question to an adviser first.

This is our opinion and general information, not tax advice. It is how we read the rules on 13 November 2026. It is not tax or legal advice for your situation: check it with an asesor fiscal before you decide. The full note is at the end.

Count your days

The counter below works out your days in Spain for one calendar year from the trips abroad you enter. It shows the physical count and the count under art. 9.1.a, which adds sporadic absences unless you hold a foreign residence certificate (explained in the next section). It covers the days test only.

Days in Spain: 183-day counter

Periods outside Spain

Add each trip abroad: first day away, last day away. Everything else in the year counts as in Spain.

What this counter does not compute

  • The exception in art. 9.1.a, second paragraph: temporary stays in Spain that result from unpaid cultural or humanitarian cooperation agreements with Spanish public administrations are not counted. If this is your case, take those days out yourself.
  • Whether your absences are "sporadic". The law does not define the word in the text opened. Mark each period yourself and ask a specialist.
  • The second test, art. 9.1.b: the main base of your activities or economic interests in Spain, directly or indirectly.
  • The presumption for a spouse (not legally separated) and dependent minor children who live in Spain.
  • Tie-breaker rules of a tax treaty if you are resident in two countries.

The trip dates you type into the counter stay in your browser. The counter does not decide whether your absences are sporadic and does not test the second criterion.

Four invented people, days test only

The same arithmetic as the counter, for a 365-day year. These people are made up. The table shows only the days test of art. 9.1.a: the other tests below still apply to each of them.

Invented personDays in SpainDays test
A. Arrives on 1 July, stays to 31 December184Above 183
B. Arrives on 15 July, stays to 31 December170Not passed on days alone
C. Lives in Spain from 1 January, last day in Spain 28 February, leaves for good59Not passed on days alone
D. 150 days physically in Spain, 40 days on trips abroad that D marks as sporadic, the other 175 days of the year in another country (not sporadic), no foreign certificate150 physical, 190 countedAbove 183
D with a certificate of tax residence in another country150Not passed on days alone

A and B differ by two weeks of arrival date and land on opposite sides of the line. D shows how much the certificate and the word "sporadic" can move the total. Arrival and departure days are counted as full days in this table: how the law treats partial days is an open question (see "What the law says").

What the law says, in four parts

1. Days. The rule is "more than 183 days, during the calendar year, in Spanish territory". For this count, sporadic absences are computed as days in Spain, unless you prove tax residence in another country (art. 9.1.a). Art. 9 does not define "sporadic" and does not say how arrival and departure days count. We did not open AEAT or binding-ruling practice on either, so both are open questions for an adviser. The counter shows the arrival-day question as a switch so you can see how much it moves your total. The second paragraph of art. 9.1.a adds one exception: temporary stays in Spain that result from unpaid cultural or humanitarian cooperation agreements with Spanish public administrations are not counted. It will concern few readers. The counter does not subtract those days for you.

2. Centre of interests. Residence also arises when the main base of your activities or economic interests is in Spain, directly or indirectly (art. 9.1.b). The article gives no list of what counts. A person with 120 days in Spain whose only company, main client or main income sits in Spain has a question to put to an adviser, although the days test is not passed.

3. Spouse and children. The law presumes, unless you prove otherwise, that you are resident in Spain when, under the criteria above, your spouse (not legally separated) and your minor children who depend on your spouse live habitually in Spain (art. 9.1, last paragraph). A presumption can be rebutted with proof. What proof an inspector accepts is not in the text.

4. Tax havens. For countries and territories considered tax havens, the tax administration may demand proof that you stayed there 183 days in the calendar year (art. 9.1.a). Spanish nationals who prove a new tax residence in such a territory stay taxpayers in Spain in the year of the move and the four following years (art. 8.2). Arts. 8 and 9 still say "paraíso fiscal". The link to the current term is in Ley 36/2006: its tenth additional provision says that references in the rules to tax havens are read as references to the definition of "jurisdicción no cooperativa" in its first additional provision (as worded by Ley 11/2021, in force from 11/07/2021). That first additional provision leaves the list to a ministerial order. The current list is in Orden HFP/115/2023 (consolidated text, last update shown 27/06/2026). Check your country there on the day you plan your move. Whether "paraíso fiscal" in art. 9.1.a is read exactly like this in AEAT practice, we did not check.

Proof of tax residence in another country

Short answer: art. 9.1.a does not name the document or say which proof Spain accepts. It lets you take sporadic absences out of the Spanish count if you prove tax residence in another country. We did not open AEAT guidance on it, so ask your adviser what evidence the Spanish authority takes.

Two limits to know before relying on it:

  1. Art. 9.1.a ties the proof to the days test. As we read art. 9.1, the centre-of-interests test and the family presumption are separate, and we found no text that lets the certificate switch them off. Confirm this with an adviser.
  2. Another country may issue it, or refuse it, on its own rules. Whether it covers the whole year or part of it depends on that country and your facts.

No split year, and where the treaties come in

Spanish income tax has one tax period, the calendar year (art. 12.1). The only case of a shorter period in the law is the taxpayer's death (art. 13). Arriving on 1 July gives 184 days to 31 December, so you pass the days test for the year. Arriving on 15 July gives 170 days, so you do not pass it on days alone (how arrival days count is open, see above). If you pass it, the law gives no mechanism to be Spanish resident for July to December only. This is our reading of arts. 9, 12 and 13: confirm it with an adviser for your case.

Tax treaties can change the result. If two countries both treat you as resident, the treaty tie-breaker picks one. Two treaties are shown as examples. Yours may differ, so find the text for your country. Both texts below are in the BOE.

Spain-UK treatySpain-US treaty
SourceConvenio, London 14 March 2013 (consolidated text, last update shown 21/06/2022)Convenio, Madrid 22 February 1990, with the 2013 Protocol (consolidated text, last update shown 23/10/2019)
Whereart. 4.2art. 4.2
Order of testspermanent home; if in both, closer personal and economic relations (centre of vital interests); then habitual abode; then nationality; then mutual agreementpermanent home; if in both, centre of vital interests; then habitual abode; then nationality; then mutual agreement
TrapThe text defines a resident as someone liable to tax in that state by reason of domicile, residence or similar criteria, so the tie-breaker starts only when both states tax you as residentArt. 1.3 lets each state tax its residents and, by reason of citizenship, its citizens as if the treaty were not in force, with exceptions listed in art. 1.4 (for example art. 24 on relief from double taxation), so a US citizen's US tax position needs separate reading

We read art. 4 of both conventions and found no clause about part of a year. The tie-breaker answers "which state is my residence", and which dates it covers is a matter of how each tax authority applies it. Spanish tax authority guidance and binding rulings (consultas vinculantes) on this exist, and we did not open them. For a move that mixes July in London with a Spanish autumn, this is the spot where a specialist is worth the fee.

Year of the move and the Beckham regime

The Beckham option (art. 93) applies to people who acquire Spanish tax residence because of the move. The option runs for the tax period of the change of residence and the five following ones, provided you were not Spanish resident in the five periods before the move and the move came from one of the causes listed (art. 93.1). The Spanish period is the whole calendar year, so the first year of the option is usually the year you became resident, whether through the 183 days or through the centre of interests. Details on the causes and the Modelo 149 deadline are in the founders article and the deadline calculator. The residence rules in this article decide whether you are resident at all. They come first.

What you can count yourself, and what needs a specialist

QuestionYourselfSpecialist
Days physically in Spain in a calendar yearYes: passports, boarding passes, bank card dates. The counter above does the arithmeticOnly if the records conflict
Are my absences "sporadic"Form a provisional viewYes: the law gives no definition
Do I hold a foreign residence certificateAsk that country's tax authorityYes, if the country refuses or the dates are partial
Centre of economic interestsList where your income, company, assets and clients sitYes: no list in the article, the weighing is a judgment
Spouse and children presumptionNote where they liveYes, if you need to rebut it
Tax treaty tie-breaker, part-year movesRead art. 4 of the treatyYes

Two limits of the day-counting approach

  1. A day count answers one of two tests. A low count with a Spanish home, company and family can still end as resident under art. 9.1.b.
  2. Records matter more than memory. If you cannot show where you slept, a count from memory carries little weight with an inspector. The counter does not keep your data, so keep your own copy.

When you do not need this

If you live in Spain all year and plan to stay, the days test is passed and the open questions are about the regime (Beckham or ordinary), the forms and the visa conditions (digital nomad or non-lucrative). The 183-day rule matters most for people who split the year across countries, plan a move date, or leave Spain.

FAQ

Is it 183 or 184 days?

More than 183, so 184 days or more (art. 9.1.a).

Can I stay under 183 days and still be a Spanish tax resident?

Yes. The centre of economic interests test and the family presumption work separately from the days test (art. 9.1).

Do holidays and short trips abroad reduce my count?

Sporadic absences count as days in Spain unless you prove tax residence in another country (art. 9.1.a). The law does not define sporadic.

Do I become resident only from the day I arrive?

See the no-split-year section above: one tax period, the calendar year (arts. 12 and 13). Ask a specialist for a mid-year move.

Does my visa decide my tax residence?

Art. 9 sets its tests by days, centre of interests and family, and does not mention visas. We did not open AEAT guidance on visas. Ask an adviser if your case is unusual. See the visa comparison.

Sources

All opened on 13 November 2026.

SourceLink
Ley 35/2006 (LIRPF), arts. 2, 8, 9 (including the second paragraph of 9.1.a), 12, 13, 93 (consolidated, last update shown 11/11/2026)BOE
Convenio Spain-UK, art. 4 (consolidated, last update shown 21/06/2022)BOE
Convenio Spain-US, arts. 1 and 4 (consolidated, last update shown 23/10/2019)BOE
Ley 36/2006, first and tenth additional provisions (consolidated, last update shown 10/07/2021)BOE
Orden HFP/115/2023, non-cooperative jurisdictions (consolidated, last update shown 27/06/2026)BOE

Not opened: AEAT guidance on tax residence and residence certificates, the Spanish tax authority's binding rulings on part-year moves, Ley 11/2021 itself, EUR-Lex and the EU texts.

This is our opinion, not tax advice

This is our opinion and general information, not tax advice. It describes the rules as we read them on 13 November 2026 from the BOE texts listed above. It is not tax or legal advice for your situation, and rules, rates and readings change. Before you decide anything about your residence, check it with an asesor fiscal.

How was this written?

Prepared by the Sereno editorial team with an AI assistant on 13 November 2026 and norm-checked on 14 November 2026. The BOE texts listed above were downloaded and every quoted article, date and term was compared with them. The counter's calculation logic was checked in Node against the examples in the table; it has not been tested in a real browser. No tax adviser has reviewed this article. The "our reading" passages and the table of invented people are judgements and arithmetic, not BOE text.

Questions about the counter or the article?

Use the counter above. If something in it or in this article is unclear, write to @diischz on Telegram. We can explain how the counter works and what the article says. We do not assess anyone's personal tax residence and this is not tax advice: for your own case, ask an asesor fiscal. More about Sereno is on the home page.

Or by email: artem@salta.team. We answer in English and Russian.