Back to blog
Taxation & Investment

Crypto Derivatives Taxation in Spain: Futures, Perpetuals, Options and Leverage

Complete guide on how crypto futures, perpetuals and options are taxed in Spain. Funding rates, liquidations, leverage and AEAT obligations for derivatives traders.

E

Cleriontax Team

Crypto Tax and Data Analysis Experts

19 min read
DerivativesFuturesPerpetualsCrypto OptionsLeverageFunding RatesDeFi LiquidationsRealised PnLLeveraged TokensCopy TradingAEATIncome Tax ReturnCapital GainsForm 721
Tributación de derivados cripto en España - Guía completa sobre futuros, perpetuos, opciones, funding rates y liquidaciones ante la AEAT
8 de marzo de 2026
19 min de lectura
Fiscalidad e Inversión
DerivativesFuturesPerpetualsCrypto OptionsLeverageFunding RatesDeFi LiquidationsRealised PnLLeveraged TokensCopy TradingAEATIncome Tax ReturnCapital GainsForm 721

Crypto derivatives move more volume than the spot market. On Binance Futures and Bybit alone, the daily volume of perpetual contracts regularly exceeds $50 billion. And yet, when it's time to file taxes, the vast majority of derivatives traders find themselves in no man's land: there are no specific boxes in the tax return for perpetuals, regulations don't mention them, and generalist tax advisers rarely master the particularities of a contract with a negative funding rate that gets partially liquidated at 3 AM.

The result is a practical vacuum that produces two equally dangerous extremes: those who declare nothing (believing that "if I haven't withdrawn euros, it's not taxable") and those who declare incorrectly (confusing realised PnL with unrealised, or ignoring funding fee treatment).

This article covers the taxation of all crypto derivative instruments available on major platforms: futures with expiry, perpetual contracts, options, and leveraged products.

What Are Crypto Derivatives and Why Their Taxation Differs

A derivative is a financial instrument whose value derives from an underlying asset. In the case of crypto derivatives, the underlying is a cryptocurrency (BTC, ETH, SOL, etc.), but the trader never actually owns the cryptocurrency. They operate on contracts that replicate the underlying's price movement.

This distinction is fundamental for taxation because it changes the nature of the operation:

In the spot market, you buy and sell actual cryptocurrencies. Each sale or swap generates a capital gain or loss calculated using the FIFO method.

In derivatives, there is no buying or selling of cryptocurrencies. There are opening and closing of contractual positions. FIFO doesn't apply because there's no underlying asset entering and leaving your portfolio. What is taxed is the net economic result of each operation.

Types of Crypto Derivatives on Major Platforms

Quarterly Futures. Contracts with a defined expiry date. At expiry, the position is automatically settled at the reference price.

Perpetual Contracts (Perpetual Swaps). The most popular instrument in crypto. They work like futures but without an expiry date. A funding rate mechanism generates periodic payments between longs and shorts.

Options. Contracts granting the right (not obligation) to buy (call) or sell (put) a cryptocurrency at a determined price (strike) before a specific date.

Leveraged Tokens. Tokenised products that replicate the underlying's movement with built-in leverage (2x, 3x).

Futures and Perpetuals: How They're Taxed Operation by Operation

The AEAT classifies derivative operation results as capital gains or losses integrated into the savings tax base.

Calculating the Gain or Loss

The basic formula:

Result = (Closing Price - Opening Price) × Position Size × Direction

Where "Direction" is +1 for long positions and -1 for short positions.

Example 1: Long BTC with profit

  • Open long 1 BTC at 42,000 USDT with 10x leverage
  • Margin deposited: 4,200 USDT
  • Close at 44,500 USDT
  • Gross result: (44,500 - 42,000) × 1 = +2,500 USDT
  • Opening fee (0.04%): 16.80 USDT
  • Closing fee (0.04%): 17.80 USDT
  • Net gain: 2,500 - 16.80 - 17.80 = 2,465.40 USDT

Leverage Doesn't Change Taxation

Leverage is irrelevant for tax purposes. What is taxed is the actual economic result of the operation, not the deposited margin or the notional contract size.

Euro Conversion: The Moment That Counts

Most crypto derivatives are denominated in USDT or USD. For Spanish tax returns, all results must be converted to euros using the exchange rate on the day the position is closed.

Funding Rates: The Hidden Cost That's Also Taxed

Perpetual contracts use a funding rate mechanism to keep the contract price aligned with spot. Every 8 hours, a payment occurs between traders with open positions.

Tax Treatment of Funding

The most practical approach (and the one followed by most specialist advisers): funding payments and receipts are integrated into the overall result of the position when it's closed. They're added to or subtracted from the total PnL.

Example with Accumulated Funding

  • Open long 2 BTC perpetual at 40,000 USDT
  • Hold position for 30 days
  • Funding paid over 30 days: -180 USDT
  • Close at 43,000 USDT
  • Price PnL: (43,000 - 40,000) × 2 = +6,000 USDT
  • Funding PnL: -180 USDT
  • Trading fees: -35 USDT
  • Net result: 6,000 - 180 - 35 = 5,785 USDT → capital gain

Liquidations: When Positions Are Forcibly Closed

Total Liquidation

When total liquidation occurs, you lose all deposited margin. For tax purposes, the result is a capital loss equal to the lost margin.

This loss can be offset against capital gains from the same year or carried forward for 4 years.

Partial Liquidation

Some exchanges implement partial liquidation. Each partial liquidation generates a proportional capital loss that must be recorded individually.

Liquidation vs. Voluntary Close with Stop-Loss

For tax purposes, there's no difference between a forced liquidation and a voluntary close at a loss. The tax treatment is identical.

Crypto Options: A Derivative with Its Own Rules

Option Buyer

If the option expires worthless (out of the money): The premium paid is registered as a capital loss on the expiry date.

If the option is exercised (in the money): The premium paid is incorporated into the acquisition cost of the resulting position.

If you sell the option before expiry: The difference between premium paid and sale price generates a capital gain or loss.

Option Seller

If the option expires worthless: The premium received is registered as a capital gain on the expiry date.

If the option is exercised against you: The result depends on the option type and exercise price.

Leveraged Tokens: The Rebalancing Trap

Leveraged tokens (like Binance's BLVTs) are tokenised products. Unlike futures, you actually own these tokens, which changes their tax treatment.

  • FIFO applies for calculating gains and losses
  • Each sale generates a capital gain or loss
  • They're included in wealth for Form 714 purposes

Copy Trading and Bots: Who Pays Tax?

Copy trading and automated trading bots generate operations taxed the same way as manual operations. Each closed operation generates a capital gain or loss. Our guide on Bybit data export covers how to download copy trading and derivatives history.

How to Declare Derivatives: Step by Step

Step 1: Get the Complete History

Download the derivatives operation history from each exchange. Export guides for Binance and Bybit will help.

Step 2: Consolidate and Classify Operations

Group all closed operations for the tax year. For each one, calculate the net result in euros. This classification process is where most errors occur.

Step 3: Integrate into the Tax Return

Derivatives results are declared as capital gains and losses in the savings tax base. Gains are added to other capital gains. Losses are offset following the compartment mechanism. Net result is taxed at savings base rates (19%-28%).

Step 4: Don't Forget Form 721

If you trade derivatives on exchanges based outside Spain and the total balance exceeds €50,000, you must file Form 721.

Common Mistakes When Declaring Crypto Derivatives

Confusing realised PnL with unrealised PnL. Only closed positions are taxed.

Not declaring derivatives because "I haven't withdrawn euros". The taxable event occurs when the position is closed, not when funds are withdrawn.

Ignoring funding rates. For positions held weeks or months, accumulated funding can represent a significant percentage of the result.

Incorrect euro conversion. Using an annual average exchange rate instead of the rate on the day each position is closed.

Treating derivatives as spot operations. Applying FIFO to futures or perpetuals is a conceptual error.

Not including liquidations as losses. A liquidation is a capital loss. Not declaring it means losing the right to offset it.

Frequently Asked Questions

Do perpetual futures have different tax treatment than quarterly futures?

No. Both generate capital gains or losses. The only practical difference is that perpetuals include funding payments.

Can I offset derivative losses against spot market gains?

Yes. Derivative capital losses are integrated in the same savings base compartment as spot gains.

Does the anti-avoidance rule (2 months) apply to derivatives?

The anti-avoidance rule applies to homogeneous securities. In derivatives, there's no transfer of an underlying asset, so the 2-month rule doesn't apply. You can close a BTC long at a loss and open another immediately without the loss being blocked. This is a significant tax advantage of derivatives over spot.

How is a position that crosses tax years treated?

It's only taxed when closed. If you open a position on 20 December 2025 and close it on 10 January 2026, the result is declared in 2026.

Must I declare deposited margin even if I haven't traded?

Margin itself doesn't generate taxation. But if margin is on a foreign exchange, it counts for Form 721 threshold purposes.

The Regulatory Future: DAC8 and Derivatives

The DAC8 directive will include crypto-asset derivative operations within mandatory reporting scope. Preparing now with organised documentation is the best investment.

Cleriontax: Crypto Derivatives Tax Specialists

At Cleriontax, we understand derivatives complexity because we work with traders who operate daily on Binance Futures, Bybit, and Deribit.

Our service for derivatives traders includes:

Extraction and professional cleaning of futures, perpetuals, and options operation histories.

Precise calculation of realised PnL including funding rates, trading fees, and liquidation fees.

Euro conversion with exchange rates from each position's closing date.

Integration of derivative results with spot operations for a complete tax return.

Advisory on loss offsetting and tax optimisation.

Request your derivatives tax report →

Disclaimer: This article is for informational and educational purposes only. Crypto derivatives are high-risk instruments. Tax regulations are subject to change. Always consult a qualified professional.

Last updated: March 2026

Published by: Cleriontax Team — Cryptocurrency Tax and Data Analysis Experts

Did you find this article helpful?

Share it with other investors who might need it

Need help with your cryptocurrency tax return?

Our team of experts can analyze your case and prepare your complete tax return

Request free analysis