Kointax.ioKointax.io

Crypto losses in Spain: how to offset them against gains and reduce taxes

Crypto losses can offset capital gains and income. Complete guide on loss compensation in Spain.

Equipo kointax·April 8, 2026·6 min read

Crypto losses in Spain: offset and reduce taxes

Types of crypto losses:

  • Sale/swap losses: Capital loss (price sold < price paid)
  • Hack/scam/failed project: Deductible when "definitively produced" (requires evidence)
  • DeFi impermanent loss: Capital loss on withdrawal

Offsetting rules:

  1. Capital losses offset capital gains (same year, any asset class)
  2. Excess losses offset capital income (dividends, interest) up to 25% of net positive balance
  3. Remaining balance carried forward 4 years

2-month anti-wash rule: Loss on asset X + purchase of identical asset within 2 months before/after = loss deferred until the repurchased position is sold.

kointax automatically identifies all losses and applies the 2-month rule correctly.

👉 Optimize your losses with kointax

Ready to calculate your crypto taxes?

declaracrypto.es — FIFO, LIFO, HIFO or WAC method. 80+ compatible exchanges. Excel + PDF report ready for your tax return.

Start free — no card needed