Ilustración estilo anime de un despacho minimalista con vistas a montañas de pinos, con documentos legales y gráficos financieros sobre el escritorio

Ceasing Tax Residency in Spain to Move to Andorra

Updated: November 20, 2026

To cease being a tax resident in Spain, Andorra requires breaking the connection ties set out in Article 9 of the Spanish Personal Income Tax Act (LIRPF) and establishing effective tax residency in the Principality under the Double Taxation Treaty (DTT). Securing an immigration permit or renting a property in Andorran territory is not enough; the Spanish Tax Agency (AEAT) will continue to consider you liable for tax on your worldwide income unless you prove that your center of economic and personal interests has materially departed Spain. The transition requires proving actual physical presence, submitting the appropriate census notifications, and managing the impact of the exit tax regime (exit tax).

Spanish Legal Framework: How the Tax Agency Determines Tax Residency

Law 35/2006 on Personal Income Tax (LIRPF) establishes in Article 9 the three main criteria that determine whether an individual is a tax resident in Spain. If the Tax Administration establishes compliance with either of the first two primary criteria (physical presence or center of economic interests), or if the statutory presumption of the family nucleus applies, the taxpayer will be taxed in Spain on their worldwide income, regardless of where the profits were generated or where their assets are held.

1. The Physical Presence Test (More Than 183 Days)

An individual is a tax resident in Spain if they spend more than 183 days in Spanish territory during the calendar year (from January 1 to December 31). In calculating this period, the law includes so-called “sporadic absences”, unless the taxpayer proves their tax residency in another country. For these purposes, Andorra has not been classified as a tax haven or non-cooperative jurisdiction since the bilateral Double Taxation Treaty came into effect; therefore, a tax residence certificate issued by the Departament de Tributs i Fronteres of the Govern d’Andorra is a legally admissible document to justify absences from Spanish territory.

However, Spanish Supreme Court case law has repeatedly held that a tax residence certificate does not have absolute, automatic evidentiary weight if the AEAT produces objective evidence of actual physical presence in Spain for more than half of the tax year. Among the elements systematically reviewed by tax inspectors are credit card payment records, residential utility consumption (electricity, water, and gas) in properties owned or held in Spain, mobile device geolocation, toll records, hotel bookings, and frequent flights.

2. The Main Center or Base of Economic Activities or Interests

Even if an individual physically spends fewer than 183 days in Spain, the AEAT will consider them a tax resident if the main core or base of their business activities, professional pursuits, or economic interests is located in Spain, directly or indirectly. This criterion is of critical importance for high-net-worth individuals:

  • Investments and income sources: If the majority of gross income derives from leased real estate, shareholdings in Spanish operating companies, or investment returns generated in Spain, the tax authority will argue that the center of economic interests remains in Spanish territory.
  • Administration and effective management of companies: If an investor or executive relocates to Andorra but continues to actively manage corporate entities in Spain without a genuine delegated management structure, they risk having both themselves and the company deemed tied to Spanish territory, applying the concept of place of effective management governed by the Corporate Income Tax Act.

3. The Presumption of the Vital Family Nucleus

Article 9.1.b of the LIRPF legally presumes that a taxpayer has their habitual residence in Spain if their legally unseparated spouse and dependent minor children habitually reside in the country. This presumption admits evidence to the contrary, but it shifts the full burden of proof onto the taxpayer, who must conclusively prove that the family unit has genuinely relocated to the Principality or that an effective legal separation exists.

The Double Taxation Treaty Between Spain and Andorra: Tie-Breaker Rules

The Convention between the Kingdom of Spain and the Principality of Andorra for the avoidance of double taxation with respect to taxes on income and on capital (BOE of December 7, 2015) is the key legal instrument to resolve dual residency conflicts. If a taxpayer meets the domestic criteria of both States (for instance, spending more than 183 days in Andorra while retaining properties and income in Spain), the hierarchically ordered tie-breaker rules in Article 4.2 of the Treaty apply:

  1. Permanent home available: The taxpayer is deemed a resident of the State where they have a permanent home available to them (owned or under a long-term lease). If a permanent home is available in both States (for example, keeping a primary residence in Madrid while purchasing an apartment in La Massana or Escaldes-Engordany), the next tier applies.
  2. Center of vital interests: The individual will be deemed a resident of the State with which their personal and economic relations are closer. This involves a comprehensive evaluation of children’s schooling, community involvement, headquarters of operating businesses, custody location of financial assets, and social ties.
  3. Habitual abode: If the center of vital interests cannot be determined, the individual will be deemed a resident of the State where they have a habitual abode (a strict mathematical count of overnight stays).
  4. Nationality: If the individual has a habitual abode in both States or in neither, they will be deemed a resident of the State of which they are a national.
  5. Mutual agreement procedure: If the individual is a national of both States or of neither, the competent authorities will settle the question by mutual agreement.

Proper structuring of the relocation requires the taxpayer to decisively satisfy the permanent home and center of vital interests tiers, preventing resolution from depending on later stages or prolonged mutual agreement procedures.

Residency Options in the Principality of Andorra

Consolidating legal status in Andorra requires more than a simple declaration: it is mandatory to obtain and maintain a residence permit issued by the Servei d’Immigració of the Govern d’Andorra, governed by Llei 9/2012 and its subsequent amendments, including Llei 2/2026. High-net-worth profiles typically opt for two categories:

Self-Employed (Active) Residency

Intended for professionals and entrepreneurs who incorporate or acquire an Andorran commercial company to carry out their business activity. As of November 20, 2026, under current regulations (Llei 9/2012 with amendments from Llei 2/2026):

  • Corporate shareholding exceeding 34% of the Andorran entity’s share capital.
  • Holding a position on the administrative body of said company.
  • Minimum effective physical presence of 183 days per calendar year in the Principality.
  • Non-refundable financial deposit of €50,000 with the Autoritat Financera Andorrana (AFA), with exemptions for specific priority business projects as determined by the Govern d’Andorra.
  • If you would like to know the exact steps for corporate structuring, check our guide on creating a company in Andorra.

Residency Without Lucrative Activity (Passive)

Designed for investors and high-net-worth individuals who do not engage in direct labor activities in the country. Under Article 96 of Andorran regulations as of November 20, 2026:

  • Commitment to a minimum physical presence of 90 calendar days per year.
  • Minimum investment of €1,000,000 in Andorran assets. If the investment is made through real estate, each unit must exceed €800,000. As a direct legal alternative, a €400,000 contribution to the public Fons d’Habitatge is accepted.
  • If the investment is placed in Andorran financial instruments or funds, the law establishes a maximum period of 36 months for holding.
  • Definitive non-refundable deposit of €50,000 with the AFA for the principal applicant, plus €12,000 for each dependent (only refundable if the initial application is denied).
  • You can review the specific details and documentary requirements in our detailed analysis on residency in Andorra.

Note on the calculation of days: Although Andorran passive residency requires a minimum of 90 days before the Principality’s immigration authorities, with respect to the Spanish AEAT, the taxpayer must ensure they do not spend more than 183 days in Spain. Spending 90 days in Andorra and 190 in Spain will leave you as a Spanish tax resident.

Table 1: Comparison of residency criteria and tax regimes (as of November 20, 2026)
ConceptSpain (AEAT / LIRPF)Andorra (Govern / LIRPF)DTT Resolution (Art. 4)
Minimum physical presence> 183 days (or countable absences)183 days (active) / 90 days (passive)Actual days without fictitious absences
Worldwide income taxationProgressive rates up to 47%–54% (depending on Autonomous Community)Maximum general rate of 10%Exclusivity in the tie-breaker State of residence
Wealth taxationWealth Tax / Solidarity TaxNon-existent (0% rate)Subject to the determined State of tax residence
Financial regulator depositNot applicable€50,000 non-refundable to the AFA (Llei 2/2026)Internal Andorran administrative requirement
Supporting document issuedAEAT Tax Residence CertificateCertificat de residència fiscal (Tributs)Economic substance prevails over documentary form

The Exit Tax in Spain

One of the fiscal obstacles with the greatest financial impact when planning how to stop being a tax resident in Spain and move to Andorra is the special exit tax regime, governed by Article 95 bis of the LIRPF. This regime levies taxes on unrealized capital gains from corporate holdings or shares of taxpayers who lose their Spanish tax resident status.

Who is Subject to the Exit Tax?

The regime applies if the taxpayer has been a tax resident in Spain for at least 10 of the 15 tax years preceding the final year in which personal income tax must be filed, and either of the following two quantitative thresholds is met on the accrual date:

  • The combined market value of all their shares or participations in any type of entity exceeds €4,000,000.
  • The shareholding in a specific entity exceeds 25%, provided that the market value of that individual holding exceeds €1,000,000.

Key Differences Between Moving to Andorra vs. the European Union

When relocating to another European Union (EU) or European Economic Area (EEA) Member State that has a mutual assistance agreement, the taxpayer may opt to defer payment of the tax debt until the shares are transferred to third parties inter vivos or a maximum period of 10 years elapses.

However, Andorra is a third country outside the EU and the EEA. Consequently, as of November 20, 2026, the exit tax triggered upon relocating to Andorra must be settled and paid immediately in the self-assessment for the final tax year in which the taxpayer holds Spanish IRPF taxpayer status. The only legal exceptions allowing suspension or deferral of this payment require the taxpayer to relocate for duly justified employment reasons to a company not domiciled in a tax haven, or to provide sufficient financial guarantees accepted under general tax law (bank guarantees or mortgages), scenarios scrutinized strictly by the AEAT.

Step-by-Step Administrative Procedures: Ceasing Tax Residency in Spain for Andorra Rigorously

To build an airtight file for changing residency and withstand any regularization attempts by tax inspectors, the taxpayer must follow an orderly timeline of documentary procedures and factual life changes.

  1. Obtaining the Andorran immigration authorization: Process and secure the residence permit (active or passive) through the Servei d’Immigració of the Govern d’Andorra, making the required financial deposits with the AFA and providing police clearance records, private health insurance or registration with CASS, and proof of housing.
  2. Effective home in Andorra: Execute a long-term lease agreement (typically with a minimum 1 to 5-year commitment) or purchase a property in the Principality. Registering (empadronament) with the Comú of your parish of residence is mandatory.
  3. Divestment or restructuring of housing in Spain: If a property is kept in Spain, the AEAT will consider it a “permanent home available to you” unless you prove it has been effectively leased to third parties under long-term residential leases with official security deposit registration at the corresponding regional authority. Selling or leasing your former primary residence drastically reduces the risk of an adverse DTT tie-breaker outcome.
  4. Relocating the family unit: If a spouse and minor children are involved, arrange school enrollment in the Andorran education system (Andorran, French, or Spanish congregational/state) and register the dependents with the local Comú.
  5. Requesting the Tax Residence Certificate in Andorra: Once the initial statutory period of effective physical presence and tax registration has been met, request the Certificat de residència fiscal a l’efecte del Conveni from the Departament de Tributs i Fronteres. For further details on the Andorran tax framework, see our report on taxes in Andorra.
  6. Census deregistration in Spain via Form 030: Formally notify the AEAT of the change in tax domicile and transfer of residence abroad by checking the relevant boxes on Form 030 (Modelo 030). This step informs the authorities of the change of jurisdiction but does not preclude a subsequent tax audit.
  7. Filing the final Spanish tax year return: Submit the final personal income tax (IRPF) return corresponding to the tax period prior to losing tax residency. If the conditions under Article 95 bis apply, include the deemed capital gains under the exit tax.
  8. Subsequent taxation as a non-resident (IRNR): As of January 1 of the tax year in which the change of residency takes effect, any income generated in Spanish territory (rental income from remaining real estate, dividends from Spanish subsidiaries, or royalties) will be taxed under Non-Resident Income Tax (IRNR), applying the withholding taxes and reduced rates stipulated in the Spain-Andorra DTT.

Common Mistakes That Trigger an AEAT Audit

Administrative experience before Economic-Administrative Tribunals and the National High Court (Audiencia Nacional) shows that most tax regularizations stem from factual oversights and documentary discrepancies. Avoid the following pitfalls:

  • Miscalculating the 183-day rule: Assuming that spending 184 days outside Spain is sufficient without properly tracking entry and exit days. Under Spanish case law, any fraction of a day spent in Spain counts as a full day in Spanish territory.
  • Negligible utility consumption in Andorra: Invoices for electricity, heating, and water at the Andorran property showing zero or flat consumption over entire months. The AEAT systematically requests digital meter readings from FEDA to verify the genuine habitability of the home.
  • Active Spanish credit cards for daily expenses: Paying for everyday purchases (supermarkets, pharmacies, gyms, restaurants) in Spain from Monday to Friday while claiming to reside in Andorra.
  • Retaining non-delegated executive roles in Spanish companies: Retaining the status of sole director (administrador único) or CEO (consejero delegado) with active compensation in companies based in Spain, attending ongoing in-person board meetings and management committees.
  • Children enrolled in school in Spain: Claiming personal tax residency in Andorra while minor children attend school or university in Spain, living with the other spouse.
  • Failing to prepare pre-constituted evidence: Failing to archive passports, travel tickets, utility bills, insurance policies, Andorran bank statements, and local contracts demonstrating daily life in the Principality prior to receiving an official audit notification.

Illustrative Example: Digital Entrepreneur with Movable Assets

Illustrative example: Carlos is the sole shareholder of a tech consulting company in Spain that generates €300,000 in annual pre-tax profit and holds a financial portfolio valued at €1,500,000. He decides to relocate his life and professional activity to Andorra in 2026 under the self-employed category.

If Carlos simply rents an apartment in Andorra and sets up an Andorran company while leaving his spouse and children residing in Barcelona, the AEAT will presume his Spanish residency pursuant to Article 9.1.b of the LIRPF. Even if he provides an Andorran tax residence certificate, under Article 4 of the DTT his center of vital interests will be deemed located in Spain due to family presence and because his primary invoicing continues to depend on clients and contracts managed from the Spanish office.

To execute the transition with full legal certainty, Carlos must:

  1. Physically relocate his spouse and children to the Principality, enrolling them in an Andorran school. To explore local options, see our guide on living in Andorra.
  2. Incorporate the company in Andorra, deposit the €50,000 with the AFA, and set up an office with genuine economic substance (physical premises and hiring local staff or services).
  3. Restructure the governing body of his Spanish subsidiary, appointing a general manager or independent administrator in Spain to handle day-to-day operations with local clients under a formal commercial contract.
  4. Lease his Barcelona home on a long-term basis to an unrelated third party under a registered lease contract.
  5. Verify that his investment portfolio (€1,500,000 with shareholdings not exceeding the corporate thresholds of €4,000,000 overall or 25% individual holding valued above €1,000,000 in unlisted companies) does not trigger an exit tax liability, or settle the resulting tax bill if it exceeds the thresholds under Article 95 bis.

Frequently Asked Questions

Can I keep my Spanish bank account after moving to Andorra?

Yes, but you must notify your Spanish financial institution of your change to “non-resident” status, providing your non-resident tax identification number (NIF) or passport and your Andorran tax residence certificate. Non-resident accounts are not subject to Spanish personal income tax withholdings on investment yields, being taxed, where applicable, under the DTT.

What happens if I spend 100 days in Andorra, 100 days in Spain, and 165 days traveling?

In this scenario, the 183-day threshold in Spain is not reached. However, the AEAT will evaluate whether absences from Spain are sporadic. If you have legal residence in Andorra but do not spend more than 183 days in either State, the DTT will resolve the conflict by looking first at where you have a permanent home available, and crucially, where your center of vital interests (economic and personal) is located.

Is private health insurance mandatory in Andorra?

It depends on the residency category. Self-employed residents are affiliated with the Caixa Andorrana de Seguretat Social (CASS) and make monthly social security contributions. Residents without lucrative activity (passive) must take out comprehensive private healthcare insurance covering the Principality for all dependents.

Do I need to file Form 720 the year I leave Spain?

Form 720 regarding foreign assets and rights is filed between January 1 and March 31 with respect to the immediately preceding tax year. If, in the filing year, you are no longer considered an IRPF taxpayer in Spain (being a non-resident for tax purposes effective January 1), the requirement to file this informative declaration ceases.

Does Andorra’s Association Agreement with the European Union affect tax residency?

Direct taxation matters and tax residency determination fall under the sovereign competence of each State and bilateral double taxation treaties. The Association Agreement with the EU does not alter the provisions of the Spanish LIRPF or the Spain-Andorra DTT, although it does affect customs regulations and the free movement of persons and services.

Official Sources

Interactive check for your move

A Way Group service