Services
Beckham Law Tax Residency Spain Exit Tax Spain Wealth Tax (IP) Yacht & Marine Tax Cryptocurrency Tax Modelo 720 Non-Resident Income Tax Inheritance & Gift Tax Trusts & Foreign Structures Transfer Pricing Double Tax Treaties Voluntary Disclosure Tax Inspections & Defence Blog Contact Book a Free Call
Exit Tax · Art. 95bis LIRPF

Spain's Exit Tax: Planning Your Departure

Spain taxes unrealised capital gains when residents cease to be tax-resident and hold significant shareholdings. The exit tax can be deferred — but only with careful planning before you leave.

Book Free Consultation → 💬 WhatsApp Jacob

Article 95bis LIRPF: The Mechanics

Spain's exit tax — codified in Article 95bis of the Ley del IRPF — was introduced in 2015 following the European Court of Justice's rulings on capital mobility. It imposes tax on unrealised gains in shareholdings at the moment a Spanish tax resident ceases to be resident in Spain.

The tax is triggered when:

  • A Spanish tax resident has been resident in Spain for at least 10 of the last 15 tax years, and
  • Holds shares or participations with a total market value exceeding €4 million, or
  • Holds shares representing at least 25% of the capital of a single entity with a market value exceeding €1 million.

The tax base is the unrealised gain: the difference between the market value of the shares on the date of departure and their acquisition cost (adjusted basis). This gain is taxed at the savings income rates — 19% up to €6,000; 21% from €6,000 to €50,000; 23% from €50,000 to €200,000; 27% from €200,000 to €300,000; 28% above €300,000.

When Is the Tax Due?

If you move to another EU/EEA member state, you can request deferral of the exit tax until the shares are actually sold or you move to a non-EU country. This deferral requires annual reporting to the AEAT (Modelo 100). If you move directly to a non-EU/EEA country, the full exit tax is due in the tax return for the year of departure.

Key Numbers

  • Threshold 1: Total shareholding value > €4,000,000
  • Threshold 2: Single company shareholding >25% and value > €1,000,000
  • Minimum residency for exit tax to apply: 10 of last 15 years in Spain
  • EU/EEA departure: deferral available until actual sale
  • Non-EU departure: tax due in year of departure
  • Annual reporting: Modelo 100 required during deferral period

How to Manage the Exit Tax Before You Leave

The exit tax is not inevitable — but the window for meaningful planning closes when you become non-resident. Acting in advance is essential. The main strategies we use include:

Timing the Departure

If your shareholding value fluctuates significantly, the exit tax charge depends on the market value at the date of departure. Planning your departure for a period of lower valuation — for example, following a distribution that reduces retained reserves — can reduce the tax base materially.

Selling Shares Before Departure

Crystallising the gain while still a Spanish resident — paying capital gains at the savings income rates — and then departing avoids the exit tax entirely. This is only beneficial if the actual sale price is lower than the Spanish exit tax valuation, or where the exit tax deferral option is unavailable. We model both scenarios.

Restructuring Shareholdings

In some cases, restructuring the shareholding structure before departure — for example, through a holding company reorganisation — can alter whether the exit tax thresholds are met. These transactions must be structured carefully to avoid triggering anti-avoidance provisions under Article 89 LIRPF and the EU anti-avoidance rules.

Moving Within the EU First

Moving to another EU/EEA state first (where deferral is available) and then moving onward to a non-EU country resets the clock: the exit tax is triggered at the point of leaving the EU/EEA, but the valuation is based on the market value at that point — not at the original departure from Spain. This can be a useful planning tool where share values are expected to decline.

Frequently Asked Questions

I am leaving Spain to return to the US. Will the exit tax apply to my Spanish company shares?
If you have been resident in Spain for at least 10 of the last 15 years and your shareholding in your Spanish company exceeds €1 million in value with a 25%+ stake (or any shareholding exceeds €4M total), then yes — the exit tax applies. For a US-bound departure, deferral is not available. The unrealised gain on your shares will be included in your final Spanish IRPF return for the year of departure and taxed at savings income rates (19–28%). Advance planning before your last year of Spanish residency is essential.
Can I defer the exit tax if I move to the UK after Brexit?
Post-Brexit, the UK is no longer an EU/EEA member state. This means the EU/EEA deferral mechanism — which allowed the tax to be deferred until actual sale — is not available for UK-bound departures. The AEAT will require the exit tax to be settled in the year of departure. We advise on any remaining planning steps available before the departure date and on double tax treaty positions under the Spain-UK DTT.
What valuation method does Spain use for unlisted company shares?
For unlisted shares, Spain uses the higher of: (1) the theoretical book value per share (net assets divided by number of shares) based on the last approved balance sheet; (2) the capitalised value of the company's average profits for the last three years at a notional rate of 20%; or (3) the agreed transaction price if a sale is imminent. We can advise on the implications of each valuation method for your specific situation and on any steps that can be taken to influence the valuation base before departure.
I moved abroad 3 years ago and didn't know about the exit tax. What should I do?
If you were subject to the exit tax at the time of departure and did not declare it, you may have an outstanding compliance obligation. The AEAT can issue assessments for the exit tax within the general limitation period (4 years, or longer where fraud is involved). Voluntary regularisation — declaring and paying the tax before the AEAT identifies the issue — significantly reduces penalties and avoids potential criminal referrals. We advise on voluntary regularisation and, where possible, dispute the AEAT's valuation.

Book a Free Consultation

Use the form below or book directly via Calendly. Jacob responds within one business day.

Handled under GDPR. Used solely to respond to your enquiry.

📅 Or book on Calendly →
Disclaimer: Content on this page is for general informational purposes only and does not constitute legal or tax advice. Tax law changes frequently. Always seek qualified professional advice. SALAMA LEGAL SLP — Colegiado nº 11.294 ICAMálaga.
Ask a question