tax residency

Tax Residency in Spain: A Comprehensive Guide

Explore the criteria for tax residency in Spain, how the 183-day rule is applied, and what to do in cases of dual residency for individuals and companies.

Tax Residency in Spain: A Comprehensive Guide

Featured Series

Explore the criteria for tax residency in Spain, how the 183-day rule is applied, and what to do in cases of dual residency for individuals and companies.

Tax Residency in Spain: Understanding the Concept

Tax residency is a fundamental legal concept that determines an individual’s or company’s tax obligations, including which taxes must be paid and in what amounts.

In Spain, the Tax Agency (Agencia Tributaria) assigns tax residency status to foreign nationals who spend a significant portion of the year in the country or have substantial economic interests there. This status triggers obligations such as paying taxes on worldwide income and submitting required declarations. Different rules apply for legal entities.

Tax Residency of Individuals in Spain

Tax residency for individuals is defined under Article 9 of the Personal Income Tax Law (Ley 35/2006 of 28 November).

Individuals considered tax residents in Spain must declare and pay taxes on all income earned both domestically and internationally.

Criteria for Determining Tax Residency of Individuals

An individual is deemed a tax resident of Spain if any of the following conditions are met:

  • They spend more than 183 days in Spain during a calendar year. Temporary absences are included unless the individual can prove tax residency in another country, typically with a tax residency certificate. In offshore cases, Spanish authorities may require proof of actual presence abroad for at least 183 days. Days spent in Spain for cultural or humanitarian activities performed free of charge are excluded.
  • The individual’s main center or base of economic interests is in Spain, whether directly or indirectly. This refers to where the majority of investments are held and where business management occurs. It is not necessary for Spanish assets to exceed all others worldwide, only that they are greater than those in any other single country.
  • The individual’s legal spouse (without legal separation) and dependent minor children reside permanently in Spain, which may also lead authorities to consider the individual a tax resident.

Spanish citizens who establish residence in an offshore jurisdiction for more than 183 days remain subject to Spanish personal income tax (IRPF) during the year of change and for the following four tax years.

Tax residency status is determined for the entire calendar year, from January 1 to December 31, as a change of residence does not interrupt the tax period.

How the 183-Day Period Is Calculated

The calculation of days spent in Spain often prompts questions about whether arrival and departure days count and how short trips abroad affect the count.

The tax authorities count any day on which the individual is physically present in Spain as a day of stay, regardless of the number of hours or whether an overnight stay occurs.

  • No minimum hours are required for a day to count.
  • Overnight stays are not necessary.

If a person is present in Spain and abroad on the same day, that day still counts as a day in Spain, following the "1-1 principle." Transit days through Spanish airports also count if customs or immigration controls are passed.

Double Taxation Agreements

Spain’s double taxation treaties (DTTs) reference each country’s domestic laws to determine tax residency. Because criteria vary between countries, an individual may be considered a tax resident in two countries simultaneously.

In such cases, treaties generally apply the following hierarchy to resolve dual residency:

  • Residency is assigned to the country where the individual has a permanent home.
  • If a permanent home exists in both countries, residency is determined by the country with closer personal and economic ties (center of vital interests).
  • If the center of vital interests cannot be established, residency is assigned to the country of habitual residence.
  • If the individual resides habitually in both or neither country, nationality is considered.
  • If nationality does not resolve the issue, the competent authorities decide by mutual agreement.

Proof of Tax Residency Status

Tax residency is verified by a certificate issued by the relevant tax authority, valid for one year and renewable annually.

Within the European Union, most countries apply criteria similar to Spain’s. Therefore, if an individual spends more than 183 days in Spain, it is unlikely they will obtain a tax residency certificate from another country.

Holding a residence permit in a country does not automatically confer tax residency there. A certificate from another country confirming non-residency in Spain exempts the individual from being treated as a Spanish tax resident, even if they spend more than 183 days in Spain.

A company is considered a tax resident of Spain if any of the following apply:

  • It is incorporated under Spanish law.
  • Its registered office is located in Spain.
  • Its place of effective management—where key business decisions and control are exercised—is in Spain.

Spanish tax authorities may also treat an offshore company as a Spanish tax resident if its main assets consist of property or rights located in Spain or if its primary activities are conducted in Spain. This does not apply if the company can prove that effective management occurs in another country for genuine economic reasons.

Under double taxation treaties, a company is considered a tax resident only in the country where its place of effective management is located. Like individuals, companies can obtain a tax residency certificate valid for one year.

Frequently Asked Questions (FAQ)

When is an individual considered a tax resident of Spain?

An individual is considered a tax resident if they spend more than 183 days in Spain during a calendar year or if their main center of economic interests is in Spain.

Do short trips interrupt the 183-day rule?

Temporary absences are counted unless the individual proves tax residency in another country.

What happens if two countries consider a person their tax resident?

Double taxation treaty rules apply, considering permanent home, center of vital interests, habitual residence, nationality, and mutual agreement between authorities.

How is tax residency status confirmed?

By obtaining a certificate issued by the competent tax authority.

When is a company considered a tax resident of Spain?

A company is a tax resident if incorporated under Spanish law, has a registered office in Spain, or its place of effective management is in Spain.

Join the Curator's Circle

Weekly dispatches on editorial architecture, relocation guides, and hidden Mediterranean gems.

Tax Residency in Spain: A Comprehensive Guide — The Journal