relocation

183-day rule Spain

Responsible for this content: Frank Menze

Days spent in Spain

Explanation

The calendar year (“año natural” — the period from the start to the end of a year) is the year being counted. Spain determines tax residence for each calendar year and always for the whole year.

Explanation

Days of presence are every day you were in Spain, including days between two documented stays unless you can prove you were abroad. Arrival and departure days each count in full.

Explanation

Sporadic absences (“ausencias esporádicas” — short trips abroad) are days not included in the figure above. The law adds them rather than subtracting them.

Explanation

A tax residence certificate (“certificado de residencia fiscal”) is confirmation from a foreign tax authority that you are tax-resident there; it is valid for one year. It excludes only sporadic absences, not your presence in Spain.

Explanation

Cultural or humanitarian stays are days under unpaid agreements with Spanish public authorities. They must already be included in the days in Spain and are deducted here.

Explanation

The centre of economic interests (“núcleo principal o la base”) is the main centre or base of your activities or economic interests, directly or indirectly.

Explanation

The family presumption is a rebuttable rule: your spouse, from whom you are not legally separated, and the minor children dependent on that spouse habitually live in Spain. The law names both together.

Based on your entries, neither criterion is met.

Interim result: the calendar year is still in progress.

Counted days of presence
150 days
Sporadic absences added
0 days
Total residence days counted
150 days
Statutory threshold (more than)
183 days

150 = 150 days

Days needed to cross the threshold: 34.

IRPF is Spain’s personal income tax. The AEAT, Spain’s tax authority, may count further presumed days; a jurisdicción no cooperativa (non-cooperative tax jurisdiction) carries special proof requirements. A tax treaty may resolve dual residence separately.

Worked examples

Winter visitor just below the threshold

Total residence days counted: 183 days

Based on your entries, neither criterion is met.

New resident just above the threshold

Total residence days counted: 184 days

At least one tax-residence criterion is met.

days of presence

Commuter whose economic interests are centred in Spain

Total residence days counted: 40 days

At least one tax-residence criterion is met.

centre of economic interests

Legal status: 1 January 2007

This calculation is provided for guidance only and is not a substitute for tax or legal advice in specific cases.

When are you considered tax-resident in Spain?

You become tax-resident in Spain for a calendar year as soon as you spend more than 183 days there – or if the main part of your economic interests lies there. These are the two equally ranked criteria of the law. In addition, there is a rebuttable presumption: if your family lives in Spain, the tax office assumes that you are resident there too. If either applies, Spanish income tax (Impuesto sobre la Renta de las Personas Físicas, IRPF) applies to your worldwide income – for the entire calendar year, not just from the day you move.


How it's calculated

Article 9 of the Spanish Income Tax Act (Ley del Impuesto sobre la Renta de las Personas Físicas, LIRPF) sets out two equally ranked criteria for the tax residency of natural persons – it is enough if just one of them applies. The first and best-known is the length of stay: anyone who, within a calendar year (año natural in the language of the law – the year from 1 January to 31 December, not any twelve months) spends more than 183 days in Spain, is considered resident. The key word is “more than”: right at the threshold you are not yet resident, only from the following day.

How the days of stay are calculated

This method of counting was developed by case law (the TEAC, Tribunal Económico-Administrativo Central), and the Spanish tax administration (Agencia Tributaria, AEAT) has adopted it into its practice. It distinguishes three levels, not simply calendar days:

  • Documented presence: every day you can prove with evidence – credit card payment, doctor's appointment, boarding pass. Both the day of arrival and the day of departure each count in full, regardless of the time.
  • Presumed intervening days: if further days lie between two documented stays, they too count as presence – unless you can prove that you were actually abroad on those days.
  • Sporadic absences (ausencias esporádicas): short stays abroad are added to your Spanish period of stay, not deducted – unless you prove with a certificate of residency (certificado de residencia fiscal, the certification of a foreign tax authority) that you are tax-resident there. However, the certificate only affects this absence item: anyone who can already show more documented days of presence than the threshold cannot get below it this way.

These are exactly the three figures the calculator above asks for. Also excluded are unpaid stays based on cultural or humanitarian agreements with Spanish authorities – these days do not count and are deducted from the presence total.

How the tax administration checks

The AEAT has long since stopped relying solely on your own statements. It combines the data flowing in to it: the automatic exchange of information with foreign financial institutions (CRS/FATCA), account movements and card payments in Spain, entry and exit dates, the land registry (Immobilienregister) and cadastre, as well as your empadronamiento (registration in your municipality's residents' register) and pending residence applications. Anyone who fails to document their presence risks the authority calculating with presumed values to their disadvantage. A travel log with supporting evidence – boarding passes, hotel receipts, doctor's appointments, fuel purchases – is therefore not paranoia, but a solid precautionary measure.

No split tax year

If you cross the threshold, you are considered fully tax resident for the entire calendar year – including the months before your move, and with your worldwide income. A departure or arrival partway through the year does not split the Spanish tax year, as the AEAT expressly clarifies. This is the most costly misconception with a mid-year move: anyone who moves to Mallorca in autumn and crosses the threshold in December owes Spanish tax retroactively for the preceding months as well.

The second criterion: the centre of economic interests

Equally ranked alongside the length of stay is this: if the main part of your investments, your business activity or your income is located in Spain or is managed from there, you are resident – regardless of how many days you spent in the country. A practical example: an entrepreneur registered in Hamburg, but who manages his rental portfolio with several Mallorca properties from the island and earns the bulk of his rental income there, can become resident under this criterion – even with far fewer days of stay than the threshold requires.

The family presumption

If your spouse, not legally separated, and the minor children dependent on them habitually live in Spain, the law presumes that you do too – a rebuttable presumption, not a third, independent criterion. The law's reference to the preceding criteria determines what the family's habitual residence is measured against – it does not make the presumption subordinate. It becomes practically significant where your own length of stay and centre of economic interests do not, on their own, establish residency. To rebut it, you generally need to prove two things: that you yourself remain below the day threshold, and that you are tax resident in another state. Anyone who moves their family to Mallorca while “commuting” themselves should be aware of this connection – more on this in our guide on Residencia in Spain.


Worked examples

Enter your own figures into the calculator above: it adds up documented presence, sporadic absences and a possible certificate to your day tally and shows the calculation openly beneath the result.


Special cases

Dual residency: when Germany and Spain both claim you at the same time

It frequently happens that two states simultaneously claim a person's tax residency. This is exactly what the double taxation agreement (DTA) between Germany and Spain exists for, with so-called tie-breaker rules (modelled on Article 4(2) of the OECD Model Convention), which resolve, according to a fixed order of priority, which state has the right to tax.

Rank Tie-breaker criterion Explanation
1 Permanent home In which state do you have a permanently available home? If in both: proceed to rank 2
2 Centre of vital interests Where are your closer personal and economic ties stronger?
3 Habitual residence In which state do you habitually stay?
4 Nationality Which state are you a national of?
5 Mutual agreement procedure Both states reach a bilateral agreement

The criteria are examined one after another: only if one rank does not provide a clear answer does the next one come into play. Important to know: the DBA only applies to income tax and wealth tax. For inheritance and gift tax there is no treaty between Germany and Spain – the restricted credit method applies there, which can lead to significant double taxation. Early estate planning therefore makes sense; more on this in the guide on Spanish will.

Worldwide income versus non-resident tax

As soon as one of the criteria applies, you must declare your entire worldwide income under IRPF – rental income from a German property just as much as dividends or a pension from abroad. This is the fundamental difference to the non-resident tax (Impuesto sobre la Renta de no Residentes, IRNR), which only captures income earned in Spain via Modelo 210 and applies to non-residents. More on this in our guides on Taxes as a resident (IRPF) and on the Non-resident tax Spain.

Foreign diplomats and consular staff

A special case in which more days of stay than the threshold exceptionally do not lead to residency: foreign diplomats and consular staff in Spain are not considered taxpayers under this article, on a reciprocal basis. For the vast majority of expats and second-home owners this is irrelevant, but it belongs here for completeness.

Non-cooperative tax jurisdictions

If you come from a country or territory that Spain classifies as a non-cooperative tax jurisdiction (jurisdicción no cooperativa – until a change of terminology in July 2021 it was called “paraíso fiscal”, tax haven), the authorities can require you to prove your presence there for the full annual threshold. This clause merely empowers the authority; it does not calculate anything automatically.

Which Autonomous Community is responsible?

Whether you are resident in Spain at all is decided by Article 9. A separate question is which Autonomous Community – for Mallorca, the Balearics – is responsible within Spain: there, according to Article 72, the relative majority of your days of stay counts, not the threshold from Article 9. For most Mallorca residents this coincides anyway, but it is relevant if you have several Spanish residences.

Registration-based and tax residency are not the same thing

You can be registered on Mallorca and listed as a resident without being tax-resident – and vice versa. The empadronamiento and the residencia registration are administrative in nature; tax residency arises by operation of law as soon as one of the criteria from Article 9 is met, regardless of whether you have filed an application. For the practical side of registration, you can find more in our guides on Empadronamiento in Mallorca and to Authorities & registration in general.

Beckham regime as an alternative

Anyone who is new to Spain and meets certain requirements – above all a Spanish employment contract – can apply for a flat-rate taxation on Spanish income under the so-called Beckham regime, instead of being taxed on worldwide income under the regular progressive tariff. The regime only changes the taxation, not residency itself, and is tied to strict conditions as well as a limited duration. More on this in the guide to the Beckham Law Spain.

Most common mistakes

  • Only looking at the days of stay – and overlooking the economic centre of interests or the family rule.
  • Ignoring presumed intermediate days – anyone who only counts their provable travel days systematically underestimates their actual presence.
  • Not deregistering in Germany – anyone who does not deregister with the residents' registration office and tax office risks unlimited tax liability in Germany in parallel.
  • Ignoring DTA rules – assuming you can simply pay something "in both countries" instead of actively using the tie-breaker rules.
  • Not keeping a record of stay – in the event of a dispute, the burden of proof lies with the taxpayer.
  • Expecting an inheritance tax DTA – there is none between Germany and Spain; early estate planning does not replace the missing agreement.
  • Overlooking exit taxation in Germany – anyone holding substantial shares in a corporation should involve their German tax adviser before moving.

Deadlines and forms

Once you are tax-resident in Spain, fixed obligations apply – regardless of how narrowly or clearly you exceeded the threshold.

  • IRPF return: annual tax return on your worldwide income (more on this above). The filing period is traditionally in the first half of the following year; the AEAT publishes the exact dates anew each year.
  • Modelo 720: the reporting obligation for foreign assets above certain thresholds (accounts, real estate, securities abroad) – details in the guide to the Modelo 720.
  • Certificado de residencia fiscal: the certificate of residency from your previous country of residence, helpful for proving sporadic absences or in a DTA case. More on this in the guide to the Certificate of tax residency.
  • NIE number: the basis for all tax and administrative procedures – NIE number Mallorca.
  • Certificado Digital: essential for electronic communication with the AEAT – Apply for a Certificado Digital.
  • Gestoría: a Spanish administrative office that can handle your IRPF tax return and reporting obligations for you – Gestoría Spain.
  • If you're self-employed, social security contributions are added (Cuota Autónomo), and as a pensioner, possibly the S1 form Spain.

The basis is Article 9 of the Spanish Income Tax Act (Ley 35/2006, LIRPF), in its version unchanged since 1 January 2007. In addition, this guide draws on the practical guidance issued by the Spanish tax administration, in particular the annual Manual práctico Renta published by the AEAT. For double taxation with Germany, the agreement between the Federal Republic of Germany and the Kingdom of Spain for the avoidance of double taxation applies, in the version dated 3 February 2011, which replaced the older 1966 agreement; its tie-breaker rules are based on Article 4(2) of the OECD Model Convention.

Last updated: September 2026. The threshold used in the calculator comes directly from the cited Article 9 and will be updated whenever the law changes.


Do the arrival and departure days count as full days?
Yes. Every day on which you can be shown to have been in Spain counts in full as a day of presence – regardless of what time you arrived or departed.
Do short holiday trips abroad count against me?
Yes, tending to. Sporadic absences are added to your Spanish period of stay, not deducted – unless you prove with a certificate of residence that you are tax resident in the country in question. Enter your figures into the calculator above to see the effect on your result.
What is a certificado de residencia fiscal and how long is it valid?
It is a certificate from the foreign tax authority confirming that you are tax resident there – for German emigrants, it is usually issued by the relevant German Finanzamt. The certificate is valid for one year and, within the Spanish count, only affects sporadic absences, not your actual presence in Spain.
What is the difference between the 183-day rule and the 90/180-day rule?
The two rules answer different questions: the 90/180-day rule concerns your right of residence as a non-EU citizen within the Schengen Area, while the 183-day rule concerns your tax residency in Spain. You can breach one without touching the other. This is explained in detail in the guide to the 90/180-day rule for Spain.
What happens if Germany and Spain both claim me at the same time?
In that case, the double taxation agreement between Germany and Spain applies, with its tie-breaker rules: first the permanent home counts, then the centre of vital interests, then habitual abode, and finally nationality. If no stage provides a clear answer, the two tax authorities reach an agreement through the mutual agreement procedure.
Is it enough to deregister in Germany?
No, not on its own. Deregistering with the German Einwohnermeldeamt and Finanzamt is important, but it does not change whether one of the Spanish criteria is met. Spanish residency arises by operation of law, regardless of your registration status in Germany.
Is the empadronamiento the same as tax residency?
No. The empadronamiento is registration with your municipality's resident register and is an administrative matter. Tax residency arises independently of this, as soon as one of the criteria from Article 9 is met. You can be registered and still not be tax resident – and vice versa.
Who has to prove what?
For days of presence, the burden lies with you: if you do not document your presence, the authorities will apply assumed values to your disadvantage. For the centre of economic interests and the family presumption, the burden of proof also lies predominantly with you.
Only my family lives in Mallorca while I myself commute – am I still affected?
Possibly. If your spouse and minor children habitually live in Spain, the tax office presumes your residency. You must actively rebut this presumption, usually by proving that you yourself stay below the day threshold and are tax resident in another country.
I moved halfway through the year – does only the time after the move count?
No. If you exceed the threshold within the calendar year, you are considered resident for the entire year – including the months beforehand – with your worldwide income. The Spanish tax year is not split by a move.

Tax residency is the starting point for most other administrative and tax matters relating to your move to Mallorca: