Kointax.ioKointax.io

Margin trading of cryptocurrencies in Spain: how to declare leveraged operations

Margin trading (leveraged trading) in crypto has specific tax rules. Complete guide for Spain.

Equipo kointax·May 11, 2026·4 min read

Margin trading in Spain: how to declare

All margin/leveraged trading gains/losses = capital gain/loss (savings tax base).

Taxable events:

  • Position opening: NOT taxable
  • Position close (TP/SL/liquidation): Capital gain or loss
  • Margin fees/interest: Deductible expense from the trade profit
  • Funding rates: Income (received) or expense (paid)
  • Liquidations: Capital loss on lost value

High leverage (100x): Even small moves create large taxable gains/losses. Active margin traders can have hundreds of taxable events.

kointax imports margin trading history and calculates net gain/loss per closed position.

👉 Import your margin trading in 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