Do You Pay Tax on Share Dealing in Spain? Capital Gains Rates, Corporate Tax Exemptions, VAT Rules, and How to Reduce Your Tax Liability on the Sale of Shares
Whether you are acquiring a Spanish company or selling your stake, the tax implications of a share deal in Spain are significant and multilayered. From progressive capital gains rates for individuals to the powerful participation exemption for corporate sellers, from VAT exemptions to the critical real estate anti-avoidance rules, this guide provides a complete, up-to-date breakdown of every tax layer that applies to share transactions in Spain in 2025. Written by the international tax and legal team at Lawants, this is the resource you need to navigate your next share deal with clarity and confidence.

What Is a Share Deal and Why Does It Matter for Taxation in Spain?
When an investor acquires a business in Spain, the transaction is typically structured in one of two ways: as an asset deal, where specific assets (real estate, equipment, contracts) are purchased directly, or as a share deal, where the buyer acquires the shares of the corporate vehicle that owns those assets. In a share deal, the company itself—including all of its assets, contracts, liabilities, and tax obligations—remains intact. Only the ownership of the company changes hands.
Share deals are a common and often preferred structure for real estate investments and corporate acquisitions in Spain. They can simplify the transfer of complex asset portfolios, preserve existing contracts and licences, and in many cases offer meaningful tax advantages over direct asset purchases. However, they also carry a critical distinction that every buyer must understand: in a share deal, the company’s pre-existing tax liabilities transfer with the shares. This makes thorough tax due diligence not just advisable, but essential.
Here is the fundamental difference at a glance:
- Share deal: The buyer acquires the company’s shares. The company retains all its assets, liabilities, and outstanding tax obligations. The buyer indirectly assumes those obligations through ownership.
- Asset deal: The buyer acquires specific assets directly. There is generally no assumption of the seller’s pre-existing corporate tax liabilities, except in certain business succession scenarios under Spanish tax law.
The taxation of share deals in Spain varies significantly depending on three key factors: who sells (individual or corporate entity, resident or non-resident), who buys (and whether they obtain control of the company), and what the target company holds (particularly whether its assets are predominantly Spanish real estate). The following sections break down each layer of taxation in detail.
Capital Gains Tax on Share Sales in Spain: Rates and Rules
Capital gains generated from the sale of shares in a Spanish company are taxable events under Spanish law. However, the applicable tax rate and the specific rules depend entirely on the seller’s tax residency status. Spanish tax residents face progressive rates on their savings income, while non-residents are subject to a different framework with flat rates and specific exemptions. Below, we examine both scenarios in detail.
Capital Gains for Spanish Tax Residents (Individuals)
For individuals who are tax residents in Spain (i.e., those who spend more than 183 days per calendar year in the country or have their centre of vital interests in Spain), capital gains from the sale of shares are classified as “savings income” (rentas del ahorro). This category also includes dividends, interest, and income from life insurance contracts.
Savings income is taxed at progressive rates that are uniform across all autonomous communities in Spain. As of 1 January 2025, the rates are as follows:
- 19% on the first €6,000 of net gains
- 21% on gains between €6,001 and €50,000
- 23% on gains between €50,001 and €200,000
- 27% on gains between €200,001 and €300,000
- 30% on gains exceeding €300,000 (new top bracket introduced from 1 January 2025, increased from the previous 28%)
The taxable gain is calculated as the difference between the sale price and the acquisition cost, including allowable expenses such as notarial fees, brokerage commissions, and any taxes paid on the original purchase. Capital losses from other share transactions within the same fiscal year can be offset against capital gains, and any unused net losses may be carried forward for up to four years.
Practical example: A Spanish tax resident sells shares in a private company for a net gain of €100,000. The capital gains tax liability would be calculated progressively: 19% on the first €6,000 (€1,140), 21% on the next €44,000 (€9,240), and 23% on the remaining €50,000 (€11,500), for a total tax of €21,880.
It is also worth noting that a transitory regime may apply to shares acquired before 31 December 1994. Under this regime, reduction coefficients can reduce the taxable portion of the gain generated up to 19 January 2006, provided the total transfer value does not exceed €400,000 per taxpayer. This regime is increasingly narrow in scope but can still be relevant for long-held family company stakes.
Capital Gains for Non-Residents Selling Shares in Spain
Non-resident individuals and entities selling shares in a Spanish company are subject to Non-Resident Income Tax (Impuesto sobre la Renta de No Residentes, or IRNR). The general rule is straightforward: capital gains from the disposal of shares are taxed at a flat rate of 19%, regardless of the gain amount.
However, there are several critical exceptions and obligations that non-resident sellers must understand:
- EU/EEA exemption: Capital gains from the sale of shares in a Spanish company may be fully exempt from Spanish tax for sellers who are resident in another EU or EEA Member State. This exemption does not apply if (a) the target company qualifies as “real estate-rich” (more than 50% of its assets consist of Spanish real estate not linked to a business activity), or (b) the seller held a substantial participation of 25% or more of the company’s share capital at any point in the 12 months preceding the disposal.
- Real estate-rich companies: If more than 50% of the target company’s assets (at market value) consist of real estate located in Spain that is not used for business activities, the capital gain remains taxable in Spain at 19%, regardless of the seller’s country of residence, including EU/EEA countries. This provision aligns with the OECD Model Tax Convention approach to immovable property.
- 3% withholding obligation: When the seller is a non-resident, the buyer is legally required to withhold 3% of the total purchase price and remit it directly to the Spanish Tax Agency (Agencia Tributaria) using Form 211. This withholding acts as an advance payment against the seller’s final IRNR liability. If the withholding exceeds the actual tax due, the seller can request a refund by filing Form 210.
- Double Taxation Treaties (DTTs): Spain has an extensive network of bilateral tax treaties. Many of these treaties include provisions allowing Spain to tax capital gains on substantial shareholdings or gains derived from companies whose value is primarily attributable to Spanish real estate. The applicable DTT must always be reviewed on a case-by-case basis, as treaty provisions may override, reduce, or confirm domestic tax obligations.
Illustrative scenario: A German company sells its 100% stake in a Spanish SL whose sole asset is a portfolio of rental apartments in Barcelona, valued at €5 million. Despite Germany being an EU Member State, the EU/EEA exemption does not apply because the target company is “real estate-rich.” The capital gain is taxable in Spain at 19%, and the buyer must withhold 3% of the purchase price as an advance payment to the Agencia Tributaria.
The interplay between domestic law, EU exemptions, and applicable DTTs makes non-resident share sales one of the most complex areas of Spanish taxation. At Lawants, we specialise in advising international sellers and buyers on the precise tax treatment of cross-border share transactions, ensuring compliance while identifying all available exemptions and treaty benefits. Contact our team for a tailored assessment of your transaction.
Corporate Tax Implications of Share Deals in Spain
When the seller of shares is a corporate entity rather than an individual, the taxation framework shifts to corporate income tax (Impuesto sobre Sociedades). While the standard rate is 25%, the Spanish corporate tax regime includes a powerful exemption mechanism that can reduce the effective rate to as low as 1.25% for qualifying disposals. Understanding these rules is essential for any international group structuring an entry into or exit from the Spanish market.
Standard Corporate Income Tax (CIT) on Share Disposals
Capital gains derived by a Spanish-resident company from the sale of shares are included in the company’s CIT taxable base and subject to the standard rate of 25%. The taxable gain is calculated as the difference between the disposal proceeds and the acquisition cost, adjusted for any impairment losses previously recognised and reversed.
A reduced rate of 15% applies to newly created companies during their first tax period with a positive tax base and the immediately following period. This incentive is designed to support entrepreneurial activity and can benefit investors who incorporate a new vehicle to hold Spanish assets before a subsequent disposal.
However, the standard 25% rate is rarely the effective rate paid by corporate sellers of qualifying participations, thanks to one of the most significant provisions in Spanish tax law: the participation exemption.
The Participation Exemption: 95% Tax Relief on Qualifying Share Sales
The participation exemption, governed by Article 21.3 of the Spanish Corporate Income Tax Act (Ley 27/2014), is the cornerstone of corporate tax planning for share deals in Spain. Under this provision, 95% of the capital gain from the sale of qualifying shares is exempt from corporate income tax, resulting in an effective tax rate of just 1.25% on the total gain.
To qualify for the exemption, the following conditions must be met simultaneously:
- Minimum shareholding: The seller must hold at least 5% of the share capital of the company being sold. Alternatively, the acquisition value of the participation must exceed €20 million.
- Holding period: The shares must have been held uninterruptedly for at least one year prior to the date of the disposal. The holding period of another group company that previously owned the shares may also count.
- Minimum taxation of the investee: The company whose shares are being sold must have been subject to a tax identical or analogous to Spanish CIT at a nominal rate of at least 10%. This requirement is automatically deemed met if the investee is resident in an EU Member State or in a country with which Spain has signed a Double Taxation Treaty that includes an exchange-of-information clause.
Practical example: A Spanish parent company (SA) sells its 100% stake in a Spanish subsidiary (SL) for a capital gain of €1,000,000. All three conditions are met. Under the participation exemption, 95% of the gain (€950,000) is exempt. Only €50,000 is included in the CIT taxable base, resulting in a tax liability of €12,500 (€50,000 × 25%)—an effective rate of just 1.25%.
There are, however, important limitations and exclusions to keep in mind:
- The exemption does not apply if the investee company is resident in a jurisdiction classified as a tax haven, unless it is an EU Member State and the seller can demonstrate that the subsidiary was incorporated and operates for valid business reasons.
- Special restrictions apply to holding companies or passive entities whose income from dividends and capital gains on participations exceeds 70% of their total gross income.
- Capital losses on qualifying participations (5% or more) are not tax deductible, except in the event of the liquidation of the investee company. This asymmetry is an important planning consideration.
Non-Resident Corporate Sellers and Treaty Considerations
When a non-resident corporate entity sells shares in a Spanish company, the gain is subject to Spanish Non-Resident Income Tax (IRNR) at a flat rate of 19%. However, as with individual non-residents, EU/EEA corporate sellers may benefit from the domestic exemption, subject to the same exceptions for substantial shareholdings and real estate-rich companies.
The EU Parent-Subsidiary Directive also plays a role in the taxation of dividends distributed by Spanish subsidiaries to qualifying EU parent companies, although it does not directly cover capital gains on share disposals. The practical intersection of domestic IRNR rules, EU directives, and bilateral DTTs must be analysed carefully in every cross-border transaction.
A notable precedent in this area is the Spanish Supreme Court’s landmark ruling in the Brambles case. In this decision, the Court held that EU companies selling shares in Spanish companies are entitled to apply the underlying tax credit to offset economic double taxation on the portion of the capital gain attributable to the subsidiary’s retained earnings, even though Spanish domestic law at the time did not explicitly grant this relief to non-resident sellers. The Court ruled that denying this credit to EU companies constituted a breach of EU Treaty principles on the free movement of capital and the prohibition of discrimination. This ruling remains a significant reference point for EU corporate sellers seeking to reduce their Spanish tax liability on share disposals.

VAT and Transfer Tax on Share Deals: The General Rule and the Real Estate Exception
One of the key advantages of structuring a transaction as a share deal rather than an asset deal is the treatment under indirect taxes. As a general principle, the transfer of shares in Spain is exempt from both Value Added Tax (VAT) and Transfer Tax (Impuesto sobre Transmisiones Patrimoniales). However, there is one critically important exception that applies to companies holding significant Spanish real estate, and failing to account for it can result in an unexpected and substantial tax liability.
General VAT and Transfer Tax Exemption for Share Transfers
Under Spanish law, the sale of shares—whether quoted or unquoted, in a public limited company (SA) or a private limited company (SL)—is exempt from VAT (regulated under Act 37/1992) and exempt from Transfer Tax (regulated under Legislative Royal Decree 1/1993). This applies to transfers on both primary and secondary markets.
This exemption is one of the main reasons why share deals are frequently preferred over asset deals for Spanish real estate investments. In an asset deal, the transfer of the underlying property would typically trigger either VAT at 21% (or 10% for dwellings in certain cases) or Transfer Tax at rates ranging from 6% to 11% depending on the autonomous community. By contrast, transferring the shares of the company that owns the property can, in principle, avoid these indirect tax charges altogether.
The Real Estate Exception Under Article 314 of the Securities Markets Act
The Spanish legislator is well aware that share deals can be used to circumvent transfer taxes on real estate. To counter this, Article 314 of the Securities Markets Act (Ley del Mercado de Valores) establishes an anti-avoidance provision that can subject certain share transfers to Transfer Tax (or VAT, where applicable) if the transaction is deemed to be a mechanism to avoid paying the tax that would have applied to a direct transfer of the real estate.
Unless proven otherwise, tax avoidance is presumed in the following circumstances:
- The buyer acquires control (more than 50% of the share capital) of a company where more than 50% of its assets, at market value, consist of real estate located in Spain that is not linked to a business activity.
- The buyer acquires shares in a company whose assets include securities that enable the buyer to exercise control over another entity whose assets consist of more than 50% Spanish real estate not linked to a business activity (the indirect holding scenario).
- The shares being transferred were previously subscribed by the seller in exchange for real estate transferred to the company at incorporation or capital increase, and less than three years have passed since that transfer.
When this provision is triggered, Transfer Tax is levied at rates ranging between 6% and 11%, depending on the autonomous community where the real estate is located. Critically, the tax base is the market value of the underlying real estate owned by the company at the time of the share transfer, not the share purchase price itself.
Illustrative scenario: An international investor acquires 60% of a Spanish SL whose sole asset is a commercial building in Madrid valued at €2 million. The company has no employees, and the building is not used for any active business activity. Since the company qualifies as “real estate-rich” and the buyer obtains control, Transfer Tax applies. At the applicable rate in Madrid (6%), the tax liability would be €120,000 — a significant cost that must be factored into the transaction price.
This exception is one of the most frequently overlooked risks in Spanish share deals, particularly by foreign investors unfamiliar with the concept of “linked to a business activity.” The classification depends on the specific facts: owning real estate that is actively managed as a rental business with dedicated employees may qualify as a business activity, while passively holding investment property typically will not.
Additional Taxes and Considerations on Share Transactions in Spain
Beyond the core layers of capital gains tax, corporate income tax, and indirect taxes, there are several additional tax obligations and specific regimes that may affect share deal participants. Depending on the profile of the buyer or seller—whether they are a listed company investor, an expatriate executive, or a high-net-worth individual—one or more of the following provisions may apply.
Financial Transactions Tax (Spanish Tobin Tax)
Spain’s Financial Transactions Tax (Impuesto sobre las Transacciones Financieras), often referred to as the Spanish “Tobin Tax,” imposes a 0.2% levy on the acquisition of shares in large Spanish listed companies with a market capitalisation exceeding €1 billion. This tax applies regardless of where the transaction takes place or the buyer’s country of residence.
The taxpayer is the buyer, and the tax applies exclusively to shares traded on regulated markets—it does not affect private share deals in unlisted companies. While the rate is modest, it can represent a meaningful cost for large-volume acquisitions of listed Spanish equities.
Exit Tax on Unrealised Capital Gains
Individuals who have been tax residents in Spain for at least 10 of the last 15 years and decide to relocate their tax residence abroad may face an exit tax on unrealised capital gains in their share portfolio. This charge applies if:
- The market value of their shares exceeds €4 million, or
- They hold more than 25% of a company whose shares are valued at more than €1 million.
The exit tax is designed to prevent tax-motivated emigration and requires taxpayers to declare and pay tax on gains that have accrued but have not yet been realised through an actual sale. Individuals relocating to another EU or EEA Member State may benefit from deferral provisions, but the obligation is not eliminated entirely. This is a critical planning consideration for executives and entrepreneurs with significant share portfolios who are contemplating a change of residence.
Wealth Tax and Solidarity Tax on Shareholdings
Non-resident individuals who hold direct shareholdings in Spanish companies may be subject to the Spanish Wealth Tax (Impuesto sobre el Patrimonio), with progressive rates that can range from 0.2% to 3.5% depending on the value of the assets. A general tax-free allowance of €700,000 applies to all taxpayers.
In addition, the Solidarity Tax on Large Fortunes (Impuesto de Solidaridad de las Grandes Fortunas) applies to individuals with net assets exceeding €3 million. This state-level tax acts as a national minimum that overrides the 100% regional wealth tax exemptions offered by autonomous communities such as Madrid and Andalucía. Any regional Wealth Tax paid is fully deductible from the Solidarity Tax liability, so taxpayers never pay both taxes on the same assets.
It is also important to note that the Spanish tax authorities have taken the position in several tax rulings that indirect holdings in Spanish companies—i.e., shares held through foreign holding structures—may also be subject to Wealth Tax when the company’s main assets consist of real estate located in Spain. While the Wealth Tax Act formally refers to direct holdings, this interpretation broadens the scope for non-resident individuals with complex ownership structures.
The Beckham Law and Its Implications for Share Gains
Spain’s special tax regime for inbound expatriates, formally known as the Régimen Especial de Trabajadores Desplazados and commonly referred to as the “Beckham Law,” allows qualifying individuals who relocate to Spain for employment purposes to elect to be taxed under non-resident rules for up to six tax years. Under this regime, general income (such as salary) is taxed at a flat rate of 24% on Spanish-source income up to €600,000, with 47% applying above that threshold.
However, the Beckham Law does not exempt capital gains from the sale of shares. Savings income—including capital gains from share disposals—remains subject to the standard progressive savings income tax rates (19% to 30% from 2025). The 2025 increase of the top rate to 30% for gains exceeding €300,000 has effectively reduced the attractiveness of this regime for individuals with substantial investment income. Expatriate executives and entrepreneurs should assess whether the Beckham Law still represents a net benefit for their specific income profile, particularly when significant share transactions are anticipated.
Understanding how the Beckham Law, Wealth Tax, exit tax provisions, and capital gains rules interact requires careful analysis of each individual’s circumstances. Lawants provides tailored advisory services for international executives and high-net-worth individuals relocating to or from Spain, ensuring optimal tax structuring across all applicable regimes. Get in touch with our specialists.
Tax Due Diligence in Share Deals: What Buyers Must Check
In a share deal, unlike an asset deal, the target company continues to exist as a legal entity after the transaction—and so do all of its pre-existing tax liabilities. The buyer acquires these liabilities indirectly through ownership of the shares. A company that appears financially healthy on the surface may carry hidden tax risks that only emerge during or after a thorough review. This makes comprehensive tax due diligence an indispensable step in any share acquisition in Spain.
The key areas that must be reviewed before closing a share deal include:
- Tax compliance review: Verify that all tax returns—corporate income tax, VAT, withholding taxes on employment income and dividends, and local taxes such as Real Estate Tax (IBI)—have been properly filed and paid within the four-year statute of limitations period.
- Outstanding tax assessments and disputes: Identify any ongoing tax audits, assessments, or litigation with the Agencia Tributaria or regional tax authorities that could result in future liabilities, penalties, or interest charges.
- Transfer pricing risks: Review all intercompany transactions for compliance with Spanish transfer pricing documentation requirements and the arm’s length principle. Significant intercompany transactions with related entities (particularly in other jurisdictions) are a primary area of focus for Spanish tax auditors.
- Real estate asset composition: Determine whether more than 50% of the company’s assets consist of Spanish real estate not linked to a business activity. This analysis has a direct impact on both Transfer Tax exposure (under Article 314 of the Securities Markets Act) and the availability of the EU/EEA capital gains exemption for non-resident sellers.
- Deferred tax assets and liabilities: Assess the company’s carry-forward losses (negative tax bases), unused tax credits, and any deferred tax positions that may affect future profitability and the buyer’s return on investment.
- Withholding tax obligations: Confirm that the company has complied with all dividend, interest, and royalty withholding tax obligations on payments to resident and non-resident recipients.
As a practical safeguard, buyers should also consider requesting a detailed certificate of tax debts from the Spanish tax authorities under Section 175.2 of the General Tax Act (Ley General Tributaria). If the certificate is issued within three months and states that the seller has no outstanding debts, the buyer’s joint and several liability for the seller’s pre-existing tax obligations is eliminated. If the certificate lists specific debts, the buyer’s liability is limited to those amounts. If the tax authorities fail to issue the certificate within three months, the buyer is also released from successor liability.
Key Strategies to Optimise Capital Gains Tax on Share Deals in Spain
While the Spanish tax framework on share deals is complex, there are legitimate and well-established strategies that international investors and corporate groups can use to optimise their tax position. Effective planning before the transaction—rather than reactive compliance after it—is what separates an efficient deal structure from an unnecessarily costly one.
- Structure through a qualifying corporate vehicle. Holding shares through a Spanish or EU corporate entity (rather than as an individual) can unlock the participation exemption, reducing the effective CIT rate on qualifying share disposals to just 1.25%. This is one of the most powerful tools available in Spanish corporate tax law.
- Ensure the one-year holding period is met. The participation exemption requires that the shares have been held uninterruptedly for at least 12 months. Timing the disposal to satisfy this condition is essential. If the holding period has not yet been completed, deferring the transaction by even a few weeks can result in significant tax savings.
- Review all applicable Double Taxation Treaties. Before completing any cross-border share sale, always verify whether the relevant DTT reduces or eliminates Spain’s right to tax the gain. Treaty provisions on capital gains (typically Article 13 of the OECD Model) vary significantly between Spain’s treaty partners.
- Manage the real estate composition of the target company. If the company risks being classified as “real estate-rich” under the 50% threshold, consider whether active business-use reclassification, asset diversification, or operational restructuring prior to the transaction could mitigate the Transfer Tax exposure under Article 314.
- Offset capital losses against gains. Spanish tax residents can offset capital losses from other share transactions or asset disposals against capital gains within the same fiscal year. Any unused net losses may be carried forward for up to four years, providing a buffer against future tax liabilities.
- Evaluate the Beckham Law where applicable. For expatriate executives with anticipated share disposals, a careful cost-benefit analysis of the Beckham Law regime versus the standard tax regime is advisable, particularly following the 2025 increase of the top savings income rate to 30%.
- Consider the timing of the transaction. The introduction of the 30% top rate on savings income from 1 January 2025 means that the timing of large individual share disposals can have a direct impact on the tax bill. Where feasible, structuring the transaction to spread gains across fiscal years may reduce the marginal rate applied.
A note of caution: all tax optimisation must be carried out within the bounds of Spanish anti-avoidance rules (normas anti-elusión). The Agencia Tributaria actively scrutinises transactions that lack genuine economic substance or are structured primarily to obtain a tax advantage. Aggressive or artificial structures may be challenged, reclassified, and subject to penalties.
How Lawants Supports International Investors in Share Deal Taxation in Spain
Navigating the taxation of share deals in Spain requires more than a general understanding of tax rates—it demands a precise, case-specific analysis that accounts for the seller’s and buyer’s tax residency, the corporate structure, the composition of the target company’s assets, and the interplay between Spanish domestic law, EU directives, and bilateral treaties. This is exactly the kind of work that Lawants does every day.
As a multidisciplinary firm of international lawyers, accountants, and tax advisors based in Spain, Lawants provides end-to-end support for share transactions involving foreign investors, multinational groups, and entrepreneurs with interests in Spain. Our services include:
- Tax due diligence for share acquisitions and disposals, ensuring all pre-existing liabilities and risks are identified, quantified, and addressed before closing.
- Transaction structuring to optimise the tax position under Spanish CIT, IRNR, and applicable DTTs, including full analysis of the participation exemption and the real estate anti-avoidance provisions.
- Compliance and filing for all tax reporting obligations arising from the share transaction, including non-resident withholding (Form 211/210), IRNR filings, CIT returns, and Transfer Tax declarations where applicable.
- Cross-border advisory at the intersection of Spanish tax law with EU directives (Parent-Subsidiary Directive, Anti-Tax Avoidance Directive) and bilateral tax treaties, ensuring that international investors benefit from all available exemptions and credits.
- Ongoing corporate tax advisory beyond the transaction, supporting international investors with annual CIT compliance, transfer pricing documentation, VAT obligations, and strategic tax planning.
Whether you are planning to acquire a Spanish company, sell your participation in a Spanish subsidiary, or restructure your existing holdings, our team is ready to provide the clarity and precision your transaction requires. Contact Lawants to schedule a consultation with our international tax advisors.
Frequently Asked Questions About Taxation on Share Deals in Spain
Here we answer to the most frequently asked questions on share deals taxation in Spain.
Do you pay tax on share dealing in Spain?
Yes. Capital gains from the sale of shares are taxable in Spain for both residents and non-residents. Spanish tax residents pay progressive savings income tax rates ranging from 19% to 30% (as of 2025). Non-residents are generally subject to a flat 19% rate under the Non-Resident Income Tax, although EU/EEA residents may be exempt in certain cases.
What is the tax rate on shares in Spain?
For Spanish tax residents, capital gains from shares are taxed as savings income at progressive rates: 19% on the first €6,000, 21% from €6,001 to €50,000, 23% from €50,001 to €200,000, 27% from €200,001 to €300,000, and 30% above €300,000. Non-residents pay a flat 19%. Corporate sellers may benefit from the participation exemption, which reduces the effective rate to as low as 1.25%.
Is there VAT on the sale of shares in Spain?
As a general rule, no. The transfer of shares is exempt from both VAT and Transfer Tax in Spain. However, if the share transfer results in the acquisition of control over a company whose assets are predominantly Spanish real estate not linked to a business activity, Transfer Tax may apply at rates between 6% and 11%, calculated on the market value of the underlying property.
How can you reduce capital gains tax on share deals in Spain?
The most effective strategies include structuring the sale through a qualifying corporate vehicle to access the participation exemption (95% CIT relief), leveraging applicable Double Taxation Treaties, offsetting capital losses, ensuring the one-year holding period is met, and carefully timing the transaction. Professional tax advice is essential to implement these strategies within the bounds of Spanish anti-avoidance rules.
What is the Beckham Law and does it affect taxation on share gains?
The Beckham Law (Régimen Especial de Trabajadores Desplazados) is a special tax regime that allows qualifying expatriates who relocate to Spain for employment to be taxed under non-resident rules for up to six years, with a flat 24% rate on general income. However, capital gains from the sale of shares remain subject to the standard progressive savings income tax rates (19% to 30% from 2025), so the regime does not exempt investment income.
Do you pay 40% tax on shares in Spain?
No. There is no 40% tax rate on capital gains from share sales in Spain. The maximum rate for Spanish tax residents is 30% (from 2025, applicable to gains exceeding €300,000). Non-residents pay a flat 19%. Corporate sellers with qualifying participations may pay as little as 1.25% effective tax through the participation exemption.
Final Considerations
Taxation on share deals in Spain is a multilayered framework that depends on the seller’s residency status, the corporate structure, the composition of the target company’s assets, and the applicable international treaties. From individual capital gains rates that now reach 30% for high-value disposals, to the corporate participation exemption that can bring the effective rate down to 1.25%, to the real estate anti-avoidance rules that can trigger unexpected Transfer Tax, every share transaction in Spain requires careful, case-specific analysis.
The difference between an efficiently structured deal and an unnecessarily costly one often comes down to professional planning before the transaction closes. Whether you are entering the Spanish market through a share acquisition, exiting through a disposal, or restructuring an existing holding, having the right legal and tax team in place is not optional—it is essential.
Lawants is here to ensure your share deal is structured, executed, and reported with full compliance and optimal tax efficiency. Contact us today to discuss your transaction.






