Will a Spanish bank lend to you?
1 minute · from your country
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.
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.
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 | Definition | Documentation needed |
|---|---|---|
| 1. Physical presence | More than 183 days in Spain during the calendar year (counted with sporadic absence rule) | Entry/exit stamps, flight tickets, hotel bookings, utility bills |
| 2. Centre of economic interests | Main base of business activities or economic interests is located in Spain | Source of income, location of work, where business decisions are made |
| 3. Family residence | Spouse (not legally separated) and/or minor children habitually reside in Spain | School enrolment, spouse's centre of interests, family residential lease |
1. Physical presence
More than 183 days in Spain during the calendar year (counted with sporadic absence rule)
Entry/exit stamps, flight tickets, hotel bookings, utility bills
2. Centre of economic interests
Main base of business activities or economic interests is located in Spain
Source of income, location of work, where business decisions are made
3. Family residence
Spouse (not legally separated) and/or minor children habitually reside in Spain
School enrolment, spouse's centre of interests, family residential lease
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.
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).
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.
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
Have more questions? Ask Hipo, our AI mortgage assistant
Frequently asked questions
I only spent 150 days in Spain. Am I safe from Spanish residency?
Does buying a property automatically make me a Spanish tax resident?
What is the Modelo 720 and do I have to file it?
If I become Spanish resident mid-year, when does it apply?
How do I obtain a Spanish certificate of tax residency?
Useful tools
Mortgage Simulator
Calculate your monthly payment, borrowing capacity and early repayment
Open tool⚖️Mortgage Comparator
Compare offers by rate type, term, fees and conditions
Open tool🏠What home can I afford?
Maximum property price based on your income, savings and region
Open tool✅Will I get approved?
Quick test to estimate your mortgage approval probability
Open tool📊Mortgage Calculator 360
Payment, affordability, rate comparison and amortisation
Open tool🗺️Tax & Cost Simulator
Calculate taxes and costs by region (comunidad autónoma)
Open tool📈Euribor Today
Current Euribor rate, chart and impact on your mortgage
Open tool🔄Rate Review Calculator
Calculate your new payment at your next mortgage review
Open tool🏦Subrogation Calculator
Simulate 3 bank-switch scenarios: monthly savings, total savings and break-even
Open toolNeed guidance on your non-resident mortgage?
We analyse your profile and compare non-resident mortgage conditions across banks. No commitment.
Sources and references
About this content
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.