Spain · Guide

Gambling taxes in Spain: how winnings are taxed (2026)

If you live in Spain, winnings from licensed online casinos, sportsbooks, poker and bingo are capital gains (ganancias patrimoniales) in the general base of personal income tax (IRPF), paid without withholding, and gambling losses count only up to the same year's gambling gains. Prizes from SELAE, ONCE, Cruz Roja and regional lotteries instead pay a 20% special levy on the part above €40,000, withheld at source. As of October 1, 2026, no official guidance on prediction-market gains had been found.

Key takeaways

  • For Spanish residents, winnings from licensed online casinos, sportsbooks, poker and bingo are capital gains (ganancias patrimoniales) in the general base of personal income tax (IRPF).
  • Gambling losses count only up to gambling gains from the same tax year (LIRPF art. 33.5.d); the excess is lost, and losses on SELAE, ONCE, Cruz Roja and regional lotteries never count.
  • Licensed operators don't withhold tax on prizes (RIRPF art. 75.3.f), so you declare your net gain yourself.
  • Prizes from SELAE, ONCE, Cruz Roja and regional lotteries pay a 20% special levy only on the part above €40,000, withheld at source: €12,000 on a €100,000 prize.
  • Modelo 720 and 721 cover foreign accounts and crypto held with foreign custodians above €50,000; whether gaming balances abroad must be reported is unclear.
  • No Tax Agency (AEAT) guidance on prediction-market gains had been found as of October 1, 2026.

How are gambling winnings taxed in Spain?

As of October 1, 2026, if you’re resident in Spain, winnings from licensed online casinos, sportsbooks, poker and bingo count as capital gains (ganancias patrimoniales) in the general tax base of personal income tax (IRPF). The Tax Agency (Agencia Tributaria, AEAT) says such prizes “integran la base imponible general del IRPF” (form part of the IRPF general tax base).

In practice, that means:

  • They’re taxed with your other general income, such as your salary, at the progressive rates of the general scale, so the rate depends on your total general income.
  • Only your net gambling gain for the year is taxed, because gambling losses can offset gambling gains from the same year.
  • No tax is withheld when a licensed operator pays you, so you declare the gain yourself in your annual return.

Prizes from SELAE, ONCE, Cruz Roja and regional lotteries follow a different rule: a 20% special levy on the part above €40,000.

Prize from Tax treatment Withholding
Licensed online casinos, sportsbooks, poker and bingo Capital gain in the IRPF general base, net of same-year gambling losses None
SELAE, ONCE, Cruz Roja and regional lotteries 20% special levy on the part above €40,000; not added to your IRPF base 20% of the excess, withheld when paid
Prediction markets No specific AEAT guidance found Unclear

This guide covers Spanish tax residents. To check how online gambling is licensed, see are online casinos legal in Spain.

Which gambling losses can you deduct?

Only up to the amount of your gambling gains in the same tax year. Article 33.5.d of Spain’s personal income tax law (Ley 35/2006, LIRPF) excludes gambling losses for the year “que excedan de las ganancias obtenidas en el juego en el mismo período” (that exceed gambling gains obtained in the same period). The excess isn’t counted at all, so it can’t reduce your other income or be carried to a later year.

How the AEAT applies the rule:

  • All games are pooled. Gambling gains and losses are computed globally for the tax year, combining different games, so a casino loss can offset a sports-betting gain from the same year.
  • Lottery losses never count. Losses on the games covered by the special lottery levy (SELAE, ONCE, Cruz Roja and regional lotteries) can’t be deducted at all.
  • Some prizes can’t be reduced. Prizes from free-entry media contests and promotional draws can’t be offset by gambling losses.
  • “Gambling” has its legal meaning. The AEAT applies the definition of “juego” (gambling) in Spain’s Gambling Act (Ley 13/2011).

Worked example: licensed online winnings

Here’s how the loss rule works for two players who used licensed sites during 2025:

Player A Player B
Gambling gains in 2025 €3,200 €800
Gambling losses in 2025 €1,900 €2,500
Losses that can be deducted €1,900 €800 (capped at gains)
Net gain added to the IRPF general base €1,300 €0
Losses that don’t count €0 €1,700

Player A adds €1,300 to the general base, where it’s taxed at their marginal rate along with the rest of their general income, so the exact tax depends on that rate. Player B has no taxable gambling gain for 2025, but the €1,700 of excess losses is lost for tax purposes: it can’t reduce their salary or a later year’s winnings.

No withholding on licensed online winnings

Licensed online operators pay your winnings in full, with no tax deducted. The IRPF regulation (Royal Decree 439/2007, RIRPF, art. 75.3.f) exempts from withholding prizes from games organized under state and regional gambling law, as well as any prize whose withholding base is €300 or less.

So it’s up to you to work out your net gambling gain and declare it in your annual IRPF return. Licensed operators must give you a monthly activity summary on request, covering logins, deposits, gaming history and spending (Royal Decree 176/2023, art. 18), which can help you add up the year.

The 20% special levy on lottery prizes

Lottery prizes covered by the special levy don’t go into your IRPF base. Instead, under the 33rd additional provision of the IRPF law, they pay a 20% special levy (“gravamen especial”) on the part above €40,000. It covers:

  • lotteries and bets of the state lottery company, Sociedad Estatal Loterías y Apuestas del Estado (SELAE), and of regional (autonomous community) bodies;
  • draws by the Spanish Red Cross (Cruz Roja Española);
  • games authorized to ONCE, the Spanish national organization of the blind;
  • equivalent public or non-profit lotteries in other EU or European Economic Area countries.

How it works:

  • Prizes of €40,000 or less are exempt. Above that, only the excess is taxed.
  • The rate is 20%, collected by withholding when the prize is paid.
  • Small tickets get a smaller exemption. The full exemption applies to tickets or bets of at least €0.50; below that, it’s reduced proportionally.
  • Shared prizes are prorated. If several people share a prize, the exemption is split according to each person’s share.
  • Self-assessment only without withholding. You have to file a self-assessment only if no withholding was applied to a prize above the exempt amount.

The levy doesn’t cover prizes from private licensed operators, such as online casinos, sportsbooks, poker and bingo: those are capital gains in the general base, as described above.

Worked example: a €100,000 lottery prize

Step Amount
Prize (SELAE ticket of at least €0.50) €100,000
Exempt amount −€40,000
Taxable excess €60,000
Special levy at 20%, withheld when paid €12,000
Amount paid out €88,000

The prize doesn’t go into your IRPF base. A prize of €40,000 or less pays no levy at all.

Reporting foreign accounts and crypto: Modelo 720 and 721

Two information returns cover assets held outside Spain: Modelo 720 for foreign accounts and Modelo 721 for crypto held with foreign custodians. Both have €50,000 thresholds, under the general tax management regulation (Royal Decree 1065/2007, arts. 42 bis and 42 quater).

Modelo 720 (accounts) Modelo 721 (crypto)
What it covers Accounts abroad with entities engaged in banking or credit business Crypto held abroad through custodians that safeguard private keys for others
No return needed if Combined year-end balances and combined fourth-quarter average balances don’t exceed €50,000 Combined year-end value doesn’t exceed €50,000
Filing period January 1 to March 31 January 1 to March 31
Later years Only if a combined balance rose by more than €20,000, or you stopped holding an account Only if the combined value rose by more than €20,000

Whether balances held in online gaming accounts or e-wallets abroad must be reported in Modelo 720 is unclear: no official guidance on the point was found. If you hold large sums outside Spain, check with a tax adviser.

Prediction-market gains

No AEAT guidance specific to prediction-market or event-contract gains had been found as of October 1, 2026, so how they would be taxed is unclear. Prediction markets aren’t licensed in Spain either: see are prediction markets legal in Spain.

The bottom line

If you live in Spain, net winnings from licensed online gambling are capital gains in the IRPF general base, paid without withholding, so you declare them yourself, and gambling losses only count up to the same year’s gambling gains. Prizes from SELAE, ONCE, Cruz Roja and regional lotteries instead pay a 20% levy on the part above €40,000, withheld at source: €12,000 on a €100,000 prize. Whether gaming balances abroad belong in Modelo 720, and how prediction-market gains are taxed, is unclear, so check with a tax adviser. If gambling is costing you more than you planned, see where to get help for gambling problems in Spain.

This page is general information, not legal or tax advice. It reflects Spanish tax rules as of October 1, 2026; a tax adviser (asesor fiscal) can help with your own situation.

Compare the 5 best online casinos in Spain Ranked on regulation, fees, features and payouts · bet365 Casino, 888casino, Botemanía and more See the ranking

Frequently asked questions

Do I have to pay tax on gambling winnings in Spain?

Yes, if you're a Spanish tax resident and end the year with a net gambling gain. Winnings from licensed online casinos, sportsbooks, poker and bingo are capital gains in the general base of personal income tax (IRPF), and no tax is withheld, so you declare them yourself. Prizes from SELAE, ONCE, Cruz Roja and regional lotteries instead pay a 20% special levy on the part above €40,000.

Can I deduct gambling losses in Spain?

Only up to your gambling gains in the same tax year (LIRPF art. 33.5.d). Gains and losses from different games are pooled, but any excess loss isn't counted, and losses on SELAE, ONCE, Cruz Roja and regional lotteries never count.

Do online casinos in Spain withhold tax on winnings?

No. Under RIRPF art. 75.3.f, prizes from games organized under state and regional gambling law aren't subject to withholding, so licensed operators pay winnings in full and you declare your net gain in your annual return.

How much tax is due on a lottery prize in Spain?

Prizes of €40,000 or less from SELAE, ONCE, Cruz Roja and regional lotteries are exempt from the special levy. Above that, 20% of the excess is withheld when the prize is paid, so a €100,000 prize pays €12,000 and the winner receives €88,000.

Do I need to report an online gaming account in Modelo 720?

It's unclear. Modelo 720 covers accounts abroad with entities engaged in banking or credit business when combined balances exceed €50,000, and no official guidance was found on whether gaming balances or e-wallets abroad count. Ask a tax adviser if you hold large sums outside Spain.

How are prediction-market winnings taxed in Spain?

It's unclear: no AEAT guidance specific to prediction-market gains had been found as of October 1, 2026. Prediction markets aren't licensed in Spain either; see are prediction markets legal in Spain.

Sources

We verify facts against primary sources (regulators, court records, operators’ own terms) wherever possible.

  1. Ley 35/2006, del Impuesto sobre la Renta de las Personas Físicas (consolidated text) — Boletín Oficial del Estado (BOE) , accessed 2026-10-01
  2. Real Decreto 439/2007, Reglamento del IRPF (consolidated text) — Boletín Oficial del Estado (BOE) , accessed 2026-10-01
  3. Manual práctico de Renta 2025: gravamen especial sobre los premios de determinadas loterías y apuestas — Agencia Tributaria (AEAT) , 2026-03-17
  4. Manual práctico de Renta 2025: pérdidas patrimoniales que no se computan — Agencia Tributaria (AEAT) , accessed 2026-10-01
  5. Real Decreto 1065/2007 (RGAT), arts. 42 bis and 42 quater — Boletín Oficial del Estado (BOE) , accessed 2026-10-01
  6. Ley 13/2011, de 27 de mayo, de regulación del juego (consolidated text) — Boletín Oficial del Estado (BOE) , accessed 2026-10-01
  7. Real Decreto 176/2023, de 14 de marzo, por el que se desarrollan entornos más seguros de juego (consolidated text) — Boletín Oficial del Estado (BOE) , accessed 2026-10-01