Moving to Spain

Tax residency in Spain: the 183-day rule and what else counts

Whether you're a tax resident in Spain decides almost everything else: which tax you pay, on what income and which forms you file. And it doesn't depend on your nationality, your visa or where your bank is. Here's how Spanish law decides it.

The short answer

  • You're a Spanish tax resident if you spend more than 183 days in Spain in a calendar year.
  • You're also resident if the main centre of your business or economic interests is in Spain, even with fewer days.
  • If your spouse and your minor children live in Spain, you're presumed resident unless you prove otherwise.
  • Residents pay Spanish income tax on their worldwide income; non-residents only on income obtained in Spain.

1. The 183 days

The law counts days in Spain during the calendar year (1 January to 31 December). They don't have to be in a row. Sporadic absences, like holidays or trips, still count as days in Spain unless you prove you're tax resident in another country, typically with a tax residence certificate from that country.

2. The centre of your economic interests

Even with fewer than 183 days, you're resident if the main centre or base of your activities or economic interests is in Spain, directly or indirectly. For example, if your business, your clients or most of your income are here.

3. The family rule

If your spouse (not legally separated) and your minor children who depend on you usually live in Spain, the law presumes you're resident too. It's a presumption: you can prove otherwise.

What being resident means

As a resident you file the Spanish income tax return (la renta) and pay tax on everything you earn in the world: salary, freelance income, investments, rentals abroad… Being paid abroad or in another currency changes nothing. If you're not resident, you only pay Spanish tax on income obtained in Spain, through non-resident income tax.

Spanish law looks at the calendar year as a whole: in general, you're resident for the whole year or not at all.

If you move in the middle of the year

If you arrive in May and stay, you'll probably pass 183 days that year and be resident for it. What happens with your income from the months before you arrived depends on the tax treaty with the country you came from. Check it before filing your first return.

Resident in two countries?

It happens: each country applies its own rules, and both can consider you resident. That's what double taxation treaties are for. Most of them decide by looking, in order, at where you have a permanent home, where your personal and economic ties are closer, where you usually live and, finally, your nationality. To prove your residence to another country or to a foreign client, the Spanish Tax Agency issues tax residence certificates.

Common situations

Can I do it myself?

Yes. Your returns are filed online, with a digital certificate or Cl@ve.

Even so, it's always better to have an expert do it: the first year in Spain is the one that causes the most doubts, and answering the residency question correctly decides which forms you file and what you pay. Write to us on WhatsApp or by email and we'll reply in English. Our Self-employed plan includes free registration.

Frequently asked questions

Do the 183 days have to be in a row?

No. What counts is the total number of days in Spain in the calendar year. Holidays and short trips abroad still count unless you prove you're tax resident in another country.

Can I be tax resident in two countries at the same time?

Under each country's own rules, yes. When that happens, the double taxation treaty between the two countries decides which one counts as your residence for the treaty.

I spend less than 183 days in Spain. Am I non-resident?

Not necessarily. You're also resident if the main centre of your economic interests is in Spain, and the law presumes it if your spouse and minor children live here.

Does my visa or my nationality decide my tax residency?

No. Tax residency depends on the days you spend in Spain, where your economic interests are and where your family lives, not on your passport or your visa.

Official sources (in Spanish)

Reviewed on 16 November 2026. General information: your case may have details that change the answer.

Topics:Tax residency183 daysMoving to SpainDouble taxation

Starting out on your own?

With the Self-employed plan we register you with the Tax Agency and Social Security for free, and we handle your quarterly taxes and bookkeeping, with written support in English. €85 + VAT a month, no lock-in.

Message an advisor

← All guides in English