Spain Tax Residency Guide 2026 — 183-Day Rule, Centre of Interests & Certificates

determining tax residency in Spain. The guide covers: the three criteria for tax residency under Spanish law (Article 9 of the Ley del IRPF — the 183-day rule, the centre of economic interests, the centre of vital interests), the 183-day rule in detail (physical presence in Spain for more than 183 days in a calendar year — counted as full days, including weekends and holidays, days of transit, partial days; the burden of proof is on the taxpayer to demonstrate absence; the AEAT uses various evidence including travel records, banking transactions, mobile phone data, and utility bills), the centre of economic interests (the principal business or professional activities and the management of assets — if the majority of your economic activities or asset management is based in Spain, you are a resident even if you spend fewer than 183 days in the country), the centre of vital interests (the so-called "hub of vital interests" — the location of your spouse and dependent minor children; if your spouse and minor children live in Spain, you are presumed to be a tax resident regardless of your physical presence, unless you prove that the centre of your economic interests is elsewhere), the exceptions under double taxation treaties (the tie-breaker rules in Article 4 of the OECD Model — permanent home, centre of vital interests, habitual abode, nationality, mutual agreement procedure), the process of becoming a Spanish tax resident (obtaining the NIE — Número de Identificación de Extranjero, registering with the local town hall — empadronamiento, registering with the tax authority — declaración censal modelo 030, registering for social security), the process of ceasing to be a Spanish tax resident (obtaining a certificate of tax residence from the AEAT via modelo 030, the exit tax implications for those with significant shareholdings or high net worth — the impuesto de salida for unrealised gains exceeding €4,000,000 or shareholdings >25% with a market value >€1,000,000, the requirement to notify the AEAT of the change of address and to file a final tax return for the partial year), the certificate of tax residency (the certificado de residencia fiscal — obtained from the AEAT via modelo 030, required for claiming treaty benefits in other countries, the processing time of 1-3 months), dual residency resolution (the competent authority procedure under the relevant treaty — the mutual agreement procedure between the Spanish tax authorities and the treaty partner, the criteria considered, the possibility of a "competent authority agreement" that assigns residency to one jurisdiction).

Tax residency in Spain has significant consequences: residents are taxed on their worldwide income (principio de renta mundial) at progressive rates up to 47%, while non-residents are taxed only on Spanish-source income at flat rates (24% or 19%). All amounts in Euros (EUR). For related reading, see our Cross-Border Guide →.

Overview of the Three Residency Criteria

Under Article 9 of the Ley del IRPF (Law 35/2006), a person is considered a Spanish tax resident if any of the following three criteria are met in a given calendar year:

  • Criterion 1 — 183-Day Rule: The person is present in Spanish territory for more than 183 days during the calendar year. This is the most common basis for residency determination.
  • Criterion 2 — Centre of Economic Interests: The person's principal business or professional activities, or the management of their assets, are based in Spain. This can override the 183-day rule — even if you spend fewer than 183 days in Spain, you may be a resident if your economic life is centred here.
  • Criterion 3 — Centre of Vital Interests: The person's spouse and dependent minor children have their habitual residence in Spain. This creates a presumption of tax residency that is very difficult to rebut.

If any of the three criteria is met, the person is a Spanish tax resident for the full calendar year, unless a double taxation treaty provides otherwise (the "tie-breaker" test). The consequences of residency are significant: residents are taxed on their worldwide income and must file an annual tax return (Declaración de la Renta).

The 183-Day Rule

The 183-day rule is the most commonly applied criterion. The key elements are:

  • Counting days: Any day in which the person is in Spain at any time counts as a full day for the 183-day test. This includes days of arrival and departure, weekends, holidays, and business trips. The AEAT has argued in some cases that a layover at a Spanish airport (even without leaving the transit area) can count as a day of presence, though this is disputed.
  • Evidence of presence: The burden of proving that you are present in Spain for fewer than 183 days is on the taxpayer. The AEAT uses a wide range of evidence, including: (a) passport entry/exit stamps, (b) flight bookings and boarding passes, (c) hotel receipts, (d) bank and credit card transactions in Spain, (e) mobile phone location data (cell tower triangulation), (f) utility and service bills, (g) social media geo-tagged posts, (h) security camera footage, and (i) witness testimony.
  • Absences: Short absences from Spain (e.g., for holidays or business trips) do not reset the 183-day count — only full calendar days spent outside Spain are deducted. The AEAT may require the taxpayer to provide documentary evidence of each day of absence.
  • The "Temporary Absence" rule (Fiscal Permanence): Under Article 9.2 of the Ley del IRPF, days spent outside Spain are not counted as time in Spain if the taxpayer can prove that their absence is due to an "economic reason" (e.g., a temporary work assignment abroad). However, this exception is narrowly interpreted and rarely applies in practice.

Centre of Economic Interests

Even if you spend fewer than 183 days in Spain, you may be a tax resident if your centre of economic interests is in Spain. This criterion has two components:

  • Business and professional activities: If the majority of your professional activity or business operations are based in Spain (e.g., you manage a Spanish company, have Spanish clients generating most of your income, or have your professional office in Spain), you are likely to be considered a Spanish tax resident regardless of where you physically sleep.
  • Asset management: If the management of your financial assets (investments, bank accounts, real estate) is carried out in Spain, and the majority of your assets (by value) are located in Spain, you may be a resident. The AEAT considers the location of the asset manager, the place where investment decisions are made, and the location of the assets themselves.
  • Rebuttal: The centre of economic interests test can be rebutted if the taxpayer can prove that the majority of their economic interests are in another country. This requires comprehensive documentation of foreign economic activities, bank accounts, investments, and professional relationships.

Centre of Vital Interests

The centre of vital interests is the strongest and most difficult-to-rebut presumption of tax residency:

  • Spouse and children: If your spouse (unless legally separated) and your dependent minor children have their habitual residence in Spain, you are presumed to be a Spanish tax resident. This is the case even if you work in another country and spend most of your time abroad.
  • Presumption: This is a presumption (presunción iuris tantum) that can be rebutted only by providing strong evidence that the centre of your personal and economic interests is in another country. Simply pointing to a foreign tax residence certificate is usually insufficient.
  • Practical implications: This rule catches many expats who move abroad for work while their family remains in Spain. The AEAT routinely assesses the tax residency of such individuals and may issue tax assessments for the full year even if the expat was present in Spain for only a few days.

Exceptions — Double Taxation Treaties

When a person meets the residency criteria under both Spanish domestic law and the domestic law of another country (dual residency), the applicable double taxation treaty (DTT) determines which country can tax the person. The treaty's "tie-breaker" rules in Article 4 of the OECD Model Convention apply in the following hierarchical order:

  • Step 1 — Permanent home: The person is considered a resident of the country where they have a permanent home (a dwelling that is available to them on a continuous basis).
  • Step 2 — Centre of vital interests: If the person has a permanent home in both countries, they are a resident of the country where their personal and economic relations are closer (centre of vital interests).
  • Step 3 — Habitual abode: If the centre of vital interests cannot be determined, the person is a resident of the country where they have a habitual abode (where they spend more time).
  • Step 4 — Nationality: If the habitual abode cannot be determined, the person is a resident of the country of their nationality.
  • Step 5 — Mutual agreement procedure: If all else fails, the competent authorities of the two countries will resolve the dual residency through a mutual agreement procedure (MAP).

Becoming a Spanish Tax Resident

The process of becoming a Spanish tax resident involves several administrative steps:

  • NIE (Número de Identificación de Extranjero): A unique identification number for foreigners. Required for any tax or legal transaction in Spain. Obtainable from the police (Comisaría de Policía) or the Spanish consulate in your home country before arrival.
  • Empadronamiento (Municipal Registration): Registering with the local town hall (Ayuntamiento) where you live. This is a legal requirement for all residents and is used by the AEAT as evidence of residency. You will need a rental contract or property deed, and your passport.
  • Declaración Censal (Modelo 030): Registering with the Spanish tax authorities (AEAT) to obtain a NIF (Número de Identificación Fiscal) and to declare your tax address in Spain. This is done via the modelo 030 form, which can be filed online with a digital certificate or in person at an AEAT office.
  • Social Security registration: If you work in Spain (as an employee or autónomo), you must register with the TGSS (Tesorería General de la Seguridad Social). Employees register through their employer; autónomos register directly (RETA).
  • First tax return: As a new resident, you must file your first Declaración de la Renta (IRPF) for the partial year from the date of residency to December 31. The filing period is April to June of the following year.

Ceasing Residency and Exit Tax

When you leave Spain, you must formalise the cessation of your tax residency. Failure to do so can result in continued tax liability:

  • Certificate of tax residence: To formally cease being a Spanish tax resident, you should update your tax address via modelo 030 to reflect your new foreign address. You can also request a certificate of tax residence (certificado de residencia fiscal) for the period you were a resident.
  • Exit Tax (Impuesto de Salida): If you have been a Spanish tax resident for at least 10 of the last 15 years, you may be subject to the exit tax on unrealised capital gains in shares/securities. The tax applies if (a) the total unrealised gains exceed €4,000,000, or (b) you hold >25% of a company's capital with market value >€1,000,000. The tax is calculated on the unrealised gains as if the assets were sold on the day before departure. Payment can be deferred for up to 5 years if you move to an EU/EEA country.
  • Final tax return: You must file a final IRPF tax return for the partial year (January 1 to the date of departure). This return must include all worldwide income earned during that period. The filing deadline is June 30 of the following year.
  • Notification requirements: You should notify the AEAT of your change of address and the date of departure. If you fail to do so, the AEAT may continue to treat you as a tax resident and may assess penalties for non-filing.

Certificate of Tax Residency (Modelo 030)

The certificate of tax residency (certificado de residencia fiscal) is an official document issued by the AEAT that confirms that you were a Spanish tax resident for a specific period. It is typically required by foreign tax authorities when claiming treaty benefits (e.g., reduced withholding rates on dividends, interest, or royalties).

  • Application: The certificate can be requested via modelo 030 (available on the AEAT website) or in person at an AEAT office. You will need your NIE, digital certificate or Cl@ve PIN, and details of the period for which the certificate is requested.
  • Processing time: The AEAT typically issues the certificate within 1-3 months. Urgent requests may be processed faster in some offices.
  • APOSTILLE / Legalisation: For use outside the EU, the certificate may need an apostille (under the Hague Convention of 1961) or legalisation by the Spanish Ministry of Foreign Affairs and the consulate of the receiving country.
  • Duration of validity: The certificate is valid for the period stated (usually one calendar year). If you need it for multiple years, you must request separate certificates.

Frequently Asked Questions

Can I be a tax resident in both Spain and another country?

Under domestic law, yes — you could meet the residency criteria in both Spain and another country simultaneously (dual residence). In that case, the applicable double taxation treaty will determine which country has the primary taxing right. The treaty's tie-breaker rules (permanent home, centre of vital interests, habitual abode, nationality, mutual agreement) are used to assign residency to one country. You can also request a MAP between the two tax authorities to resolve the dual residence.

What happens if I spend exactly 183 days in Spain?

Spending exactly 183 days in Spain is a borderline case. The law says "more than 183 days," so 183 days should not trigger residency. However, the AEAT may argue that the 183-day test is not the only criterion and may apply the centre of economic interests or centre of vital interests tests. If you are close to the threshold, it is advisable to keep meticulous records of your days of presence and absence.

Does owning property in Spain make me a tax resident?

No, owning property alone does not make you a tax resident. However, owning a home in Spain is evidence that you have a "permanent home" available to you, which can be used to support a residency finding under the 183-day test or the centre of economic interests test. If you own property in Spain but spend fewer than 183 days there and your family and economic interests are abroad, you are likely a non-resident. You must still file non-resident tax returns for the property (imputed income and rental income if applicable).

How does the AEAT verify days of presence?

The AEAT uses a comprehensive data-gathering approach: (a) the "Sistema de Información de Movimientos Fronterizos" (border movement information system) — entry/exit records from Spanish airports and border crossings, (b) banking data — debit and credit card transactions in Spain, (c) mobile phone data — cell tower location records requested from telecom providers, (d) utility bills — electricity, water, gas, and internet bills showing consumption patterns, (e) travel records — flight bookings, hotel reservations, toll road payments, (f) social media and internet data — geo-tagged posts, IP addresses from logged-in sessions, and (g) witness statements — neighbours, landlords, employers. The AEAT can cross-reference these data sources to build a comprehensive picture of your movements.

What is the penalty for incorrectly claiming non-resident status?

If the AEAT determines that you were a resident but claimed (or failed to file as) a non-resident, the penalties can be severe: (a) a late-filing penalty of up to 15% of the underpaid tax if the error was unintentional, (b) a penalty of 50-100% of the underpaid tax if the AEAT considers it a "serious" infraction, (c) a penalty of 100-150% if there is evidence of fraud (dolo), (d) late payment interest (interés de demora) at ~3.75% per year, and (e) in cases of tax fraud exceeding €120,000, criminal prosecution with potential prison sentences of 1-5 years.

Disclaimer

This guide is for informational purposes only and does not constitute legal or tax advice. Tax residency rules are complex and depend on individual circumstances, including the provisions of applicable double taxation treaties. Consult a qualified asesor fiscal with expertise in international taxation for advice tailored to your situation. The information reflects the rules applicable in 2026 as of the date of publication.