Spain Tax Residency 2026: The 183-Day Rule and Other Tests
Spain taxes you as a resident if you spend over 183 days a year there or your economic interests are based there. The tests, treaty tie-breakers, move year.
More than 183days
Source: Ley 35/2006 (IRPF), art. 9.1.a · checked 7 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.
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.