Most people who leave Spain after a period of residence never think about tax again once the moving boxes are packed. For the majority, that's perfectly fine — there's genuinely nothing further to consider. But for a specific group of departing residents, mainly business owners and significant investors, Spain's "exit tax" can be a real and easily overlooked liability that needs planning months in advance, not after the fact.
What Is Spain's Exit Tax?
Spain's exit tax (part of the "impuesto de salida" provisions within the personal income tax framework) is designed to tax unrealized capital gains on certain shareholdings when a long-term tax resident ceases to be a Spanish tax resident. In plain terms: if you own significant shares in a company and those shares have gone up in value while you were a Spanish resident, leaving Spain can trigger a tax bill on that increase in value — even though you haven't actually sold anything and haven't received any cash.
This is a fundamentally different concept from most tax people are used to, where tax is triggered by an actual sale or disposal. Here, the trigger is simply your change in tax residency.
Who Does This Actually Affect?
This is not a tax that touches the average departing resident. It's specifically aimed at individuals with substantial shareholdings, and the thresholds reflect that:
- It generally applies to individuals who have been Spanish tax residents for at least 10 of the last 15 years, and who hold shares valued at more than approximately €4 million, or
- Hold at least a 25% stake in a company where the shareholding is valued at more than approximately €1 million.
If you're an employee with a modest investment portfolio, a freelancer, or someone without significant company ownership, this tax simply isn't something you need to worry about. It's overwhelmingly relevant to founders, major shareholders, and high-net-worth investors.
How Is the Gain Calculated?
The exit tax calculates the difference between the acquisition cost of your qualifying shares and their market value at the point you cease to be a Spanish tax resident. That difference — the unrealized gain — is then subject to tax, generally at the rates applicable to savings income in Spain.
Because this relies on a market valuation at a specific point in time rather than an actual sale price, getting a defensible, well-documented valuation matters enormously, particularly for shares in private companies where market value isn't as straightforward as checking a stock ticker.
Relief for Moves Within the EU/EEA
Spain's rules include a meaningful relief for residents relocating to another EU or EEA member state (under certain conditions, including a framework for effective exchange of tax information between Spain and the destination country). In these cases, rather than paying the tax immediately upon departure, eligible taxpayers may be able to defer payment, effectively suspending the liability unless and until the shares are actually sold, or until certain other trigger events occur, or a set number of years passes.
This deferral option is a significant difference in practical impact for someone relocating to, say, Portugal or Ireland, compared to relocating to a non-EU/EEA country, where the tax is more likely to be due at the point of departure itself, without this deferral mechanism.
Why This Requires Real Planning, Not Last-Minute Attention
Because the trigger event is the change in tax residency itself, and because valuations of private company shares can take real time to prepare properly, this isn't something that can be sorted out in the final weeks before a move. Business owners planning to relocate — whether for lifestyle reasons, a new venture, or retirement — need to factor this into their timeline well in advance.
Some of the practical questions worth addressing early include:
- Do your shareholdings actually meet the relevant thresholds?
- If you're moving to an EU/EEA country, does the deferral relief apply to your specific situation?
- What would a defensible valuation of your shares look like, and how far in advance should that be prepared?
- Are there legitimate structuring options worth considering well before departure, rather than after residency has already changed?
Common Misunderstandings
"I haven't sold anything, so there's nothing to tax." This is precisely the assumption the exit tax exists to override for qualifying shareholders — the tax is specifically designed to capture value before it potentially "escapes" Spanish tax jurisdiction through a residency change.
"This applies to everyone who leaves Spain." It doesn't. The thresholds are specifically calibrated to catch significant shareholders, not typical departing residents.
"Moving within the EU means I don't owe anything." Not quite — it typically means you may be eligible to *defer* payment under specific conditions, not that the liability disappears entirely. If the shares are eventually sold, or certain other conditions apply, the deferred tax can still become payable.
"I can figure out the valuation later." Given how central the valuation is to the entire calculation, and how much scope there can be for disagreement over private company valuations, this is exactly the kind of detail worth getting right — and documented — well before it's needed.
What Business Owners and Major Investors Should Do
1. Determine early whether your shareholdings meet the relevant thresholds for exit tax to potentially apply. 2. If you're planning to relocate, identify the destination country and confirm whether EU/EEA deferral relief would be available to you. 3. Commission a proper valuation of relevant shareholdings well ahead of any planned departure, rather than scrambling for one after the fact. 4. Build the exit tax question into your overall relocation timeline, alongside immigration, banking, and other logistics — not as an afterthought. 5. Get advice specific to your structure, since company ownership can be organized in many different ways that affect how the rules apply.
For the vast majority of people leaving Spain, exit tax is a complete non-issue. But for founders and major shareholders, it's exactly the kind of liability that feels abstract right up until it's very real — and by then, the planning window has usually closed. If this could plausibly apply to you, it's worth a proper conversation months, not weeks, before you plan to go.
*This article is for general informational purposes and does not constitute tax or legal advice. Exit tax rules are complex and depend heavily on individual circumstances. For guidance specific to your situation, consult a qualified tax advisor before finalizing any relocation plans.*
Sources and references
This article was written by the CarWay Migrate legal team using the following official sources. Where figures or thresholds are mentioned, they reflect the rules in force at the time of writing:
- Ley 35/2006 del IRPF, art. 95 bis (impuesto de salida) — BOE
- Agencia Tributaria — residencia fiscal y convenios de doble imposición
Related reading
Need this reviewed for your own case? CarWay Migrate is a Spanish immigration and tax law firm working with English-speaking clients across Spain. Book a consultation and we will look at your specific situation.
This article is general information for 2026 and not individual legal or tax advice. Thresholds and rates set by the Agencia Tributaria, the Seguridad Social and the autonomous communities change; confirm current figures before acting.
Further English-language reading consulted while preparing this article: Movewise — leaving Spain and tax residency guides · Expatica Spain — taxes for expats · Balcells Group — Spanish tax and residency articles.


