You bought Bitcoin five years ago at €2,000. You have been holding it, watching it appreciate. In 2024, it reached €45,000, and you decided to sell, pocketing a €43,000 gain. You are now a Spanish resident. When April rolls around and you contemplate your tax obligations, you assume you can simply claim it as a long-term capital gain at a favourable rate, the way you might in the US or UK. Spain has other ideas. The moment you sell that Bitcoin, the Spanish tax authority, the Agencia Tributaria (AEAT), views it as a taxable event subject to Spain’s personal income tax (IRPF). Every crypto-to-crypto swap, every use of Bitcoin to pay for a coffee, every staking reward is tracked, reported to authorities automatically via European data-sharing directives, and subject to penalty if you do not declare it correctly. This guide explains Spain’s cryptocurrency tax regime in 2026, so high-income investors do not make costly mistakes.
The Fundamental Rule: Spain Taxes Crypto as an Asset, Not a Currency
The Agencia Tributaria classifies cryptocurrency as a digital asset, equivalent to stocks, bonds, or real estate—not as currency. This distinction is crucial because it means every time you dispose of crypto (sell it, swap it for another coin, or even use it to buy goods), you trigger a taxable event. Simply holding Bitcoin is not taxable; but the moment you convert it into euros, exchange it for Ethereum, or pay for a meal with it, tax becomes due.
For Spanish tax residents, the rule is worldwide taxation. If you are resident in Spain (spending more than 183 days per year there or meeting the “centre of vital interests” test), Spain taxes all your cryptocurrency income and gains, regardless of where the crypto is held, where the transaction takes place, or what exchange you use. Your Coinbase account in the US, your hardware wallet holding Ethereum in France, your mining rigs in Iceland—all are subject to Spanish tax.
What Triggers Taxation: Taxable Events
The following crypto activities are universally treated as taxable events under Spanish IRPF:
Selling crypto for fiat currency. Selling Bitcoin for euros, Ethereum for dollars, any crypto for any currency. The gain is the difference between your acquisition cost and the sale price, both valued in euros.
Swapping one cryptocurrency for another. Trading Bitcoin for Cardano, exchanging tokens on Decentralised Finance (DeFi) protocols like Uniswap, or using Curve Finance to swap stablecoins. The Agencia Tributaria confirmed in binding consultations that these are taxable disposals. You are deemed to have converted your initial crypto to euros at fair market value, then purchased the new crypto with those (theoretical) euros. Both legs are taxable.
Using crypto to purchase goods or services. Paying for a laptop with Bitcoin creates a taxable event. The gain is the difference between your Bitcoin’s cost basis and its value on the day you made the purchase.
Receiving crypto as income. Mining cryptocurrency, receiving staking rewards, earning yield farming returns, receiving airdrops, or being paid salary in crypto all trigger income tax at fair market value on the day you control the asset. These are not capital gains; they are general income, taxed at rates up to 47%.
Receiving crypto in an inheritance or gift. Subject to Spain’s Inheritance and Gift Tax (ISD), which operates separately from income tax.
Activities that do NOT trigger immediate taxation:
Simply holding crypto. Buying Bitcoin at €5,000 and holding it while it appreciates to €45,000 incurs zero tax. Tax is due only on the gain, and only when you dispose of it.
Transferring crypto between your own wallets. Moving Bitcoin from one personal wallet to another is not a taxable event, provided both wallets are yours and you maintain documentation proving ownership. However, if you cannot prove both wallets are yours, the tax authority may treat the transfer as a disposal.
The Tax Rates: A Progressive Ladder
Crypto capital gains fall into Spain’s “savings income base” (base del ahorro), which is taxed at progressive rates:
- 19% on the first €6,000 of net annual capital gains
- 21% on the next €44,000 (€6,001 to €50,000)
- 23% on the next €200,000 (€50,001 to €250,000)
- 27% on gains between €250,001 and €300,000
- 28% on gains exceeding €300,000
Importantly, these are marginal rates. If you have a €60,000 capital gain, you do not pay 23% on all of it; you pay 19% on the first €6,000, 21% on the next €44,000, and 23% on the remaining €10,000.
For mining, staking, salary, and other crypto income (not capital gains), the tax is at ordinary income tax rates, which can reach 45% at the national level, plus regional rates (typically adding 5–8%), for an effective top rate around 47%.
Non-residents are taxed at a flat 19% on capital gains from crypto sales and swaps. This can be more or less favourable than the resident rates, depending on your gain size.
The FIFO Method: Calculating Which Coins You Sold
Spain mandates the FIFO (First-In-First-Out) method for identifying which cryptocurrencies you sold. If you purchased Bitcoin in three separate transactions and later sold some, you are deemed to have sold the oldest purchase first.
Example: You buy 1 BTC at €3,000 in 2020, another 1 BTC at €30,000 in 2023, and another 1 BTC at €40,000 in 2024. You then sell 2 BTC in 2025 for €45,000 each (total €90,000). Under FIFO, you sold the 2020 purchase (cost basis €3,000, gain €42,000) and the 2023 purchase (cost basis €30,000, gain €15,000), for a combined gain of €57,000. The 2024 purchase (still held) is not affected. This matters because FIFO can result in realizing large gains when you sell older, cheaper coins.
Your cost basis includes not just the purchase price but also all acquisition and disposal costs: exchange fees, network fees, transaction charges. These reduce your taxable gain.
Reporting: Modelo 100 and Modelo 721
All crypto gains and income must be reported on your annual Personal Income Tax return (Modelo 100) using Section D (Ganancias y Pérdidas Patrimoniales). If you have numerous transactions, you may be able to submit a summary rather than listing every single transaction, but the total net gain is mandatory.
Deadline: June 30 of the year following the tax year. For 2025 gains, file by June 30, 2026.
Additionally, if you hold cryptocurrencies, tokens, or digital assets on foreign platforms (Coinbase, Binance, Kraken, hardware wallets outside Spain) worth more than €50,000 on December 31 of any year, you must file Modelo 721, an informative return declaring those foreign crypto holdings.
Modelo 721 deadline: March 31 of the following year. For crypto held on December 31, 2025, file by March 31, 2026.
Failing to file Modelo 721 or filing incompletely carries penalties of €5,000 per undeclared asset and up to €10,000 for late filing. These are automatic and do not require the tax authority to prove fraud or intent.
The Game-Changer: Automatic Data Exchange (DAC8)
Since 2024, the European Union’s DAC8 directive requires crypto exchanges, custodians, and wallet providers to report customer holdings and transactions automatically to tax authorities. Spain’s AEAT now receives data from Coinbase, Binance, Kraken, and hundreds of smaller platforms, giving authorities unprecedented visibility into your trades, rewards, and balances.
This is a critical change. The era of hoping your crypto activity went unnoticed is over. The AEAT cross-checks your declared gains against the transaction data it receives from exchanges. If you report €10,000 in gains but the exchange reports €50,000 in sales, the mismatch is flagged automatically for audit.
Special Cases: NFTs, Mining, and Staking
NFTs are treated as digital assets, taxed the same as crypto. Selling an NFT creates a capital gain or loss. If you mint and sell an NFT as a professional activity, the income may be taxed as business income at rates up to 47%.
Mining is taxed as general income at the fair market value on the day you receive the mined coins. If you mine 0.1 BTC worth €4,000, that €4,000 is immediately taxable income. Later, when you sell that Bitcoin, any appreciation from €4,000 to, say, €5,000 is a separate €1,000 capital gain. Mining losses (electricity costs exceeding revenue) can sometimes offset other income if you operate as a professional miner registered as an autónomo.
Staking rewards are taxed as general income on receipt. If you stake Ethereum and receive rewards worth €2,000, that €2,000 is income tax at ordinary rates (up to 47%). A later sale of the staked coins generates a separate capital gain.
DeFi lending and yield farming returns are taxed as general income when received.
Loss Carryforward and Offset
Spanish law allows you to offset crypto losses against crypto capital gains in the same year. If you sold Bitcoin for a €20,000 gain and Ethereum for a €5,000 loss, your net capital gain is €15,000.
Unused losses can carry forward four years and offset future capital gains. However, capital losses cannot offset general income (salary, business profit, mining income). If you have a €50,000 loss from crypto trading and €100,000 in salary, you cannot offset the loss against your salary; you can only offset it against future capital gains.
High-Net-Worth Considerations: Wealth Tax and the Solidarity Tax
Beyond income tax, high-net-worth investors must consider Wealth Tax (Impuesto sobre el Patrimonio). If your total net wealth exceeds regional thresholds (typically €600,000 to €2,000,000 depending on region), cryptocurrencies held on December 31 are includible assets. You declare crypto holdings in Modelo 714, valued at fair market value (typically the 31 December closing price).
Additionally, if your net wealth exceeds €3 million (or approximately €4 million for residents with a primary home), the Solidarity Tax on Large Fortunes applies at rates up to 3.75%. Crypto is included in net wealth for this calculation.
These taxes are separate from income tax and apply even if you made no sales or generated no income in the year.
Compliance Checklist for 2026
Before year-end:
- Maintain detailed records of all crypto purchases (date, price in euros, fees) and sales (date, price, fees).
- Use FIFO to track which coins you sold.
- Document all mining, staking, and DeFi income with fair market values on receipt dates.
- Track all crypto-to-crypto swaps and their euro valuations on each leg.
By March 31, 2026:
- If you held more than €50,000 in foreign crypto on December 31, 2025, file Modelo 721.
By June 30, 2026:
- File your 2025 IRPF (Modelo 100) declaring all crypto capital gains, income, and losses.
- Include all taxable transactions in Section D.
If wealth exceeds thresholds:
- File Modelo 714 (Wealth Tax) if net wealth exceeds your region’s threshold.
- File Modelo 718 (Solidarity Tax) if net wealth exceeds €3 million.
The Bottom Line
Spain’s crypto tax regime is mature, automated, and enforced. The AEAT has the data, the authority, and increasing sophistication in identifying undeclared crypto activity. Penalties for non-compliance are steep—up to 150% of unpaid tax plus interest. For high-income investors, ignoring these obligations is not a risk; it is a certainty of eventual enforcement.
The good news: with proper planning, documentation, and professional advice, crypto taxation in Spain is manageable. Many investors use specialized crypto tax software (Koinly, TokenTax, Tytle) that integrates Spanish rules and exports the data needed for Modelo 100. For complex portfolios or significant gains, a Spanish tax adviser experienced in crypto (not all gestorías are) is a worthwhile investment.
This article is for general informational purposes only and does not constitute tax or legal advice. Spanish cryptocurrency tax law is complex, evolving, and subject to regional variations. Rates, deadlines, and reporting requirements may change. Before taking action, consult a qualified Spanish tax professional experienced in cryptocurrency and your specific circumstances.

Leave a Reply