If you have recently arrived in Spain, if you travel frequently between countries, or if you receive income from more than one country, this question affects you directly: are you a tax resident in Spain? The answer is not always obvious, and getting it wrong has real consequences with the tax authorities.

What does it mean to be a tax resident in Spain?

Being a tax resident in Spain means you are liable to pay tax here on your worldwide income: all your earnings, regardless of the country in which they were generated. Salaries, dividends, rental income, capital gains and pensions received from anywhere in the world are subject to Spanish personal income tax.

Tax residence is not the same as legal residence or being registered on the municipal register. You may be registered on the municipal register in Barcelona and not be a tax resident, or the other way around. What determines your status is the criteria set out in Article 9 of the Personal Income Tax Act, not the municipal register.

3 legal criteria for being a tax resident in Spain

You only need to meet one of the following three criteria for the tax authorities to consider you a tax resident:

1. The 183-day rule

If you spend more than 183 days in Spain during the calendar year (from 1 January to 31 December), you are a tax resident in Spain. Occasional absences are added to your time spent in Spain, unless you can prove that you are a tax resident in another country. Days spent in transit at Spanish airports are not counted.

2. Centre of economic interests

If the main focus of your business activities or financial interests is in Spain, the tax authorities may consider you a resident even if you have not spent 183 days here. Having a business, having the bulk of your assets in Spain, or having your main sources of income in Spain triggers this criterion.

3. Presumption based on the family unit

If your spouse (with whom you are not legally separated) and your minor children are habitually resident in Spain, the law presumes that you are also a tax resident. This presumption is rebuttable, but the burden of proof lies with the taxpayer.

Please note: The 183-day rule is the best known, but it is not the only one. The tax authorities may treat you as a resident even if you have not spent six months in Spain, if your financial interests or family are based here. This is one of the most common mistakes made by newly arrived expats.

How the 183 days are counted

There are several important nuances to this calculation:

  • The full calendar year is taken into account (1 January – 31 December), not the last 12 rolling months.
  • Occasional absences count as days in Spain unless you can prove that you are a tax resident in another country. A weekend in Lisbon does not count towards your days if you are based in Madrid.
  • Transit days — when you have a connecting flight at a Spanish airport — are not counted.
  • If you move to a tax haven, the tax authorities may continue to regard you as a Spanish resident for the four years following the move.
  • The burden of proof lies with the taxpayer. The tax authorities may request passport stamps, boarding passes or bank statements to verify where you have been.

Case studies

To illustrate how these criteria are applied in real-life situations:

  • Posted worker with a contract in Spain: Arrives in March and works for 9 months in Barcelona. Exceeds 183 days → tax resident in Spain.
  • Digital nomad based in Spain: Lives in Barcelona for 5 months and spends 7 months travelling around Europe. Does not exceed 183 days, but his business and main bank account are here → requires an analysis of the economic criteria.
  • Foreign pensioner in Mallorca: Lives in Spain for more than 7 months, receives a German pension and has children in Germany. Exceeds 183 days → tax resident in Spain.
  • Frequent business traveller: Visits Spain for 120 days for business. Family, home and business in France, with a French tax residence certificate → not a tax resident in Spain.

The problem of dual tax residence

When two countries apply their own domestic criteria and both conclude that you are a tax resident in their respective countries, you may find yourself obliged to pay tax on your worldwide income in two different jurisdictions. To resolve such conflicts, Spain has signed double taxation agreements (DTAs) with more than 90 countries.

These agreements include a tie-breaker clause — the ‘tie-breaker rule’ — which sets out a hierarchy of criteria for determining in which country you are resident for tax purposes:

Criterion (in order)Description
1. Permanent residence:A resident who has permanent residence. If they have permanent residence in both countries, the following criterion applies.
2. Centre of vital interests:The country with which it has the closest personal and economic ties.
3. Usual place of residence:The country where you usually live, regardless of where you live.
4. Nationality:The residence rules of the country of which the person is a national apply.
5. Agreement between states:The tax authorities of both countries reach a bilateral agreement.

To invoke a double taxation agreement with the tax authorities, you need a certificate of tax residence issued by the other country’s authorities. Without that document, Spain will apply its domestic legislation.

Consequences of being a tax resident in Spain

Spain taxes residents on their worldwide income through the personal income tax (IRPF). Non-residents are only taxed on income earned within Spanish territory through the Non-Resident Income Tax (IRNR), at generally higher rates and without access to personal and family allowances.

Furthermore, tax residents with assets or accounts abroad have additional reporting obligations: Form 720 (assets abroad) and Form 721 (cryptocurrencies abroad). Failure to comply carries severe penalties.

When is it advisable to carry out a tax residency assessment?

A formal analysis is particularly recommended if:

  • You’re moving to Spain for work or to retire.
  • You have income from more than one country.
  • You lead a nomadic life and aren’t quite sure where you stand.
  • You have received a notice from the tax authorities.
  • You are considering making use of the Beckham Act.

At GR International Advisors, we carry out comprehensive tax residency assessments, analysing all the relevant criteria and producing a technical report that you can use to make informed decisions or to defend yourself against the tax authorities should the need arise.

Conclusion

The 183-day rule is the best-known criterion for determining tax residence in Spain, but it is far from being the only one. The tax authorities may consider you a resident even if you have not exceeded that threshold if your economic interests or your family are based here. And if two countries claim you as a resident at the same time, double taxation agreements have their own system for resolving such disputes.

If you have any doubts about your actual tax position, the wisest course of action is to carry out an analysis before the tax authorities do it for you. Contact us, and we’ll explain how we can help you.