Saltar al contenido

Free assessment
No obligation

Apply

Tax residency in Spain: the 183-day rule explained

Whether you are taxed as a Spanish resident or non-resident is the single most important fiscal decision when buying property in Spain. Spanish residents pay tax on worldwide income at progressive rates (19-47%) and must file the Modelo 720 declaring foreign assets. Non-residents pay only IRNR (19-24%) on Spanish-source income. The threshold between the two is governed by the 183-day rule plus two additional tests. This guide explains exactly how Spain determines your status, how to count the days, and what relief is available under tax treaties.

Fernando HierroBy Fernando Hierro|
Guide9 min read
Excellenton TrustpilotIndependent comparatorFree assessmentReply within 24hBank of Spain reg. nº E569

The essentials

9 min full read
  • 1Spanish tax residency triggered by ANY of: 183 days/year in Spain, OR centre of economic interests in Spain, OR spouse/minor children habitually resident in Spain
  • 2Day counting: includes partial days and transit days; only documented absences count as 'sporadic'
  • 3Beckham Law: 6-year flat 24% regime for relocated workers (opt-in)
  • 4Modelo 720: mandatory if Spanish resident has >€50,000 in foreign assets per category
  • 5Tax treaties (UK, US, DE, FR, etc.) prevent double taxation but require correct documentation

Buying property in Spain as a non-resident?

We compare 53 Spanish banks for foreign buyers. Free assessment in 24-48h, all in English. Bank of Spain reg. nº E569.

Free assessment
011 of 5

The three tests for Spanish tax residency

Spain considers you a tax resident if ANY of these three conditions is met during the calendar year (1 January to 31 December). It is enough to fail one test to be considered resident:

Test

1. Physical presence

Definition

More than 183 days in Spain during the calendar year (counted with sporadic absence rule)

Documentation needed

Entry/exit stamps, flight tickets, hotel bookings, utility bills

Test

2. Centre of economic interests

Definition

Main base of business activities or economic interests is located in Spain

Documentation needed

Source of income, location of work, where business decisions are made

Test

3. Family residence

Definition

Spouse (not legally separated) and/or minor children habitually reside in Spain

Documentation needed

School enrolment, spouse's centre of interests, family residential lease

022 of 5

How the 183-day rule actually works

The Tax Agency counts days under a strict interpretation. A 'day in Spain' is any day in which you spend any time on Spanish soil — including arrival day, departure day, transit through a Spanish airport (if you leave the airside zone), and days spent in Spanish enclaves like Ceuta or Melilla.

The 'sporadic absence' rule is crucial. If you spend most of the year in Spain but take trips abroad, those trips count as Spanish residence days UNLESS you can prove permanent tax residence in another country (a 'certificate of fiscal residence' from that country's tax authority). Without that certificate, Spain treats short absences as part of your Spanish stay.

Counterintuitive consequence: if you spent 170 days in Spain and 195 days in another country but cannot produce a fiscal residence certificate from that country, Spain may still consider you fiscally resident under the sporadic absence rule.

033 of 5

Consequences of being Spanish tax resident

Once you cross the threshold, the tax obligations multiply significantly:

Worldwide income taxation: salary, pensions, dividends, capital gains, rental income from anywhere in the world become taxable in Spain at progressive IRPF rates (19-47%, regional surcharges apply).

Modelo 720: if you hold more than €50,000 in any of three categories (bank accounts abroad, securities/investments abroad, real estate abroad), you must declare them annually. Failure to file carries penalties up to 150% of the undeclared amount (currently being challenged at EU level but still in force).

Wealth tax (Impuesto sobre el Patrimonio): progressive rates 0.2-3.5% depending on region. Andalusia and Madrid have bonificaciones bringing the effective rate to near 0%; Catalonia, Valencia and Balearic charge full rates.

Beneficial side: access to standard mortgage conditions (80% LTV vs 60-70% as non-resident), Spanish public healthcare, and lower IRNR rates on Spanish-source income if you ever revert to non-resident status.

044 of 5

The Beckham Law (special regime for impatriates)

Spain offers a special tax regime for individuals relocating to Spain for work. Under Ley 35/2006 (article 93), you can opt to be taxed as a non-resident for 6 years: flat 24% on Spanish-source income up to €600,000 (47% above), and NO tax on foreign income at all.

Eligibility (key conditions): you must not have been Spanish tax resident in the previous 5 years, the move must be linked to a Spanish employment contract or directorship in a Spanish entity (or to remote-work activity for a foreign employer, since 2023 reform), and you must apply within 6 months of registering with Social Security.

Excellent regime for highly-paid relocated workers. Less useful for retirees, investors or self-employed individuals not linked to a Spanish employer.

When the Beckham Law makes financial senseIf your annual income is >€100,000 and a significant portion is foreign (e.g. dividends, foreign rental income), the Beckham Law typically saves €20,000-€50,000+ per year compared to standard Spanish residence. Always run the numbers with a Spanish tax advisor before opting in.

055 of 5

Double tax treaty relief

Spain has tax treaties with 90+ countries including all OECD members. These treaties define which country has primary taxing rights on each type of income and provide a credit mechanism to avoid double taxation.

Typical pattern: salary is taxed where you work (residence country), pensions in the source country (with some exceptions for civil servants), rental income from real estate in the country where the property is, capital gains on real estate in the country where the property is.

If you are a dual-resident (both countries claim you), the treaty 'tie-breaker rules' apply: permanent home, centre of vital interests, habitual abode, nationality, mutual agreement. Always obtain a Certificate of Tax Residence from your country and present it to the Spanish Tax Agency to claim treaty benefits.

Request your non-resident mortgage assessment

Request your assessment

Fill in your details and we will contact you within 24 hours with the best non-resident mortgage options.

Step 1 of 5 · Property1 min

What will you use the property for?

Trustpilot|Free|Reply within 24h|Independent

Prefer to contact us directly?

Message us on WhatsApp
🛡️Registered with Bank of Spain · No. E569

Have more questions? Ask Hipo, our AI mortgage assistant

Talk to Hipo

Frequently asked questions

I only spent 150 days in Spain. Am I safe from Spanish residency?

Not necessarily. The 183-day test is just one of three. If your business activities, main bank accounts, family or main income are in Spain, the 'centre of economic interests' test can still trigger residency even with <183 days. Conversely, you can be safe at 200+ days if you can prove tax residence in another country.

Does buying a property automatically make me a Spanish tax resident?

No. Simply owning property in Spain does NOT trigger tax residency. You can own multiple properties as a non-resident and pay only IRNR on imputed rental income (1.1-2% of cadastral value). Tax residency is triggered by your physical presence, economic centre, or family location — not by property ownership.

What is the Modelo 720 and do I have to file it?

Modelo 720 is the annual declaration of foreign assets held by Spanish tax residents. You must file if you hold >€50,000 in any of three categories: foreign bank accounts, foreign securities/investments, or foreign real estate. You only need to refile if any category increases by >€20,000 from the previous declaration. Penalties for omission have been challenged at EU level but the obligation still exists.

If I become Spanish resident mid-year, when does it apply?

Spanish tax residency is determined on a full-calendar-year basis. You are either resident or non-resident for the entire year — there is no part-year residency status. The deciding year is the one in which the 183-day threshold (or economic interest test) is crossed. Practical impact: time your relocation carefully if tax efficiency matters.

How do I obtain a Spanish certificate of tax residency?

Once you are Spanish fiscal resident (registered with Social Security or Modelo 030/100), request the certificate at AEAT online or in-person at the local tax office. It is free, usually issued within 10-15 business days. You will need this to claim treaty relief in your home country.

Need guidance on your non-resident mortgage?

We analyse your profile and help you find the best non-resident mortgage conditions. No commitment.

About this content

Fernando Hierro
Fernando Hierro

Mortgage Content Editor

Published: July 2026

Last updated: July 2026

This page is informational and editorial in nature. It explains how the described mortgage conditions typically work and what to review, without guaranteeing results or replacing a lender’s assessment.

Read our editorial policy

Questions? Ask Hipo