Last updated on 25 November 2026 · 10 min read
You are tax resident in Spain for a calendar year if you spend more than 183 days of it in Spain, or if the main base of your economic activities or interests is here. You are also presumed resident when your spouse and dependent minor children live in Spain. Any one of the three is enough. Spain has no split year, so a person who becomes resident is resident from 1 January to 31 December and is taxed on worldwide income for the whole year.
Key facts
- Three tests. Days, economic centre and family. Meeting one makes you resident (Personal Income Tax Act, article 9).
- 183 days. More than 183, so at least 184, counted within the calendar year.
- Absences. Short absences count as days in Spain unless you prove that you are tax resident somewhere else.
- No split year. The tax period is the calendar year. You are resident for all of it or for none of it.
- Arrival year. If you move on or before 1 July and stay, you pass 183 days that year.
- Dual residence. A tax treaty decides with tie-breaker rules that start with your permanent home.
- Proof. A certificate of tax residence from the other country is the document the Spanish Tax Agency expects.
Tax residence is a different thing from a residence permit, from registration at the town hall and from nationality. You can hold a Spanish residence card and not be tax resident, and you can be tax resident with no card at all. The rules are in article 9 of the Personal Income Tax Act, and they are applied year by year.
In this guide
The three tests
- You spend more than 183 days of the calendar year in Spain
- Short absences still count as days in Spain
- Unless you prove tax residence in another country
- The main base of your activities or economic interests is in Spain
- Directly or through companies
- Days in Spain do not matter
- Your spouse and dependent minor children live in Spain
- You are presumed resident
- You may prove the contrary
1. More than 183 days in the calendar year
The law counts days of presence in Spanish territory between 1 January and 31 December. The days do not need to be consecutive. The wording is more than 183 days, so the 184th day is the one that matters.
Sporadic absences are added to your days in Spain unless you prove that you are tax resident in another country. This is the rule that catches people who believe that travelling a lot keeps them below the threshold. If you live in Spain and spend weeks abroad on holidays or business trips, those weeks still count as Spanish days, because you cannot show a tax home anywhere else. The Supreme Court has drawn one limit. In a group of judgments of 28 November 2017 it held that an absence that itself lasts more than 183 days cannot be called sporadic.
If the other country is a tax haven, the Tax Agency may ask you to prove that you actually spent 183 days there. A certificate alone will not do.
2. The centre of your economic interests
You are resident if the main base of your activities or economic interests is in Spain, directly or indirectly. No day count is involved. The Tax Agency compares where your income is generated, where your assets are and where you manage them from. A person who lives abroad most of the year but earns most of their income from a business run in Spain can be resident under this test.
3. The family presumption
If your spouse, from whom you are not legally separated, and your dependent minor children habitually live in Spain, the law presumes that you are resident too. You can rebut the presumption, and the usual way is a certificate of tax residence from the country where you live and work.

There is no split year
In some countries you can be resident for part of a year. Spain does not work like that. The tax period is the calendar year, and the only case of a shorter period is the death of the taxpayer (articles 12 and 13). The result is that the date of your move decides the tax treatment of the entire year.
| You move to Spain and stay | Days in Spain that year | Result for that year |
|---|---|---|
| On 10 March | 297 | Resident for the whole year, including January and February |
| On 1 July | 184 | Resident for the whole year |
| On 2 July | 183 | Not resident by days, because 183 is not more than 183 |
| On 20 August | 134 | Not resident by days. The other two tests still apply |
- Days in Spain, the fewest that make you resident by days184 days
- Rest of the year181 days
The figures are for a year of 365 days, such as 2026 and 2027.
Example
Emma moves from Dublin to Valencia in March
Emma works for an Irish company until 28 February 2026, moves to Valencia on 10 March and starts a job there in April. She spends 297 days of 2026 in Spain.
Emma is Spanish tax resident for all of 2026. Her Spanish return for that year, filed in spring 2027, includes her Irish salary for January and February as well as her Spanish salary. Ireland may also tax those two months. The treaty between the two countries and the Spanish relief for foreign tax prevent the same income from being taxed twice, but they do not remove it from the Spanish return.
Example
Tom arrives in August, but his family came in January
Tom keeps working in London until the summer and moves to Málaga on 20 August 2026. He spends 134 days in Spain that year. His wife and their two children, aged 8 and 11, moved in January and the children started school in Málaga.
By days alone Tom is not resident in 2026. The family presumption says otherwise. Unless Tom can prove that he remained tax resident in the United Kingdom for 2026, for example with a certificate from HMRC, Spain will treat him as resident for the whole year.
Resident in two countries at once
Each country applies its own rules, so two countries can claim you for the same year. When that happens and there is a tax treaty, the treaty decides which of the two treats you as resident. Spain’s treaties follow the OECD model, and the questions are asked in a fixed order (Spain and United Kingdom convention, article 4).
- Permanent homeIn which country do you have a home available to you at all times?
- Centre of vital interestsIf in both, where are your personal and economic ties closer?
- Habitual abodeIf that cannot be decided, where do you usually live?
- NationalityIf in both or in neither, of which country are you a national?
- Mutual agreementIf still unresolved, the two tax authorities settle it between them.
Example
Karen has a home in both countries
Karen spent 200 days in Spain in 2026 and kept her house in Bristol, where she stayed the rest of the year. Both Spain and the United Kingdom treat her as resident under their own rules.
The treaty looks first at her permanent home. She has one in each country, so the question becomes where her personal and economic ties are closer. Her partner lives in Spain, her consultancy clients are British and she is paid in the United Kingdom. That is finely balanced, so the next test applies, which is where she habitually lives. With 200 days in Spain the answer is likely to be Spain. The order of the tests matters more than any single fact.
What changes when you are resident
| Tax resident in Spain | Not tax resident | |
|---|---|---|
| Tax | Personal Income Tax, known as IRPF | Non-Resident Income Tax, known as IRNR |
| What is taxed | Your income and gains from anywhere in the world | Only income and gains from Spanish sources |
| Rates | Progressive scale set by the State and by your region | Fixed rates, 19% for residents of the EU and EEA and 24% for others on most income |
| Assets abroad | Reporting of foreign assets above certain thresholds | No reporting of foreign assets |
| Property in Spain | Taxed within your IRPF return | Yearly Modelo 210, even if the property is not rented |
Residents with assets abroad should read our guide to Modelo 720. Non-residents who own a home in Spain file Modelo 210 every year. One group sits between the two columns. People who move to Spain for work and opt for the Beckham regime are resident, but are taxed for six years under the rules for non-residents. That regime is open to many holders of the digital nomad visa.
How to prove where you are resident
- A certificate of tax residence. Issued by the tax authority of the country where you claim to be resident, for the year in question and, where there is a treaty, stating that you are resident for the purposes of the treaty. A registration certificate or a visa is not the same thing.
- Evidence of days. Passport stamps, flight records, rental contracts, utility bills, card payments and school enrolment are what the Tax Agency looks at when days are disputed.
- Your address on file. Individuals tell the Tax Agency about a change of address with form 030. Keep it up to date, because notices sent to an old address are still valid.
Leaving Spain is tested the same way. If you move away in the second half of the year, you have already passed 183 days and remain resident for that whole year. Spanish nationals who move to a tax haven stay within Spanish income tax for the year of the move and the four that follow (article 8.2).
Mistakes we would check first
- Believing that 183 days must be consecutive, or that the count restarts after each trip.
- Assuming that days spent travelling do not count. Without proof of residence elsewhere, they do.
- Treating the year of arrival as a part year. If you are resident, income earned before the move is included.
- Forgetting the family presumption when one spouse moves ahead with the children.
- Relying on a residence permit or on registration at the town hall as proof of tax status.
- Presenting a certificate that does not state the year or the treaty.
Frequently asked questions
How many days can I spend in Spain without becoming tax resident?
Up to 183 in a calendar year. From the 184th day you are resident under the day test. You can also be resident with fewer days if your economic centre or your immediate family is in Spain.
Do the 183 days have to be consecutive?
No. All the days you spend in Spain between 1 January and 31 December are added together, and short absences are counted as days in Spain unless you prove tax residence in another country.
Am I tax resident in the year I move to Spain?
If you arrive on or before 1 July and stay, yes, and for the whole year. If you arrive later, the day test is not met, but the economic and family tests may still make you resident.
Can I be tax resident in two countries?
Under each country’s own rules, yes. A tax treaty then assigns you to one of them using tie-breaker tests that begin with your permanent home.
Does a Spanish residence permit make me tax resident?
No. Tax residence depends on the three tests in the Personal Income Tax Act, not on your immigration status.
How do I prove that I am not tax resident in Spain?
With a certificate of tax residence issued by the tax authority of the other country for the year concerned, supported by evidence of where you actually lived.
What to read next
This guide explains the general rules. It is not legal advice for your situation, and each office can ask for more than the minimum. Read our disclaimer.
Written by Estela Cortés Cortillas, lawyer, Barcelona Bar (ICAB no. 47590). Last reviewed on 26 November 2026.