Ilustración estilo anime de un escritorio con documentos frente a un ventanal con vistas a los Pirineos nevados

Ceasing Tax Residency in Spain for Andorra Without Risks

Updated: November 27, 2026

To stop being a tax resident in Spain when moving to Andorra, one must materially and evidentially break the criteria of Article 9 of the Spanish Personal Income Tax (IRPF) Law (physical presence, center of economic interests, and family unit) and establish an actual presence in the Principality. The transition is finalized by obtaining Andorran immigration authorization, establishing primary residence there, and proving tax residency through a certificate issued by Andorra’s Departament de Tributs i Fronteres under the Double Taxation Treaty (DTT). With rigorous documentary planning of dates and assets, departure is formalized before the Spanish Tax Agency (AEAT) without unforeseen tax contingencies.

Many taxpayers with high net worth, capital income, or digital businesses mistakenly assume that obtaining an Andorran residence permit automatically terminates their tax liabilities in Spain. For a complementary perspective on the initial procedures, you can also consult our guide on ceasing tax residency in Spain to move to Andorra. Spanish tax law operates independently of foreign administrative permits: the AEAT evaluates factual and economic circumstances based on the burden of proof.

The Three Criteria for Subjecting to Spanish Personal Income Tax (IRPF)

Article 9 of Law 35/2006 on Personal Income Tax (LIRPF) establishes three legal presumptions and indicators under which an individual is considered a Spanish taxpayer under personal obligation, taxed on their worldwide income. To transfer residency to Andorra in an unassailable manner, each of these must be deactivated.

1. Physical Presence Criterion (The 183-Day Rule)

An individual is deemed a tax resident if they spend more than 183 days during the calendar year in Spanish territory. Sporadic absences are included in this count unless the taxpayer proves their tax residence in another country via a tax residency certificate issued by the tax authorities of that state. In the case of territories historically classified as tax havens, former regulations required proving an actual stay of 183 days in the destination country; however, since the bilateral DTT entered into force in 2016, Andorra is no longer classified as a tax haven by Spain, making the general OECD treaty rules applicable.

Days of entry and exit from Spain are counted as full days of presence in Spanish territory for tax inspection purposes. If a taxpayer spends 120 days in Andorra, 100 days in Spain, and 145 days traveling internationally, they do not exceed 183 days in Spain; however, the AEAT may attempt to count sporadic absences unless continuous, effective residency in Andorra is substantiated.

2. Main Center of Economic Interests

A taxpayer is considered a resident of Spain if the main core or base of their economic activities or interests is located in Spanish territory, directly or indirectly. This concept is broad and does not solely depend on where the highest gross income is earned, but rather where the majority of assets are located, where investments are managed, or where the original sources of income reside.

If an investor earns 80% of their income from leased properties in Madrid or Barcelona, or if they direct a company from Andorra whose material operations and clients remain entirely in Spain without real Andorran substance, the AEAT will argue that their center of economic interests remains in Spanish territory.

3. Family Core and Legal Presumption

Unless proven otherwise, the law presumes that a taxpayer has their habitual residence in Spain when their legally non-separated spouse and dependent minor children habitually reside in Spanish territory. This legal presumption admits evidence to the contrary, but during a tax audit, it is exceptionally difficult to rebut if the nuclear family remains enrolled in school and registered on the municipal census in Spain.

How to Cease Tax Residency in Spain for Andorra Under the Double Taxation Treaty

When a taxpayer meets the domestic residency criteria of both States (for instance, spending more than 183 days in Andorra while maintaining a home and business operations in Spain), a dual residency conflict arises. This conflict is not resolved unilaterally by domestic legislation, but through the tie-breaker rules set out in Article 4 of the Double Taxation Treaty between the Kingdom of Spain and the Principado of Andorra, in force since February 26, 2016.

Article 4 of the DTT establishes a strict and sequential hierarchy of criteria:

  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 they have a permanent home available in both States, the next step applies.
  2. Center of vital interests: The taxpayer is deemed a resident of the State with which their personal and economic relations are closer. This step evaluates family presence, social ties, banking relationships, health insurance, and the location of ordinary economic activities.
  3. Habitual abode: If the center of vital interests cannot be determined, they are deemed a resident of the State where they have a habitual abode (rigorous accounting of overnight stays throughout the year).
  4. Nationality: If they have a habitual abode in both States or in neither, they are deemed a resident of the State of which they are a national.
  5. Mutual agreement: If they hold both nationalities or neither, the competent authorities will settle the question by mutual agreement procedure.

To successfully invoke the DTT before the Spanish tax authorities, it is essential to hold a certificate of tax residency within the meaning of the Convention issued by Andorra’s Departament de Tributs i Fronteres. A basic parish municipal certificate (comú) or an administrative residency card does not prove tax residency before the AEAT.

Pathways to Andorran Residency and Economic Substance

To establish legal status in the Principality, the applicant must qualify under one of the pathways regulated by Andorran immigration law (Llei 9/2012 and subsequent reforms, including Llei 2/2026). The most common options for high-net-worth individuals are active self-employed residency and non-lucrative (passive) residency.

If you are interested in the corporate side of this transition, review the details on setting up a company in Andorra and the breakdown of taxes in Andorra to properly structure your business with operational substance.

Self-Employed Residency (Active)

Designed for entrepreneurs and professionals engaged in actual commercial activity from within the country. As of November 27, 2026, the current legal requirements under Llei 2/2026 mandate:

  • Ownership of an equity share exceeding 34% in an Andorran company.
  • Holding a position on the governing body of said company with effective management duties.
  • A non-refundable financial deposit of €50,000 with the Autoritat Financera Andorrana (AFA), subject to specific statutory exemptions for designated priority projects.
  • A minimum physical presence in Andorra of at least 183 calendar days per calendar year.

Residency Without Lucrative Activity (Passive)

Tailored for investors, private individuals, and family offices that do not operate a local business or earn employment income in Andorra. As of November 27, 2026, under Llei 2/2026 (Article 96), the requirements are:

  • A minimum capital investment of €1,000,000 in Andorran assets. If the investment is made in real estate, each property unit must exceed an individual purchase value of €800,000.
  • As a legal alternative, a contribution of €400,000 to the public Andorran Housing Fund (Fons d’Habitatge) is permitted.
  • If the investment is placed into Andorran financial instruments or funds, a maximum holding period of 36 months applies under certain regulatory provisions.
  • A permanent financial deposit of €50,000 with the AFA, plus an additional €12,000 per dependent, refundable only if the initial application is denied.
  • A minimum physical presence in the Principality of at least 90 calendar days per year.

Note regarding previous applications: Residency files formally submitted before January 22, 2026, remain entirely governed by the thresholds of the previous regulations.

To explore the practical requirements and specifics of each immigration category in greater detail, consult our dedicated guide on residency in Andorra.

Comparative Table: Residency Pathways in Andorra and Tax Implications

Residency CategoryMinimum Annual StayAFA Deposit (as of 11/27/2026)Required Capital InvestmentRisk Against AEAT 183-Day Rule
Self-employed (active)183 days€50,000 non-refundableCorporate share capital (min. €3,000)Low (if actual stay >183 days and effective management are documented)
Non-lucrative (passive)90 days€50,000 (+€12,000/dependent)€1,000,000 (or €400,000 in the Fons d’Habitatge)Moderate to High (if the taxpayer spends 90 days in Andorra and over 90 days in Spain)
International professionals90 days€47,500 refundable (+€9,500/dependent)No capital investment (85% of services provided outside Andorra)Moderate (requires justifying travel and ensuring Spain does not account for primary services)

The Impact of the Spanish Exit Tax (Article 95 bis LIRPF)

One of the most significant asset-related hurdles when changing tax residence outside Spain is the capital gains regime on deemed disposals, known as the exit tax (Article 95 bis of the LIRPF). This tax applies to unrealized capital gains on stock and equity portfolios as if they had been transferred at market value during the final tax year in which the taxpayer was considered a Spanish tax resident.

The exit tax applies if the taxpayer was a tax resident in Spain for at least 10 of the preceding 15 tax periods and meets either of the following two quantitative thresholds on the accrual date:

  • The combined market value of the shares or equity holdings exceeds €4,000,000.
  • The direct or indirect participation in a single entity exceeds 25%, provided the market value of that participation exceeds €1,000,000.

Unlike relocations to European Union or European Economic Area Member States with mutual assistance agreements (where payment can be deferred until the actual sale or for 10 years without providing guarantees), Andorra is neither an EU nor an EEA member state. Consequently, moving to Andorra does not qualify for an automatic deferral without guarantees: the assessed tax must be paid, or a statutory deferral must be formally requested by providing sufficient bank guarantees or collateral accepted by the AEAT, pursuant to Article 95 bis, paragraph 4 of the LIRPF.

Self-assessment and formal declaration of these capital gains are submitted via Form 113 within the standard IRPF filing period corresponding to the first tax year in which the individual is no longer a Spanish tax resident.

Step-by-Step Checklist to Disconnect from the AEAT

Relocating tax residency must be carried out according to a strict timeline and administrative process. The following steps outline the essential roadmap to minimize tax exposure:

  1. Asset audit and timeline planning: Assess physical departure dates. It is advisable to relocate early in the calendar year (January or February) to clearly meet the threshold of more than 183 days in Andorra and fewer than 183 days in Spain. Spain does not permit a split-year treatment: an individual is either resident or non-resident for the entirety of the calendar year.
  2. Securing Andorran residency authorization: Submit the application to the Servei d’Immigració of the Government of Andorra (active, passive, or international professional), successfully completing the medical check, the AFA deposit, and the statutory investment criteria.
  3. Establishing the primary residence in Andorra: Sign a long-term residential lease or purchase a habitable home. Complete the municipal registration (comú) in the corresponding parish.
  4. Factual disconnection in Spain: Terminate rental agreements on previous primary residences in Spain, sell properties, or list them for long-term lease to unrelated third parties via a real estate agency. Cancel domestic utility contracts in your name, gym memberships, and ongoing recurring in-person subscriptions in Spain.
  5. Effective relocation of the family unit: If you have a spouse and minor children, enroll the children in the Andorran school system (Andorran, French, or Spanish/congregational) and establish the household base in the Principality to neutralize the presumption of Article 9.1.b of the LIRPF.
  6. Andorran tax registration and banking setup: Obtain the Andorran Tax Identification Number (NRT) from the Departament de Tributs i Fronteres. Consolidate banking operations and payment cards within the Andorran banking system.
  7. Requesting the Andorran tax residency certificate: Once the requisite period has elapsed to demonstrate worldwide tax liability in Andorra (Andorran IRPF), apply to the Andorran tax administration for a residency certificate under the DTT with Spain.
  8. Filing the change of residence with the AEAT (Form 030): Submit the census declaration for change of tax domicile and relocation abroad (Form 030) to the Spanish Tax Agency, attaching a copy of the Andorran tax residency certificate.
  9. Final tax settlement and non-resident tax regime: File the final Spanish IRPF return for the preceding or departure tax year, submit Form 113 (exit tax) if applicable, and thereafter file solely under the Non-Resident Income Tax (IRNR, Form 210) for any ongoing Spanish-source income.

Common Mistakes That Trigger Tax Audits

The AEAT’s Central Coordination Unit for High-Net-Worth Control utilizes advanced data analytics and geolocation tracking to verify authentic relocations. The most frequent errors identified in tax audit reports include:

  • Routine use of credit cards in Spain: Sustaining recurring daily expenditures (supermarkets, pharmacies, toll roads, restaurants) in Spain during purported periods of residency in Andorra. The AEAT systematically requests itemized bank and card statements.
  • Maintaining an unoccupied home permanently available in Spain: Holding ownership of a villa or apartment in Spain with active, ongoing utility usage (water and electricity) without leasing it to an independent third party. The concept of an “available home” immediately activates the first tie-breaker rule of the DTT.
  • Spouse and children remaining in Spain: The taxpayer registers in Andorra to benefit from a maximum 10% income tax rate, while the family remains at the matrimonial home in Madrid or Barcelona. Article 9.1.b of the LIRPF automatically presumes Spanish tax residency unless formal legal separation or conclusive counter-evidence is provided.
  • Effective management of Spanish entities without substance in Andorra: Continuing to sign commercial contracts, payroll, and payment orders for operational Spanish companies from Spain, or without maintaining an operational office, material resources, and staff in Andorra.
  • Failure to track and document days of presence: Neglecting to maintain reliable proof of physical presence in Andorra (mobile roaming records, local commercial receipts, utility consumption in the Principality, border license-plate recordings, or parking passes).

Illustrative Example: Residency Conflict and Application of the DTT

Frequently Asked Questions

Can a tax year be split between Spain and Andorra?

No. Under Spanish tax law, the IRPF tax period coincides strictly with the calendar year. Except in the event of death, tax status is binary for the entire year: an individual is either a Spanish tax resident for all 365 days or a non-resident. Therefore, the relocation date must be planned methodically to avoid exceeding 183 days of presence in Spain during the transition year.

Is an Andorran green residency card sufficient to stop paying taxes in Spain?

No. The immigration card issued by the Servei d’Immigració is solely an administrative authorization for legal stay or residency. The Spanish Tax Agency only recognizes a loss of tax residency once the criteria of Article 9 of the LIRPF are dismantled and a formal tax residency certificate issued by Andorra’s Departament de Tributs i Fronteres is submitted.

What happens to properties owned in Spain after moving to Andorra?

Real estate located in Spain remains subject to Spanish taxation. If leased, the Andorran resident must pay Spanish Non-Resident Income Tax (IRNR) at the standard rate applicable to non-EU residents on gross rental income. If kept for personal use, deemed rental income must be reported under the IRNR. In addition, Spanish properties may remain subject to Wealth Tax or the Temporary Solidarity Tax on High Net Worth under limited tax liability (real obligation).

How does the Spanish Tax Agency prove that an individual actually resides in Spain?

The AEAT relies on circumstantial and corroborating evidence: cellular data and roaming logs, credit and debit card transactions, residential water and electricity consumption, medical records from public or private healthcare facilities, automated license plate recognition at tolls or road cameras, and named train or flight tickets.

How long does the Spanish Tax Agency have to audit a change of residency to Andorra?

The statute of limitations for the tax authority to determine tax liability is four years, starting from the day following the deadline for filing the relevant annual tax return (the end of June each year). In practice, residency inquiries are typically initiated between the second and third year following the departure.

Official Sources

Interactive check for your move

A Way Group service