Spain Tax Residency Rules 2026: 183 Days, Ties and the Tax Year
How Spain decides you are a tax resident: the 183-day count, the economic-interests test, treaty tie-breakers and the calendar tax year.
More than 183days
Source: Ley 35/2006 (IRPF), art. 9.1.a · checked 26 Oct 2026
You are a Spanish tax resident if you stay in Spain more than 183 days in a calendar year, or if the main base of your economic activities or interests is in Spain. Either one is enough. Once you are resident, Spain taxes your income from anywhere in the world.
The three tests in article 9
Article 9.1 of the Personal Income Tax law (Ley 35/2006) says a taxpayer has habitual residence in Spain when either of two things happens. A third rule is a presumption built on the second.
| Test | What the law says |
|---|---|
| Days of presence | You stay more than 183 days during the calendar year (art. 9.1.a) |
| Economic interests | The main base or center of your activities or economic interests is in Spain, directly or indirectly (art. 9.1.b) |
| Family presumption | Unless you prove otherwise, you are presumed resident if your spouse (not legally separated) and your dependent minor children habitually live in Spain (art. 9.1, final paragraph) |
How the days are counted
The 183 days are counted in the calendar year, from 1 January to 31 December. Short absences (“ausencias esporádicas”) count as days in Spain, unless you prove you are a tax resident of another country (art. 9.1.a). If the other country is classed as a tax haven, the tax authority can require proof that you were there for 183 days.
So a trip abroad does not automatically take days off your count. A certificate of tax residence from the other country is what stops the absences from counting.
The economic-interests test
The law does not define “center of economic interests” in numbers. It looks at where your work, business, or the bulk of your investments and property are, directly or through companies. This test applies even if you spend fewer than 183 days in Spain, so someone who runs a Spanish business from abroad can still be resident.
The family presumption
If your spouse and minor children live in Spain, Spain presumes you are resident too. It is a presumption, so you can rebut it with evidence. The text applies to a spouse who is not legally separated; it does not mention unmarried partners.
What residency means: worldwide income
Personal income tax covers all of a resident’s earnings, capital income, business income and capital gains, “regardless of where they were produced and wherever the payer is resident” (art. 2). A pension from the UK, rent from a house in Ohio and dividends from a US brokerage account all go in the Spanish return, with treaties deciding who gets to tax what.
The tax year is the calendar year, and the tax accrues on 31 December (art. 12). The only exception that shortens it is death (art. 13). If you rely on the Beckham regime, the rules change: only Spanish-source income is taxed.
A resident’s Spanish tax is not the only filing. Foreign assets above the thresholds go on the modelo 720, and large estates may owe wealth tax.
Treaty tie-breakers: US and UK
You can be resident in two countries at once. Double tax treaties exist to settle that. Treaties override domestic law when they conflict (art. 5 of Ley 35/2006).
Both the US–Spain treaty of 1990 and the UK–Spain treaty of 2013 have an article 4 that applies when an individual is a resident of both countries under each country’s own rules. The tests run in this order:
- Permanent home: you are resident of the country where you have a permanent home available. If you have one in both,
- Center of vital interests: the country with which your personal and economic ties are closer. If that cannot be decided, or you have no permanent home in either,
- Habitual abode: where you usually live. If you live habitually in both or in neither,
- Nationality: the country of which you are a national.
- If you are a national of both or neither, the two tax authorities settle it by mutual agreement.
The US treaty adds a point that matters to Americans: a country may tax its own citizens as if the treaty did not exist (art. 1.3 of the 1990 text, the “saving clause”). A US citizen resident in Spain still files with the IRS. See US taxes for Americans in Spain.
The UK treaty’s article 4 follows the same five steps. UK residents who move should check how the UK applies its own residence rules, which this site does not cover, because a treaty only helps once you are resident in both places.
The year you move
The law has no part-year residence. The tax period is the whole calendar year, so the 183-day count decides your status for the full year, not from the day you land.
- Arrive in spring and stay through December: you will have more than 183 days in Spain that year. You are a resident for the whole year, and article 2 reaches income from January to December, including what you earned before arriving. Check whether the treaty or the other country’s rules give relief for that income.
- Arrive in late autumn: if you spend 183 days or fewer in Spain in your arrival year and your economic interests are still abroad, you may be a non-resident that year and a resident the next. The family presumption and the economic-interests test can still make you resident, so the days alone do not settle it.
- Leave Spain: the same logic applies in reverse. Spain checks your presence and ties for the calendar year in which you leave.
Within Spain, the region where you spent the most days of the year decides which regional tax rules apply. If you cannot show that, the region of your main center of interests applies (art. 72).
Where this meets visas and other pages
Residence for tax purposes is separate from your immigration status. A visa does not make you a tax resident, and tax residence does not need a visa. In practice the two overlap: the non-lucrative visa asks you to spend more than 183 days a year in Spain to renew, so holders almost always become Spanish tax residents.
Questions people ask
When do you become a tax resident in Spain?
When you stay in Spain more than 183 days in a calendar year, or when the main base of your economic activities or interests is in Spain. Either one is enough. The days are counted from 1 January to 31 December.
What are the Spanish tax residency rules?
Article 9 of the Personal Income Tax law sets three tests: more than 183 days of presence, the main center of economic interests in Spain, and a presumption of residence if your spouse and dependent minor children live in Spain. You can rebut the family presumption with evidence.
Can you be resident in Spain but not tax resident?
Yes. Residence for tax purposes is separate from immigration status, so a visa does not make you a tax resident. If you spend 183 days or fewer in your arrival year and your economic interests are still abroad, you may be a non-resident that year. The family presumption and the economic-interests test can still make you resident.
Do short trips abroad reduce my 183-day count?
Not automatically. Short absences count as days in Spain unless you prove you are a tax resident of another country, which a certificate of tax residence from that country does.
What is the Spanish tax year?
The calendar year. Personal income tax runs from 1 January to 31 December and accrues on 31 December, so the 183 days are counted inside that period. The only exception that shortens the tax period is death.
What happens in the year I move to Spain?
There is no part-year residence. If you arrive in spring and stay through December, you have more than 183 days and are a resident for the whole year, including income earned before you arrived.
What if I am tax resident in two countries?
The tie-breaker in article 4 of the US and UK treaties applies in order: permanent home, center of vital interests, habitual abode, then nationality. If that fails, the tax authorities settle it by mutual agreement.
Sources
- Ley 35/2006 on Personal Income Tax, arts. 2, 5, 9, 12, 13 and 72 (BOE, consolidated text)
- Spain–US tax treaty of 22 February 1990, art. 1 and art. 4 (BOE, 22 December 1990)
- Spain–UK tax treaty of 14 March 2013, art. 4 (BOE-A-2014-5171)
We check every figure against its source. If something has changed, write to hello@spainbynumbers.com and we will fix it. Read how we make content.