How much tax you actually pay when selling a business in Spain in 2026: capital gains, share deal vs asset deal, holding company exemptions and strategies to maximise your net proceeds.
The tax on business sale in Spain is the single factor that most separates the agreed price from what the seller actually deposits. An owner who negotiates a sale at four million euros may take home anywhere between 2.8 and 3.6 million net — a gap of up to 800,000 euros — not because of negotiating skill but because of fiscal decisions made (or missed) one to three years before signing. This analysis breaks down Spain's business sale tax framework in 2026 with real figures, so sellers can plan effectively.
Tax on Business Sale in Spain: Two Structures, Two Very Different Bills
The first major tax determinant is the transaction structure: a share deal (buying the company's shares) versus an asset deal (buying the company's underlying assets). This choice is not cosmetic — it fundamentally changes the tax outcome for both sides of the table.
Share Deal: The Seller Transfers Shares
In a share deal, the seller transfers ownership of the company by selling their shares or participations. The capital gain — sale price minus acquisition cost — is taxed under Personal Income Tax (IRPF) if the seller is an individual, or Corporate Tax (IS) if the seller holds through a company. For most private owners, the share deal is the more tax-efficient route.
Asset Deal: The Company Sells Its Assets
In an asset deal, the company itself sells its assets — machinery, customer lists, contracts, goodwill. The capital gain is taxed at the standard Corporate Tax rate of 25%. The resulting cash stays inside the company; to access it, the owner must pay a dividend, triggering a second layer of tax at 19–28%. This double taxation makes the asset deal typically far more expensive for the seller.
Tax on Business Sale for Individuals: Spain's 2026 Capital Gains Rates
When the seller is a private individual who owns the company shares directly, the capital gain falls into the savings tax base (base del ahorro) of the IRPF. Spain's 2026 progressive rates are:
- 19% on the first €6,000 of gain
- 21% on €6,001 to €50,000
- 23% on €50,001 to €200,000
- 27% on €200,001 to €300,000
- 28% on amounts above €300,000
Practical example: a founder who bought shares for €80,000 in 2010 and sells for €3,000,000 in 2026 has a taxable gain of €2,920,000. The resulting IRPF bill is approximately €793,280 — an effective rate of 27.2% on the total gain. This is the baseline, with no prior tax planning in place.
The tax on business sale can be significantly reduced if, instead of holding shares directly, the owner holds them through a family holding company — as explained below.
Share Deal vs Asset Deal: A Numerical Comparison
Scenario: company valued at €2,000,000, net book value of assets €400,000, shares originally acquired for €60,000.
Share deal (individual): taxable gain = €1,940,000. IRPF = approximately €529,080. Net proceeds: ~€1,470,920.
Asset deal: the company pays IS on the asset gain (€1,600,000), giving a tax bill of ~€400,000. Net cash inside the company: €1,600,000. Distributing this as a dividend triggers additional tax of ~€228,000. Total tax cost: ~€628,000. Net to the owner: ~€1,372,000.
The share deal saves almost €100,000 in this mid-market scenario. For larger deals, the gap widens dramatically. On a €10 million exit, the differential can exceed half a million euros.
The Family Holding Company: Spain's Most-Used Tax Strategy
A holding company is an entity whose primary purpose is owning shares in other companies. When a business owner sells through a holding company, they can access one of Spain's most significant tax reliefs: the participation exemption on capital gains.
The Article 21 Exemption Under the Corporate Tax Law
Under article 21 of Spain's Corporate Tax Act, capital gains (and dividends) derived from the sale of qualifying participations in subsidiaries are 95% exempt from Corporate Tax, provided:
- The holding owns at least 5% of the subsidiary (or the acquisition cost exceeds €20 million)
- The holding has owned the shares continuously for at least one year before the sale
- The subsidiary is not classified as a patrimonial entity under article 5 of the LIS
In practice, if the holding company sells the operating company and all three conditions are met, only 5% of the gain is taxable at 25% IS — an effective rate of just 1.25%. The remaining 98.75% stays in the holding, available for reinvestment without immediate tax.
When Must the Holding Be Set Up?
This is the critical constraint: the holding must have owned the subsidiary shares for at least one year before the sale is formalized. Setting up a holding and transferring shares one month before closing will not work — Hacienda has anti-avoidance tools (article 15 LGT) specifically targeting structures created purely for tax purposes without genuine economic substance. M&A advisors consistently recommend planning at least two to three years ahead.
Other Legal Tax Strategies for Business Sellers in Spain
Business Angel Reinvestment Deduction
Individuals who reinvest sale proceeds into shares of newly created companies may deduct up to 50% of the investment from the state portion of their IRPF bill (article 68.1 LIRPF), with a maximum deductible base of €100,000 per year. This is especially relevant for founders who want to cycle their capital back into the startup ecosystem as angel investors.
Deferred Price (Earn-Out) and Tax Spreading
If part of the price is deferred — through an earn-out or instalment payments — each payment is taxed in the year it is actually received. This allows the seller to spread the tax burden across multiple fiscal years, potentially reducing the effective marginal rate if no other large income arises in those years.
Timing the Closing: December vs January
The year in which the sale contract is formally signed determines in which tax return the gain is declared. Shifting a December closing to January gives the seller a full additional tax year to plan other income, deductions and offsetting losses before the gain hits.
The Basque Country and Navarre Foral Regimes
The Basque Country and Navarre have their own independent tax regimes, with IRPF and IS rates that differ from mainland Spain. For large-value transactions, the fiscal advisor will assess whether legally changing tax residence to these regions is a viable option. It requires genuine permanent residence of at least 183 days per year and Hacienda closely monitors domicile changes immediately before major exits.
Common Tax Mistakes That Cost Business Sellers Money
- Creating the holding too late: reorganizing the shareholding structure weeks before the closing can be treated as tax avoidance under the Spanish General Tax Law, with heavy penalties and surcharges.
- Taxing earn-out before receipt: only amounts actually received are taxable. Declaring the full earn-out in the closing year — even amounts contingent on future performance — is a costly error Hacienda will not correct in your favour.
- Ignoring ITP exposure on property-rich companies: when more than 50% of a company's assets are real estate and the buyer acquires control, the transaction may be subject to Stamp Duty (ITP) at rates of 6–10% depending on the region.
- Poor documentation of acquisition cost: without clear evidence of what the shares originally cost, Hacienda may challenge the declared gain upward in an audit.
- Assuming the buyer will accept a share deal: international buyers in particular sometimes prefer asset structures for accounting or regulatory reasons. The seller must anticipate this scenario and calculate the equivalent compensating price with precision.
Frequently Asked Questions: Tax on Business Sales in Spain
How much capital gains tax does a seller pay in Spain in 2026?
The progressive savings tax base applies rates from 19% to 28%. For typical SME exits — gains between €500,000 and €5,000,000 — the effective rate on the total gain is typically 25–27.5%.
Can I avoid tax by reinvesting the proceeds in another company?
Not directly. The business sale reinvestment exemption does not apply in Spain the way the main residence exemption does. However, channelling the sale through a holding company allows indefinite deferral as long as the proceeds stay within the holding and are not distributed as dividends.
When would a seller ever prefer an asset deal?
Rarely, from a tax standpoint. An asset deal is primarily favourable to the buyer, who can depreciate the acquired assets and goodwill. The seller typically needs to receive a meaningfully higher price to make an asset deal net-equivalent to a share deal.
What if the buyer insists on an asset deal?
The seller should request a price premium to compensate for the additional tax burden — a practice known as grossing up. The calculation must be done carefully for each specific scenario to ensure true economic equivalence between the two structures.
How is earn-out taxed if targets are not met?
If the earn-out is never paid because the agreed targets were not achieved, there is no taxable event on that portion. If it was already declared and later reversed, the seller may request rectification of the previously filed tax return.
Does it make sense to move tax residence to the Basque Country before the sale?
The Basque Country's foral regime may offer lower effective rates on certain income tranches. However, the transfer requires genuine permanent residence and Hacienda scrutinises domicile changes just before large exits with particular attention. It is a legal option, but requires years of advance planning and highly specialised legal-fiscal advice — not a last-minute solution.