Quick answer
In 2026 you are a Spanish tax resident if you spend more than 183 days in Spain in the calendar year, if Spain is the main base of your business or economic interests, or if your spouse and minor children live there. One test is enough. Residents pay tax on worldwide income; non-residents only on Spanish income.
Last reviewed: November 2026 · Reviewed by Stéphane Gombauld, tax expert, technologist and digital nomad
You split your time between Spain and other countries, and you need to know where you stand. This guide explains each Spanish residence test, how the tax office applies it, and what proof protects you if two countries claim you.
Spain tax residency rules in 2026: the key figures
| Item | Rule for 2026 |
|---|---|
| Legal basis | Article 9 of Ley 35/2006 (LIRPF) |
| Day-count threshold | More than 183 days in the calendar year |
| Sporadic absences | Count as days in Spain unless you prove tax residence elsewhere |
| Economic-interests test | Main core or base of your activities or economic interests in Spain |
| Family presumption | Spouse (not legally separated) and minor children habitually resident in Spain |
| Tax-haven rule | Spanish nationals moving to a listed tax haven stay resident for that year and the next four |
| Tax year | Calendar year, no split year |
| Non-resident tax rate | 24% general, 19% for EU/EEA residents (Spanish-source income) |
Is this guide for you?
Read on if you…
- spend several months a year in Spain without a clear "home" elsewhere;
- work for Spanish clients or run a Spanish business while travelling;
- received a letter from the Agencia Tributaria asking about your residence.
Probably not your case if you…
- just want the step-by-step move plan – see the practical guide to obtaining your tax residency in Spain;
- live and work full time in Spain with your family – you are clearly resident.
What are the three Spanish residence tests?
You are resident if any of these applies. They are alternatives, not cumulative conditions.
| Test | What the tax office looks at | Typical evidence |
|---|---|---|
| 1. More than 183 days | Physical presence plus sporadic absences | Flights, card payments, phone data, padrón |
| 2. Centre of economic interests | Where most of your income is earned or your assets are managed | Client contracts, company seat, bank accounts, property |
| 3. Family presumption | Spouse and minor children habitually living in Spain | School enrolment, padrón, lease |
Test 1: more than 183 days
Spain counts days in the calendar year, 1 January to 31 December. There is no rolling 12-month period. Any part of a day in Spain is generally treated as a day of presence.
Here's the catch: sporadic absences – trips abroad that don't break your stay – are added to your Spanish days. A month of travel in the middle of a Spanish year does not reduce your count. The only defence is a tax residence certificate from the other country covering that year.
Test 2: centre of economic interests
Spain is your main base of economic interests when most of your income comes from, or most of your assets sit in, Spain. Courts usually compare the weight of Spanish income and assets with those abroad. A freelancer with mostly Spanish clients and a Spanish office can be resident even with 120 days.
Test 3: the family presumption
If your spouse (not legally separated) and your minor dependent children live habitually in Spain, you are presumed resident. This presumption can be rebutted. You need a residence certificate from another country and proof of real life there.
What happens if you move to a tax haven?
Spanish nationals who move to a country on Spain's list of non-cooperative jurisdictions stay Spanish tax resident for the year of the move and the next four years (article 8.2 LIRPF). For the day count, Spain can also ask you to prove 183 days in the haven before it accepts your absences.
This rule targets Spanish citizens. Foreign nationals leaving Spain are not caught by the five-year extension. Check the current list before you choose a destination.
What if Spain and another country both claim you?
Dual residence is common for nomads. Spain's domestic tests and the other country's tests can both say "resident". Then the tax treaty steps in.
Treaty tie-breaker rules – a fixed order of tests – decide which country wins:
- Permanent home – where you have a home available all the time.
- Centre of vital interests – basically where your life is: partner, kids, main business.
- Habitual abode – where you spend more time overall.
- Nationality.
- Agreement between the two tax authorities.
Spain has treaties with more than 90 countries. Check yours in the tax treaties of Spain. Without a treaty, both countries can tax you, and only domestic credit rules soften the blow.
How do you prove you are (or are not) resident?
If you want to prove you are resident in Spain
Ask the Agencia Tributaria for a certificado de residencia fiscal. You request it online with a digital certificate or Cl@ve. Foreign banks, clients and treaty claims rely on it.
If you want to prove you are not resident in Spain
Keep a file that tells one coherent story:
- a tax residence certificate from your new country for each year;
- a lease or deed abroad and utility bills;
- your padrón deregistration (baja) and Modelo 030 address change;
- a travel calendar with flights and card statements.
Your timeline, in short: before a move, set a target country and get its residence paperwork started. During the year, track days weekly. After the year ends, collect the certificate and file the right return – Modelo 100 if resident, Modelo 210 for Spanish-source income if not.
How are residents and non-residents taxed?
Residents pay personal income tax in Spain on worldwide income: 19% to 47% on general income under the combined state and standard regional scale, and 19% to 30% on savings income in 2026. Some regions go higher.
Non-residents pay non-resident income tax (IRNR) only on Spanish-source income: 24% in general, 19% for EU/EEA residents, and 19% on gains and dividends. New arrivals may qualify for the Beckham regime, covered in tax breaks for expats and digital nomads in Spain.
Example – Marco, Italian software consultant
In 2026 Marco spends 150 days in Barcelona and 215 days travelling. He has no home elsewhere. 70% of his EUR 80,000 income comes from Spanish clients and his only flat is in Barcelona. His days stay under 183, but Spain is his centre of economic interests, so he is resident. Spain taxes his full EUR 80,000 at progressive rates. Had he held an Italian residence certificate and Italian clients, the outcome would differ.
Marco missed one test out of three. Most people do.
Have your days, income and family situation checked against all three Spanish tests before the tax office does it for you.
Check my tax setup →Common mistakes (and what they cost)
- Thinking under 183 days means non-resident → the economic-interests test catches you and Spain taxes your worldwide income, with late-payment interest.
- Ignoring sporadic absences → your travel weeks count as Spanish days and you cross 183 days without noticing.
- Having no residence anywhere else → without a foreign certificate you cannot rebut Spain's claim.
- Moving to a listed tax haven as a Spanish national → you remain resident for five years and still file in Spain.
- Leaving the padrón in place → it is strong evidence of Spanish residence in a dispute.
Frequently asked questions
Does Spain use a 183-day rolling period?
No. Spain counts days within the calendar year, from 1 January to 31 December. A stay of 120 days at the end of one year and 120 days at the start of the next does not make you resident under the day test. But the economic-interests test and the family presumption still apply each year, so check those too.
Can I be tax resident in Spain and another country at the same time?
Yes, under domestic rules both countries can treat you as resident. If they have a tax treaty, the tie-breaker tests decide: permanent home, centre of vital interests, habitual abode, then nationality. The treaty winner taxes your worldwide income; the other country can only tax certain local income. Without a treaty, you rely on foreign tax credits.
What counts as a sporadic absence in Spain?
A sporadic absence is time abroad that does not break your Spanish stay, such as holidays, work trips or a few months travelling. These days are added to your Spanish total. You can exclude them only by proving tax residence in another country, normally with that country's official tax residence certificate for the year.
Does owning a home in Spain make me resident?
Not on its own. A home is not one of the three Spanish tests. But it can support the economic-interests test and matters under treaty tie-breakers as a permanent home. Non-resident owners pay non-resident income tax on imputed income or rent, and may owe wealth tax on Spanish assets above the allowance.
Is a digital nomad visa holder automatically tax resident?
Not automatically, but almost always in practice. The visa lets you live in Spain, and living there most of the year means more than 183 days. Many holders opt into the Beckham regime to pay 24% on work income instead of the progressive scale. Compare with tax residency in Portugal and tax residency in Italy, which use different tests.
Related guides
- Tax landscape overview of Spain
- Your move plan: obtaining tax residency in Spain
- How to cease your tax residency in Spain
- Spain's tax treaties and tie-breaker rules
- Personal income tax in Spain
- Tax residency in Portugal
- All country tax guides
Sources
- Ley 35/2006 on Personal Income Tax (LIRPF), articles 8 and 9 – BOE
- Agencia Tributaria – Spanish Tax Agency
- OECD Model Tax Convention (article 4, residence)
- Ministry of Finance – Ministerio de Hacienda
- PwC Worldwide Tax Summaries – Spain (secondary check)
This guide is general information, not personalised tax advice. See how we research and review.
Find out where you are really tax resident
Share your days, income and family setup, and we will check your position against Spain's three tests and your treaty.
Start with Heavnn →