Guide · 5 min read
Spain tax residency when you move to or from Spain
Your arrival date is not the date you become tax resident. Spain looks at the whole calendar year and at three separate tests, and meeting any one of them is enough.
Updated: 4 November 2026 · Reviewed by Landfall Global Mobility

Why residence comes before everything else
Before asking how much tax you will pay in Spain, ask whether Spain will treat you as resident. As a resident, you pay Spanish personal income tax (IRPF) on your worldwide income and take on Spanish reporting duties. As a non-resident, Spain only taxes certain income that arises here. Almost every other decision about your move depends on this one.
Our view
Our recommendation: work out your residence position before you fix your arrival or departure date. It is far easier to plan a move around the rules than to defend a position after the year has ended.
Three tests, any one is enough
183days
in Spanish territory during a calendar year make you tax resident in Spain. It is one of three tests.
The rule
You are tax resident in Spain if you spend more than 183 days in Spanish territory during the calendar year. Sporadic absences count towards those days unless you prove tax residence in another country.
The rule
You are also tax resident in Spain if the main centre or base of your activities or economic interests is in Spain, directly or indirectly.
The rule
Unless proven otherwise, you are presumed to be resident in Spain if your spouse, not legally separated, and your dependent minor children habitually live in Spain.
| Test | What it looks at | Evidence that usually matters |
|---|---|---|
| Days | More than 183 days in Spain in the calendar year, sporadic absences included | Travel records, a calendar of days, residence certificates from other countries |
| Economic interests | Where the main centre or base of your activities or economic interests is | Where you work, where your business is run, where your income and assets are |
| Family | Whether your spouse and dependent minor children habitually live in Spain | Where your family lives, school enrolment, the family home |
Our view
the 183-day count gets most of the attention, but the other two tests catch many people by surprise. Spending fewer days in Spain does not settle the question if your work or your family is here.
The date you move, and the year it falls in
Because the tests look at the calendar year, a move in the middle of the year raises a practical question: in which country will you be resident that year? Depending on your days and your other ties, Spain may treat you as resident for the whole year, or both countries may claim you.
Hypothetical example: someone arrives in Spain in early summer to start a new job and brings the family. By the end of the year, the days in Spain may fall short of 183, but the job and the family are here. The other two tests then become decisive, and so does the treaty with the country they left.

When two countries say you are resident
The rule
When two countries treat you as resident, the double taxation treaty between them, if there is one, sets tie-breaker rules to decide where you are resident for treaty purposes.
The rule
The Spanish Tax Agency issues tax residence certificates on request, which are often needed to claim treaty benefits abroad.
Our view
a treaty does not change Spanish domestic law, it decides which country takes priority. Check whether Spain has a treaty with your other country early on, because without one the double claim has to be managed in other ways.
Inside Spain, your region also matters
The rule
If you are resident in Spain, your region of residence is also determined, mainly by where you spent most days in the year. This matters because regions set part of the income tax.
If you are leaving Spain
Leaving does not end Spanish residence automatically. The same three tests apply to the year you leave, so it helps to document where you live, work and keep your family from the moment you go.
The rule
Spanish nationals who move to a jurisdiction classed as non-cooperative remain Spanish income tax payers in the year of the move and the four following tax years.
01
Keep a calendar of your days
Note days in Spain and abroad from the start of the year, with travel records to back them up.
02
Map your economic interests
List where you work, where any business is run, and where your main income and assets are.
03
Look at your family's plans
Where your spouse and minor children will live, and from when.
04
Check the treaty
See whether Spain has a double taxation treaty with your other country and what its tie-breaker rules say.
05
Gather certificates
Ask for tax residence certificates where you will need to prove residence in one country or the other.
Plan the move around the rules, not the rules around the move.
Questions
If I spend fewer than 183 days in Spain, am I a non-resident?
Not necessarily. You can still be resident if your main economic interests are in Spain, or presumed resident if your spouse and dependent minor children live here.
Do short trips abroad stop the 183-day count?
Sporadic absences count towards the days in Spain unless you prove tax residence in another country.
What happens if Spain and another country both treat me as resident?
If there is a double taxation treaty between them, its tie-breaker rules decide where you are resident for treaty purposes.
Can I get a certificate showing I am resident in Spain?
Yes. The Spanish Tax Agency issues tax residence certificates on request.
Does my region inside Spain matter?
Yes. Your region of residence is decided mainly by where you spent most days, and regions set part of the income tax.
Your next step
From reading to a plan for your case.

02 · Speak with a partner
Discuss your situation with a partner
A partner will review your case with you and recommend the next step.
Talk to a partner