Tax Rules · Spain

Trading Taxes in Spain: What Traders Need to Know

Spain taxes trading profits on a five-tier progressive scale from 19% to 28%. Learn the brackets, Modelo 720 rules, autónomo classification, and the Beckham.

Buy Now - ₹6,599 for Lifetime Buy Now - $159 for Lifetime

7-day money-back guarantee

Quick Answer

Spain's IRPF taxes trading profits progressively: 19% up to €6,000, 21% to €50,000, 23% to €200,000, 27% to €300,000, and 28% above €300,000.

Key Rules

01

Progressive Savings Income Scale (19%–28%)

All trading gains are taxed as ganancias patrimoniales under the IRPF savings base using five progressive brackets, not a flat rate.

02

Loss Carry-Forward (4 Years)

Losses can offset gains in the same year and be carried forward for up to four years. Losses can also offset savings income interest up to 25% of that base.

03

Modelo 720 Foreign Asset Reporting

Foreign-held brokerage accounts and crypto wallets exceeding €50,000 per asset category must be declared by March 31 each year. Penalties post-2022 ECJ ruling are up to €1,500 per data group for missed filings.

04

Autónomo Classification for Professional Traders

Traders whose primary income is trading may be classified as self-employed (autónomo) by AEAT, triggering monthly social security contributions of €230–€590 but allowing deduction of platform fees, data subscriptions, and home office costs.

05

Homogeneous Securities (Anti-Wash-Sale) Rule

Under Art. 33.5 LIRPF, selling a listed security at a loss and rebuying within 2 months disallows the loss deduction. For unlisted instruments, the window extends to 1 year.

06

Crypto Reporting via Modelo 172/173

Since 2023, all crypto disposals must be reported under Ley 11/2021 using Modelos 172 and 173, covering balances held and transactions executed.

Practical Examples

Miguel earns €80,000 in futures and options profits under the Beckham Law. Assuming he pays 24% flat is wrong — foreign-sourced gains use the standard progressive scale: 19% on €6,000 + 21% on €44,000 + 23% on €30,000 = €17,280 (effective ~21.6%).

A trader with €55,000 in a US brokerage account must file Modelo 720 by March 31. Filing late post-2022 incurs a €200 penalty per data group — compared to the pre-ECJ 150% surcharge on the asset value.

Using €12,000 in carry-forward losses reduces a €80,000 gain to €68,000, saving approximately €2,500 in tax.

Who This Applies To

Spain tax residents trading stocks, ETFs, CFDs, forex, futures, and crypto

How JournalPlus Helps

JournalPlus logs every trade with entry price, exit price, date, and realized P&L, giving traders an accurate annual gains and losses summary ready for IRPF filing. The loss carry-forward tracker shows exactly how much prior-year loss remains available, preventing traders from overlooking deductions. For autónomo traders, per-trade records substantiate deductible business expenses when AEAT requests documentation.

Spain’s trading tax rules (IRPF — Impuesto sobre la Renta de las Personas Físicas) apply a five-tier progressive scale to all capital gains from stocks, ETFs, CFDs, forex, futures, and crypto. Enforced by the Agencia Estatal de Administración Tributaria (AEAT), these rules also carry obligations around foreign asset reporting (Modelo 720), professional trader classification, and — for expats — a commonly misunderstood interaction with the Beckham Law.

Who This Applies To

Any individual tax resident in Spain who earns income from disposing of financial instruments — including stocks, ETFs, CFDs, currency pairs, futures contracts, options, and crypto — is subject to IRPF on those gains. Non-residents are generally taxed only on Spanish-sourced income under different rules (IRNR).

Thresholds matter: the Modelo 720 obligation triggers at €50,000 per asset category held in foreign accounts. The autónomo classification applies when trading becomes a trader’s primary, habitual income source — there is no official day count, but AEAT examines frequency, structure, and income dependency. Casual retail investors who also hold a salaried job are unlikely to be reclassified as professional traders.

Key Rules

Progressive Savings Scale (19%–28%)

All trading profits are classified as ganancias patrimoniales and taxed on the IRPF savings base. The five brackets: 19% on the first €6,000; 21% on €6,001–€50,000; 23% on €50,001–€200,000; 27% on €200,001–€300,000; and 28% above €300,000. Spain’s 28% top rate sits mid-range in the EU — above Germany’s flat 25% Abgeltungsteuer but below Denmark’s 42%. This is not a flat rate, and calculating tax as if it were will produce errors.

Loss Carry-Forward (4 Years)

Realized trading losses offset gains in the same tax year first. Any net loss remaining can be carried forward for up to four years. Losses can also offset savings income (dividends, bond interest) up to 25% of that base. Many Spanish traders underuse this provision, particularly after a down year — tracking exact loss amounts by year is essential.

Modelo 720 Foreign Asset Reporting

Traders with foreign brokerage accounts, crypto wallets, or other foreign assets must file Modelo 720 by March 31 each year if any single asset category exceeds €50,000 (valued at December 31 of the prior year). The 2022 European Court of Justice ruling struck down Spain’s original penalty regime — which could reach 150% of the undeclared asset value — but the filing obligation itself was upheld. Current penalties for a missed or late filing are up to €1,500 per data group, plus a fixed fine of €100–€200 per individual item.

Homogeneous Securities Rule (Anti-Wash-Sale Equivalent)

Under Art. 33.5 LIRPF, if a trader sells an exchange-listed security at a loss and repurchases the same or homogeneous security within 2 months, the loss deduction is disallowed until the replacement position is closed. For unlisted or homogeneous instruments, the window extends to 1 year. This closely mirrors the US wash sale rule and catches traders who attempt to harvest losses while maintaining market exposure.

Autónomo Classification for Professional Traders

Traders whose trading is habitual, structured, and constitutes their primary income source may be required by AEAT to register as autónomo (self-employed). Under the 2023 cuota system, monthly social security contributions range from €230 (net income under €670/month) to approximately €590 (net income above €6,000/month). In exchange, autónomo traders may deduct platform fees, market data subscriptions, and a portion of home office costs as business expenses.

Crypto Reporting (Ley 11/2021, Modelos 172/173)

Since fiscal year 2023, all crypto disposals must be reported to AEAT via Modelos 172 (balances held at crypto service providers) and 173 (transactions). Crypto gains are taxed identically to other capital gains under IRPF. Failure to file triggers separate penalties from the Modelo 720 regime.

Practical Examples

Example 1 — The Beckham Law Trap

Miguel, a UK expat living in Madrid under the Beckham Law, trades ES futures and SPY options through Interactive Brokers (Irish entity) and earns €80,000 in trading profits in a calendar year. He assumes the Beckham Law’s flat 24% rate applies and budgets €19,200 in tax.

Because his profits derive from US-listed instruments, they are foreign-sourced capital gains — outside the Beckham Law’s scope. The standard savings scale applies: 19% on €6,000 (€1,140) + 21% on €44,000 (€9,240) + 23% on €30,000 (€6,900) = €17,280, an effective rate of approximately 21.6%. Miguel actually owes less than he feared — but traders in higher brackets who assumed the 24% flat rate would save them money may find the opposite.

Miguel also holds €55,000 in a US brokerage account, triggering a Modelo 720 obligation. He files two weeks late, incurring a €200 penalty per data group rather than the pre-2022 regime’s potentially catastrophic 150% surcharge on the declared asset value.

Example 2 — Loss Carry-Forward in Practice

The same trader had €12,000 in net losses from the prior tax year, still within the four-year carry-forward window. Applying those losses reduces taxable gains from €80,000 to €68,000. At the marginal rates that apply in that range, the saving is approximately €2,500 — equivalent to nearly 16 months of a basic autónomo contribution.

Example 3 — Homogeneous Securities Trap

A trader sells 200 shares of Inditex (ITX) in November at a €4,000 loss and repurchases 200 shares in December — within the 2-month window. AEAT disallows the €4,000 loss deduction for that tax year. The loss only becomes deductible when the replacement shares are eventually sold. Tax-loss harvesting around year-end requires careful timing to avoid this outcome.

How JournalPlus Helps with Compliance

JournalPlus logs every trade with full entry/exit data, dates, and realized P&L, generating an accurate annual gains and losses summary in the format needed for IRPF filing. The tax-conscious traders workflow makes it straightforward to identify which losses remain within their carry-forward window and how much offsetting capacity remains against savings income.

For professional traders operating as autónomo, the complete trade log provides an audit-ready record if AEAT requests documentation of business activity — demonstrating the habitual, structured nature of trading that underpins both the classification and the associated expense deductions.

Forex and futures traders can export per-instrument summaries that separate Spanish-sourced from foreign-sourced gains — directly relevant to Beckham Law calculations. See how forex traders use JournalPlus to stay organized across multiple instruments and jurisdictions.

Disclaimer

This content is for educational purposes only and does not constitute legal, tax, or financial advice. Tax laws and AEAT interpretations change frequently. Consult a qualified gestor, asesor fiscal, or attorney for advice specific to your situation.

Frequently Asked Questions

What tax rate do traders pay in Spain?

Spain taxes trading profits under IRPF’s savings base using five progressive brackets: 19% on the first €6,000, 21% on €6,001–€50,000, 23% on €50,001–€200,000, 27% on €200,001–€300,000, and 28% above €300,000. The effective rate depends on total annual gains — there is no single flat rate.

Do I need to file Modelo 720 if I use a foreign broker in Spain?

Yes, if the total value of your foreign brokerage accounts, crypto wallets, or other foreign assets in any single category exceeds €50,000 as of December 31, you must file Modelo 720 by March 31 of the following year. The 2022 ECJ ruling reformed the penalty structure but did not remove the filing obligation. Penalties for non-filing now reach up to €1,500 per data group.

Does the Beckham Law reduce taxes on trading profits?

Only for Spanish-sourced income. The Beckham Law (Art. 93 LIRPF) applies a flat 24% on Spanish-sourced income up to €600,000 for up to six years. Capital gains from foreign-listed instruments — including US equities, futures, and options traded through non-Spanish brokers — remain taxed under the standard progressive savings scale. The law is far less beneficial for internationally active traders than commonly assumed.

Can trading losses be carried forward in Spain?

Yes. Net trading losses can be carried forward for up to four years and used to offset future capital gains. They can also offset savings income (dividends, bond interest) up to 25% of that base in the same year. Maintaining a precise record of losses by fiscal year is essential to claiming this benefit in full.

When is a trader considered autónomo in Spain?

AEAT classifies a trader as professional — and therefore obligated to register as autónomo — when trading is habitual, structured, and constitutes the trader’s primary income source. No published day-count safe harbor exists. Monthly contributions under the 2023 cuota reform range from €230 for those earning under €670/month net to approximately €590 for those earning above €6,000/month net. The classification also unlocks deductions for platform fees, data services, and home office costs.

This content is for educational purposes only and does not constitute legal, tax, or financial advice. Spanish tax law and AEAT interpretations change frequently. Consult a qualified gestor, tax advisor, or attorney for advice specific to your situation.

Frequently Asked Questions

What tax rate do traders pay in Spain?

Spain taxes trading profits under IRPF's savings base at 19% on the first €6,000, 21% on €6,001–€50,000, 23% on €50,001–€200,000, 27% on €200,001–€300,000, and 28% above €300,000. There is no single flat rate.

Do I need to file Modelo 720 if I use a foreign broker in Spain?

Yes, if the total value of your foreign brokerage accounts, crypto wallets, or other foreign assets exceeds €50,000 per category as of December 31, you must file Modelo 720 by March 31 of the following year. The 2022 ECJ ruling reformed the penalties but did not eliminate the filing obligation.

Does the Beckham Law reduce taxes on trading profits?

Only partially. The Beckham Law (Art. 93 LIRPF) applies a flat 24% rate to Spanish-sourced income up to €600,000. However, capital gains from foreign-listed instruments — such as US equities or futures — are taxed under the standard progressive savings scale, not the flat rate.

Can trading losses be carried forward in Spain?

Yes. Losses from trading can offset gains in the same year and be carried forward for up to four years. They can also offset savings income interest (such as dividends or bond coupons) up to 25% of that base amount.

When is a trader considered autónomo in Spain?

AEAT classifies a trader as professional (and therefore required to register as autónomo) when trading is habitual, structured, and the primary source of income. There is no published bright-line day count. Monthly autónomo contributions range from €230 to €590 under the 2023 quota system, depending on net income.

Stay Compliant With Your Journal

JournalPlus helps you maintain the records you need for tax reporting and regulatory compliance.

Buy Now - ₹6,599 for Lifetime Buy Now - $159 for Lifetime

7-day money-back guarantee

SSL Secure
One-Time Payment
7-Day Money-Back