Spain 183-day tax residency rule: what you need to know
You didn't plan to become a Spanish tax resident. You just wanted a few months of sunshine, or a long winter by the coast, or a quiet place to work remotely. But one afternoon you do the math and feel your stomach drop. You've lost count of how many days you've spent in Spain this year, and you have no idea where you stand.
That feeling is common. And the stakes are real.
What the 183-day rule actually says
Under Spanish tax law, you become a tax resident in Spain if you spend more than 183 days in Spain within a single calendar year. The calendar year runs from January 1 to December 31. The threshold is 183, meaning day 184 pushes you over.
Spain's tax authority, the Agencia Tributaria, publishes this clearly. The rule itself isn't complicated. How the days are counted is where people run into trouble.
How the day count works
Days don't have to be consecutive
You don't have to live in Spain for six straight months. The 183-day count is a cumulative total across the entire year. A few weeks in January, a month in March, three weeks in July, a month in October. Add them up and you may be surprised where you land.
Partial days count in full
Arrival day and departure day both count. If you fly into Malaga on a Tuesday evening and fly out the following Tuesday morning, that's eight days, not six. Every day you are on Spanish soil is a day counted.
This catches people who calculate their stay using only hotel nights or flight records.
You can't track this accurately in your head
Most people who winter in Spain or own a holiday home there think they have a rough sense of their total. They don't. Memory isn't a reliable record. Spreadsheets are better, but they break. One wrong formula or one missing trip and your total is wrong, and you won't know it.
The sporadic absences trap
This is the part that surprises people most.
Spain doesn't simply count the days you are physically in the country. Under Spanish tax law, "sporadic absences" from Spain are counted toward your Spanish total unless you can prove that you are a tax resident in another country.
Here's what that means in practice. You spent 160 days in Spain. You also spent 25 days in London, 10 days in Dubai, and 8 days in Morocco. Under the sporadic absences rule, those 43 days outside Spain may still count as Spanish days, because you haven't established tax residency elsewhere.
If those days are counted back in, you cross 183 days. You are a Spanish tax resident.
Proving tax residency in another country requires a valid tax residency certificate from that country's tax authority. A long-term visa, a foreign bank account, or a lease agreement isn't enough. You need the official document.
If you can't produce it, Spain can include your absences in the count.
The other triggers: when 183 days isn't the only question
The 183-day rule is the most cited threshold, but it's not the only way to become a Spanish tax resident. Two other conditions can apply even if you spend fewer than 183 days in Spain.
Center of economic interests. If Spain is where you earn your income or where the majority of your economic activity takes place, Spain can claim you as a tax resident. This applies to a freelancer whose main clients are Spanish, a property investor whose rental income comes from Spain, or a business owner whose company operations are based in Spain. The number of days you spent in the country isn't the deciding factor here.
Center of vital interests. If your spouse and dependent children live in Spain, Spain presumes you are a tax resident there, regardless of where you personally spent your time. This presumption can be challenged, but the burden of proof is on you.
Staying under 183 days reduces one risk factor. It doesn't eliminate Spanish tax residency risk on its own.
What happens if you become a Spanish tax resident
The consequences kick in from January 1 of the calendar year in which you crossed the threshold, not from the day you crossed it.
As a Spanish tax resident, you are taxed on your income from everywhere in the world. Salary, dividends, rental income, capital gains from foreign assets: all of it falls into scope. Double Taxation Treaties between Spain and other countries may reduce or eliminate double taxation in specific cases, but they don't make your non-Spanish income invisible to the Spanish authorities.
You will also need to file the Modelo 720 if you hold overseas assets above certain thresholds. This covers foreign bank accounts, securities, and real estate. Failure to file correctly carries heavy penalties.
And you'll need to file an annual Spanish income tax return under IRPF (the Impuesto sobre la Renta de las Personas Físicas) whether or not you believe you owe tax.
How to track your Spain days accurately
You need a precise count of every day you were in Spain, going back to January 1 of the current year. You need to record arrival and departure days correctly. You need that total available at any point in the year, not just in April when you're filing.
A spreadsheet can work in theory. In practice, spreadsheets break. A wrong formula, a missed row, a copy-paste error. The errors are silent. You don't find out until your count is off by weeks.
Jetseen is manual-first, so your counts come from the trips you enter instead of background tracking that can silently fail. You add your trips, Jetseen does the calendar-year math, and you see your running total for Spain at any point in the year. Updated the moment you add or edit a trip.
Jetseen tracks 12+ built-in rule types across multiple countries, so if you're also watching Schengen limits or UAE residency, those update at the same time.
When you need to share your records with your Spanish gestor or tax advisor, you export your travel history as CSV. Your advisor gets a clean, verifiable record of every day counted, with arrival and departure dates clearly listed.
Jetseen calculates days. What those days mean for your tax situation is a question for a qualified professional.
FAQ
Does Spain count the day I arrive and the day I leave? Yes. Both the arrival day and the departure day count as days in Spain. If you are on Spanish soil, the day counts, regardless of how many hours you were there.
Do I have to spend 183 days in a row? No. The 183 days are cumulative across the full calendar year from January 1 to December 31.
I spent time outside Spain during the year. Do those days still count against me? They might. Spain counts "sporadic absences" as Spanish days unless you can prove tax residency in another country with a tax residency certificate. Short trips abroad don't automatically reduce your Spanish day count.
Can I become a Spanish tax resident even if I spent fewer than 183 days in Spain? Yes. If Spain is your center of economic interests or your center of vital interests, Spain can claim you as a tax resident regardless of your day count.
What happens if I become a Spanish tax resident unexpectedly? You will be taxed on your worldwide income and assets for the full calendar year, starting from January 1. You may also be required to file the Modelo 720 to report overseas assets. Consult a Spanish tax advisor or gestor as soon as possible.
Is staying just under 183 days a safe strategy? Not necessarily. The sporadic absences rule, the economic interests clause, and the vital interests clause all exist independent of the day count. Staying under 183 days reduces one risk factor. It doesn't eliminate the others.
How do I prove I'm a tax resident somewhere else? You need a tax residency certificate issued by the tax authority of the other country. Passport stamps, visas, and lease agreements are supporting evidence, but they're not substitutes for the certificate.
Sources
- Agencia Tributaria — Residencia fiscal en España para personas físicas: https://www.agenciatributaria.es
Try free for 7 days at jetseen.com.
Always consult a qualified tax professional or immigration lawyer for advice specific to your situation.
Last updated April 7, 2026
Disclaimer: This guide is for informational purposes only and does not constitute legal or tax advice. Rules change frequently. Consult a qualified professional for advice specific to your situation.
Related reading
Spain's 183-day rule: when partial days count against you
Spain counts your arrival day as a full day for tax residency. Learn how the 183-day rule works, what triggers it, and how to avoid surprise tax bills.
France 183-day rule: what digital nomads and expats get wrong
France uses a relative presence test, not a 183-day threshold. Article 4B CGI has three triggers, any one of which establishes unlimited French tax liability.
Germany 183-Day Tax Residency Rule: What Digital Nomads Get Wrong
Germany can tax you as a resident without you spending 183 days there. Here is how the two-trigger framework works and where the dangerous assumptions are.