Spanish Capital Gains Tax Overview
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
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)
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
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