Spain Exit Tax: What to Know Before Leaving Spain

Spain Exit Tax: What to Know Before Leaving Spain

Marc Cantavella

Marc Cantavella

13 min read

Relocating from Spain can trigger an unexpected tax bill on assets you have not even sold yet. Spain's exit tax system targets unrealized gains, creating a financial hurdle for high-net-worth individuals planning to leave the country.

Understanding Spain's Exit Tax

Spain's exit tax, known as the Impuesto de Salida, represents a significant consideration for high-net-worth individuals planning to relocate from Spain. Introduced in 2015, this tax targets unrealized capital gains on shares and participations that you accumulated during your time as a Spanish tax resident. Unlike traditional capital gains tax that applies when you sell an asset, the exit tax treats your departure from Spain as a deemed disposal event.

The Spanish tax authority calculates the tax on theoretical gains. These gains represent the difference between the current market value of your shares and their original acquisition cost. Even though you have not actually sold the shares, Spain taxes the appreciation as if you completed the sale just before leaving the country.

This mechanism aims to prevent tax base erosion. Without an exit tax, wealthy individuals could accumulate substantial gains while benefiting from Spain's tax system, then relocate to a lower-tax jurisdiction before cashing out.

Who Does the Exit Tax Affect?

Residency Requirements

The exit tax does not apply to everyone leaving Spain. You must have been a Spanish tax resident for at least 10 of the previous 15 years. This 10-year lookback period ensures that long-term residents who benefited from Spain's infrastructure and services cannot easily escape taxation on accumulated wealth.

Short-term residents who spend just a few years in Spain remain exempt. The threshold specifically targets individuals who established significant ties to the Spanish tax system over an extended period.

Share Value Thresholds

Even if you meet the residency requirement, the exit tax only applies when your shareholdings exceed specific thresholds. Spain uses two distinct tests, and meeting either one triggers the tax obligation.

The first test examines your total portfolio value. If the market value of all your shares exceeds EUR 4.0M , the exit tax applies regardless of how those shares are distributed across different companies.

The second test focuses on significant stakes in individual entities. If you hold at least 25% participation in any company and the value of that stake exceeds EUR 1.0M , you fall within the exit tax scope.

These dual thresholds mean the tax primarily affects high-net-worth individuals with substantial shareholdings. Small investors and those with modest portfolios typically fall below both thresholds and face no exit tax liability.

Types of Assets Covered

The exit tax applies specifically to shares and participations in companies. This includes:

  • Direct shareholdings in Spanish companies
  • Shares in foreign companies held while you were a Spanish resident
  • Participations in partnerships and similar entities
  • Stock options that have vested

Real estate, bank deposits, bonds, and other asset types remain outside the exit tax scope. Spain may tax these assets through other mechanisms, but the specific exit tax regime targets equity holdings.

How Spain Calculates the Exit Tax

Determining Unrealized Gains

The tax calculation starts by determining the unrealized gain on each shareholding. Spain takes the market value of your shares on the day you cease to be a tax resident and subtracts the original acquisition cost. This acquisition cost includes the purchase price plus any associated expenses like transaction fees.

For publicly traded shares, determining market value proves straightforward since you can reference exchange prices. For private company shares, valuation becomes more complex. You may need professional appraisals to establish fair market value, particularly for closely held businesses.

Tax Rates Applied

Once Spain calculates the unrealized gains, these amounts integrate into your savings income tax base for your final year of Spanish tax residency. The gains face progressive tax rates ranging from 19% to 28%, depending on the total amount.

These rates align with Spain's general capital gains tax structure. The progressive nature means larger unrealized gains face higher marginal rates, with the top 28% rate applying to gains exceeding specific thresholds.

Reporting Requirements

You must report the unrealized gains in your personal income tax return for the last tax period in which you held Spanish tax residency. This typically means filing Form 720 and relevant annexes that detail your shareholdings, their acquisition costs, and current market values.

Failure to properly report exit tax obligations can result in penalties and interest charges. Spanish tax authorities have become increasingly sophisticated in tracking international asset movements and can detect unreported exit tax situations.

Deferral Options for EU and EEA Moves

The EU Exception

Spain offers significant relief if you relocate to another European Union member state or a European Economic Area country with effective tax information exchange. Rather than paying the exit tax immediately upon departure, you can defer the liability under specific conditions.

This deferral mechanism implements EU directives aimed at facilitating free movement of capital and persons within the single market. The European Court of Justice has ruled that immediate exit taxes on intra-EU moves violate fundamental freedoms, leading Spain to adopt this deferral system.

Payment in Installments

When the deferral applies, Spain allows you to pay the exit tax debt in five annual installments. Each installment carries late payment interest calculated according to Spain's General Tax Law. The interest begins accruing one year after the end of the voluntary filing period for your final Spanish tax return.

This installment structure spreads the tax burden over five years rather than requiring immediate payment. However, the interest charges mean the total amount paid exceeds the original tax liability.

Triggering Events

The deferral continues for up to 10 years following your departure from Spain, but several events can trigger immediate payment of the full remaining balance. These triggering events include:

– Selling or transferring the shares that generated the exit tax liability
– Relocating from an EU/EEA country to a non-EU/EEA jurisdiction
– Failing to fulfill annual reporting obligations to Spanish tax authorities

If you sell the shares during the 10-year deferral period, Spain requires immediate payment of the exit tax on the portion attributable to those shares. This prevents you from realizing the gains without settling the Spanish tax obligation.

After 10 years pass without any triggering events, the exit tax liability disappears entirely. This creates an incentive to hold shares long-term if you can afford to defer liquidity events.

Non-EU Destinations

If you relocate to a country outside the EU/EEA, no deferral option exists. Spain requires full payment of the exit tax in your final tax return. This makes moves to jurisdictions like Switzerland, the United Kingdom (post-Brexit), the United Arab Emirates, or the United States immediately more expensive from a Spanish tax perspective.

Some taxpayers structure their relocations in stages, first moving to an EU country to secure the deferral, then potentially relocating again to a non-EU destination after carefully managing their shareholdings.

Exit Tax and the Beckham Law

What Is the Beckham Law?

Spain's special tax regime for impatriates, commonly called the Beckham Law, allows certain newly arrived workers to be taxed as non-residents for up to six years despite actually residing in Spain. Under this regime, you pay a flat 24% rate on Spanish-source income while foreign-source income often goes untaxed.

This preferential treatment attracts high-earning professionals and executives to Spain. However, the Beckham Law creates specific considerations regarding exit tax.

Transition After Six Years

When your Beckham Law period ends after six years, you automatically transition to regular Spanish tax residency. At this point, Spain begins taxing your worldwide income under progressive rates reaching up to 47%. You also become subject to wealth tax on global assets, with previous exemptions for foreign assets disappearing.

This transition does not itself trigger exit tax since you remain a Spanish tax resident. However, the clock starts ticking on the 10-year residency requirement for exit tax purposes if you later decide to leave Spain.

Strategic Timing Considerations

Some individuals plan their Spanish residency duration around both the Beckham Law benefits and exit tax implications. Leaving Spain before completing 10 years of total tax residency (including the Beckham years) allows you to avoid exit tax entirely, assuming you held shares throughout this period.

Conversely, if you already accumulated substantial unrealized gains before arriving in Spain, the Beckham Law period might allow time for those gains to mature without being subject to Spanish taxation on the eventual sale.

Comparing Spain's Exit Tax to Other EU Countries

France's Exit Tax Regime

France introduced its exit tax targeting individuals who held French tax residency for at least six of the previous 10 years. This shorter lookback period compared to Spain's 10 of 15 years means France captures a broader group of departing residents.

French exit tax applies to shareholdings meeting certain thresholds, similar to Spain. France allows deferral for EU moves, but the deferral period extends to 15 years compared to Spain's 10 years. This longer window provides more time for the tax liability to potentially lapse.

Germany's Approach

Germany imposes exit tax on individuals holding at least 1% of a company's shares. This much lower participation threshold compared to Spain's 25% requirement means German exit tax affects a wider range of shareholders, including minority stakeholders.

Germany calculates the tax on unrealized gains similarly to Spain, treating departure as a deemed disposal. Starting in 2025, Germany expanded its exit tax to include investment funds valued at EUR 500K or more, broadening the scope beyond just company shares.

Netherlands and Other Jurisdictions

While the Netherlands historically had emigration taxes, recent reforms have modified the system. Other EU countries continue developing or expanding their exit tax regimes as part of broader anti-avoidance measures.

The trend across Europe points toward more comprehensive exit tax systems. Countries increasingly view departure taxation as a legitimate tool to protect their tax base against international mobility of wealthy individuals.

Planning Strategies for Those Considering Leaving Spain

Timing Your Departure

If you have not yet completed 10 years of Spanish tax residency, leaving before crossing that threshold eliminates exit tax exposure. Careful tracking of your residency years becomes crucial, particularly if you had periods of dual residency or complex situations.

For those already past the 10-year mark, timing your departure around share valuations can impact the tax burden. Leaving when your portfolio has temporarily declined in value reduces the unrealized gains subject to tax.

Restructuring Shareholdings

Some taxpayers restructure their holdings before departure to minimize exit tax impact. Strategies might include:

– Converting shares into other asset types not subject to exit tax
– Gifting shares to family members who are not leaving Spain
– Reorganizing corporate structures to fall below the value thresholds

These strategies require careful legal and tax advice to ensure compliance with anti-avoidance rules. Spain's tax authorities scrutinize transactions that appear designed solely to escape exit tax.

Choosing Your Destination Wisely

Your destination country matters significantly. Moving to an EU/EEA jurisdiction provides deferral options and potentially allows the tax liability to expire after 10 years. Relocating directly to a non-EU country requires immediate payment.

Some individuals adopt a staged approach, first establishing residency in an EU country like Portugal or Ireland to secure the deferral, while planning eventual relocation elsewhere. This strategy requires genuine establishment of residency in the intermediate jurisdiction to withstand scrutiny.

Managing Shareholdings During Deferral

If you secure deferral by moving to an EU country, managing your shareholdings carefully during the 10-year period becomes critical. Avoiding sales or transfers allows the exit tax liability to eventually lapse. However, this locks up your capital and prevents portfolio rebalancing.

Some taxpayers selectively realize gains on newer shareholdings acquired after leaving Spain, while preserving the older shares that triggered exit tax. This allows some liquidity while protecting the deferral benefits.

Recent Developments and Future Changes

Law 11/2021 Amendments

Spain updated its exit tax rules through Law 11/2021, which took effect on January 1, 2021. These amendments implemented EU Anti-Tax Avoidance Directive (ATAD) requirements, replacing the previous deferral mechanism with the current five-year installment payment system.

The changes aimed to harmonize Spain's approach with other EU member states while maintaining compliance with European Court of Justice rulings. The new system provides more structure around payment terms and interest calculations.

Enhanced Information Exchange

Spanish tax authorities increasingly leverage automatic information exchange agreements with other jurisdictions. These mechanisms make it harder to leave Spain without properly addressing exit tax obligations. Tax authorities can track asset holdings and movements across borders more effectively than ever before.

Potential Future Reforms

Spain continues evaluating its exit tax regime in light of broader tax policy goals. Potential future changes might include:

– Adjusting thresholds to capture more departing residents
– Extending the lookback period beyond 10 of 15 years
– Broadening the types of assets subject to exit tax
– Modifying deferral conditions or payment terms

Wealthy individuals considering Spain as a residence location should monitor these developments. Tax regimes can change, and what seems advantageous today might become less attractive as rules evolve.

Practical Steps Before Leaving Spain

Professional Tax Advice

Exit tax situations involve complex calculations and strategic decisions with significant financial implications. Engaging qualified tax advisors familiar with both Spanish tax law and your destination country's rules proves essential.

Cross-border tax planning requires coordination between advisors in multiple jurisdictions to avoid double taxation and ensure compliance with all relevant rules.

Valuation of Shareholdings

Accurate valuation of your shares, particularly in private companies, requires professional appraisals. These valuations form the foundation of exit tax calculations and should be well-documented to support your tax filings.

Documentation and Record-Keeping

Maintaining comprehensive records of share acquisitions, including purchase prices, dates, and associated costs, allows accurate determination of unrealized gains. If you claimed business expense deductions or other tax benefits related to the shares, documentation of these becomes important.

Filing Obligations

Understanding your filing obligations both in Spain and your destination country prevents compliance problems. Your final Spanish tax return must accurately report exit tax liabilities, while your new jurisdiction may have its own reporting requirements for inherited tax obligations.

Conclusion

Spain's exit tax represents a significant financial consideration for high-net-worth individuals with substantial shareholdings who plan to relocate. The tax on unrealized gains can create substantial liabilities that require careful planning and management.

Understanding who the tax affects, how calculations work, and what deferral options exist allows you to make informed decisions about timing and structuring your departure. The differences between EU and non-EU destinations create meaningful strategic choices.

While the exit tax adds complexity to international relocation, proper planning with qualified advisors can help minimize the impact. Whether through timing strategies, restructuring approaches, or careful management of deferral periods, options exist to navigate the exit tax regime effectively.

As European countries continue developing and harmonizing their exit tax systems, staying informed about regulatory changes becomes increasingly important for internationally mobile individuals with significant assets.

Exit tax under Article 95 bis of IRPF Law (Law 35/2006)

PwC Worldwide Tax Summaries – Spain Individual·Last checked: 09/02/26

EUR 4M aggregate and 25%/EUR 1M thresholds for exit tax

PwC Worldwide Tax Summaries – Spain Other Taxes·Last checked: 09/02/26

EU deferral mechanism and installment payment under ATAD

PwC Worldwide Tax Summaries – Spain Significant Developments·Last checked: 09/02/26

Savings income tax rates 19% to 28% applied to exit tax gains

PwC Worldwide Tax Summaries – Spain Individual·Last checked: 09/02/26

Beckham Law interaction with exit tax residency count

Agencia Tributaria – Special Regime for Expatriates·Last checked: 09/02/26

Law 11/2021 amendments implementing EU ATAD requirements

PwC Worldwide Tax Summaries – Spain Corporate·Last checked: 09/02/26

Marc Cantavella

Manager at The Global Wealth

International Tax Lawyer and HNWI Relocation Expert. Co-founder and Manager at The Global Wealth.