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.
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 advisory process for managing Spanish exit tax exposure before departure
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.
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.
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.
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.
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.
Experienced team with local insight and international reach
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.
Annual deferral compliance
Annual AEAT notification management during the deferral period, with shareholding change monitoring and early payment trigger analysis.
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 guideYour 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 guideAgricultural 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 guideHow 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 guideBeckham 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 guideBeckham 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 guideAnalysis and perspectives
Frequently asked questions about Spain's exit tax (Art. 95 bis LIRPF)
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.
Request your diagnostic
You may also be interested in
Beckham Law / Impatriates
End-to-end management of Spain's special tax regime for inbound workers: eligibility, application, and optimisation.
Saber másFiscal Representation for Non-Residents in Spain
Fiscal representation for non-residents in Spain (Art. 10 LIRNR): mandatory for non-EU/EEA residents, Form 210/216/296 management, permanent establishment compliance, double taxation treaty rates, UK post-Brexit obligations.
Saber másNon-Resident Tax (IRNR)
Advisory and compliance for Spain's Non-Resident Income Tax for individuals and entities without Spanish tax residency.
Saber másTax Planning
Legal and efficient tax strategies to reduce your company's tax burden and protect your personal wealth.
Saber másWealth Tax & High Net Worth Planning
Planning for Spanish Wealth Tax (IP) and the Solidarity Tax on Large Fortunes (ITSGF): family business exemption, holding structures, Beckham Law interaction and exit tax.
Saber más