blog-spanish-tax-residency

Spanish Tax Residency: How It Works, How to Avoid It and How to Plan | 2026

Spanish tax residency: how it works, how to avoid it and how to plan for it

Property & Taxes in Spain
Updated May 2026
14 min read
Colegio de Abogados de Baleares
Covers all three residency tests
Includes treaty tiebreaker rules

At a glance — Spanish tax residency

Primary test
183 days
In Spain in a calendar year — includes casual absences and presumed days
Second test
Economic interests
Where income is generated or assets are primarily located
Family presumption
Spouse + children
If family is in Spain, residency is presumed unless rebutted
Proof required
Tax certificate
Fiscal residence certificate from home country authority
Effect
Full year
Backdated to 1 January — no split-year treatment
Dispute resolution
Treaty tiebreaker
Sequential tests — permanent home first

Spanish tax residency is not something you choose — it is something that is established by objective criteria, whether you intend it or not. The consequences are significant: a Spanish tax resident is subject to IRPF on worldwide income, wealth tax on worldwide assets, and a range of annual compliance obligations that do not apply to non-residents. Understanding exactly how the rules work — and where the edges are — is essential both for those who want to plan their move correctly and for those who want to ensure they remain non-resident.

This guide covers the three criteria that establish Spanish tax residency, how Spain counts days in ways that differ from common assumptions, what documentary proof is required to demonstrate non-residency, how double taxation treaties resolve disputes between two countries that both claim the same person as resident, and the planning implications of each.

The three tests for Spanish tax residency

Spanish law establishes residency through three independent criteria, set out in Article 9 of the IRPF Law. Each criterion is applied independently — meeting any one of them is sufficient to establish Spanish tax residency for the full calendar year. You do not need to meet all three.

Test 1: the 183-day rule

The most widely known criterion is spending more than 183 days in Spain during a calendar year. The year runs from 1 January to 31 December, and the count is cumulative — the days do not need to be consecutive.

What is less well understood is how Spain counts those days. The rules differ from intuition in two important ways.

Casual absences count as days in Spain

Under Spanish law, ausencias esporádicas — casual or sporadic absences — are counted as days of presence in Spain rather than days abroad. The key phrase is “sporadic”: a short trip abroad, a holiday, a brief visit to family — these do not reduce the Spanish day count if the trip is to a country other than the one you are claiming as your country of tax residence.

The practical implication is significant. A person who spends substantial time in Spain but takes regular short trips to, say, France or Morocco cannot subtract those trip days from their Spanish count. Only sustained, genuine absences in the country of claimed residence count as days outside Spain for this purpose. If you are trying to stay below 183 days, the relevant question is not how many days you were physically outside Spain — it is how many of those days were spent in your claimed country of residence.

Presumed days: the inspection risk

The second important feature of Spain’s day-counting rules is the concept of días presuntos — presumed days. In a tax inspection, if the Spanish tax authority can establish that an individual was present in Spain on two non-consecutive dates, it will presume that the person was also in Spain on all the days between those dates — unless the individual can prove otherwise.

To take a concrete example: if Hacienda establishes that someone was in Spain on 2 May and again on 5 May, it will presume they were also present on 3 and 4 May. The burden of proof shifts to the individual to demonstrate that they were elsewhere on those intervening days. This can be done through flight records, hotel receipts, bank card transactions or phone records — but the burden is on the taxpayer, not on Hacienda.

This rule matters most in situations where someone is close to the 183-day threshold and believes they are safely below it. If Hacienda can identify presence on scattered dates through the year, the presumed days between them can quickly push the count above 183 — and the individual then needs contemporaneous evidence of their whereabouts to rebut each presumed period.

Keep records of your whereabouts

If you are managing your time in Spain to remain below the 183-day threshold, document your movements contemporaneously. Flight confirmations, hotel bookings, bank card transactions and mobile phone records from your country of claimed residence all help establish where you were on specific dates. Trying to reconstruct this evidence years later — during an inspection — is significantly harder.

Test 2: the centre of economic interests

Even if a person spends fewer than 183 days in Spain, they may still be considered a Spanish tax resident if their main centre of economic interests is located in Spain. This criterion is more complex than the day-counting rule and is frequently underestimated — particularly by retirees and people with mixed income sources.

The economic interests test looks at where income is primarily generated and where assets are primarily located. It is not a simple calculation — it involves comparing the totality of economic ties in Spain against those in other countries, considering both the income side and the asset side simultaneously.

A practical example: the retired property owner

Consider a retired British national who receives a UK pension of £1,000 per month and owns a Spanish property that generates €1,800 per month in rental income. On the face of it, this person may not be spending 183 days in Spain — they split their time between the UK and Spain. But the economic interests analysis tells a different story: the majority of their active income is generated in Spain, through Spanish rental property. If their Spanish assets — the rental property — also represent a larger share of their overall wealth than their UK assets, the case for Spain as the centre of their economic interests becomes stronger still.

This is not a theoretical scenario. It is the kind of situation that routinely arises in inspections of non-residents who own Spanish property, and the AEAT has the tools to identify it: rental income declarations, cadastral records, property ownership data and bank account information all feed into the picture Hacienda builds when it reviews someone’s tax position.

The economic interests test has no bright-line threshold. It requires a holistic assessment of all income sources and assets on both sides of the comparison. If your Spanish income and Spanish assets together represent the larger share of your economic life — even if you spend fewer than 183 days in Spain — you are at risk of being considered a Spanish tax resident under this criterion.

Rental income from Spanish property can trigger residency

Non-residents who receive significant rental income from Spanish property, and whose Spanish assets represent a substantial portion of their overall wealth, may be considered Spanish tax residents under the economic interests criterion — regardless of how many days they spend in Spain. This risk is highest for retirees with modest foreign income and significant Spanish property portfolios.

Test 3: the family presumption

The third criterion is a legal presumption rather than a direct test. If an individual’s spouse and dependent minor children are habitually resident in Spain, Spanish law presumes that the individual is also a Spanish tax resident — unless the individual can prove otherwise.

This is a rebuttable presumption: it can be overturned, but the burden is on the individual to demonstrate that they are in fact resident elsewhere. Simply asserting non-residency is not sufficient. The standard of proof required is the same as for any other residency challenge — a fiscal residence certificate from the foreign tax authority, supported by evidence of genuine ties to the other country.

The family presumption most commonly arises in situations where one partner moves to Spain — with the children and the family home — while the other remains working abroad, commuting periodically. The abroad-based partner may not spend 183 days in Spain and their economic interests may be primarily in their work country, but the family presumption would nonetheless apply and would need to be actively rebutted.

How to prove non-residency: what Spain requires

Demonstrating non-residency to the Spanish tax authority is not a matter of simply asserting that you live elsewhere. Spain is strict and specific about what constitutes adequate proof — and informal evidence is generally not accepted as standalone documentation.

The primary document Spain requires is a certificado de residencia fiscal — a fiscal residence certificate — issued by the tax authority of the country where you claim to be resident. For UK nationals, this is issued by HMRC. For US nationals, by the IRS. The certificate must confirm that you are treated as a tax resident in that country for the relevant tax year for the purposes of the applicable double taxation treaty.

This is not the same as a general letter of confirmation or a certificate of domicile. It is a specific document, issued for treaty purposes, confirming fiscal residence. Spain’s position is clear: without this certificate, claims of non-residency based on other evidence — rental contracts, utility bills, bank statements, travel records — are not sufficient on their own to rebut a Spanish residency assessment.

The certificate should be obtained annually, since it relates to a specific tax year. In practice, if you are regularly managing your Spanish presence to remain non-resident, obtaining the certificate proactively each year — rather than waiting for a challenge — is significantly more effective.

Informal evidence is not enough

Spain does not accept utility bills, rental agreements, bank statements or travel records as standalone proof of non-residency. The required document is a fiscal residence certificate issued by the tax authority of your claimed country of residence — for UK nationals, issued by HMRC. Without this, other evidence will not be sufficient to rebut a Spanish residency assessment.

Treaty tiebreaker rules: when two countries both claim you

It is possible — and not uncommon — for both Spain and another country to simultaneously claim an individual as a tax resident under their respective domestic laws. This conflict is resolved through the double taxation treaty between the two countries, which contains a structured sequence of tiebreaker tests applied in order. The first test that produces a clear result determines which country has residency under the treaty.

Most Spanish double taxation treaties — including the Spain-UK treaty — follow the OECD Model Convention tiebreaker sequence:

  • 1
    Permanent home

    Where does the individual have a permanent home available to them? If only one country, residency is allocated there. If both, proceed to test 2.

  • 2
    Centre of vital interests

    Where are the individual’s personal and economic relations closer? This considers family ties, social connections, occupation, business interests and economic activities. If determinable, residency is allocated to that country. If not, proceed to test 3.

  • 3
    Habitual abode

    Where does the individual habitually reside — that is, where do they spend more time overall? If one country clearly predominates, residency is allocated there. If not, proceed to test 4.

  • 4
    Nationality

    If the individual is a national of one country but not the other, residency is allocated to the country of nationality. If both or neither, proceed to test 5.

  • 5
    Mutual agreement

    If none of the above tests resolves the conflict, the competent authorities of the two countries settle the question by mutual agreement.

The tiebreaker only applies where both countries assert residency under their domestic law. It does not override domestic law unilaterally — both authorities must invoke the treaty process, and the outcome determines which country has taxing rights for treaty purposes. Crucially, even if a treaty allocates residency to the other country, Spain may still require you to demonstrate this through the formal certificate process described above.

The treaty tiebreaker is not automatic

Invoking a double taxation treaty tiebreaker requires actively engaging both tax authorities and providing the required documentation. Simply pointing to a treaty provision is not sufficient. The fiscal residence certificate from the other country’s authority is the starting point for any treaty residency claim.

The consequences of becoming a Spanish tax resident

For those who become Spanish tax residents — whether intentionally or accidentally — the tax obligations change substantially. The key consequences are:

  • Worldwide income — all income from all sources, wherever generated, must be declared in the annual IRPF return. This includes UK rental income, dividends, pension income, employment income, capital gains and any other source.
  • Worldwide assets in wealth tax — the Impuesto de Patrimonio applies to worldwide assets above the threshold, not just Spanish assets.
  • Modelo 720 — the annual declaration of overseas assets becomes mandatory if foreign assets in any category exceed €50,000.
  • No split-year treatment — residency applies for the entire calendar year, backdated to 1 January, regardless of when the triggering condition was met.

These consequences are covered in detail in our guide: Moving to Spain from the UK: complete tax guide 2026.

Not sure of your residency position?

Our tax residency analysis service assesses all three criteria and gives you a clear written position.

Book residency analysis →

Planning strategies: managing your Spanish presence

For individuals who own property in Spain and want to remain non-resident, a clear understanding of all three criteria — not just the 183-day rule — is essential. The following principles guide effective planning:

  • Count days carefully and conservatively. Remember that casual absences to third countries count as Spanish presence, and that Hacienda can apply presumed days between proven visits. Build in a meaningful buffer below 183 — staying at 175 days or fewer is more defensible than cutting it close.
  • Maintain and document genuine ties to your claimed country of residence. Bank accounts, utility bills, club memberships, medical appointments, voting registration and any other evidence of active life in the other country all support the residency claim.
  • Obtain the fiscal residence certificate from your home tax authority annually. Do not wait for a challenge — have it ready before the end of each tax year.
  • Be alert to the economic interests test. If your Spanish rental income is growing relative to your foreign income, or if the value of your Spanish property is approaching or exceeding the value of your foreign assets, the economic interests criterion becomes a risk that the day count alone does not address.
  • Be careful with the family situation. If your partner or children move to Spain on a permanent or long-term basis, the family presumption applies and needs to be actively managed.

Frequently asked questions

Spain uses three independent tests. Spending more than 183 days in Spain in a calendar year — counting casual absences to third countries as presence and applying presumed days between proven visits. Having the main centre of economic interests in Spain — assessed on income sources and asset location. A family presumption if your spouse and dependent children are habitually resident in Spain. Any one test is sufficient; you do not need to meet all three.
Spain counts days in two ways that differ from common assumptions. First, casual absences — short trips to countries other than your claimed country of residence — count as days of presence in Spain, not days abroad. Second, if Hacienda proves you were in Spain on two non-consecutive dates, it presumes you were present on all intervening days unless you can prove otherwise. Both rules can significantly affect the count for someone managing their time to stay below 183 days.
Spain requires a fiscal residence certificate issued by the tax authority of your claimed country of residence — for UK nationals, issued by HMRC. This must confirm you are treated as a tax resident there for treaty purposes. Utility bills, rental contracts, bank statements and travel records are not accepted as standalone proof of non-residency. The certificate should be obtained annually and before any challenge arises.
Yes. If the majority of your income is generated in Spain — for example through Spanish rental income — or if your Spanish assets represent the larger share of your overall wealth, Spain may consider your main centre of economic interests to be in Spain. This is assessed on both income and assets together. Retirees with significant Spanish rental income and substantial Spanish property relative to modest foreign assets are particularly at risk under this criterion.
Where both Spain and another country claim residency, most treaties apply a sequential tiebreaker: first, permanent home available; second, centre of vital interests (personal and economic ties); third, habitual abode (where more time is spent); fourth, nationality; fifth, mutual agreement between authorities. The first test that produces a clear result determines treaty residency. Invoking the tiebreaker requires the fiscal residence certificate and active engagement with both tax authorities.
Potentially yes. If your spouse and dependent minor children are habitually resident in Spain, Spanish law presumes you are also resident — regardless of your own day count or economic ties. This is a rebuttable presumption: you can overcome it, but you must actively demonstrate genuine tax residency elsewhere through a fiscal residence certificate and supporting evidence. The presumption applies even if you spend relatively little time in Spain yourself.

Not sure if this applies to your situation?

Send us a brief outline of your position — we’ll let you know if a consultation makes sense and what it would cover. No commitment required.

Privacy Policy
This guide provides general information only and does not constitute legal or tax advice. Residency determinations depend on the specific facts and circumstances of each individual case. Always take professional advice before making decisions about your tax residency position. Advisory work is provided on a defined scope and fixed-fee basis, confirmed in writing before engagement.
Scroll to Top