Spain has emerged as one of the most stringent jurisdictions in Europe when it comes to cryptocurrency taxation. With comprehensive reporting requirements and aggressive enforcement measures, tax residents and foreign investors need to understand their obligations before engaging in crypto transactions.
Whether you are trading Bitcoin, staking Ethereum, or exploring DeFi protocols, the tax authority (Agencia Tributaria) has clear rules that apply to virtually every crypto activity. This guide breaks down everything you need to know about crypto taxes for 2026.
How Spain taxes cryptocurrency capital gains
Cryptocurrency is treated as a financial asset subject to capital gains tax. When you sell crypto for euros or exchange one cryptocurrency for another, you trigger a taxable event.
Capital gains are taxed under the savings income tax regime (Impuesto sobre el Ahorro). Progressive rates for 2026 are:
- Up to EUR 6K : 19%
- EUR 6K to EUR 50K : 21%
- EUR 50K to EUR 200K : 23%
- EUR 200K to EUR 300K : 27%
- Above EUR 300K : 28% to 30%
Cost basis calculation
Spain requires the use of the FIFO (First-In, First-Out) method to calculate crypto gains. When you sell or swap cryptocurrency, the tax authority assumes you are disposing of the oldest units first.
To calculate your gain, subtract your cost basis from the fair market value on the day you traded it. If the fair market value is EUR 21K and your cost basis is EUR 20K , you have a capital gain of EUR 1K subject to tax.
Loss carryforward rules
Losses can be carried forward for four years. However, crypto losses can only offset future savings gains, not general income. Unused losses automatically carry forward to subsequent tax years within the four-year window.
Crypto-to-crypto trades are taxable events
One of the most misunderstood aspects of crypto taxation is the treatment of crypto-to-crypto exchanges. Every swap between cryptocurrencies is considered a taxable disposal event.
When you exchange Ethereum for Bitcoin, or Solana for USDC, this is treated as two separate transactions. You are deemed to have sold the first cryptocurrency at its fair market value in euros, then used those euros to purchase the second.
Every crypto-to-crypto swap generates a potential capital gain or loss. Failure to report these swaps is one of the most common triggers for crypto tax audits.
Exchanging one cryptocurrency for another is subject to capital gains tax ranging from 19% to 28%. Value of the crypto at the time of the exchange is used to calculate the gain or loss.
Mining, staking, airdrops, and DeFi income
Income from crypto activities beyond trading faces a different tax treatment. Mining rewards, staking yields, airdrops, and DeFi protocol income are classified as general income rather than capital gains.
This distinction is critical because general income faces progressive tax rates up to 47%, significantly higher than the 28% maximum for capital gains.
Mining income
Cryptocurrency miners must register as freelancers under business activity code 832.9. Mining rewards are treated as business income and taxed at progressive rates from 24% to 47%.
Miners can deduct legitimate business expenses, including electricity costs, hardware depreciation, and operational expenses. Proper documentation is essential for claiming these deductions.
Staking rewards
Staking rewards are considered income from movable capital. They are taxed at the savings income rates of 19% to 28%, the same as capital gains.
The taxable amount is calculated based on the fair market value of the staking rewards at the time they are received.
Airdrops and referral rewards
Airdrops and referral rewards are viewed as gifts rather than regular capital. They should be reported in cell 0304 of your income tax return (Modelo 100) and taxed at the same rate as freelance income in the general taxation scale.
DeFi protocol income
The Agencia Tributaria has not issued specific guidance on DeFi transactions. Based on existing rules, earning cryptocurrency through DeFi protocols will likely be subject to income tax.
Activities like yield farming, liquidity provision rewards, and protocol governance token distributions should be treated as taxable income at the time of receipt.
Modelo 721 reporting requirement
Modelo 721 was introduced as part of anti-fraud measures targeting cryptocurrency holders. This informational declaration is mandatory for tax residents who hold cryptocurrency on foreign exchanges or platforms.
Filing threshold
You must file Modelo 721 if the aggregate value of your virtual currencies held abroad exceeds EUR 50K on December 31st. This threshold applies to your total portfolio across all foreign providers.
If you do not exceed the threshold, no filing is required. If you exceed it, you must report all foreign-held crypto positions.
Who must file
Tax residents must file Modelo 721 if they are owners, beneficiaries, authorized persons, or otherwise have disposal rights over coins held with a foreign provider as of December 31.
Critical distinction is where your crypto is held. If you keep cryptocurrency with a custodian outside Spain (on a foreign exchange like Binance, Coinbase, or Kraken), you may need to report it.




