Taxes
Tax residence in Spain: the basics before you move
Tax residence and immigration residence are decided by different authorities under different rules. You can hold a Spanish residence card and not be tax resident — and you can be tax resident in Spain without ever holding one. This guide is a starting framework, not tax advice.
Two separate systems
Spanish immigration law decides whether you may live in Spain. Spanish tax law decides where you are taxed. They are administered by different authorities, they use different tests, and neither one determines the other.
- A visa, TIE, NIE or EU registration certificate is an immigration document. None of them makes you tax resident, and none of them prevents it.
- The padrón is a municipal population register. It is evidence of where you live, and it can be used as evidence, but it is not the legal test.
- Tax residence is assessed by the Agencia Tributaria under the criteria in the personal income tax rules, on the facts of each calendar year.
This guide is general information, not personal tax advice. Tax residence questions turn on individual facts and on the treaty position between Spain and the other country involved. Anyone moving with income, assets or a business abroad should take cross-border tax advice before the move, not after.
The three Spanish criteria
Under Spanish domestic law, an individual is generally considered tax resident in Spain if any one of the following applies. They are alternatives, not cumulative — meeting any single one is enough.
- Physical presence. Staying more than 183 days in Spanish territory during the calendar year.
- Centre of economic interests. Having in Spain, directly or indirectly, the main core or base of activities or economic interests. This is a substantive test about where your economic life is centred, not a day count.
- Family presumption. A rebuttable presumption that a person is resident where their non-legally-separated spouse and dependent minor children habitually reside in Spain. Being rebuttable, it can be displaced by evidence to the contrary.
The first is the one everybody has heard of; the second is the one that surprises people. Someone who carefully spends fewer than 183 days in Spain but runs their main business from there, or holds their principal economic base there, can still be found resident under the second criterion.
Sporadic absences and the 183 days
The day count is not simply "days physically present". Spanish rules provide that, in computing the period of stay, sporadic absences are counted unless the taxpayer proves tax residence in another country.
Practically, this means:
- Leaving Spain for trips, holidays or short work periods does not automatically subtract those days from the count.
- The way to exclude them is generally to prove tax residence elsewhere — which in practice usually means a tax residence certificate issued by the other country's tax authority, subject to the applicable rules and, where relevant, treaty provisions.
- There are specific rules for cases involving countries or territories classified as non-cooperative jurisdictions, where the standard of proof is higher.
A boarding-pass folder is not a tax residence certificate. Flight records show movement; they do not show that another state treated you as its resident. The certificate is the document that does that work.
Residence applies to the whole tax year
The Spanish tax year is the calendar year, and under Spanish domestic law residence status is generally determined for the year as a whole. Spanish domestic law does not, as a general rule, operate a "split year" that makes you resident only from your arrival date.
The consequence catches people out. Someone who moves to Spain in, say, May and stays for the rest of the year may meet the presence criterion for that calendar year — and their status is then assessed for the entire year, including the months before arrival.
This is exactly the kind of situation where a double tax treaty may matter, because the treaty can allocate residence between the two states for the relevant period and relieve double taxation. Whether and how it does so depends on the treaty in question.
The practical lesson is about timing: the calendar month in which you move can change your tax position for an entire year. It is worth modelling before booking the move, not after.
Dual residence and treaty tie-breakers
It is entirely possible to satisfy the domestic residence tests of two countries at once — Spain says you are resident, the other country says the same. Domestic law alone cannot resolve that.
Where a double tax treaty exists between Spain and the other state, it typically contains a tie-breaker that assigns residence to one state for treaty purposes, applied in order. The classic sequence, following the OECD model on which most treaties are based, looks at:
- where the individual has a permanent home available;
- if in both, the state with which personal and economic relations are closer — the centre of vital interests;
- failing that, habitual abode;
- failing that, nationality;
- and finally, mutual agreement between the two authorities.
Each treaty has its own text and its own wording, so the applicable article must be read rather than assumed. Where no treaty applies, this mechanism is simply unavailable, and the risk of genuine double taxation is materially higher — which is one reason nationality and destination change the analysis so much.
What tax residence can mean in practice
Being Spanish tax resident generally shifts the basis of taxation from Spanish-source income to worldwide income. The specific consequences depend on the facts, the applicable rules, any treaty and the autonomous community involved. In broad terms, the areas to look at are:
- IRPF — personal income tax on worldwide income, with treaty relief where applicable.
- Reporting obligations relating to assets and rights held abroad, where the applicable thresholds and conditions are met.
- Wealth-related taxation, which exists in Spain with significant regional variation in rates, allowances and reliefs.
- Inheritance and gift tax exposure, also strongly regional, which residence can change.
We deliberately publish no rates, thresholds or savings estimates. They vary by region, change by legislation and depend on your facts. Anyone quoting you a figure without seeing your situation is guessing.
Non-residents are taxed differently, under the non-resident income tax rules and generally on Spanish-source income only — which is why the residence question is the first one to settle, not the last.
The Beckham special regime, separately
The special regime for workers posted to Spanish territory — informally the "Beckham Law" — sits on top of all of the above and should not be confused with it.
Three distinctions matter:
- It applies to people who become Spanish tax resident. It is not a way of avoiding tax residence.
- It is an option that must be exercised with the tax agency, on the correct form and within a short deadline. It is never automatic.
- It has its own eligibility conditions, including a look-back test on prior Spanish tax residence, and it does not benefit everyone. For some profiles the ordinary regime produces a better outcome.
Our dedicated Beckham Law guide covers the causes of eligibility, Model 149, Model 151, duration and the situations where the regime does not help.
Pre-move evidence checklist
Whatever position you end up in, it is far easier to evidence it contemporaneously than to reconstruct it two years later during a review. Before and around the move, keep:
- A day-count record per calendar year, with entry and exit dates and supporting travel documents.
- Tax residence certificates from the other country for the relevant years, where you intend to rely on residence elsewhere.
- Evidence of your housing position in both countries — leases, purchase deeds, sale or termination dates, utility accounts.
- Records of where your economic base sits: employment or client contracts, business registrations, bank and investment accounts.
- Family circumstances: where your spouse and dependent minor children habitually live, and school enrolment where relevant.
- Dates of immigration and administrative steps: visa, TIE, padrón, EU registration — useful as evidence even though they are not the legal test.
- The relevant double tax treaty between Spain and your other country, and a note of which article governs your case.
Then take advice. Cross-border tax residence is one of the few areas where a single conversation before the move routinely changes the outcome for years afterwards.
Official sources
- Agencia Tributaria — Residencia fiscal de personas físicas
- Agencia Tributaria — Impuesto sobre la Renta de las Personas Físicas (IRPF)
- Agencia Tributaria — Régimen especial aplicable a trabajadores desplazados
Tax rules change and outcomes depend on individual facts and the applicable treaty. This guide is general information and not personal tax advice.
Frequently asked questions
Does having a TIE make me tax resident in Spain?
No. Immigration documents and tax residence are decided separately. Tax residence is assessed by the tax authority under the personal income tax criteria — presence, centre of economic interests and the family presumption — regardless of which card you hold.
If I stay under 183 days, am I safe?
Not necessarily. The 183-day test is only one of the criteria. Having your main base of activities or economic interests in Spain, or the rebuttable family presumption, can each establish residence independently of the day count.
I moved in September. Am I tax resident only from then?
Spanish domestic law generally determines residence for the whole calendar year rather than splitting it at the arrival date. Where a double tax treaty applies, it may allocate residence between the two states for the period concerned. The specific outcome depends on the treaty and your facts.
Two countries both say I'm resident. What happens?
If a double tax treaty applies, it normally contains tie-breaker rules — permanent home, centre of vital interests, habitual abode, nationality and finally mutual agreement — that assign residence to one state for treaty purposes. Where no treaty applies, that mechanism is unavailable and specialist advice is essential.
Not sure how this applies to you?
Marta can review your situation and confirm the likely process before recommending an ExpatPlanner service.