UK inheritance tax in Spain can affect British expats even after moving abroad. Learn how the 10-year rule, Spanish succession tax and unilateral relief can interact.

This is a div block with a Webflow interaction that will be triggered when the heading is in the view.
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.
Most British expats preparing to leave Spain assume the tax relationship simply switches off when they go, because they are:
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.
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 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.
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 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 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:
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.
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.
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:
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.
There is one significant piece of relief built into the rules, and it turns on where you are going.
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.
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 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.
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}}
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.
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.
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.
If you are reading this and thinking:
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.
The Spanish exit tax is not a trap for ordinary leavers.
It is a targeted rule for substantial shareholders:
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.
No. The exit tax under Article 95 bis only applies if you were Spanish tax resident for at least 10 of the previous 15 years and you hold large shareholdings, specifically shares worth more than EUR 4,000,000 or more than 25% of a company worth over EUR 1,000,000. Most people leaving Spain meet none of these and pay nothing.
It taxes the unrealised gain on qualifying company shares, as if you had sold them the day before you ceased to be Spanish tax resident. Nothing is actually sold, but Spain crystallises the paper gain and taxes it in the savings base at the 19% to 30% bands.
Almost certainly not. The exit tax targets substantial company shareholders, not pensions, homes or ordinary investment accounts. Unless you hold shares above the EUR 4,000,000 or 25% thresholds, the tax does not apply, though it is still worth confirming your position before you leave.
A move to the UK is now a move outside the EU and the EEA, so the immediate-payment rules would apply if you were in scope, rather than the deferral available for moves within the EU or EEA. The detailed mechanics should be confirmed with a specialist for your specific move.
Spain uses the market value of the shares on the day before you lost residency, compared with what you originally paid. For private company shares this valuation is complex and needs specialist support, and the exact figures should be confirmed rather than estimated.
Moving to another EU or EEA country does not remove the charge but defers the payment rather than demanding it on departure. The deferral comes with technical conditions and ongoing obligations that should be confirmed with a specialist.
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.
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.
The timing and destination of your move can matter when Spanish exit tax is potentially in play.

Article 95 bis is aimed at a relatively narrow group, but the potential liability can be substantial where it does apply.

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