Kointax.ioKointax.io

Crypto margin trading in Spain: how leveraged profits and losses are taxed

Margin trading allows leveraged operations. Complete tax guide in Spain.

Equipo kointax·September 5, 2026·4 min read

Crypto margin trading in Spain: taxation

How it works: Leveraged positions (e.g., 10x). Example: €1,000 collateral controls €10,000 BTC position.

Gains/losses: Capital gain/loss in base del ahorro (19-28%). Losses can offset other capital gains; uncompensated losses carry forward 4 years.

Margin interest: Reduces net PnL. Treated as cost reducing the gain or increasing the loss.

Liquidation: Collateral lost = capital loss in the year of liquidation.

kointax imports margin trading history from Binance, Bybit, OKX and calculates net PnL including margin interest.

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