Saltar al contenido

Will a Spanish bank lend to you?
1 minute · from your country

Check
Guide · 9 min read

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 (state plus regional scale) 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.

By Fernando Hierro
Excellenton TrustpilotMortgage portalFree assessmentInstant assessmentBank of Spain reg. no. E569

Buying property in Spain as a non-resident?

We compare 40 Spanish banks for foreign buyers. Free assessment, all in English, response within 24 business hours. Bank of Spain reg. nº E569.

Check in 1 minute
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 the days you are physically present in Spain, and it can use any evidence to prove them: flights, card payments, utility bills, medical appointments.

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 (the state scale plus your region's).

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. The old penalty regime — fines of up to 150% of the undeclared amount, fixed fines of €5,000 per item and no statute of limitations — was struck down by the CJEU (case C-788/19, January 2022) and formally repealed by Ley 5/2022. The filing obligation itself remains; penalties now follow the ordinary rules of the General Tax Act.

Wealth tax (Impuesto sobre el Patrimonio): progressive rates, 0.2-3.5% on the state scale, and each region can change them: Madrid and Andalusia bonify it 100%, others apply their own scales. Above the exempt amounts, the state Solidarity Tax on Large Fortunes can still apply.

Beneficial side: access to the lending conditions banks offer residents (rarely above 80%, according to the Banco de España, against up to 60-70% published for non-residents).

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 senseThe higher your income, and the more of it comes from abroad (e.g. dividends, foreign rental income), the more the flat 24% and the exclusion of foreign income can save 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 many countries, listed by the Ministry of Finance (Hacienda). 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 under the OECD model: salary where the work is physically done, private pensions in your country of residence and government-service pensions in the paying country, rental income and capital gains from real estate in the country where the property is. Each treaty can differ.

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.

Will a Spanish bank lend to you? Check in 1 minute

  1. Your details
  2. Your result
  3. We call you
No personal details

The property

€
The property is

Your money

€

0 if none

€

What you receive each month, after tax

€

Car, loans, cards (0 if none)

What you'll borrow

Enter the price, the province and your savings to see how much you'd need to borrow.

You

How long have you been in your current job? (or self-employed)

Free, no sign-up and instant. Your figures are only stored in your browser.

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. The disproportionate penalty regime was annulled by the CJEU in January 2022 and repealed by Ley 5/2022, so late or missing filings are now sanctioned under the ordinary tax rules 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 the AEAT e-office or in person at the local tax office. It is free. You will need this to claim treaty relief in your home country.

Need guidance on your non-resident mortgage?

We analyse your profile and compare non-resident mortgage conditions across banks. No commitment.

About this content

Fernando Hierro
Fernando Hierro

Mortgage Content Editor

Published: May 2026

Last updated: October 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