Lifestyle Financial Planning

Spain Exit Tax: Who Pays When You Leave? €4M Rule Explained

Leaving Spain can have unexpected tax consequences for substantial shareholders. Spain’s Article 95 bis exit tax can bring unrealised gains into charge when certain long-term tax residents cease Spanish residency. The rules are narrow, with €4 million and 25% shareholding thresholds, but business owners and significant shareholders should check their position before departure.

Last Updated On:
August 25, 2026
About 5 min. read
Written By
Kelman Chambers
Written By
Kelman Chambers
Private Wealth Adviser
Table of Contents
Book Free Consultation
Share this article

Summary

Spain quietly operates an exit tax that can charge you on gains you have never actually banked. It only bites in narrow circumstances, but the people it targets, business owners and substantial shareholders, are often exactly the ones planning to leave. This article explains the three conditions that must all be met, how the charge is calculated, and why almost every retiree can breathe out once they have checked the numbers.

What This Article Helps You Understand

  • What the Spanish exit tax is and why Article 95 bis exists
  • Why all three conditions must be met before any charge applies
  • How the ten-of-the-last-fifteen-years residency test works
  • What the EUR 4,000,000 and 25% shareholding thresholds actually mean
  • How Spain values the unrealised gain as if you had sold the day before you left
  • Why the savings-income bands of 19% to 30% decide the size of the bill
  • How moving within the EU or EEA defers the payment
  • Why most British retirees in Spain are not affected but should still confirm

Why Leaving Feels Like the End of the Spanish Tax Story

Most British expats preparing to leave Spain assume the tax relationship simply switches off when they go, because they are:

  • Physically moving their home and their life somewhere else
  • Cancelling Spanish utilities, tenancies and direct debits
  • Telling everyone they are no longer resident
  • Expecting Spain to lose interest the moment they cross the border

In practice, that feels reasonable. It is also where the gap starts.

For most people it is broadly true. But Spain reserves the right, in narrow and specific circumstances, to treat your departure itself as a taxable event, charging you on gains you have never actually banked.

This article exists to explain the Spanish exit tax under Article 95 bis, exactly who it catches, how the charge is worked out, and why the vast majority of retirees can confirm in a single conversation that it does not touch them.

What the Spanish Exit Tax Actually Is

The Spanish exit tax, the impuesto de salida, sits in Article 95 bis of the personal income tax law, the LIRPF. It is a rule aimed at people who have built up large unrealised gains inside company shares while resident in Spain and then move away before selling.

The concern it addresses is straightforward from Spain's point of view. A substantial shareholder could spend years in Spain watching a holding grow in value, then relocate the day before a sale and argue that no Spanish tax is due because they were no longer resident when the gain was realised.

The exit tax closes that door. It treats your departure as if you had sold those shares the day before you ceased to be resident, and it taxes the paper gain accordingly. Nothing has actually been sold, but Spain crystallises the gain for tax purposes anyway.

The important word is unrealised. This is not a tax on money you have received. It is a tax on the increase in value of shares you still hold, brought forward to the moment you leave. That is what makes it feel so counterintuitive, and why it deserves to be understood before you move rather than after.

It is also worth being clear about what the exit tax is not. It is not a general wealth tax, it is not a charge on your home or your pension, and it is not a penalty for leaving. It is a specific anti-avoidance rule, designed to stop a particular manoeuvre, and it is written narrowly enough that it simply does not reach most people. Understanding that shape early is what turns a frightening rumour into a manageable check.

The Three Conditions That Must All Be Met

The single most reassuring fact about the exit tax is that three separate conditions must all be true before any charge arises. Miss one and the tax does not apply.

  • You cease to be Spanish tax resident
  • You were Spanish tax resident for at least 10 of the previous 15 years
  • Your shareholdings are large enough to cross one of two value thresholds

The first condition applies to anyone leaving, so on its own it means nothing. The other two are where the tax lives, and they are deliberately narrow.

This is why the honest headline for most readers is a calm one. The exit tax is a rule for substantial, long-standing shareholders, not for the ordinary British expat who moved to Spain to retire and is now moving on. But narrow is not the same as never, and the only way to be sure is to test yourself against each condition in turn.

{{INSET-CTA-1}}

The Ten-of-Fifteen-Years Residency Test

The first substantive gate is time. The exit tax only applies if you were Spanish tax resident for at least 10 of the previous 15 years before you leave.

This is a genuine long-stay test. It is designed to catch people who have made Spain their real base for the best part of a decade or more, not those who spent a handful of years there and then returned home or moved on.

For a British expat who arrived, say, five or six years ago, this condition alone takes the exit tax off the table. You simply have not been resident long enough for Article 95 bis to reach you, regardless of how valuable your shares are.

For longer-established residents, the test is worth checking carefully, because Spanish residency can accrue in ways people do not always track. The way **_the _**year you formally cease to be a Spanish resident is fixed can matter here, since residency runs for a whole calendar year and does not stop the moment you physically leave. If you are close to the ten-year mark, the precise count of qualifying years is something to confirm rather than assume.

There is a planning point buried in this test. Because it looks back over fifteen years and asks whether you were resident for ten of them, someone who is only just crossing the ten-year line may find that the exact year of departure is what tips them into or out of scope. That is a rare situation, but for a large shareholder who is close to the boundary, it is exactly the kind of detail that repays a careful count before the calendar makes the decision by default.

The Shareholding Thresholds That Trigger It

The second substantive gate is size, and this is where most people fall comfortably outside the tax. The charge only applies if your shareholdings cross one of two thresholds:

  • The market value of your shares or units exceeds EUR 4,000,000, or
  • You hold more than 25% of a company that is worth over EUR 1,000,000

Either limb can trigger the tax, but both are aimed at genuinely substantial holdings. The EUR 4,000,000 route is about the sheer scale of a portfolio of shares. The 25% route is about control, catching someone who owns a meaningful slice of a company that is itself worth more than a million euros.

Put plainly, this is a rule for company founders, significant business owners and large private shareholders. Someone whose wealth sits mainly in a pension, a Spanish home and a diversified investment account is usually nowhere near these limits.

It is worth stressing that the thresholds look at the value of the shares, not at the gain. So the first question is always whether your holding is large enough to be in scope at all. If it is not, the exit tax stops there and the rest of the mechanics never apply to you.

The two limbs also catch different profiles of person. The EUR 4,000,000 test can reach someone with a large but widely spread portfolio of listed shares, even if no single holding is dominant. The 25% test can reach someone with a much smaller headline fortune, because it is about control of a private company rather than the raw size of a portfolio. A founder holding a third of a family business worth a couple of million euros can be in scope even though they would never think of themselves as a multi-millionaire investor. That is why both limbs need checking, not just the one that first comes to mind.

How the Unrealised Gain Is Calculated

If all three conditions are met, Spain then works out the gain as if you had sold the qualifying shares the day before you lost Spanish residency.

The gain is the difference between what the shares were worth on that notional sale date and what you originally paid for them. Because nothing has actually changed hands, the market value has to be established, and for private company shares that valuation is rarely straightforward.

This is the point at which the tax stops being abstract. A founder who built a company from nothing may be sitting on an enormous paper gain, all of which is brought into charge at once, even though no cash has come in to pay the bill. That mismatch between a taxable gain and an empty bank account is the sharpest edge of the whole regime.

Because the valuation drives everything, this is firmly a specialist area. How a private company is valued, what base cost can be substantiated, and how the numbers are evidenced to Hacienda all need professional handling, and the exact figures in any real case should be confirmed with a specialist before you rely on them.

How the Charge Is Taxed: The Savings Bands

The crystallised gain is taxed in the Spanish savings base, the same set of bands that apply to interest, dividends and ordinary capital gains. Those bands are:

  • 19% on the first EUR 6,000 of gain
  • 21% between EUR 6,001 and EUR 50,000
  • 23% between EUR 50,001 and EUR 200,000
  • 27% between EUR 200,001 and EUR 300,000
  • 30% on anything above EUR 300,000

For the size of holding that triggers the exit tax, most of the gain will sit in the top bands, so an effective rate close to 30% is a realistic planning assumption. On a multi-million-euro paper gain, that is a very large number to face without a sale behind it.

These savings rates are uniform across Spain, so unlike general income tax there is no regional variation to plan around. The number is what it is, which is exactly why the planning has to happen before the departure date, not after.

The cash-flow problem deserves a second mention, because it is what makes the exit tax genuinely painful rather than merely inconvenient. A normal capital gains bill arrives alongside the sale proceeds that pay it. Here there are no proceeds. The tax lands while the shares, and their value, stay exactly where they were, which means the money to pay it has to come from somewhere else entirely.

Why Moving Within the EU or EEA Changes the Timing

There is one significant piece of relief built into the rules, and it turns on where you are going.

  • Move to another EU or EEA country and the payment of the exit tax is deferred rather than demanded immediately
  • Move outside the EU or EEA and the charge is due straight away

The deferral for EU and EEA moves reflects European rules on freedom of movement. Spain cannot make relocating within the bloc prohibitively expensive at the point of departure, so it holds the charge over rather than collecting it on the way out.

This matters enormously for planning. A British expat returning to the UK is now moving to a country outside the EU and the EEA, so the immediate-payment position is the relevant one for a UK-bound move, whereas a move to, say, Ireland or another EEA state would fall on the deferral side. The precise conditions and ongoing obligations attached to any deferral are technical and should be confirmed with a specialist, because they can include reporting requirements and events that bring the deferred charge back into payment.

Why Most Retirees Are Not Caught

For the typical British retiree in Spain, the exit tax is a false alarm, and it helps to say plainly why.

Retirement wealth is usually held in forms the exit tax does not target. A UK pension, a Spanish or UK home, ISAs, general investment accounts and cash deposits are not the concentrated company shareholdings that Article 95 bis is written for.

Even a retiree with a healthy investment portfolio will often fall well short of the EUR 4,000,000 share threshold, and is very unlikely to hold more than a quarter of a single company worth over a million euros. Without crossing one of those thresholds, the tax never engages, no matter how long they have lived in Spain.

So the reassuring message for most readers is real, not hollow. If your wealth looks like a retirement, rather than like a controlling stake in a business, the exit tax is almost certainly not your concern. The one caveat is that almost certainly is not the same as certainly, which is why a quick check still earns its place on the leaving checklist.

The place to be a little more careful is the person who sits somewhere between the two pictures. Someone who sold a UK business a few years ago and reinvested the proceeds into a concentrated shareholding, or who kept a large stake in a former employer, may have a retirement lifestyle but a shareholder balance sheet. For that person the honest answer is not a shrug but a proper look at the numbers, because the exit tax reads the shares, not the lifestyle.

The Business Owners and Founders Who Are

The people who genuinely need to plan around the exit tax are the ones who often assume they can leave freely, because their wealth is tied up rather than liquid.

  • Founders of companies that have grown substantially in value during their Spanish residency
  • Shareholders holding more than 25% of a private company worth over EUR 1,000,000
  • Individuals whose share portfolios exceed EUR 4,000,000 in market value
  • Long-standing residents at or beyond the ten-year mark who also hold large stakes

For this group, the timing and structure of a departure can be worth a very large sum. Leaving before or after a valuation event, an investment round or a sale can change the exposure completely, and the direction of the move, inside or outside the EEA, decides whether any charge is deferred or demanded up front.

This is not a situation to navigate on assumptions. It sits at the intersection of Spanish tax, company valuation and the mechanics of your move, and it interacts with settling your final Spanish tax return before you go as well as with the treaty. It is precisely the kind of decision where advice taken early pays for itself many times over.

{{INSET-CTA-2}}

Where the Exit Tax Interacts With the Rest of Your Departure

The exit tax does not sit in isolation. It is one part of a wider set of steps that a clean departure from Spain involves, and they connect.

Ceasing residency correctly, filing a final Spanish return, closing your foreign-asset reporting position and, for the small group in scope, dealing with the exit tax are all pieces of the same exit. Get the sequence wrong and one part can complicate another.

For example, the residency count that decides the ten-of-fifteen-years test is the same residency picture that determines when your Spanish tax obligations actually end. And whether both Spain and your new country claim you in the year of the move is a question that how the treaty decides which country can tax you ultimately resolves.

The practical takeaway is that the exit tax should be checked as part of a joined-up leaving plan, not treated as a standalone worry. For most people that check is quick and comforting. For a few it is the single most important number in the whole move.

How Professional Planning Support Actually Fits

The exit tax is an area where advice is worth taking early, because the decisions are front-loaded and hard to reverse once you have gone.

  • Scope screening: confirming quickly whether you meet the ten-year and threshold conditions, so most people can rule the tax out with confidence.
  • Valuation support: working with the right specialists to establish and evidence the market value of private shares if you are in scope.
  • Timing strategy: planning the departure date around valuation events and the tax year so nothing is crystallised by accident.
  • Route analysis: weighing whether an EU or EEA destination changes your position through the deferral rules.
  • Coordination: joining the exit tax up with your final Renta, your foreign-asset reporting and your treaty position.

The value is not in reciting the thresholds. It is in getting a clear answer on whether they apply to you, and in structuring the move so a small group of people do not face an avoidable charge on gains they have never received.

The Soft But Decisive Next Step

If you are reading this and thinking:

  • I own a business or a large shareholding and I am planning to leave Spain
  • I have lived in Spain for close to a decade and I am not sure how the count works
  • I want to know whether my move triggers a charge before I commit to a date
  • I think I am probably fine, but I would rather confirm it than assume it

then the sensible next step is a short, no-pressure conversation before you fix your departure date.

You do not need every figure first. You need to know whether the exit tax is even in play for you, because that single answer changes how carefully the rest of the move has to be timed.

Final Takeaway

The Spanish exit tax is not a trap for ordinary leavers.

  • It is not a charge on everyone who moves away from Spain
  • It is not a tax on pensions, homes or ordinary investment accounts
  • It is not something most retirees ever need to pay

It is a targeted rule for substantial shareholders:

  • It only bites after 10 of the previous 15 years as a resident
  • It only reaches shares worth over EUR 4,000,000, or a stake above 25% in a company worth over EUR 1,000,000
  • It taxes an unrealised gain at savings rates of up to 30%, deferred within the EEA

For most British expats leaving Spain, the exit tax ends the way this article began, as a worry that dissolves once the numbers are checked. For a small and important minority, it is the reason to plan the departure with real care, and to check the position before the calendar decides it for you.

Key Points to Remember

  • The exit tax sits in Article 95 bis LIRPF and is triggered when you cease Spanish tax residency.
  • It only applies if you were Spanish tax resident for at least 10 of the previous 15 years.
  • It only applies if your shares are worth more than EUR 4,000,000, or you hold more than 25% of a company worth over EUR 1,000,000.
  • It taxes the unrealised gain on those shares as if you had sold them the day before you left.
  • The gain is taxed in the savings base at the 19% to 30% bands.
  • Payment is deferred when you move to another EU or EEA country and immediate when you move outside it.
  • The charge targets substantial shareholders, so most retirees living on pensions and property are outside it.
  • Because the thresholds are high and specific, everyone leaving should confirm their exact position before departure.

FAQs

Does everyone leaving Spain have to pay an exit tax?
What does the Spanish exit tax actually tax?
I am a retiree with a pension and a home in Spain. Am I affected?
Do I pay the exit tax immediately if I move to the UK?
How is the gain valued if I have not sold anything?
Can moving within the EU reduce the exit tax?
Written By
Kelman Chambers
Private Wealth Adviser

Kelman holds the prestigious Level 6 Chartered Financial Planner qualification from the CII in the U.K. and the EFPA European Financial Planner qualification, demonstrating his commitment to the highest standards of professional expertise across both the U.K. and Europe.

Specialising in investments and tax & intergenerational wealth management, Kelman stays at the forefront of cross-border tax planning and wealth transfer strategies. His expertise ensures that clients are not only optimising their wealth today but also planning for future generations in the most tax-efficient way.

Disclosure

This article is for information purposes only and does not constitute financial advice. Financial planning outcomes depend on individual circumstances, residency, tax status, and objectives. Professional advice should always be sought before making financial decisions.

Could Spain Tax Your Shares When You Leave?

If you own a business or substantial shareholding, a quick review before departure can help establish whether Article 95 bis applies.

  • Check your 10-of-15-year Spanish residency position
  • Test your holdings against the €4 million and 25% thresholds
  • Identify whether unrealised gains could be taxable
  • Understand the potential tax exposure before you set your departure date

First Name
Last Name
Phone Number
Email
Reason
Select option
Nationality
Country of Residence
Tell Us About Your Situation

Could Spain Tax Your Shares When You Leave?

If you own a business or substantial shareholding, a quick review before departure can help establish whether Article 95 bis applies.

  • Check your 10-of-15-year Spanish residency position
  • Test your holdings against the €4 million and 25% thresholds
  • Identify whether unrealised gains could be taxable
  • Understand the potential tax exposure before you set your departure date

Request A Call Back

First Name
Last Name
Phone Number
Email
Reason
Select option
Nationality
Country of Residence
Tell Us About Your Situation
Book A Call
Skybound Wealth right arrow icon yellow