Spain day-count rules
Spain's residency rules run on three separate clocks. As a visitor you get 90 days in any rolling 180-day period under the Schengen rules. As a resident-to-be, spending more than 183 days in a calendar year makes you a Spanish tax resident — often before you've applied for anything. And as a future citizen, naturalisation expects genuinely continuous residence, with long absences putting the qualifying years at risk.
The pages below break down each Spanish day-count rule in plain English — the threshold, the window it's measured over, and what officially counts as a day — with links to the Agencia Tributaria and other official sources.
Frequently asked questions
Three layers apply. Short visits: 90 days in any rolling 180-day period (the Schengen rule). Living there: a residence visa or permit, whose renewal can depend on time actually spent in Spain. Taxes: more than 183 days of presence in a calendar year makes you a Spanish tax resident, and having your main economic interests or family in Spain can do the same below the day count.
The automatic test is 183 days in a calendar year — stay at 183 or fewer and the day-count test alone won't catch you. But Spain can still treat you as resident if your centre of economic interests or your spouse and minor children are there, so the day count is necessary but not always sufficient.
Under the Schengen 90/180 rule your used days only “age out” 180 days after they occurred. After a full 90-day stay you typically need to stay out of the whole Schengen Area for 90 days before returning for another long stay — shorter visits can resume earlier as older days roll out of the window.
Both, for different rules. The 90/180 visitor rule is a rolling window that moves with every day. The 183-day tax test runs on the calendar year, January to December. Mixing the two up is one of the most common (and expensive) mistakes.