Saltar al contenido principal
Back to insights

Tax

Taxes on Selling a Company in Spain [2026]: Seller Guide

A practical guide to Spanish tax on a company sale: resident individuals, corporate sellers, share versus asset deals, deferred price and non-residents.

Capittal Research/10 August 2026/7 min

Author

Capittal Research

Equipo editorial M&A

Editorial review

Equipo M&A Capittal

Financial, tax and legal review

Updated

23 August 2026

Content reviewed as markets evolve

Taxes on Selling a Company in Spain [2026]: Seller Guide

The tax cost of selling a company in Spain depends first on who sells and what is sold. A Spanish-resident individual selling shares generally recognises a capital gain in the savings tax base, currently taxed at 19%–30%. A Spanish company may qualify for the Article 21 participation exemption, while an asset sale produces tax inside the target company. Earn-outs, deferred payments and non-resident sellers require separate analysis; none has a universal answer.

Decision map: identify the transaction before calculating tax

QuestionWhy it changes the result
Is the seller an individual or a company?IRPF and Corporate Income Tax use different rules and rates
Are shares or business assets being sold?The taxable person, VAT treatment and inherited liabilities differ
Is the price fixed, deferred or contingent?Timing and valuation of the gain may change
Is the seller resident in Spain?Domestic non-resident rules and the relevant tax treaty must be checked

Spanish-resident individual selling shares

The gain generally enters the IRPF savings base. Under the current consolidated Spanish Personal Income Tax Act, the combined scale is 19% on the first €6,000, 21% from €6,000 to €50,000, 23% from €50,000 to €200,000, 27% from €200,000 to €300,000 and 30% above €300,000.

The gain is not always simply the contractual price minus the original subscription amount. Acquisition and transfer costs, previous corporate transactions and the special valuation rule for unlisted shares can affect the calculation. Article 37 may impose a minimum transfer value unless the agreed price reflects what independent parties would have accepted under normal market conditions. Prepare the tax basis before accepting a headline price.

Spanish company selling a subsidiary

Article 21 of the Corporate Income Tax Act can exempt a gain on qualifying shares. The general ownership threshold is at least 5%, and the one-year holding requirement and other conditions and exclusions must be tested. The exempt amount is generally reduced by 5% as deemed management expenses.

At the general 25% corporate rate, taxing that 5% produces an illustrative effective burden of 1.25% on the qualifying gain. That result is not automatic: a different company tax rate, a foreign subsidiary, a patrimonial entity, a prior tax-neutral contribution or another Article 21 limitation may change it. See the detailed guide to Article 21 participation exemption before relying on the percentage.

Share deal versus asset deal

IssueShare dealAsset deal
Direct sellerShareholder sells the participationCompany sells selected assets or a business unit
Direct taxCapital gain for the shareholderGain or loss inside the company; a later distribution may create a second tax event
VATShare transfers are generally exempt, subject to statutory exceptionsA qualifying autonomous economic unit is outside VAT; isolated assets follow their own VAT rules
Tax liabilitiesRemain in the acquired legal entityThe acquirer of an operating business may inherit solidary liability within Article 42.1.c limits

Article 7.1 of the VAT Act requires a set of assets capable of constituting an autonomous economic unit; calling a transaction a «going concern» is not enough. Article 42.1.c of the General Tax Act addresses succession to a business and the certificate procedure can affect the scope of the buyer's exposure. The commercial differences are covered in company acquisition and sale in Spain.

Deferred price and earn-out: do not treat them as the same

A fixed price paid in instalments and a contingent earn-out are different. For an individual, Article 14.2.d IRPF permits proportional recognition for a qualifying instalment transaction when more than one year elapses between delivery and the final due date. It is an option with statutory conditions, not a rule that every deferred payment is taxed only when cash arrives.

An earn-out depends on a future metric and may not be quantifiable at closing. Its tax timing and valuation depend on the contract, the seller and the applicable tax. Define the formula, accounting policies, information rights and dispute mechanism before signing, then obtain transaction-specific advice. Do not assume that every contingent payment is automatically taxed when it becomes due. The commercial drafting points are explained in what an earn-out is and how it works.

Non-resident seller

Do not start from the assumption that Spain has no taxing right. The consolidated Non-Resident Income Tax Act first determines whether the gain is Spanish-source and whether a domestic exemption applies. The applicable double tax treaty can then allocate or limit taxing rights, often with specific clauses for real-estate-rich companies or substantial participations.

The answer therefore depends on the seller's residence, legal form, ownership percentage, the target's assets and the exact treaty. Check residence certificates, treaty entitlement and filing obligations before completion; do not price the deal using a generic treaty summary.

Seller's pre-signing tax file

  • Tax basis of the shares and evidence for historical acquisition costs.
  • Corporate reorganisations, contributions, mergers or demergers affecting basis.
  • Article 21 ownership, holding period and limitation analysis for a corporate seller.
  • Allocation of price, debt, cash and transaction expenses.
  • Separate treatment of fixed deferred price and contingent consideration.
  • Residence certificate and treaty memo for a non-resident.
  • Comparison of tax paid, cash at closing and post-closing risk under each offer.

This checklist should be completed before the letter of intent fixes structure or price mechanics. Tax is one part of the decision alongside certainty of closing, warranties and net proceeds.

Official sources

General information reviewed on 23 August 2026. It is not a tax opinion for a particular transaction.

Frequently asked questions

Common questions on this topic.

What tax does a Spanish resident pay when selling company shares?+

An individual generally recognises a capital gain in the IRPF savings base, currently taxed at 19%–30%. The taxable gain depends on statutory acquisition and transfer values, costs and any previous corporate transactions.

Does a Spanish holding company always pay 1.25% on the gain?+

No. A 1.25% effective burden is an illustration when the Article 21 exemption applies and the seller is taxed at the general 25% rate. Ownership, holding period, exclusions, foreign-subsidiary rules and prior reorganisations must be checked.

Is a share sale subject to Spanish VAT?+

Share transfers are generally VAT-exempt, subject to statutory exceptions. An asset deal is outside VAT only when the transferred set constitutes or can constitute an autonomous economic unit; isolated assets follow their own rules.

How is a deferred sale price taxed in Spain?+

For an individual, a fixed instalment price may qualify for proportional recognition under Article 14.2.d IRPF when the statutory period and other conditions are met. It is an option, not an automatic cash-basis rule.

How is an earn-out taxed?+

There is no universal answer. A contingent earn-out is different from a fixed deferred price, and its timing and valuation depend on the contract, the seller and the applicable tax. The formula should be reviewed before signing.

Does a non-resident pay Spanish tax when selling a Spanish company?+

Possibly. Spanish domestic law, any exemption and the applicable double tax treaty must be analysed. Real-estate-rich companies, substantial participations and treaty eligibility can change the result.