Jacob Salama Tax Lawyer Spain
Jacob SalamaInternational Tax Lawyer · Spain
Exit Tax

Spanish Exit Tax: A Complete Overview of Article 95bis LIRPF

May 2026 Jacob Salama 12 min read

Introduction: Spain's Departure Tax in Context

When a Spanish tax resident decides to leave the country permanently — whether to retire abroad, to accept an international posting, or to restructure their affairs following the expiry of the Beckham Law regime — they may find themselves subject to a charge that has no equivalent in many other legal systems: the Spanish exit tax, formally codified in Article 95bis of the Ley 35/2006 del Impuesto sobre la Renta de las Personas Físicas (LIRPF) (see official BOE text of Art. 95bis). Introduced into Spanish law by Ley 26/2014, with effect from 1 January 2015, the exit tax represents Spain's mechanism for taxing unrealised capital gains that have accrued during the period of Spanish tax residency but have not yet been crystallised by an actual disposal.

The underlying policy rationale is straightforward: Spain wishes to tax value that was created within its jurisdiction. Without an exit charge, a taxpayer who spent twenty years accumulating wealth in Spain could simply relocate to a low-tax jurisdiction, sell their holdings the day after departure, and pay no Spanish tax on the gain that accrued during the entire period of residency. Article 95bis is the legislative response to that concern, and it applies regardless of the destination country — whether the taxpayer is moving to another EU Member State, to the United Kingdom, to the United States, or to any other jurisdiction.

The practical importance of Article 95bis has grown significantly as the number of internationally mobile individuals resident in Spain has increased. The expansion of the Beckham Law regime following the Ley de Startups (Ley 28/2022), which brought new categories of workers and investors to Spain, means that there is now a large and growing population of individuals who will, at the end of their six-year Beckham period, either remain in Spain as general IRPF taxpayers or depart — and those who depart need to understand what Article 95bis means for their portfolio.

The Statutory Trigger: Who Is Caught by Article 95bis?

Article 95bis does not apply to every person who leaves Spain. The provision establishes three alternative tests, and a taxpayer who meets any one of them will be within its scope. The first and most widely applicable test requires that the taxpayer has been a Spanish tax resident for at least ten of the fifteen tax years immediately preceding the year of their departure. This is a cumulative, not a continuous, test: years of residency need not be consecutive, but there must be at least ten qualifying years within that fifteen-year window. A taxpayer who arrived in Spain five years ago and is now leaving will not be caught by this limb, regardless of the value of their portfolio.

The second test applies regardless of the length of residency and focuses entirely on the value of the qualifying assets. Where the taxpayer holds financial assets with an aggregate market value exceeding four million euros, the exit charge applies even if the taxpayer has been resident for fewer than ten years — provided they have been resident for at least one complete tax year immediately preceding departure.

The third test is a narrower version of the second: where the taxpayer has been resident for at least one full tax year, holds a participation in a single entity exceeding one million euros in market value, and that participation represents more than 25% of the share capital of the entity, the exit charge similarly applies. This limb is particularly relevant for founders and entrepreneurs who have built a single company of significant value during their period of Spanish residency.

The interaction of these three tests means that the exit charge is highly relevant for two principal categories of taxpayer: long-term residents with substantial diversified investment portfolios, and founder-shareholders whose company has grown significantly during their time in Spain. Short-term residents with modest assets — including many Beckham Law beneficiaries who arrived with limited Spanish-source wealth — will frequently fall outside the scope of Article 95bis entirely, though professional advice is essential to confirm this in each specific case.

The Qualifying Assets: What Does Spain Actually Tax?

Article 95bis does not apply to all assets held at the time of departure. The charge is limited to a defined category of acciones y participaciones — shares and participations in entities. Specifically, the provision catches participations in collective investment institutions and shares or participations in entities, whether or not those entities are listed. It does not, by contrast, apply to real property, bonds, bank deposits, or other asset classes. A taxpayer departing Spain with a portfolio consisting entirely of Spanish real estate and cash will not face an exit charge, though they may well face other consequences — including continued liability to the Non-Resident Income Tax (IRNR) as a non-resident with Spanish-source income.

The qualifying assets are valued at their market value on the date of departure — or, more precisely, on the last day of the final tax year in which the taxpayer was resident. For listed securities, market value means the quoted price. For unlisted participations, the valuation methodology follows the rules applicable under the general IRPF framework: typically the higher of net asset value, nominal value, or the capitalised average profit figure. For interests in collective investment institutions (funds and SICAVs), the applicable value is the net asset value per share or unit on the relevant date.

The gain charged is the difference between that market value and the acquisition cost of the assets. Acquisition cost is determined by reference to the actual cost paid, adjusted for any capitalised costs and, where applicable, for previously taxed gains or losses. The gain is included in the base imponible del ahorro — the savings income base — and is therefore taxed at the progressive savings rate scale: 19% on the first €6,000 of net savings income, rising to 21% between €6,000 and €50,000, 23% between €50,000 and €200,000, 27% between €200,000 and €300,000, and 28% above €300,000. These rates apply to the exit gain in the same way as they would to a realised disposal.

The Procedural Mechanics: How and When to Declare

The exit gain is declared in the annual IRPF return corresponding to the last year of Spanish tax residency. For a taxpayer who becomes non-resident during the course of a calendar year, the return covers the period from 1 January to the date of departure. There is no separate return or special form for Article 95bis purposes; the gain is simply included in the standard Modelo 100 IRPF declaration filed in the following spring, with specific line items identifying the exit tax component.

It is important to understand that the obligation to file and pay arises before any actual disposal takes place. The taxpayer is taxed on a deemed gain — a gain that exists on paper at the moment of departure but may or may not ever be realised. This creates an obvious liquidity difficulty for taxpayers whose wealth is tied up in illiquid private company shares: they owe a tax bill calculated on the market value of something they have not sold and may not be able to sell in the near term.

Spanish law addresses this difficulty, to a limited extent, through a deferral mechanism for movements to EU Member States and certain EEA countries. That mechanism is examined in detail in a separate article in this series. For departures to third countries — including the United States, the United Kingdom post-Brexit, Switzerland, and most other popular destinations for internationally mobile professionals — no deferral is available under domestic Spanish law, and the full tax must be paid in the ordinary course.

Key threshold summary: Article 95bis applies if (a) you have been tax resident in Spain for at least 10 of the last 15 years AND hold qualifying assets of any value, or (b) you have been resident for at least 1 year AND hold qualifying assets worth more than €4 million, or (c) you have been resident for at least 1 year AND hold a single participation worth more than €1 million representing over 25% of share capital.

The Relationship Between Exit Tax and the General Capital Gains Regime

A question that frequently arises in practice is how the exit gain interacts with any actual disposal that occurs after departure. If a taxpayer pays exit tax on a deemed gain of, say, €500,000 on a portfolio of shares, and then sells those shares three years later for a price implying an actual gain of €700,000, is the taxpayer taxed again on the €700,000 under the tax rules of their new country of residence?

The answer depends partly on Spanish law and partly on the law of the new jurisdiction. Under Spanish law, the cost base of the shares is adjusted upward to reflect the exit gain that was charged — so that if Spain ever acquires the right to tax a subsequent disposal (for instance, because the taxpayer later returns to Spain), the previously taxed gain is not taxed a second time. However, Spain does not automatically inform the new jurisdiction of the exit gain paid, and many countries — including the United States under its worldwide taxation system — do not give credit for Spanish exit tax against their own capital gains liability arising on the same assets.

This creates a risk of double taxation that requires careful planning, ideally before departure. In some cases, the combination of Spanish exit tax and full capital gains tax in the destination country can result in a total effective tax rate on the actual disposal that exceeds 50%, making the exit — or the timing of it — a highly material financial decision. Pre-departure planning, including the sequencing of disposals, the management of asset values, and the consideration of available treaty provisions, can substantially mitigate this risk.

Interaction with the Spanish Wealth Tax

The connection between Article 95bis and the Spanish Wealth Tax (Impuesto sobre el Patrimonio, IP) is worth noting. The same portfolio of shares that triggers the exit charge is likely to have been reported on the taxpayer's annual IP return throughout their period of residency, with tax paid annually on the net asset value. The IP is charged on wealth held at 31 December each year, and it applies to worldwide wealth for general IRPF residents. When the taxpayer departs during the course of a year, they may need to consider whether they are still subject to IP in the year of departure — which depends on whether they were resident on 31 December of that year. If departure occurs before 31 December, and the taxpayer is not resident on that date, no IP is due for the departure year, which can represent a significant saving for taxpayers with large portfolios.

The interplay between IP, exit tax, and the Solidarity Tax on Large Fortunes (Impuesto de Solidaridad de las Grandes Fortunas, ITSGF) — introduced by Ley 38/2022 as a temporary federal complement to the IP — adds further complexity to the analysis for high-net-worth individuals. The ITSGF applies on a worldwide basis regardless of autonomous community IP bonuses, and the question of whether it applies in the year of departure requires careful analysis of the same residency rules that govern the exit tax computation.

Special Considerations for Collective Investment Schemes

Participations in Spanish and non-Spanish collective investment institutions (fondos de inversión, SICAVs, and their foreign equivalents) are expressly included within the scope of Article 95bis. The treatment of fund investments under the exit tax regime raises some specific issues that are not always well understood.

Spanish residents who invest in Spanish funds benefit from a special rollover regime (régimen de diferimiento) under Article 94 LIRPF, which allows gains to be deferred when switching between qualifying funds without triggering a taxable disposal. This regime does not interact neatly with Article 95bis: the exit charge applies to the total accumulated gain in the fund holding at the date of departure, even if that gain has been rolled across multiple funds over the years. The taxpayer cannot use the rollover regime to defer the exit charge.

For non-Spanish collective investment institutions — including Irish and Luxembourg UCITS funds that are commonly used in international investment portfolios — the same principle applies: the unrealised gain in the fund at the date of departure is subject to Article 95bis to the extent the fund qualifies as a institución de inversión colectiva under Spanish law. Advice on the classification of specific fund types is frequently needed, as the regulatory characterisation can have significant tax consequences.

Practical Planning Considerations Before Departure

The most effective planning for Article 95bis is planning that occurs well in advance of departure. Once the taxpayer has already left Spain, the options are limited to arguing about the correct valuation of assets, disputing residency status, or seeking deferral where available. The real planning opportunities arise during the period of residency, and particularly in the year or two before departure is contemplated.

Key considerations include the management of unrealised gains: where possible, realising gains on highly appreciated assets before departure converts a deemed exit gain into an actual IRPF disposal, which may — depending on the taxpayer's overall income position and the autonomous community of residence — be taxed at a similar or identical rate, but without the liquidity risk associated with paying tax on an unrealised gain. Realising losses before departure can also be valuable, as those losses reduce the net exit gain that would otherwise be charged.

The timing of departure within the tax year also matters. A taxpayer who becomes non-resident on 15 January has almost a full calendar year during which their new country's regime applies, while still having incurred Spanish residence for only fifteen days of that year. Careful management of the departure date relative to income events — dividend payments, bonus payments, and the like — can materially affect the overall tax cost of the relocation.

Asset restructuring in advance of departure can also be considered: in some cases, transferring assets to a non-Spanish holding structure before departure may shift the exit tax base, though this must be approached with great care given the anti-avoidance provisions in Spanish law and the potential application of rules on transactions between related parties (operaciones vinculadas, Article 18 LIS). Professional advice specific to each client's asset profile is indispensable.

Challenges and Litigation

Article 95bis has been the subject of ongoing debate in Spain, both at the administrative level and in the courts. The Dirección General de Tributos (DGT) has issued a number of consultas vinculantes clarifying specific aspects of the provision — including the treatment of assets acquired before the taxpayer became Spanish resident, the valuation of closely held companies, and the interaction with the EU deferral regime. Practitioners should be aware that the DGT's position on several issues has evolved over time, and that the administrative interpretation of Article 95bis continues to develop.

At the European level, the original version of the Spanish exit tax — which applied only to assets above a relatively high threshold and without a deferral mechanism for EU movements — was modified following concerns about compatibility with EU law, particularly the freedom of establishment and the free movement of capital. The current version of Article 95bis includes the EU/EEA deferral regime precisely because Spain recognised that an immediate charge without deferral would be incompatible with EU freedoms for movements within the Union. Nevertheless, questions remain about whether the current Spanish regime fully complies with EU law in all respects, and these are matters that may ultimately require further clarification from the Court of Justice of the European Union.

Book a Free 30-Minute Consultation

Are you planning to leave Spain? Jacob Salama advises on exit tax planning, including pre-departure asset restructuring, deferral options, and interaction with your destination country's tax system.

Book via Calendly WhatsApp

Disclaimer: The content of this article is for general informational purposes only and does not constitute legal or tax advice. It does not create a lawyer-client relationship. Tax laws change frequently. Jacob Salama — Salama Legal SLP — is a registered Spanish lawyer (Colegiado nº 11.294, ICAMálaga).

Ask a question