$0 Exit Tax Quick-Check — Does Your Country Charge You for Leaving?

Spain Expat Taxes: Exit Tax, the Anti-Haven Rule, and What Non-Residents Owe

Spain's tax regime for expats has two distinct problems: what you owe when you arrive, and what you owe when you try to leave. The exit is the expensive part. Spain's departure tax applies to shares and company stakes above relatively low thresholds, the rates are steep, and there's an anti-haven rule that follows you to certain destinations for four years after you go.

For people who've built significant equity in a Spanish-based company — or who've accumulated a large share portfolio while resident in Spain — the departure tax bill can rival the US exit tax in severity.

Spain's Exit Tax: Who It Hits

Spain's exit tax (Article 95bis of the Personal Income Tax Act) applies to tax residents who have been resident in Spain for 10 of the last 15 years and who own:

  • Shares or securities with a market value exceeding €4 million, OR
  • A stake of at least 25% in a single entity if the market value of that stake exceeds €1 million

The €4 million threshold sounds high, but it includes unrealized gains across all securities — not just Spanish ones. A long-term resident with a diversified international portfolio can hit this threshold more easily than people expect.

What Spain Taxes and at What Rate

When the exit tax applies, Spain taxes the unrealized capital gain on qualifying shares and securities — the difference between market value at departure and original acquisition cost. Real estate is not subject to exit tax (it's handled separately as a property gain when sold).

The tax rate is Spain's capital savings rate, which is progressive:

  • Up to €6,000: 19%
  • €6,000–€50,000: 21%
  • €50,000–€200,000: 23%
  • €200,000–€300,000: 27%
  • Above €300,000: 30%

On large gains, the blended rate approaches 28-30% — on unrealized appreciation that you haven't actually monetized.

The Anti-Haven Rule: Four More Years of Spanish Tax

Spain's most aggressive provision is its anti-haven rule: if you move to a jurisdiction classified as a "tax haven" by Spain, you remain taxable in Spain for the full year of departure plus the following four calendar years.

The UAE is on Spain's tax haven list. So are several other popular expat destinations. This means a Spanish resident who moves to Dubai doesn't escape Spanish taxation on day one — they remain a Spanish taxpayer for up to five years.

During this anti-haven period, Spain continues to tax your worldwide income as if you never left. Spanish tax returns must still be filed. If you establish genuine economic ties in the UAE and pay taxes there, some relief may be available, but Spain doesn't automatically recognize the UAE as your new tax home during the five-year window.

This rule effectively makes the Spain-to-UAE route tax-inefficient unless structured carefully. The common workaround is a multi-step relocation: Spain → an EU/EEA country (Portugal is a common choice) → UAE. Because Portugal is not a tax haven, moving to Portugal first breaks the Spanish anti-haven clock after 2-5 years in Portugal before moving to the UAE.

Free Download

Get the Exit Tax Quick-Check — Does Your Country Charge You for Leaving?

Everything in this article as a printable checklist — plus action plans and reference guides you can start using today.

EU/EEA Deferral for the Exit Tax

If you're moving to another EU or EEA country, Spain allows a 10-year deferral of the exit tax — payable in installments if you actually sell the shares during the period, or forgiven if you remain in the EU/EEA for the full 10 years without selling.

The forgiveness provision is generous: if you don't sell the shares within 10 years and remain within the EU/EEA, Spain waives the exit tax entirely. This is Spain's concession to EU free movement principles.

Moves to the UK (post-Brexit) no longer benefit from this EU/EEA deferral, so a Spain-to-UK move triggers an immediate exit tax bill.

Tax for Non-Residents in Spain

Spanish non-residents with Spanish-source income pay IRNR (Impuesto sobre la Renta de No Residentes). The key rates:

  • EU/EEA residents: 19% on Spanish-source income
  • Non-EU residents (including Americans, UK nationals post-Brexit): 24% on Spanish employment income; 19% on dividends, interest, and royalties from Spanish sources

Spanish rental income for non-residents is taxed at 19% (EU residents) or 24% (non-EU residents) on net rental income (EU residents can deduct expenses; non-EU residents are taxed on gross in many cases).

IRNR is self-assessed — non-residents receiving Spanish income must register, file quarterly declarations (Form 210), and pay tax. Spain doesn't withhold IRNR on rental income the way some countries do.

Spain's Family Residency Presumption

One trap that catches people by surprise: Spain presumes you are a Spanish tax resident if your spouse or minor children habitually reside in Spain, even if you're physically elsewhere for most of the year.

This is a rebuttable presumption — you can contest it — but it requires positive action to establish non-residency despite the family connection. Simply being elsewhere doesn't overcome the presumption.

For people in the middle of a relocation, leaving Spain while family remains behind can trigger this rule, meaning the departure doesn't actually end Spanish tax residency until the family situation is resolved.

Beckham Law: The Favorable Entry Regime

On the positive side, Spain offers an attractive inbound regime (commonly called the Beckham Law after the footballer who used it) for people who become Spanish residents after accepting a job offer in Spain.

Under the Beckham Law (Article 93 of the PIT Act), qualifying new residents pay a flat 24% rate on Spanish-source income up to €600,000 (and 47% above that) and are exempt from Spanish taxation on foreign income for the first six years.

This is favorable for high earners taking Spanish employment. But it only applies to people who haven't been Spanish residents in the prior five years. It's the inbound incentive that partially offsets the punishing exit tax on the way out.

For exit tax planning — coordinating between Spain's departure rules, the EU deferral, and the anti-haven period — the details matter significantly. The Exit Tax Playbook covers Spain's exit tax mechanics alongside comparable regimes in France, Germany, and Denmark, and maps out sequencing strategies for multi-country relocations. Get the complete guide.

Get Your Free Exit Tax Quick-Check — Does Your Country Charge You for Leaving?

Download the Exit Tax Quick-Check — Does Your Country Charge You for Leaving? — a printable guide with checklists, scripts, and action plans you can start using today.

Learn More →