Skip to content

Exit Tax: Planning Your Departure from Spain Before Latent Gains Crystallise

Spanish exit tax (Art. 95 bis LIRPF): €4M shareholding threshold, 10-year fiscal residence condition, EU/EEA 10-year automatic deferral, third-country 5-year deferral with guarantees, interaction with Beckham regime.

€4,000,000
Shareholding value threshold triggering Spanish exit tax (Art. 95 bis LIRPF)
10 years
EU/EEA deferral period — automatic, no guarantees required (Art. 95 bis.6 LIRPF)
28%
Maximum savings income rate applicable to exit tax gains (2026 rate)
4.8/5 on Google · 50+ reviews 25+ years experience 5 offices in Spain 500+ clients
Quick assessment

Does this apply to your business?

Does the value of my shareholdings exceed €4M, and have I been a Spanish tax resident for 10 of the last 15 years?

Am I moving to an EU/EEA country (10-year automatic deferral) or a third country (5-year deferral requiring guarantees)?

Have my years under the Beckham impatriate regime been correctly counted — or excluded — from the 10-year residency threshold?

Is restructuring the shareholding below the threshold before departure more efficient than paying or deferring the exit tax?

0 of 4 questions answered

Our approach

Our advisory process for managing Spanish exit tax exposure before departure

01

Exit tax eligibility and exposure quantification

We determine whether the exit tax applies — shareholding thresholds (>€4M OR ≥25% in a company worth >€1M), 10-year Spanish fiscal residence condition, interaction with Beckham regime years. We quantify the latent gain exposure across all qualifying shareholdings and estimate the exit tax liability.

02

Destination planning — EU/EEA vs. third countries

For EU/EEA moves, Art. 95 bis.6 provides an automatic 10-year deferral of the exit tax without the need to provide guarantees. The taxpayer declares the latent gains in the year of departure but payment is deferred. For third-country moves, a 5-year deferral is available but requires providing sufficient guarantees to the AEAT. We assess the deferral conditions and guarantee requirements for the specific destination.

03

Shareholding restructuring and timing analysis

Where the exit is not immediate, we analyse whether restructuring the shareholding below the threshold — through donations, partial sales, or reorganisations — before the change of residence would be more efficient than paying or deferring the exit tax. We model the total tax cost of each alternative.

04

Annual deferral compliance

During the deferral period (up to 10 years for EU/EEA, 5 years for third countries), the taxpayer must notify the AEAT annually of the deferred liability and any changes in the shareholding that could trigger early payment or extinction of the deferred tax. We manage the annual compliance throughout the deferral period.

The challenge

Spain's exit tax (Art. 95 bis LIRPF) taxes the unrealised gains on shareholdings when a tax resident changes fiscal residence — even before the shares are sold. The threshold is lower than many people realise (shareholdings worth more than €4M, or a ≥25% stake in a company worth more than €1M), and the 10-year Spanish fiscal residence condition means many long-term residents are caught by surprise when they decide to relocate. Without pre-departure planning, the entire latent gain must be declared and, outside the EU/EEA, paid before leaving.

Our solution

We advise individuals and families on the Spanish exit tax from the earliest possible stage: eligibility analysis (thresholds, 10-year residence condition), planning for EU/EEA moves (automatic 10-year deferral without guarantees under Art. 95 bis.6), third-country moves (5-year deferral with guarantees), interaction with the Beckham regime, and long-term strategies to restructure shareholdings or time the change of residence to minimise the exit tax cost.

Spain's exit tax (impuesto de salida, Art. 95 bis of Law 35/2006, LIRPF) taxes the unrealised capital gains on qualifying shareholdings when a Spanish tax resident changes their fiscal residence to another country. The exit tax applies to individuals who: (1) have been Spanish tax residents for at least 10 of the 15 tax periods immediately preceding the year of departure; and (2) hold shareholdings whose total market value exceeds €4M, OR hold ≥25% in a company whose total value exceeds €1M. The latent gain is taxed at the savings income rates under Art. 66 LIRPF (up to 28% from 2026). For moves to EU/EEA member states, Art. 95 bis.6 provides an automatic 10-year payment deferral without guarantees; for third-country moves, Art. 95 bis.5 provides a 5-year deferral conditioned on the provision of guarantees to the AEAT. The interaction with the Beckham Law impatriate regime (Art. 93 LIRPF) regarding the counting of Beckham-regime years towards the 10-year residency threshold is an area of ongoing interpretative uncertainty that requires case-specific analysis.

We advise on exit tax planning from the earliest possible stage — ideally years before the planned change of residence — to identify and implement the strategies that minimise the exposure while maintaining the commercial substance of the shareholding structures.

Why Spain’s Exit Tax Catches Long-Term Residents by Surprise

The most common surprise is the €4M threshold applied to the total market value of all qualifying shareholdings combined — not to the gain on any individual holding. An entrepreneur who has built a company from zero to a €4M+ valuation over ten years of Spanish tax residence will trigger the exit tax on the full latent gain in the year of departure, even if the shares have never been sold and no cash has been received.

The 10-of-last-15-years residency condition catches people who have been genuinely long-term Spain-based: founders who established their company in Spain, executives who relocated to Spain early in their careers, and international professionals who settled in Spain for a decade. The condition is not “permanent residence” — ten years out of the last fifteen is a lower bar than many people expect.

The Beckham regime interaction adds another layer of complexity for former impatriates. If the taxpayer spent years in Spain under Art. 93 LIRPF (Beckham Law), those years may or may not count towards the 10-year residency threshold for exit tax purposes, depending on the interpretation of the residency concept in each provision. We analyse this question individually for each client.

Our Advisory Process for Managing Spanish Exit Tax Exposure Before Departure

We engage as early as possible — ideally two to three years before the planned change of residence. The earlier the engagement, the more restructuring options are available. We begin with a full exposure analysis: all qualifying shareholdings (listed and unlisted), current market valuations, acquisition costs, latent gain computation, 10-year residency assessment (including Beckham years), and an estimated exit tax liability under current rates.

We then model the alternatives: EU/EEA deferral (10 years, automatic, no guarantees), third-country deferral (5 years, with guarantees), partial sale or donation strategies to reduce below the threshold, and timing strategies that take advantage of shareholding value fluctuations. For illiquid shareholdings in unlisted companies, the guarantee requirement for third-country deferrals is often the most complex element — we identify available guarantee structures and negotiate with the AEAT where necessary.

Annual compliance during the deferral period covers the required AEAT notifications, monitoring of shareholding changes that could trigger early payment, and — for EU/EEA deferrals approaching the 10-year limit — analysis of whether the deferred liability will be extinguished or must be paid.

Regulatory Framework: Art. 95 bis LIRPF — Thresholds, Deferral Rules, and the EU/EEA Automatic Deferral

Art. 95 bis.1 LIRPF defines the triggering conditions (10 of 15 years residency, €4M threshold or ≥25%/€1M). Art. 95 bis.3 establishes the computation method for the latent gain. Art. 95 bis.4 specifies the valuation rules for unlisted companies. Art. 95 bis.5 provides the third-country 5-year deferral with guarantees. Art. 95 bis.6 provides the EU/EEA 10-year automatic deferral without guarantees. Art. 95 bis.9 establishes the refund right where shares are subsequently sold below the exit tax valuation.

The CJEU and Spanish courts have addressed the compatibility of exit tax regimes with EU freedom of movement — the automatic EU/EEA deferral in Art. 95 bis.6 was introduced precisely to comply with EU law. Moves to non-EU countries are not protected by EU freedom of movement and the guarantee requirement is legally defensible under WTO and bilateral investment treaty frameworks.

Real Results in Exit Tax Planning and Deferral Management

  • Quantified exit tax exposure for high-net-worth individuals and entrepreneurs before planned changes of residence, with modelling of all available strategies.
  • Shareholding restructuring strategies that reduced qualifying shareholding values below the €4M threshold before departure, eliminating or substantially reducing the exit tax liability.
  • EU/EEA deferral management with annual AEAT compliance throughout the 10-year period.
  • Third-country deferral structures with bank guarantee arrangements for shareholders moving to the UK, US, UAE, and other non-EU jurisdictions.
  • Beckham-regime interaction analysis for former impatriates assessing the correct counting of their years towards the 10-year residency threshold.
Track record

Real results in exit tax planning and deferral management

I was planning to relocate from Madrid to Dubai with shareholdings in two tech companies worth €8M combined. BMC quantified my exit tax exposure at over €1.1M, modelled the alternatives — including a partial gift to my spouse before departure — and ultimately restructured the shareholding so that only €3.2M fell above the threshold. The combined planning reduced the exit tax from €1.1M to €310,000, with the remainder deferred under the third-country 5-year rule pending guarantee provision.

Fernández Tech Holdings
Entrepreneur

Experienced team with local insight and international reach

What you get

What our exit tax advisory service includes

Exit tax exposure analysis

Shareholding threshold check, latent gain quantification, 10-year residency condition assessment, Beckham interaction analysis.

Destination planning — deferral optimisation

EU/EEA automatic 10-year deferral vs. third-country 5-year deferral with guarantee assessment and structuring.

Shareholding restructuring strategies

Modelling of partial sale, donation, and reorganisation alternatives to reduce exposure below the threshold before departure.

Annual deferral compliance

Annual AEAT notification management during the deferral period, with shareholding change monitoring and early payment trigger analysis.

Guides

Reference guides

The Germany–Spain business corridor, with advisors who know both sides

integrated advisory for German companies operating or establishing in Spain: corporate structuring, bilateral tax planning, transfer pricing, employment management and regulatory compliance with a bilingual DE/EN team.

View guide

Your American company in Spain: the right structure from day one

integrated advisory for US companies establishing or operating in Spain: entity structuring, transfer pricing, FATCA compliance, Beckham Law for US executives and US-Spain tax treaty optimisation.

View guide

Agricultural tax in Spain — the specialist regime most generalist advisors get wrong

Spain agricultural tax 2026: objective estimation modules, IRPF exemptions, VAT regime for farmers, and AEAT compliance calendar. Free consultation with BMC.

View guide

How much does it cost to apply for the Beckham Law in Spain? Fees and cost variables

Fee ranges for processing the Spanish impatriate special regime (Beckham Law). What is included, which variables determine the price, and when the regime is worth applying for.

View guide

Beckham Law in Marbella — pay 24% income tax for up to five years on the Costa del Sol

Beckham Law advice in Marbella for expats, remote workers and professionals relocating to the Costa del Sol. Flat 24% tax rate for up to five years. Application, management and optimisation.

View guide

Beckham Law Spain 2026 — pay a flat 24% tax rate in Spain for up to six years

Beckham Law Spain 2026 guide: 24% flat tax rate, Modelo 149 deadline, family extension, digital nomad eligibility, and how BMC handles your full application.

View guide

Service Lead

Lucia Mendez Ortega

Associate - Tax Division

Master in Tax Advisory, ICADE Law Degree, University of Salamanca
FAQ

Frequently asked questions about Spain's exit tax (Art. 95 bis LIRPF)

Spain's exit tax (impuesto de salida, Art. 95 bis of Law 35/2006, LIRPF) taxes the unrealised gains on qualifying shareholdings when a Spanish tax resident changes their fiscal residence. It applies when: (1) the total market value of qualifying shares exceeds €4M, OR (2) the taxpayer holds ≥25% of a company whose total value exceeds €1M. Both conditions are applied at the date of departure from Spanish fiscal residence. The tax applies only to individuals who have been Spanish tax residents for at least 10 of the last 15 years — so relatively recent arrivals are typically not affected.
The exit tax is charged at the savings income rates under Art. 66 LIRPF: 19% (first €6,000), 21% (€6,000–€50,000), 23% (€50,000–€200,000), 27% (€200,000–€300,000), 28% (above €300,000, from 2026). The latent gain is the difference between the market value of the shares at the date of departure and their acquisition cost (adjusted for any capital increases and previous partial sales). For unlisted companies, the market value is the higher of book value, capitalised earnings value (€1 of earnings × (1/tax-adjusted profit rate)), and the nominal value of the shares.
Under Art. 95 bis.6 LIRPF, taxpayers who move to another EU or EEA member state (with which Spain has an exchange of information agreement) benefit from an automatic 10-year deferral of exit tax payment. No guarantees are required. The taxpayer declares the latent gains in the year of departure (in the Modelo 100 for that year) but the payment is deferred. The deferred tax crystallises and becomes payable if the shares are sold during the deferral period, if the taxpayer moves from the EU/EEA to a third country, or if the 10-year period expires. If the shares are still held after 10 years, the deferred tax is extinguished.
For moves to third countries outside the EU/EEA, the deferral available under Art. 95 bis.5 LIRPF is 5 years (rather than 10). However, unlike the automatic EU/EEA deferral, the 5-year third-country deferral requires the taxpayer to provide guarantees (aval bancario, hipoteca, fianza, or other security accepted by the AEAT) for the full amount of the deferred tax. The provision of guarantees can itself be a planning challenge, particularly for illiquid shareholdings where the guarantee must be provided against illiquid assets. Following Brexit, moves to the UK are treated as third-country moves, with the 5-year deferral and guarantee requirement.
Taxpayers who have spent years as Spanish tax residents under the Beckham Law impatriate regime (Art. 93 LIRPF) may not have those Beckham-regime years counted towards the 10-year Spanish fiscal residence threshold for exit tax purposes. Since the Beckham regime opts out of standard Spanish fiscal residency rules for income tax purposes, there is a legal argument that Beckham-regime years do not count towards the 10-of-last-15-years residency condition. The precise interaction depends on the specific circumstances and is an area of continuing interpretative uncertainty that we analyse on a case-by-case basis.
Yes, in some cases. If the total value of qualifying shareholdings can be brought below the €4M threshold (or the ≥25% / >€1M threshold) before the change of residence — through partial sales, donations (with their own tax implications), or reorganisations — the exit tax does not apply. However, the restructuring itself may generate capital gains or gift tax liability that must be weighed against the exit tax exposure. We model the full tax cost of each alternative to determine the optimal strategy.
If the shares on which exit tax was charged are subsequently sold at a market price lower than the value used to compute the exit tax at departure, the taxpayer can request a refund or reduction of the exit tax paid. Under Art. 95 bis.9 LIRPF, the refund right arises when: (1) the shares are sold and the sale price is lower than the exit tax valuation; or (2) the taxpayer returns to Spanish fiscal residence within the deferral period without having sold the shares, in which case the deferred exit tax liability is extinguished.
First step

Start with a free diagnostic

Our team of specialists, with deep knowledge of the Spanish and European market, will guide you from day one.

Exit Tax — Spanish Latent Gains Tax on Departure

Tax

First step

Start with a free diagnostic

Our team of specialists, with deep knowledge of the Spanish and European market, will guide you from day one.

25+
years experience
5
offices in Spain
500+
clients served

Request your diagnostic

We respond within 4 business hours

Or call us directly: +34 910 917 811

First step

Start with an initial diagnosis

Our team of specialists, with deep knowledge of the Spanish and European market, will guide you from day one. No cost, no obligation.

25+

years of experience

15

offices in Spain

500+

clients served

Request your diagnosis

We respond within 4 business hours

Or call us directly: +34 910 917 811

Call Contact