Residencia fiscal is the Spanish legal concept that determines in which country a natural or legal person must pay tax on their worldwide income. In Spain, a natural person is considered tax resident when they meet any of the criteria in Article 9 of the IRPF Law: presence in Spain for more than 183 days in the calendar year, the main nucleus of their economic activities being located in Spain, or the habitual residence in Spain of their non-legally-separated spouse and dependent minor children.
In practice
What Is Residencia Fiscal?
Residencia fiscal is the legal tie that determines which country has sovereignty to tax a person’s worldwide income. The country where you are tax resident (residente fiscal) has the right to tax your worldwide income; other countries can only tax income arising from sources within their territory.
In Spain, tax residency for natural persons is governed by Article 9 of Ley 35/2006 (IRPF Law). For legal entities, it is governed by Article 8 of Ley 27/2014 (LIS).
Tax residency is not the same as administrative residency (empadronamiento), having a NIE number, or holding a residence permit — these are distinct legal concepts with different effects.
Criteria for Residencia Fiscal in Spain
Natural Persons (Art. 9 IRPF Law)
A natural person has their residencia fiscal in Spain when any of the following criteria is met:
1. The 183-day rule More than 183 calendar days during the tax year (1 January to 31 December) in Spain. Days are counted cumulatively. Sporadic absences are included in the Spanish-presence count unless the taxpayer proves fiscal residence in another state. The criterion applies to the full calendar year, not rolling 12-month periods.
2. Main nucleus of economic interests Where the main nucleus or base of the taxpayer’s activities or economic interests is in Spain, directly or indirectly. This criterion can apply regardless of the number of days of physical presence and is the one most frequently contested for executives, athletes, and investors with assets in multiple countries.
3. Presumption from family residence It is presumed — unless proved otherwise — that the taxpayer is fiscally resident in Spain when their non-legally-separated spouse and dependent minor children habitually reside in Spain. The presumption is rebuttable: the taxpayer can prove that despite family residence, their own residencia fiscal is established in another state.
Legal Entities (Art. 8 LIS)
A company has its residencia fiscal in Spain when any of the following applies:
- Incorporated under Spanish law
- Has its registered office (domicilio social) in Spain
- Has its place of effective management (sede de dirección efectiva) in Spain — the place where the management and control of the totality of its activities is exercised
The place of effective management criterion allows the AEAT to treat a company incorporated abroad as fiscally resident in Spain if in practice its decisions are taken from Spain.
Double Tax Treaties and Residencia Fiscal
Spain has over 90 double tax treaties in force. These treaties contain tie-breaker rules that determine which state has the exclusive right to tax worldwide income in cases of dual-residence conflict:
- Permanent home: resident where the person has a permanent home available.
- Centre of vital interests: if there is a home in both countries, resident where personal and economic relations are closer.
- Habitual abode: if the centre of vital interests cannot be determined, resident where the person habitually lives.
- Nationality: if the person habitually lives in both or neither, resident in the state of which they are a national.
- Mutual agreement: if the person is a national of both or neither, the states resolve by mutual agreement.
Certificado de Residencia Fiscal
The AEAT issues certificates of fiscal residence attesting that a person or entity is resident in Spain. There are two types:
- General fiscal residence certificate: attests residency under Spanish domestic law.
- Treaty-based residence certificate: attests residency for the purposes of a specific double tax treaty, allowing the holder to claim reduced withholding rates on dividends, interest, and royalties from treaty partners.
Applications are made through the AEAT electronic office. Standard certificates are typically processed within a few business days.
Special Regimes Linked to Residencia Fiscal
Establishing residencia fiscal in Spain opens the door to relevant special regimes:
- Inbound workers regime (Ley Beckham): workers who transfer their tax residence to Spain for work reasons can opt for a 6-year flat rate of 24% (up to €600,000) instead of progressive IRPF.
- Digital nomad permit: allows non-EU remote workers to reside legally in Spain, with access to the inbound workers regime.
- IRNR: those who are not fiscally resident in Spain are taxed exclusively on Spanish-source income under the Non-Residents Income Tax.
See also: Spain Tax Residency (international guide) · Ley Beckham · IRPF · Double Tax Treaty