What is the exit tax in Spain?
Technically, the exit tax is not an autonomous tax. It is a special rule provided for in Article 95 bis of Law 35/2006, of 28 November, on Personal Income Tax (LIRPF), which brings forward the taxation of certain latent capital gains when Spain will lose its future ability to tax them.
Requirements for the application of the exit tax in Spain
The exit tax is not triggered merely by leaving Spain, filing a deregistration notice or obtaining a tax residence certificate issued by another State. Three requirements must be met simultaneously:
a) The individual must lose their status as a Personal Income Tax taxpayer as a result of the change of residence. In other words, the taxpayer must no longer meet the residence criteria under Article 9.1 LIRPF: physical presence, centre of vital economic interests, or the presumption relating to a non-separated spouse and minor children residing in Spain.
b) The individual must have been a Personal Income Tax taxpayer for at least ten of the fifteen tax periods preceding the last tax period to be declared for this tax.
c) One of the valuation thresholds provided for in the legislation must be met.
In relation to the valuation thresholds, the regime applies where:
- the aggregate market value of the shares or interests exceeds EUR 4,000,000; or
- if that amount is not reached, the taxpayer holds more than 25% in an entity and the market value of that holding exceeds EUR 1,000,000. In this second case, only the gain corresponding to the holdings that meet both requirements is affected.
In addition, changes of tax domicile are among the areas of attention of the Tax Authorities under the 2026 Tax Control Plan.
Which assets are affected by the exit tax?
The exit tax does not apply to the taxpayer’s entire estate. Its scope is limited to shares and interests representing participation in the equity of entities.
Therefore, the main assets affected are listed or unlisted shares, holdings in family businesses, interests in foreign companies or in collective investment undertakings, provided that the statutory thresholds are met.
How is the latent capital gain calculated?
The exit tax attributes a capital gain arising from the latent gain of the taxpayer who transfers their tax residence.
As a general rule, this capital gain is determined by the positive difference between the market value of the shares or interests and their acquisition value.
The valuation is carried out on the accrual date of the last tax period in which the taxpayer must file Personal Income Tax in Spain.
The capital gain is included in the savings tax base, which for the 2025 tax year is taxed at rates between 19% and 30%, and is allocated to that last period in which the taxpayer must be taxed under Personal Income Tax.
Transfer to the European Union or the European Economic Area
Where the transfer is made to a Member State of the European Union or the European Economic Area with effective exchange of information, the taxpayer may opt for a special deferral regime.
This regime allows the capital gain to remain suspended for a further ten tax years, instead of being taxed immediately on that latent gain.
The tax liability may be triggered, among other cases, if:
- the holdings are transferred inter vivos;
- the taxpayer ceases to reside in the European Union or in the European Economic Area;
- the taxpayer fails to comply with the communication obligations relating to the continued ownership of the shares or interests and tax residence in an EU/EEA State.
Main controversies: liquidity, valuation and double taxation
The exit tax, as a tax mechanism intended to secure taxation of certain latent capital gains, has not been free from controversy for obvious reasons: the taxpayer may be required to pay tax on an increase in value or capital gain that has not yet materialised and that may, in fact, never effectively materialise.
Its compatibility with European Union law has been litigated before the Court of Justice of the European Union in cases such as Lasteyrie du Saillant (C-9/02), National Grid Indus (C-371/10), Wächtler (C-581/17) and Commission (C-581/17).
Ultimately, it has been held that, provided the exit State allows payment of the capital gain to be deferred when the transfer is made to an EU/EEA country or to a State with which there is a free movement agreement, and no automatic or disproportionate guarantees are required, the exit tax is compatible with European Union law and, in particular, with the principle of free movement of persons.
However, the possibility of double taxation is not expressly addressed. One State may tax the latent gain at the time of departure, while the new State of residence may later tax the gain when the shares or interests are actually sold.
If the destination State does not recognise the value used in Spain as the new acquisition value, the same economic increase in value may be taxed in both countries. Double tax treaties do not always correct this double taxation.
What happens if the taxpayer becomes resident in Spain again?
If the individual recovers Spanish tax residence without having transferred the holdings, the LIRPF allows, in certain cases, the taxation to be rendered ineffective or the amounts paid under the exit tax to be refunded.
This rule reflects the purpose of the regime: to tax the capital gain when Spain may definitively lose the authority to do so, rather than penalising temporary relocations or situations in which the taxpayer again becomes subject to Spanish Personal Income Tax.
Conclusion: planning before changing tax residence
As with any efficient tax planning exercise, the analysis should not begin once the relocation has already taken place, but before the loss of Spanish tax residence occurs.
In practice, it will be necessary to review the taxpayer’s residence history, identify the affected holdings, properly document their acquisition value and determine their market value in accordance with the applicable rules.
The destination jurisdiction must also be analysed, as it will determine the possibility of deferring taxation, the communication obligations and the potential risk of double taxation on a future transfer.
Prior planning therefore makes it possible not only to estimate the tax cost of departure, but also to anticipate valuation and liquidity issues, comply properly with formal obligations and coordinate Spanish taxation with that of the new State of residence.