When Spain and another country both claim you as a tax resident, the outcome determines where you pay income tax, wealth tax, and inheritance tax. This expert guide explains how the conflict is resolved.
This article is for general informational purposes only and does not constitute legal or tax advice. Tax laws and their application depend on individual circumstances and change frequently. The case studies and scenarios presented are illustrative only and have been anonymised. Please consult a qualified tax lawyer before taking any action. Jacob Salama · internationaltaxlegalspain.com · Bar Nº 11.294 ICAMálaga.
Spain triggers tax residency under its domestic law using two independent criteria. If either criterion is met, Spain considers you a tax resident subject to Spanish Income Tax (IRPF) on your worldwide income. The problem arises when another country — typically your home country — applies its own domestic rules and also considers you tax resident there. The result is a dual tax residency conflict.
This is increasingly common for individuals who:
Understanding how these conflicts are resolved is critical, because the answer determines not just income tax but also wealth tax, succession tax, and social security obligations.
An individual is deemed a Spanish tax resident if they spend more than 183 days in Spain within a calendar year (1 January to 31 December). Unlike the UK's Statutory Residence Test, Spain uses a calendar year — there is no split-year treatment.
A critical subtlety: sporadic absences outside Spain count as days of presence in Spain, unless the individual can prove they are tax resident in another country. The Spanish Supreme Court has confirmed that the concept of sporadic absence must be assessed objectively, based on the duration and intensity of the stay abroad, not on the individual's stated intention to settle outside Spain.
Practically, this means that short trips abroad during an otherwise Spain-centred lifestyle do not reduce your day count.
Even without meeting the 183-day threshold, Spain can claim tax residency if the main core or base of your economic activities is located in Spain. This test looks at where the majority of your assets are held, where your employment income is generated, and where your principal investments are located.
There is also a rebuttable presumption: if your non-legally-separated spouse and minor dependent children are tax resident in Spain, you are presumed to be tax resident there too, unless you can prove otherwise.
When both Spain and another country claim you as a tax resident, the conflict is resolved by applying the tie-breaker rules contained in the Double Tax Agreement (DTA) between Spain and that other country, if one exists. Spain has an extensive network of DTAs with over 100 countries.
DTAs are based on the OECD Model Tax Convention. Under Article 4, the tie-breaker operates as a cascade of tests — each test is only applied if the previous one fails to produce a clear answer:
The first question is: where do you have a permanent home available? A permanent home is any form of dwelling — owned, rented, or even a family member's home — that is arranged and available to you on a continuous basis (not merely for transient stays like holidays or business travel).
If you have a permanent home in only one country, you are resident there under the DTA. If you have a permanent home in both countries — which is very common for people in the middle of relocation — the test moves to the next level.
If you have permanent homes in both countries, the DTA assigns residency to the country with which you have closer personal and economic relations. This is the "centre of vital interests" test, and it is deliberately broader than Spain's domestic "centre of economic interests" — it includes family ties, social relations, cultural or political activities, the place from which you administer your property, and more.
This test is fact-specific and inherently uncertain. Consider a common scenario: a professional who relocates to Spain with their family, continues working remotely for a foreign employer with all income sourced from abroad, and maintains a property in their home country. Their personal ties (spouse, children, social life) may point to Spain, while their economic ties (income source, financial assets, employer) point elsewhere. The outcome is genuinely ambiguous and requires careful analysis.
If the centre of vital interests cannot be determined — or you don't have a permanent home in either country — the tie-breaker turns to habitual abode: where do you habitually reside? This test looks at the frequency, duration, and regularity of your stays in each country as part of a settled routine. It is not simply about which country you spent more days in, but about which country forms the backdrop of your normal life.
If habitual abode is also inconclusive, you are deemed resident in the country of which you are a national. For dual nationals or cases where neither country provides a clear outcome, the competent tax authorities of both countries resolve the conflict by mutual agreement.
To illustrate how these rules work in practice, consider a hypothetical case based on a pattern we frequently encounter in our practice:
A British professional ("A") has been working for a UK company from Spain since 2020. He married a Spanish citizen in 2021 and they have a young child born in 2022. A spends more than 183 days in Spain each year and is registered with the local municipality (empadronamiento). He holds a TIE residence card. However, his employer's office is in London, he travelled regularly to the UK for work, and he maintained a flat in London (available to him until late 2022) before switching to using his parents' home. All his employment income is paid by a UK company and his financial investments are held in the UK.
Under Spanish domestic law, A qualifies as a Spanish tax resident in each of the years 2020–2023 because he spent more than 183 days in Spain. If A was also treated as UK tax resident under the Statutory Residence Test (SRT), a dual residency conflict arises.
Applying the DTA tie-breaker:
This analysis illustrates why dual residency cases are complex, fact-intensive, and often result in advice that depends heavily on the specific pattern of behaviour in each year.
If the DTA tie-breaker assigns tax residency to the other country (e.g., the UK), the individual is a non-resident for Spanish tax purposes. In that case, Spain can only tax Spanish-source income under the Non-Resident Income Tax (NRIT / IRNR).
Remote work income is an important case here. Under Spanish tax law and the confirmed position of the Spanish Tax Authorities (binding ruling V0194-21), employment income derived from work performed in Spain is considered Spanish-source, regardless of whether the employer is foreign. This means a non-resident who works remotely from Spain is subject to NRIT on the portion of their salary earned during days physically worked in Spain.
If the individual spent more than 183 days in Spain in a calendar year, the DTA's employment article exemption (which typically protects non-residents from taxation in the work country if they stay fewer than 183 days) will not apply. The non-resident will be taxed in Spain at a flat 24% NRIT rate on Spanish-source employment income.
Double taxation is then eliminated by allowing the individual to credit Spanish taxes against their home country's tax liability on the same income, as per the DTA's elimination of double taxation article.
If you are in a situation of potential dual tax residency, the following steps are critical:
For professional guidance on your specific situation, internationaltaxlegalspain.com offers specialist advice on Spain-UK and Spain-international tax residency conflicts.
Every tax case is different. Book a consultation with Jacob Salama, specialist in international taxation for expats and non-residents in Spain.