Home › Questions › The 183-day rule
Spain — understanding the 183-day tax residency rule
Tax residency · The 183-day rule

The 183-day rule: when do you become a Spanish tax resident?

The "183 days" figure is the best-known test for Spanish tax residency — but it is only one of three, and it does not work the simple way most people assume. Counting days, sporadic absences, family ties and your centre of economic interests all feed into the answer.

Almost everyone planning a move to Spain has heard of the "183-day rule": stay more than half the year and you become a Spanish tax resident. It is a useful shorthand, but it is incomplete and, taken alone, misleading. Spanish law sets out three separate tests for personal tax residency, and meeting any one of them can make you resident for the whole calendar year. Physical presence is only the first. This page explains all three, how days are actually counted, why "sporadic absences" catch people out, and — crucially — why being a tax resident is not the same as being an immigration resident.

Jacob Salama, tax lawyer

"The 183 days is only one of three tests, and it is not counted the way most people assume. Sporadic absences, your family ties and your centre of economic interests can each make you resident on their own."

— Jacob Salama · International Tax lawyer, Ilustre Colegio de Abogados de Málaga (nº 11294)

The three tests for Spanish tax residency

An individual is generally treated as tax resident in Spain if any one of the following applies during a calendar year. They are independent gateways, not a checklist you must satisfy in full:

The practical consequence is important: you can spend well under 183 days in Spain and still be a tax resident because your economic centre or your family is here. Conversely, meeting the day count alone is enough on its own. Anyone who plans their move solely around "staying under 183 days" has only addressed one third of the question.

Test 1: 183 days of physical presence

The first and most familiar test looks at how long you are physically in Spanish territory during the calendar year. If that period exceeds 183 days, you meet this test and are treated as resident for the entire year — there is no partial-year splitting in the way some other countries allow. The threshold is a majority of the year, which is why so much attention falls on it.

Where people go wrong is assuming the count is a simple tally of nights spent in Spain, and that any time abroad reduces it. That is not how the rule operates, because of the treatment of temporary absences described next.

Counting days and "sporadic absences"

Spanish law expressly provides that, when computing the 183 days, sporadic absences from Spanish territory are counted as if you were present in Spain — unless you can prove tax residency in another country. In other words, popping out of Spain for a fortnight here and there does not shrink your day count; those days may still be added to it.

This is a deliberate anti-avoidance feature. It stops a person from spending most of the year in Spain, taking a handful of trips abroad to drop below 184 days, and claiming non-residency while their life is plainly centred here. The escape route is narrow: you must produce a tax-residency certificate from another country — not merely show that you were physically elsewhere.

A frequent misunderstanding: "I was out of Spain for two months, so those days don't count." Unless you can prove you were tax resident somewhere else during that period, the sporadic-absence rule generally counts them as Spanish days. Physical departure alone does not stop the clock.

Test 2: centre of economic interests

The second test asks where the main core or base of your economic activities and interests sits. If that centre is in Spain, you can be tax resident here even if you spent fewer than 183 days in the country. This test is more qualitative than a day count, and it examines the substance of your working and financial life.

Factors that may point to Spain as your economic centre include where you carry on your professional activity, where your principal source of income arises, where your main assets and investments are managed, and where your business decisions are effectively taken. No single factor is decisive; the authorities look at the overall picture. A person who runs their business from a Spanish home office, banks locally and derives most of their income through activity conducted in Spain may satisfy this test regardless of how many days they physically spend inside the borders.

You do not have to "live" in Spain in a day-counting sense to be taxed here. If Spain is the hub of your economic life, that alone can make you resident.

Test 3: the family presumption

The third test is a rebuttable presumption based on family ties. Where a person's legally non-separated spouse and dependent minor children habitually reside in Spain, the individual is presumed to be tax resident here too — unless the presumption is displaced by evidence to the contrary.

This catches a recurring pattern: one partner relocates the family to Spain — a spouse and school-age children settle, rent or buy a home, enrol in local schools — while the other continues to work abroad and travels back and forth. Even if that working partner keeps their day count low, the presence of the family in Spain creates a presumption of Spanish residency that they must actively rebut, typically by demonstrating genuine tax residency elsewhere. It is precisely the situation many relocating couples face, and it is examined further in our note on how a married couple is taxed when relocating to Spain.

Why the calendar year matters

Spanish tax residency is assessed by calendar year, running from 1 January to 31 December, and residency is generally an all-or-nothing status for that year. Spain does not usually apply a "split-year" treatment that would tax you as a resident only from your arrival date; if you become resident under any test, you are typically resident — and taxed accordingly — for the whole year.

This has real planning consequences. The month in which you arrive can affect whether you cross the 183-day line in that first year at all, and it influences when your worldwide-income obligations begin. Someone arriving late in the year may not become resident until the following January; someone arriving in spring may tip over the threshold in their very first year. The timing of a move, therefore, is not a detail — it is part of the tax plan.

Tax residency is not immigration residency

This is the distinction that causes the most confusion, and it is worth stating plainly: immigration residency and tax residency are two different things, governed by different rules, and you can hold one without the other. For non-lucrative residents, that distinction became more practical after the current renewal guidance added a separate requirement to show more than 183 days of real and effective residence; we cover that immigration-specific issue in the NLV renewal 183-day guide.

The two frequently coincide, but not always. You might hold a Spanish residence permit yet, in a given year, not meet any tax-residency test — or you might have no immigration status issue at all (as an EU citizen, say) and still become a Spanish tax resident by presence or economic centre. A non-lucrative visa holder, for example, will usually become tax resident because the visa requires living in Spain, and the tax consequences of that are set out in our guide to the tax implications of the non-lucrative visa. The lesson: securing a visa answers the immigration question, not the tax question — the two must be planned together.

Why it matters: people assume that because their permit "starts" on a certain date, their tax exposure starts then too. It does not. Tax residency follows its own tests and its own calendar-year logic, entirely separate from the dates on your immigration paperwork.

Worldwide-income taxation once resident

The stakes behind the three tests are high, because of what residency triggers. A Spanish tax resident is, as a general rule, taxed on their worldwide income — income arising anywhere in the world, not just income sourced in Spain. Employment income, business profits, rental income from foreign property, pensions, dividends, interest and capital gains from abroad all fall, in principle, within the Spanish net once you are resident.

A non-resident, by contrast, is generally taxed only on Spanish-source income. This is why the residency question is not a technicality: it determines whether Spain taxes only what you earn in Spain, or your entire global income. Residents also take on annual reporting obligations that non-residents do not, including, where thresholds are met, the reporting of certain overseas assets. Understanding — before you move — which side of this line you will fall on is the single most valuable step in planning a relocation.

How the Beckham regime changes the picture

The Beckham regime is a special tax regime that alters this default in a significant way. A person who becomes a Spanish tax resident on relocating to take up qualifying work or activity may elect to be taxed broadly as a non-resident for a limited number of years, even though they are, in fact, resident under the ordinary tests.

The headline effect is twofold. First, qualifying income is generally taxed at a flat rate rather than the ordinary progressive scale. Second, and directly relevant to the 183-day discussion, the regime narrows the scope of what Spain taxes: instead of full worldwide-income taxation, an electing individual is taxed broadly on Spanish-source income (with certain categories deemed obtained in Spain), which can substantially reduce exposure on foreign income during the covered years.

The regime does not change whether you are tax resident — you still are — but it changes how you are taxed while it applies. It is time-limited and has strict eligibility conditions, so it is not a universal escape from worldwide taxation; it is a planning tool for those who qualify and elect in time.

Tie-breaker rules under double tax treaties

What happens when two countries each claim you as resident under their domestic law — Spain because you spent over 183 days here, and your home country under its own rules? This is common, and it is resolved not by domestic law but by the double tax treaty between the two states, which contains a sequence of tie-breaker rules.

Where a treaty follows the widely used model, the tie-breakers are applied in order until one produces a single country of residence:

These rules only bite where a treaty exists and where both countries genuinely assert residency; they do not override Spanish domestic residency in every case. But for dual claims they are decisive, and they are frequently the mechanism through which the sporadic-absence problem is ultimately answered — because proving treaty residency in another country is exactly what displaces Spain's presumption. Treaty analysis is technical and country-specific, and it should be run before relocating, not after a dispute arises.

Planning your first Spanish year

Bringing the threads together, a sensible pre-move review of your residency position usually covers:

Done in advance, this turns a vague worry about "the 183 days" into a clear, defensible view of when — and on what — Spain will tax you. Done after the fact, it becomes a dispute. The difference is almost always a matter of timing and preparation.

Frequently asked questions

If I stay under 183 days, am I safe from Spanish tax residency?

Not necessarily. The day count is only one of three tests. You can still be resident if your centre of economic interests is in Spain, or through the family presumption where your spouse and minor children live here.

Do days spent abroad reduce my count?

Often not. Sporadic absences are generally counted as if you were in Spain unless you can prove you were tax resident in another country during that time.

Can I have a Spanish visa but not be a tax resident?

In principle yes — immigration and tax residency follow different rules. In practice many permits require living in Spain, which tends to make you tax resident, but the two questions are distinct and must be planned together.

What if two countries both say I'm resident?

If a double tax treaty applies, its tie-breaker rules — permanent home, centre of vital interests, habitual abode, nationality, then mutual agreement — determine a single country of residence.

General information, not tax advice. Grounded in the Spanish personal income tax residency rules and the tie-breaker provisions typical of double tax treaties. Rules and their application change and must be confirmed for your circumstances and year.

Free residency-position review

Find out whether you'll be a Spanish tax resident

Tell us about your move and a Málaga Bar–registered lawyer will reply within 24 hours — in confidence.

✓ Thank you. We'll review your position and reply within 24 hours.

Confidential · No obligation · Reply within 24 hours

Know where you'll be taxed before you move

Book a private consultation and we'll assess your residency position and your worldwide-income exposure.

iMessage WhatsApp