Skip to content

Tax guide

Tax on selling a business in Spain

The taxes payable when selling a company in Spain: personal income tax, corporate tax, municipal capital gains, and the exemptions that can save you significant amounts.

Tax planning can make a difference of millions

Taxation is one of the most significant aspects of selling a business and, paradoxically, one of the last to be addressed. Many owners discover the tax implications when they are already negotiating the price, which severely limits their optimisation options.

Proper tax planning, initiated at least two to three years in advance, can save hundreds of thousands or even millions of euros on a sale transaction. The sale structure (shares vs. assets), the seller's legal form (individual vs. holding company), and the use of legal deferral or exemption mechanisms are levers that only work if activated in time.

This guide provides a comprehensive overview of the taxes applicable to business sales in Spain, available exemptions, and the most common optimisation strategies. It does not replace professional tax advice but will enable you to ask the right questions of your advisor.

Applicable taxes

The key taxes on a business sale

The applicable tax depends on who is selling (individual or company) and what is being sold (shares or assets).

Personal income tax (IRPF)

When the seller is an individual. The capital gain is taxed in the savings base at progressive rates from 19% to 28%.

  • Up to 6,000 euros: 19%
  • 6,000 to 50,000: 21%
  • 50,000 to 200,000: 23%
  • 200,000 to 300,000: 27%
  • Over 300,000: 28%

Corporate tax (Impuesto sobre Sociedades)

When the seller is a company. The gain is taxed at the standard 25% rate.

  • Standard rate: 25%
  • Art. 21 LIS exemption: qualifying shareholdings >5% held >1 year
  • Applies to the difference between sale price and book value
  • Offsettable against prior year tax losses

VAT and Transfer Tax

Share sales are generally exempt. Asset sales have different treatment.

  • Share sales: exempt from VAT and Transfer Tax
  • Asset sales: 21% VAT (deductible for the buyer)
  • Transfer Tax on real estate: 6-10% depending on region
  • Exception: Transfer Tax on share sales if >50% of assets are real estate

Municipal capital gains tax

The IIVTNU (plusvalia municipal) applies when the transaction includes urban real estate.

  • Applies to asset sales that include urban real estate
  • In share sales: only if >50% of assets are real estate
  • Two calculation methods: actual gain and formulaic
  • Following the 2021 Constitutional Court ruling, does not apply if there is no real gain

Tax optimisation

Legal optimisation strategies

01

Holding company as the selling vehicle

If the company shares are contributed to a holding company before the sale (at least two years in advance), the gain may benefit from the Article 21 Corporate Tax Act exemption for qualifying shareholdings. The savings compared to personal income tax can be very significant.

02

Age-related exemptions and reinvestment

Individuals over 65 may benefit from total exemption on capital gains from selling their primary residence, and partial exemption on other asset sales if reinvested in a life annuity. Timing the sale relative to age is a factor that should not be underestimated.

03

Price structuring

Part of the price can be linked to future results (earn-out), deferring taxation to the year in which it is received. Deferred payments can also be structured to spread the gain across multiple fiscal years.

04

Tax-neutral reorganisations

Mergers, demergers, share-for-share exchanges, and non-monetary contributions under the tax neutrality regime allow corporate structures to be reorganised without immediate tax cost. They are useful tools for preparing the sale structure.

05

Succession planning before the sale

In some cases, transferring the business through gift or inheritance before the sale may be more tax-efficient, thanks to the 95% reduction in Inheritance and Gift Tax applicable to qualifying family businesses.

Frequently asked questions about tax on business sales

How much tax do you pay when selling a business?
If the seller is an individual, 19% to 28% on the capital gain (IRPF). If a company, 25% corporate tax, though the exemption for qualifying shareholdings may apply.
Are there any tax exemptions?
Yes: exemption for those over 65 in certain cases, Article 21 LIS exemption for qualifying shareholdings (>5%, >1 year), and the 95% reduction in Inheritance and Gift Tax for qualifying family businesses.
Is it better to sell shares or assets?
Selling shares is generally more tax-efficient: taxed as a capital gain and exempt from VAT. Selling assets generates VAT and possible capital gains at the standard corporate tax rate.
Can the tax payment be deferred?
Yes, through legal mechanisms: share-for-share exchanges under the tax neutrality regime, non-monetary contributions, and earn-outs linked to future performance. Each has specific requirements.
How far in advance should you plan?
Ideally, two to three years before the sale. Creating a holding company, corporate reorganisation, and meeting statutory holding periods require time. Late planning limits your options.

At your disposal

If you wish to explore a potential collaboration or present an investment opportunity, we invite you to contact us. We guarantee absolute confidentiality in all our conversations.