The Three Criteria for Spanish Tax Residency
Spanish personal income tax — the Impuesto sobre la Renta de las Personas Físicas (IRPF) — is levied on worldwide income of individuals who are considered tax residents of Spain. The determination of tax residency is therefore one of the most consequential questions in Spanish tax law, and it is the starting point for any analysis of Spanish tax obligations.
Article 9 of the Ley 35/2006 del IRPF establishes three alternative criteria for Spanish tax residency. An individual is considered a Spanish tax resident if they meet any one of the following:
- Physical presence: The individual spends more than 183 days in Spanish territory during the calendar year. Temporary absences are counted as days in Spain unless the individual demonstrates actual tax residence in another country.
- Main centre of economic interests: The main nucleus or base of the individual's economic activities or interests is located in Spain, directly or indirectly.
- Family nucleus presumption: The individual's non-legally-separated spouse and/or minor dependent children are habitually resident in Spain — creating a rebuttable presumption of Spanish tax residency.
The majority of individuals focus almost exclusively on criterion one — counting days. This is a mistake. The AEAT applies all three criteria simultaneously, and in practice, criteria two and three are often more determinative than the day count in cases where residency is disputed.
The 183-Day Rule: What Counts and What Doesn't
The day count under criterion one uses calendar year counting — 1 January to 31 December. Partial days count as full days. Both arrival and departure days are counted as days in Spain.
The critical mechanism is the treatment of temporary absences. Under Article 9.1.a LIRPF, temporary absences are attributed to Spain — they are counted as Spanish days — unless the taxpayer demonstrates actual tax residence in another country. This means that a person who is habitually in Spain but makes frequent short trips abroad cannot simply subtract travel days from the count.
What constitutes evidence of "actual tax residence" in another country? The AEAT requires, at minimum, a certificate of tax residence issued by the foreign tax authority (equivalent to Spain's certificado de residencia fiscal). Bank statements, utility bills, employment records and property ownership in the foreign country are supporting evidence. A mere hotel receipt or short-term rental is insufficient.
The Main Centre of Economic Interests: Criterion Two
This is the criterion that catches the most experienced professionals off-guard. Even if an individual demonstrably spends fewer than 183 days in Spain — and can prove it — they may still be a Spanish tax resident if Spain is where their economic life is primarily centred.
What "Main Centre of Economic Interests" Means in Practice
The AEAT's interpretation of the economic interests criterion is broad. The key indicators examined include:
- Income generation: Where is the individual's primary income generated? A consultant who invoices Spanish clients from a foreign legal address may be treated as having their main economic interests in Spain if the substantive work is performed there and the Spanish-source income constitutes the majority of their earnings.
- Business activity: Where is the principal business activity conducted? A self-employed professional who works primarily in Spain — attending meetings, seeing clients, performing services — has their main business centre in Spain regardless of their legal domicile.
- Investment management: Where are the individual's principal investments managed? If a non-resident manages a significant Spanish property portfolio, controls Spanish companies, or directs investment decisions from Spain, the AEAT treats these as indicators of economic interests being centred in Spain.
- Financial centre: Where are the individual's primary bank accounts held? Where are major financial decisions taken? The AEAT cross-references bank account data and payment patterns with residency claims.
Important: The economic interests test does not require a majority of income to be Spanish-source. A taxpayer who earns €1 million abroad and €300,000 in Spain may still have their main economic interests in Spain if the Spanish activities involve regular physical presence and active management while the foreign income is passive. The nature and location of activity matters, not just the quantum of income.
The Family Nucleus Presumption: The Most Overlooked Criterion
Article 9.1.b LIRPF establishes a legal presumption — not merely a factor — of Spanish tax residency when the individual's non-legally-separated spouse and/or minor dependent children habitually reside in Spain. This presumption applies regardless of how many days the individual personally spends in Spain.
The presumption is rebuttable: the individual may demonstrate that their main centre of activities or interests is in another country. But the burden of proof is entirely on the taxpayer — they must affirmatively demonstrate actual primary residence elsewhere. In practice, this is a high bar. A business executive who works abroad but whose family — spouse, school-age children — remains in Spain will typically be treated as a Spanish tax resident unless they can produce compelling evidence of genuine life-centre elsewhere.
The family nucleus criterion applies specifically to:
- The legal spouse (not legally separated under Spanish law)
- Minor children (under 18)
- Other dependent children (where a legal dependency relationship exists)
An unmarried partner and adult children do not trigger the presumption under the literal reading of Article 9 — although the AEAT may treat their presence as circumstantial evidence in the wider vital interests analysis.
How the AEAT Investigates: The Evidence Toolkit
The AEAT's approach to residency investigations has become markedly more sophisticated over the past decade. The combination of automated data matching, international information exchange, and targeted digital investigation means that the era of informally maintaining two residencies — one for convenience, one for tax — is effectively over.
Domestic Data Sources
Within Spain, the AEAT has access to — and routinely matches — data from:
- Padrón municipal: The civil register records the address where individuals are officially registered. Registration at a Spanish address creates a strong presumption of physical presence.
- Spanish bank accounts: Transaction frequency, location of card usage, ATM withdrawals and payment patterns provide a detailed picture of daily life.
- Utility consumption: Electricity, water and gas consumption at Spanish addresses — obtained from utility providers — indicates whether a property is genuinely occupied year-round or used only intermittently.
- Social Security (Seguridad Social): Contributions and healthcare usage records place individuals physically in Spain on specific dates.
- Vehicle registration (DGT): A registered vehicle in Spain indicates ongoing presence.
- School enrollment: Children registered at Spanish schools prove that the family nucleus is in Spain.
- Healthcare records: Visits to Spanish public or private healthcare facilities prove physical presence.
International Information Exchange
Through the OECD Common Reporting Standard (CRS), DAC2 (the EU equivalent) and FATCA (for US-connected taxpayers), the AEAT receives automatic annual reports of financial accounts held by Spanish tax residents — and claimed non-residents — in over 100 countries. This allows the AEAT to identify foreign income, foreign account balances, and foreign financial activity that may contradict a claimed non-residency.
Digital Investigation: Social Media, Airline Records and Toll Data
AEAT inspectors increasingly use open-source digital investigation. Social media posts — particularly those geotagged or referencing Spanish locations — have been cited in AEAT assessments as evidence of physical presence. Airline booking data and passenger records, available through cooperation with Spanish aviation authorities and EU data-sharing frameworks, can establish travel patterns. Spanish toll records (peajes) from the national road network can place a vehicle — and by inference its owner — at specific locations on specific dates.
"Hacienda te llama" — The AEAT Contact Letter
The AEAT's "hacienda te llama" programme (literally "the tax office calls you") uses automated risk profiling to identify taxpayers whose declared residency is inconsistent with the data the AEAT holds. A letter under this programme is not a formal assessment — it is an invitation to correct inconsistencies or provide evidence. Ignoring it is inadvisable: the letter typically precedes a formal inspection (procedimiento de comprobación).
Double Residency and DTT Tie-Breakers
Where an individual is simultaneously claimed as a tax resident by Spain and another country, and a double tax treaty exists between the two countries, the treaty's residency tie-breaker article applies. Spain's DTTs follow the OECD model, which applies the following sequence:
- Permanent home: In which country does the individual have a permanent home available? If only one, that country wins. If both, move to step 2.
- Centre of vital interests: In which country are the individual's personal and economic relations closer? This is the DTT equivalent of the domestic vital interests test.
- Habitual abode: In which country does the individual habitually live? Physical presence, not necessarily day-counting in the strict domestic sense.
- Nationality: If the individual is a national of only one of the countries, that country wins.
- Mutual agreement: If all previous steps are inconclusive, the competent authorities of both countries resolve the question by mutual agreement.
Invoking the tie-breaker requires active engagement — filing in the relevant jurisdiction with the treaty position, and potentially filing a Mutual Agreement Procedure (MAP) request if one country does not accept the other's claim. This is not a self-executing mechanism.
Case Studies
Case Study 1: Executive with Family in Spain and Job Abroad
A British national works as a regional director for a multinational, based in London with frequent travel. His spouse and two school-age children live in Marbella. He owns an apartment in London. He estimates he spends 120 days in Spain per year.
Analysis: Despite being below 183 days, he is almost certainly a Spanish tax resident. The family nucleus presumption applies immediately — his non-legally-separated spouse and minor children are habitually resident in Spain. He must rebut this presumption by demonstrating that his principal activities are centred in the UK. The UK-Spain DTT tie-breaker would apply if AEAT claims residency: at step 1, he has a permanent home in both countries. At step 2, his centre of vital interests is ambiguous — economic interests point to the UK (salary, employer), personal interests point to Spain (family). The outcome depends heavily on documentation and legal argument. Professional advice before the family relocates is essential.
Case Study 2: Digital Nomad Spending 100 Days in Spain Per Year
A Dutch freelance software developer has no fixed country of residence. She works remotely for international clients, typically spends 90–100 days per year in Barcelona (using short-term rentals), and the remainder across other European countries. She is not registered in any country's padrón. She has not obtained a certificate of tax residence anywhere.
Analysis: The physical presence test at 100 days does not trigger Spanish residency. The economic interests test is neutral — her clients are international and she works from multiple locations. But the absence of any established tax residency anywhere is a significant problem: the Netherlands may claim her as resident (Dutch nationals not registered as emigrants are typically treated as Dutch residents), and Spain may assert residency based on the frequency of stays and business activity conducted in Spain. The absence of a tax certificate anywhere creates risk rather than protection. She should regularise her tax residency — either in the Netherlands, in a country with a digital nomad programme, or by formalising Spanish non-resident status with a digital nomad visa.
Case Study 3: Retired Non-Resident with Spanish Property
A German retiree owns a villa in Malaga. He spends six months of the year there and six months in Germany, where he has his primary home and is registered as a taxpayer. He receives a German state pension and interest income from German bank accounts.
Analysis: He is at the 183-day boundary. If even one additional day is attributable to Spain — under the temporary absence rule — he crosses the threshold. His German tax residency is well-documented. Under the Spain-Germany DTT tie-breaker, he has a permanent home in both countries; his centre of vital interests is Germany (pension, bank accounts, German family). If AEAT investigates, he has a strong DTT defence — but he must maintain contemporaneous documentation of his German residency status, German tax returns, and travel records. He should also be filing Spanish Modelo 210 annually for imputed income on his Spanish property.
Practical Documentation Strategy to Prove Non-Residency
The single most effective protection against a Spanish residency assessment is a contemporaneous, organised documentation file. Assembling this retrospectively — after AEAT has initiated an inspection — is far harder than building it in real time. The key documents are:
| Document | Purpose | Priority |
|---|---|---|
| Foreign tax residence certificate | Proves actual residence in another country | Essential |
| Passport with entry/exit stamps | Documents physical presence in each country | Essential |
| Boarding pass / airline records | Corroborates physical presence | Essential |
| Foreign bank statements | Shows economic centre is abroad | Essential |
| Foreign utility bills / lease | Proves habitual abode outside Spain | Essential |
| Foreign tax returns | Demonstrates tax registration abroad | Essential |
| Medical / dental records abroad | Evidence of habitual presence abroad | Helpful |
| Foreign club / gym memberships | Social life evidence | Helpful |
| Car rental / toll records abroad | Physical presence corroboration | Helpful |
Is Spain Claiming You as a Resident?
Whether you have received a "hacienda te llama" letter, are planning a non-resident lifestyle in Spain, or need to defend your residency position before AEAT, Jacob Salama provides expert analysis and representation. Book a consultation to discuss your situation.
Book a Consultation →Disclaimer: This article is for general informational purposes only and does not constitute legal or tax advice. Spanish tax law changes frequently and its application depends on individual circumstances. Always consult a qualified tax lawyer before making decisions. SALAMA LEGAL SLP — Colegiado nº 11.294 ICAMálaga.
Ask Jacob Salama a Question
Concerned about your Spanish residency status? Describe your situation and we will respond within one business day.