Do I Have to Pay Taxes in Spain? Understanding Tax Residency for Expats

One of the first questions anyone moving to Spain asks is: do I have to pay taxes here? The answer depends on one key concept: tax residency. Get this right from the start and you will know exactly where you stand. Get it wrong — or ignore it — and you could face years of back taxes, penalties, and complications with both the Spanish and your home country’s tax authorities.

What Is Tax Residency?

Tax residency is the legal status that determines which country has the right to tax your worldwide income and assets. It is not the same as your nationality, your citizenship, or the country where you hold a passport. It is also separate from your immigration status — having a Spanish residence permit does not automatically make you a Spanish tax resident, and not having one does not mean you are exempt.

In Spain, tax residents are taxed on their worldwide income — that is, all income earned anywhere in the world, from any source. Non-residents, on the other hand, are only taxed on income that originates in Spain, and under a different tax regime (the Non-Resident Income Tax, or IRNR). The difference in tax burden between the two can be substantial.

The 183-Day Rule

The most well-known trigger for Spanish tax residency is spending more than 183 days in Spain during a calendar year (1 January to 31 December). But this rule is more nuanced than it sounds:

  • Days do not need to be consecutive. The count accumulates across the whole year, including short stays.
  • Sporadic absences — short trips abroad — are counted as days spent in Spain unless you can prove tax residency in another country. A holiday in Portugal does not interrupt the count.
  • The threshold is more than 183 days, not 183 days exactly. Day 184 triggers residency.
  • Spain can still claim tax residency in some circumstances even if you have a tax certificate from another country, particularly if your main ties remain in Spain.

Did you know?

The 183-day rule is a threshold, not a safe harbour. Many expats assume that spending 'less than 6 months' is automatically enough to stay outside the Spanish tax net. In practice, other criteria can override the day count entirely.

do i have to pay taxes in spain?

The Centre of Economic Interests

Even if you spend fewer than 183 days in Spain, you may still be considered a Spanish tax resident if Spain is the main base of your economic activity or professional interests. This criterion is broader than it seems and catches more people than expected.

You may trigger this rule if:

  • The majority of your income is generated from Spanish sources — for example, you work mainly for Spanish clients or have a Spanish business.
  • Your main investments, bank accounts, or assets are held in Spain.
  • Your business operations are managed or directed from Spain, even if the clients or revenues are international.

This is particularly relevant for entrepreneurs, freelancers, and investors who may not track their physical days but whose economic footprint is clearly centred in Spain.

The Family Presumption

There is a third trigger that is often overlooked: if your spouse (not legally separated) or your dependent minor children habitually reside in Spain, Spanish law presumes that you are also a tax resident here. This presumption can be rebutted — but the burden of proof falls on you. Simply claiming to be resident elsewhere is not sufficient; you must actively demonstrate it with documentation.

A Common Misconception: Being a Non-Resident Everywhere

One point worth addressing directly: it is not legally possible to be a tax non-resident in two countries simultaneously. Every individual must have a tax residency somewhere. Some people — especially those who split their time between countries and have not formalised their situation — believe they can exist in a kind of fiscal limbo, paying taxes nowhere. This is not a valid position in law, and even if it were achievable in practice for a period, it is not advisable. Tax authorities across Europe increasingly share information, and unexplained gaps in tax residency are one of the first things that trigger audits and investigations.

If you are leaving one country and establishing yourself in Spain, your residency change must be active and documented on both sides — deregistering in your home country and formally establishing your status in Spain. The two processes need to happen in a coordinated way.

Practical Examples

“Do I Have to Pay Taxes in Spain?” Tax residency questions rarely have a simple yes or no answer. The following examples illustrate how the rules interact in real-life situations:

Example 1: The retiree who moves to Spain

A British retiree in their early 60s decides to sell their house in the UK and relocate permanently to the Costa del Sol. They purchase a property in Málaga, register with the local town hall (padrón), and spend around 9 months a year in Spain, returning to the UK for Christmas and a few weeks in the summer to visit family.

They receive a UK State Pension and an occupational pension from a former employer, both paid into a UK bank account. They also have ISA savings and some shares held with a UK broker.

Result: from the tax year of their move, they are almost certainly a Spanish tax resident — triggered by both the 183-day rule and having established their permanent home in Spain. As a Spanish tax resident, they must declare their worldwide income in Spain, including both pensions. The UK-Spain double taxation treaty assigns taxing rights over private pensions to Spain, while State Pension treatment depends on specific treaty provisions. The UK savings and investments must also be declared, and if their total foreign assets exceed €50,000, Modelo 720 applies. Coordinating the deregistration from UK tax residency with HMRC (the UK’s tax, payments and customs authority) is equally important to avoid being taxed in both countries simultaneously.

Example 2: The executive on secondment

A French senior manager is relocated to Madrid by their multinational employer for a 3-year project starting in March. Their partner and two children remain in France for the first school year but move to Madrid the following September.

The executive’s salary is paid by the Spanish subsidiary. They register with Social Security in Spain and obtain a NIE.

Result: from the moment they spend the majority of the calendar year in Spain, they become a Spanish tax resident — likely from year one, depending on the arrival date. Once the family joins them in Spain, the family presumption further consolidates this status. The executive should explore the Beckham Law regime promptly: if they have not previously been a Spanish tax resident in the last 5 years and they apply within 6 months of Social Security registration, they may benefit from the flat 24% rate on their salary for up to 6 fiscal years. Missing the application window would mean losing this opportunity entirely.

Example 3: The holiday home owner

A German couple in their 50s own an apartment in Mallorca that they purchased as a holiday property. They spend the summers there — roughly 10 to 12 weeks per year — and live and work in Hamburg for the rest of the year, where they file their German tax returns and hold a German tax residence certificate.

They do not rent out the Mallorca apartment; it is exclusively for personal use.

Result: with fewer than 183 days in Spain, no Spanish income, and their professional and personal lives clearly centred in Germany, they are not Spanish tax residents. However, they are not off the hook entirely. As non-residents who own property in Spain, they are subject to the Non-Resident Income Tax (IRNR) on imputed rental income — a notional income calculated on the cadastral value of the property, regardless of whether it is actually rented out. This must be declared annually in Spain via Form 210. Failure to do so is one of the most common and overlooked obligations among non-resident property owners.

Example 4: The entrepreneur who 'moves' but keeps working for foreign clients

A 35-year-old Irish marketing consultant decides to base herself in Barcelona. She registers as an autónomo, opens a Spanish bank account, and rents a flat. All her clients are based in Ireland and the UK, and she invoices them from her Spanish self-employment registration. She spends around 200 days a year in Spain and travels frequently for client meetings.

She assumes that because her income comes from abroad, she does not owe taxes in Spain.

Result: she is a Spanish tax resident on two counts — the 183-day rule and having her main economic and professional base in Spain. The origin of her clients is irrelevant to her Spanish tax residency. All her freelance income must be declared in Spain via IRPF, and she must also pay quarterly VAT (IVA) if applicable. Double taxation treaties with Ireland and the UK may allow her to offset taxes paid there against her Spanish liability, but the primary obligation to declare lies in Spain. Additionally, as an autónomo, she must pay monthly Social Security contributions — a cost that is often underestimated when planning a move of this kind.

Common Situations Worth Knowing About

Beyond the examples above, there are a few recurring situations specific to the expat community in Spain:

  • People who move to Spain but 'forget' to change their tax residency officially. Spanish tax residency is determined by facts — physical presence, economic ties, family — not by registration. The Agencia Tributaria can and does conduct residency audits, sometimes years after the fact.
  • People who split their time between Spain and another country without a clear majority in either. Double taxation treaties include 'tie-breaker' rules — a cascade of criteria (permanent home, centre of vital interests, habitual abode, nationality) used to determine which country has the primary right to tax you.
  • People who leave Spain after several years as tax residents. Changing your tax residency is not just a matter of moving abroad — you need to formally deregister and, in some cases, file an exit tax return. Spain has specific rules on unrealised capital gains for residents who leave, which can create unexpected liabilities.

The common thread in all these situations is the same: tax residency has legal consequences from the moment the relevant facts are in place, regardless of whether you have filed any paperwork or not. Proactive planning is always less costly than reactive damage control.

Wondering, “Do I Have to Pay Taxes in Spain?” Talk to our team and get the guidance you need to plan your move with confidence. 

Written by: Martha Aparicio, External Tax Advisor

The information provided in this article is for general informational purposes only and should not be considered tax or personalized professional advice. Every individual's tax situation is unique and should be assessed based on their specific circumstances and the applicable legislation.

© 2026 CABR Relocation for Expats. All rights reserved.

Post a comment

Your email address will not be published.

Información básica sobre protección de datos Ver más

  • Responsable: CABR RELOCATION SOLUTIONS FOR EXPATS.
  • Finalidad:  Moderar los comentarios.
  • Legitimación:  Por consentimiento del interesado.
  • Destinatarios y encargados de tratamiento:  No se ceden o comunican datos a terceros para prestar este servicio. El Titular ha contratado los servicios de alojamiento web a Godaddy que actúa como encargado de tratamiento.
  • Derechos: Acceder, rectificar y suprimir los datos.

Related Posts