Spain's 183-Day Tax Residency Rule
More than 183 days in Spain in a calendar year makes you a Spanish tax resident, and short trips abroad can be added to those days. Here is how the count works, and the two routes to residence that need no day count at all.
Last verified: September 2026
In short: you are a Spanish tax resident for a year if you spend more than 183 days in Spain in that calendar year, 1 January to 31 December. Sporadic absences count as days in Spain unless you prove tax residence in another country. You are also resident if your main centre of economic interests is in Spain, and presumed resident if your spouse and dependent minor children live there. Residence applies to the whole calendar year.
- Threshold
- More than 183 days: day 183 is under the line, day 184 crosses it
- Counting window
- Calendar year, 1 January to 31 December
- Sporadic absences
- Counted as days in Spain unless you prove tax residence in another country
- Other route
- Main centre or base of your activities or economic interests is in Spain
- Family presumption
- Spouse (not legally separated) and dependent minor children live in Spain; can be rebutted
- Split year
- None: resident or non-resident for the entire calendar year
- Legal basis
- Personal Income Tax Law (Ley 35/2006, LIRPF), Article 9.1
More than 183 days in the calendar year
Article 9.1(a) of the Personal Income Tax Law makes you resident if you stay in Spain for more than 183 days during the calendar year. Three points decide most cases:
- More than, not at least. 183 days in Spain does not meet the test; 184 does.
- The calendar year, not any 12 months. The count resets on 1 January. A long stay that straddles New Year is split between two years, unlike Portugal's rolling window.
- Days need not be consecutive. Every stay in the year is added together.
The law does not spell out whether the day you arrive and the day you leave each count as a day in Spain. Counting both as Spain days is the cautious way to keep your own record.
A winter in Spain. You spend 1 September 2026 to 30 April 2027 in Spain without leaving. That is 242 days in a row, but 2026 holds 122 of them and 2027 holds 120. Neither calendar year is over 183, so the day test is not met in either year. The same stay in a country with a rolling 12-month window would cross the line.
One day matters. Stay 184 days in Spain in 2026, for example the whole of January to the end of June and three more days in December, and the day test is met for 2026. Stay 183 and it is not.
Spain 183-day calculator
Tap the days you were in Spain, planned stays included, and see how close you are to the 183-day line this year. Sporadic absences can also count as days in Spain; that is covered below.
Timeline
Everything stays in your browser: nothing you enter is sent or saved.
Sporadic absences can count as days in Spain
This is the part of Spain's rule that surprises people. When your days in Spain are added up, sporadic absences are counted as time in Spain unless you prove that you are tax resident in another country. The usual proof is a certificate of tax residence from that country's tax authority, which the Spanish Tax Agency treats as valid for one year. The law does not define how long an absence can be and still count as sporadic.
If the other country is on Spain's list of non-cooperative jurisdictions (tax havens), the Spanish tax administration may also require you to prove that you spent 183 days there in the calendar year.
Short trips added back. You spend 160 days in Spain in 2026, living in a rented flat in Valencia, and take five one-week trips around Europe, 35 days abroad in total. You are not tax resident anywhere else. If those trips are treated as sporadic absences, your Spain count becomes 160 + 35 = 195 days, more than 183. With a certificate showing tax residence in another country, the trips are not added and the count stays at 160.
Two routes that need no day count
Centre of economic interests. Under Article 9.1(b) you are resident if the main core or base of your activities or economic interests is in Spain, directly or indirectly. There is no day threshold for this test, so someone who spends most of the year abroad but runs their main business or earns most of their income from Spain can still be resident.
Family presumption. You are presumed resident if your spouse, not legally separated, and your dependent minor children habitually live in Spain. The presumption can be rebutted with evidence, but it shifts the burden to you.
Residence covers the whole year
Spanish domestic law has no split year. The Spanish Tax Agency states that a person is resident or non-resident for the entire calendar year, because a change of residence does not interrupt the tax period. Moving to Spain in June and passing 183 days by December makes you resident for all of that year under Spanish law.
A separate rule applies to Spanish nationals who move their residence to a non-cooperative jurisdiction: they remain taxpayers in Spain for the year of the move and the following four years.
The special regime for people moving to Spain
People who become tax resident because they move to Spain can opt into the special regime in Article 93 of the same law, widely known as the Beckham law. It lets them pay tax under non-resident income tax rules for the year of the move and the five following years. Conditions include not having been resident in Spain in the five previous tax years and moving for one of the listed reasons, which include an employment contract (remote work done from Spain qualifies, and holders of the international telework visa are named expressly), becoming a company director, and some entrepreneurial and highly qualified activities. General income under the regime, including salary, is taxed at 24% up to €600,000 and 47% above that. The option is made on form 149. The regime changes how you are taxed, not whether the 183-day test is met.
Beyond the day count
If another country also treats you as resident, the tax treaty between it and Spain decides, usually by looking at where you have a permanent home, then your centre of vital interests, then where you habitually live, then nationality. A Spanish residence permit is not the same as tax residence: the Tax Agency notes that a person can hold one and still not be a tax resident. Long-term residence has its own absence rule, covered in Spain long-term residence and the 12-month absence from the EU. For how Spain's test compares with other countries, see the 183-day tax residency rule and the tax residency by country table.
Count your days in Spain with AtlasDays
Log your trips once. The Custom Tax Residence Tracker counts Spain's calendar-year rule: choose Spain, a Year window starting 1 January, and a limit of 184 days, the first day past 183. AtlasDays counts the days you were in Spain, privately on your iPhone. It cannot know which trips abroad Spain would add back as sporadic absences, so your dated record of those trips sits alongside the count.
Get AtlasDaysFAQ
How many days can you spend in Spain without becoming a tax resident?
Up to 183 days in a calendar year under the day test. Day 184 makes you resident. Sporadic absences can be added to your Spain days unless you prove tax residence in another country, and the economic-interests and family tests can make you resident on fewer days.
Does Spain use the calendar year or any 12 months?
The calendar year. Days are added up from 1 January to 31 December and the count starts again each year, so a stay that straddles New Year is split between two years.
Do trips abroad reduce my days in Spain?
Not necessarily. Spanish law counts sporadic absences as days in Spain unless you prove tax residence in another country, usually with a tax residence certificate from that country.
About this article: AtlasDays provides general information, not legal, tax, or immigration advice. Rules change and outcomes depend on your circumstances, so never rely on it alone: check the linked official source or ask a qualified professional.