Capital Gains Tax Spain 2026

Complete guide to Spanish investment taxation. Understand progressive tax rates, loss offsetting rules, and reporting requirements for IRPF.

Progressive: 19% - 30%
60-Day Wash Sale Rule
4-Year Loss Carryforward

Spanish Capital Gains Tax Brackets 2026

EUR 0 - 6,000
19%
EUR 6,000 - 50,000
21%
EUR 50,000 - 200,000
23%
EUR 200,000 - 300,000
27%
EUR 300,000+
28-30%

Spanish Capital Gains Tax Calculator

Gross Gains EUR 25,000
Less: Losses - EUR 0
Net Taxable Gains EUR 25,000
@ 19% (first EUR 6,000) EUR 1,140
@ 21% (EUR 6,000 - 50,000) EUR 3,990
Total Tax EUR 5,130
Effective Rate 20.52%

Spanish Capital Gains Tax Overview

Ganancias Patrimoniales
Capital gains - profits from selling assets like stocks, funds, and property

In Spain, capital gains from investments are taxed as part of the IRPF (Impuesto sobre la Renta de las Personas Fisicas) - the personal income tax. Unlike Germany's flat rate system, Spain uses progressive tax brackets, meaning higher gains are taxed at higher rates.

Capital gains fall under the "savings income" (renta del ahorro) category, which is taxed separately from employment income and has its own rate structure.

No Short-Term vs Long-Term Distinction

Unlike the US, Spain does not differentiate between short-term and long-term capital gains. Whether you hold for 1 day or 10 years, the same progressive rates apply.

Tax Rates & Brackets (2026)

Spanish capital gains are taxed at progressive rates. As of 2025, the rates were updated with higher brackets for significant gains:

Gain Amount (EUR) Tax Rate Tax on Bracket
0 - 6,000 19% Up to EUR 1,140
6,000 - 50,000 21% Up to EUR 9,240
50,000 - 200,000 23% Up to EUR 34,500
200,000 - 300,000 27% Up to EUR 27,000
300,000+ 28-30% Varies by region

Regional Variations

Some Spanish autonomous communities (like Andalusia and Valencia) have slightly different rates for the highest bracket. Check your specific region's rates for gains over EUR 300,000.

What's Subject to Capital Gains Tax

The following investment income is taxed as capital gains (ganancias patrimoniales) in Spain:

  • Stock sales - Profits from selling shares
  • ETF and fund sales - Including accumulating funds
  • Bond sales - Capital gains on fixed income
  • Cryptocurrency - All crypto disposals
  • Real estate - Property sales (with some exemptions)
  • Derivatives - Options, futures, CFDs

Dividends and interest are also taxed at the same progressive rates but are classified as "rendimientos del capital mobiliario" (income from movable capital) rather than capital gains.

Loss Offsetting Rules

Compensacion de Perdidas
Loss compensation - using capital losses to reduce taxable gains

Spain allows you to offset capital losses against capital gains, but there are important rules to follow:

Within the Same Year

  • Capital losses can offset capital gains from the same year
  • If losses exceed gains, up to 25% of excess losses can offset other savings income (dividends, interest)

Loss Carryforward

  • Unused capital losses can be carried forward for 4 years
  • Losses must be applied in order (oldest first)

60-Day Wash Sale Rule (Regla Antiaplicacion)

You cannot claim a capital loss if you repurchase the same or substantially similar security within 2 months (60 days) before or after the sale. This is stricter than the US 30-day rule!

Cryptocurrency Taxation

Spain takes cryptocurrency taxation seriously. Crypto is treated as a capital asset, and all disposals are taxable events:

  • Selling crypto for EUR - Taxable at progressive rates
  • Trading crypto for crypto - Taxable event (e.g., BTC to ETH)
  • Using crypto for purchases - Taxable disposal
  • Staking rewards - Taxed as income when received

Modelo 721 - Crypto Reporting

Since 2024, Spanish residents must file Modelo 721 if they hold cryptocurrency on foreign platforms exceeding EUR 50,000. This is an informative declaration similar to Modelo 720 for other foreign assets.

Reporting Requirements

Modelo 100 (Annual Tax Return)

All capital gains and losses must be reported on your annual IRPF tax return (Modelo 100). The deadline is typically June 30 for the previous tax year.

Modelo 720 (Foreign Assets Declaration)

Modelo 720
Informative declaration of foreign assets

If you hold assets outside Spain exceeding EUR 50,000 in any category (bank accounts, securities, real estate), you must file Modelo 720 by March 31.

Modelo 720 Penalties

Failure to file or late filing of Modelo 720 can result in significant penalties. While the most extreme penalties were struck down by EU courts, it's still essential to file on time.

Tax Optimization Strategies

1. Tax Bracket Management

Since Spain uses progressive rates, try to keep annual gains below bracket thresholds. For example, realizing EUR 6,000 in gains keeps you at the 19% rate.

2. Year-End Loss Harvesting

Sell losing positions before December 31 to offset gains. Remember the 60-day wash sale rule if you want to repurchase!

3. Spread Large Gains Across Years

If you have a large position to sell, consider splitting it across two tax years to stay in lower brackets.

4. Use the Loss Carryforward

In years with losses, document everything carefully. You have 4 years to use those losses against future gains.

Plan Around the 60-Day Rule

If you want to harvest a loss but keep the position, consider buying a similar (but not identical) asset during the 60-day window. For example, sell one S&P 500 ETF and buy a different S&P 500 ETF.

Frequently Asked Questions

What are the capital gains tax rates in Spain?
Spain uses progressive rates: 19% for gains up to EUR 6,000, 21% for EUR 6,000-50,000, 23% for EUR 50,000-200,000, 27% for EUR 200,000-300,000, and 28-30% for gains above EUR 300,000.
What is the wash sale rule in Spain?
Spain has a 60-day (2-month) wash sale rule. You cannot claim a capital loss if you repurchase the same or substantially similar security within 2 months before or after the sale. This is stricter than the US 30-day rule.
Can I offset losses against gains in Spain?
Yes, capital losses can offset capital gains. Unused losses can be carried forward for 4 years. Additionally, up to 25% of excess losses can offset other savings income like dividends and interest.
What is Modelo 720?
Modelo 720 is an informative declaration required for Spanish tax residents who hold foreign assets exceeding EUR 50,000 in any category (bank accounts, securities, real estate). It must be filed by March 31 each year.
How is cryptocurrency taxed in Spain?
Cryptocurrency gains are taxed at the same progressive rates as stocks (19-30%). All crypto disposals are taxable, including crypto-to-crypto trades. Since 2024, Modelo 721 is required for crypto held on foreign platforms exceeding EUR 50,000.

Simplify Your Spanish Tax Reporting

AllInvestView automatically calculates your capital gains, tracks losses for carryforward, and generates reports compatible with Modelo 100.

Start Free Trial