Jacob Salama Tax Lawyer
Jacob SalamaInternational Tax Lawyer · Spain
Residency Planning · UAE

Moving from Spain to Dubai: How to Exit Spanish Tax Residency Correctly

📅 May 2026 ✍️ Jacob Salama 🕐 10 min read

Why Dubai Attracts Spanish High-Net-Worth Individuals

The United Arab Emirates — and Dubai specifically — has become one of the most popular destinations for Spanish high-net-worth individuals seeking to reduce their tax burden. The appeal is straightforward: the UAE levies no personal income tax, no capital gains tax, no inheritance tax, and no wealth tax. Against a Spanish tax environment where IRPF progressive rates reach 47% nationally (and over 50% in some autonomous communities), and where the Spanish wealth tax (Impuesto sobre el Patrimonio) remains in force at the national level, the UAE's zero-tax framework represents a potential saving of millions of euros for high earners and asset-rich individuals.

In 2023, the UAE introduced a federal corporate income tax at 9% on business profits — but personal income, dividends received by individuals, and capital gains on personal investments remain entirely untaxed. For an entrepreneur, investor, or high-earning professional, Dubai offers world-class infrastructure, a growing international business community, and full tax efficiency on personal wealth.

The catch is that leaving Spain is substantially harder than it appears, and the AEAT scrutinises Spain-to-UAE moves more intensely than almost any other residency change.

The Spanish Exit Process: Administrative Steps

To formally exit Spanish tax residency, you must take a series of administrative steps. These are not merely bureaucratic formalities — failure to complete them correctly is one of the most common reasons AEAT successfully challenges a claimed departure.

Baja Consular

Spanish nationals living abroad must register at the Spanish consulate in their destination country as residentes en el exterior — residents abroad. This requires completing the baja consular (deregistration from the consular register of Spanish citizens) and enrolling in the Padrón de Españoles Residentes en el Exterior (PERE — the register of Spaniards resident abroad). This is not optional — it is the formal administrative signal of departure from Spain for Spanish nationals.

Padrón de Baja and Certificado de Empadronamiento

You must give notice of departure to your Spanish municipal registry — the padrón — and obtain a certificado de baja de empadronamiento confirming you have deregistered from the Spanish civil register. Without this, you remain registered in Spain and the AEAT treats you as physically present.

Final IRPF Return

You are required to file a final Spanish IRPF return (Modelo 100) for the year of departure, covering the period from 1 January to the date of departure. If you have been a Spanish tax resident for the full year until departure date, you will be taxed on your worldwide income for that period under the general IRPF regime. If you depart before 1 January (i.e., at the end of the prior year), you may not be resident for any part of the departure year at all — which is why timing is critical.

The AEAT's Scrutiny of Spain-UAE Moves

The AEAT maintains an internal risk-scoring system for taxpayer departures. Moves to zero-tax or low-tax jurisdictions — particularly the UAE, Monaco, Andorra, and the Cayman Islands — are automatically flagged for enhanced review. Spain-to-Dubai moves are among the most frequently challenged residency changes in the AEAT's portfolio.

The AEAT's standard approach to challenging a Spain-UAE move includes:

The single biggest mistake: Claiming UAE residency while leaving the family — spouse, minor children — in Spain. This alone creates the Article 9.1.b LIRPF family nucleus presumption and almost certainly results in a successful AEAT challenge to the claimed non-residency. If the family does not move, the residency claim does not hold.

Exit Tax on Unrealised Gains: Article 95 bis LIRPF

The most significant — and most misunderstood — Spanish tax provision affecting high-net-worth individuals leaving Spain is Article 95 bis LIRPF, the individual exit tax (impuesto de salida). This provision taxes unrealised capital gains on certain assets at the moment a qualifying taxpayer leaves Spanish tax residency.

Who Is Caught by Article 95 bis?

The exit tax under Article 95 bis applies if both of the following conditions are met:

  1. The individual has been a Spanish tax resident for at least 10 of the 15 tax periods immediately prior to the tax period in which they cease to be resident.
  2. The total unrealised gains on the qualifying assets exceed either:
    • €4,000,000 in aggregate; or
    • 25% of the individual's total taxable base and the unrealised gains exceed €1,000,000.

Both conditions must be satisfied. A person who has been resident in Spain for only 7 of the last 15 years is not caught by the exit tax regardless of the size of their unrealised gains. Conversely, a long-term resident with very modest unrealised gains below the threshold is also unaffected.

What Assets Are Caught?

The exit tax applies specifically to:

It does not apply to:

Asset Type Caught by Art. 95 bis? Notes
Listed shares (≥1% stake) Yes — exit tax applies Unrealised gain taxed at departure
SICAV / mutual fund participations Yes — exit tax applies Market value less acquisition cost
Spanish property No — not covered Taxed only on actual sale (non-resident CGT)
Private company (unlisted) Yes — if thresholds met Fair market value must be established
Crypto assets Unclear — evolving No specific AEAT guidance yet
Cash / deposits No Not qualifying assets

How Exit Tax Is Calculated

The unrealised gain on each qualifying asset is calculated as the difference between the market value at the date of departure and the original acquisition cost (adjusted for any prior tax adjustments). The resulting gain is added to the individual's savings income base for that year and taxed at the standard savings-income rates of 19–28%.

Payment Options: Instalment and Deferral

Article 95 bis provides mechanisms to manage the immediate cash burden of the exit tax:

Planning implication: For taxpayers who meet the Article 95 bis thresholds and plan to move to Dubai, the exit tax liability may be very significant. Consideration should be given to whether assets can be realised before departure (paying CGT at the normal rates rather than exit tax on unrealised gains), whether the residency period can be structured to fall below the 10-year threshold, or whether an EU intermediate destination (Portugal, Cyprus, Malta) could be used to access the instalment option before a subsequent move to Dubai.

The 5 Tax Periods Anti-Avoidance Rule: The Hidden Trap

Even after successfully ceasing to be a Spanish tax resident, Spain retains a special anti-avoidance mechanism for departures to low-tax territories. Under the general framework of the Ley General Tributaria and specific IRPF provisions, where a Spanish national or long-term resident moves to a country classified as a tax haven or privileged-tax territory (paraíso fiscal or territorio de escasa tributación), Spain can continue to treat them as Spanish tax residents for the year of departure plus the following five tax periods.

The UAE is not currently on Spain's formal list of tax havens (Royal Decree 1080/1991, as modified). This is an important distinction from moving to a jurisdiction that is on the list. However, the AEAT can — and does — challenge Spain-to-UAE moves on the basis that the vital interests have not genuinely relocated, applying the standard residency criteria rather than the specific tax haven rule. The practical outcome can be similar: Spain claims continued taxing rights for multiple years after departure.

The Spain-UAE Double Tax Treaty

Spain and the UAE signed a Convention for the Avoidance of Double Taxation (CDI) in 2006, in force since 2007. The treaty follows the OECD model and contains a residency tie-breaker article (Article 4) which applies the standard sequence: permanent home, centre of vital interests, habitual abode, nationality.

The treaty's practical significance in a Spain-to-UAE departure is primarily as a defence mechanism if AEAT challenges the claimed non-residency. If AEAT asserts continued Spanish residency and the taxpayer has established genuine UAE residency (UAE residence visa, physical presence, UAE bank accounts, business activity), the DTT tie-breaker can be invoked to resolve the double residency claim in favour of the UAE.

However, the treaty does not prevent the exit tax from arising — that is a Spanish domestic provision triggered at the moment of departure, before any treaty tie-breaker would need to be applied. Nor does the treaty provide any mechanism to limit Spain's application of the 5-year rule if the UAE were ever placed on the tax haven list.

UAE Residency Requirements: What You Actually Need

Establishing UAE tax residency requires more than simply obtaining a UAE residence visa. Since 2023, the UAE has a formal tax residency framework — Federal Decree-Law No. 47 of 2022 on taxation of corporations and businesses introduced a definition of UAE tax residency for individuals.

The UAE Ministry of Finance issues tax residency certificates (effective since March 2023) for individuals who meet at least one of the following:

The UAE residence visa (obtainable through employment, business ownership, property purchase of AED 2M+, or the UAE Golden Visa programme) is the immigration document. The UAE tax residency certificate is the document needed to invoke the Spain-UAE DTT tie-breaker.

For the AEAT, evidence of UAE physical presence includes: UAE residence visa, UAE bank account statements showing regular local transactions, UAE utility or tenancy agreements, Emirates ID card, UAE driving licence, and physical presence records (entry/exit stamps, airline records).

Comparison: Dubai vs. Other Popular Destinations

Destination Personal Income Tax AEAT Scrutiny Level Exit Tax Instalments? DTT with Spain?
Dubai, UAE 0% Very High No (non-EU) Yes (2006)
Portugal (NHR/IFICI) 10–20% (special regime) Low Yes (EU — instalments) Yes
Monaco 0% (non-French nationals) High Yes (EEA — instalments) No DTT
Andorra 5–10% High No (non-EU) Yes (2015)
Cyprus 0% on dividends/CGT Low–Medium Yes (EU — instalments) Yes
Malta Special flat rate schemes Low–Medium Yes (EU — instalments) Yes

Case Study: Spanish Entrepreneur Selling a Company After Moving to Dubai

One of the most important planning questions for Spanish entrepreneurs is: when should I sell my company relative to my departure for Dubai?

Scenario: Andrés, a Spanish tax resident of 15 years, owns 100% of a Spanish SL (private limited company) worth €10 million, with an original cost of €500,000. He plans to move to Dubai and then sell the company within 12 months.

If he sells before departing Spain: The gain of €9.5 million is a Spanish capital gain — included in the savings income base and taxed at 19–28%. Tax payable: approximately €2.6 million. Advantage: the gain is cleanly captured by Spain, no exit tax issue arises.

If he departs first, then sells from Dubai: AEAT will challenge this as an artificial arrangement designed to avoid Spanish CGT. Article 95 bis will assess exit tax on the unrealised gain of €9.5 million in the year of departure (immediate payment required for UAE moves). Additionally, AEAT will scrutinise whether he is genuinely non-resident at the time of sale — if he is found to still be a Spanish resident, the full CGT applies anyway. If the exit tax was correctly paid, the subsequent Dubai sale creates no further Spanish liability on that gain (as the tax was effectively pre-paid on departure).

The optimal strategy: In most cases, a sale timed significantly after departure — after genuine UAE residency is established, with a defensible period of physical absence from Spain — combined with correct exit tax planning, produces the best outcome. Selling one or two days after leaving Spain, with the family still in Spain and Spanish bank accounts still active, will not survive AEAT scrutiny. The departure must be genuine, well-documented, and ideally preceded by a period of pre-departure planning that begins at least 12 months before the intended sale.

Common Mistakes That Cause AEAT to Challenge the Move

  1. Family remains in Spain. The most common and most fatal error. If the spouse and children stay in Spain, the family nucleus presumption applies and the challenge is nearly automatic.
  2. Continuing to use Spanish credit cards and bank accounts daily. Transaction data tells the AEAT exactly how many days were spent in Spain after the claimed departure date.
  3. Keeping the Spanish home as a genuinely primary residence. High electricity and water consumption at a Spanish property after claimed departure suggests continued habitual use.
  4. Retaining directorships in Spanish companies without restriction. Active management of Spanish companies from Dubai is often inconsistent with having moved one's centre of economic interests to the UAE.
  5. Not obtaining a UAE tax residency certificate. Without the UAE TRC, invoking the DTT tie-breaker in any AEAT dispute is impossible.
  6. Selling major assets (company shares, investment portfolios) immediately after departure. This pattern — move, sell, return to Spain — is precisely what the AEAT look for. Long periods of genuine UAE residence before any major realisation are essential.
  7. Not filing the Spanish exit IRPF return correctly. The final Spanish return must be filed and exit tax (where applicable) paid. Failure to file is itself an independent violation.

Practical Checklist: Exiting Spanish Tax Residency for Dubai

Before Departure (Minimum 6 Months in Advance)

On Departure

After Arrival in Dubai

Planning a Move from Spain to Dubai?

A Spain-to-Dubai move requires careful multi-year planning — exit tax analysis, departure timing, family logistics, UAE residency establishment, and post-departure compliance. Jacob Salama advises HNW individuals and entrepreneurs on every stage of this process, from initial strategy through to final IRPF return and UAE TRC acquisition.

Book an Exit Strategy Consultation →

Disclaimer: This article is for general informational purposes only and does not constitute legal or tax advice. Spanish tax law changes frequently and its application depends on individual circumstances. Always consult a qualified tax lawyer before making decisions. SALAMA LEGAL SLP — Colegiado nº 11.294 ICAMálaga.

Ask Jacob Salama a Question

Planning a move from Spain to Dubai or another international destination? Describe your situation and we will respond within one business day.

Frequently Asked Questions

No — owning Spanish property does not prevent you from ceasing to be a Spanish tax resident. However, once you become a non-resident, your Spanish property generates non-resident tax obligations: you must file Modelo 210 annually for the imputed income on the property (even if not rented), and for actual rental income if the property is let. Capital gains on the eventual sale of Spanish property by a non-resident are taxed at 19% (flat rate for EU/EEA residents) or 24% (for residents in third countries including the UAE). The purchaser is also required to withhold 3% of the sale price as a preliminary payment against potential capital gains tax — this withholding is offset against your actual capital gains tax liability on filing.
Article 8.2 LIRPF contains a special anti-avoidance rule for Spanish nationals (and certain long-term residents) who move to a jurisdiction classified as a tax haven or low-tax territory. Spain can continue to tax these individuals as Spanish residents for the tax year of their departure and the following five tax years — regardless of whether they have physically left. The UAE is currently not on Spain's official tax haven list, but the AEAT applies enhanced scrutiny to UAE-bound departures because of the zero-tax motivation. The absence of the UAE from the formal list does not guarantee immunity from challenge — the AEAT can still argue that the vital interests have not genuinely moved.
Yes — owning a Spanish company does not prevent non-residency. However, retaining active management and decision-making responsibilities in a Spanish company while claiming non-residency creates two significant risks. First, it may support an AEAT argument that your main centre of economic interests remains in Spain (satisfying criterion two of Article 9 LIRPF). Second, your management activity in Spain could itself constitute a taxable presence under Spanish rules, generating IRNR (non-resident income tax) obligations. After moving to Dubai, you should formally resign from any director roles in Spanish companies. Share ownership without active management is generally safe.
January departure is optimal. Spain's IRPF operates on the calendar year — if you leave Spain and establish Dubai residency in January, you avoid being a Spanish resident for most of that year. If you depart in, say, June, you may still be treated as a Spanish resident for the entire calendar year (under the principle that residency is assessed for the full year) unless you can demonstrate that the family nucleus and economic interests criterion are not met from the date of departure. Timing a January departure also means your final Spanish IRPF return covers a complete prior year at most, avoiding the complexity of split-year analysis in year of departure.
Spain and the UAE signed a double tax treaty in 2006. The treaty contains a residency tie-breaker article — broadly following the OECD model — which is relevant if Spain challenges your UAE residency claim and asserts that you remain a Spanish resident. Under the tie-breaker, the key question is where your permanent home and centre of vital interests are located. The treaty does not, however, eliminate the Article 95 bis exit tax (which is triggered on the day of departure, before any treaty tie-breaker would need to be invoked) nor the 5-year anti-avoidance rule for moves to low-tax territories. The treaty is a tool in the post-departure dispute toolkit, not a complete shield.
Ask a question