Crypto Taxes in Spain: What You Need to Know

Crypto Taxes in Spain: What You Need to Know

Marc Cantavella

Marc Cantavella

13 min read

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.

Self-custody exception

Self-custody, where you control the private keys to your cryptocurrency wallet, is not reportable under Modelo 721. Only crypto held with foreign service providers triggers the reporting obligation.

Filing deadline

Modelo 721 must be filed between January 1 and March 31 each year. The filing covers cryptocurrency holdings as of December 31 of the previous year.

Valuation method

To value your cryptocurrency, calculate the average price as of December 31 of the financial year. Use the average of multiple exchanges if necessary to establish fair market value.

Modelo 100 annual tax return

All crypto gains, income, and transactions must be reported on Modelo 100, the annual income tax return. Income tax returns start every year in early April and must be filed by June 30 for the preceding year.

You will need to submit your tax return for the 2025 tax year by June 30, 2026. Returns capture all capital gains from crypto sales, swaps, and disposals, as well as income from mining, staking, and other activities.

Proper record-keeping is essential. Maintain documentation of all transactions, including dates, amounts, counterparties, and fair market values in euros.

Penalties for non-compliance

The crypto tax enforcement framework is one of the most comprehensive in Europe. Penalties for non-compliance are severe and can include substantial fines and surcharges.

Modelo 721 penalties

Failure to file Modelo 721 by the March 31 deadline results in minimum penalties of EUR 10K , plus EUR 0K per late item. Total penalties can potentially reach EUR 50K to EUR 100K .

Filing incorrect or incomplete information triggers a EUR 0K fine. Additional penalties include EUR 0K per omitted item (such as each unreported cryptocurrency) or EUR 0K per incorrect item of information.

Income tax penalties

Misreporting capital gains on Modelo 100 triggers fines of 15% to 150%, depending on severity. Percentage increases for deliberate concealment or fraud.

Residents who try to avoid paying taxes exceeding EUR 120K may even face criminal prosecution and prison sentences.

Wealth tax penalties

Non-disclosure of wealth tax liabilities adds 50% to 150% penalties on unpaid tax. Spanish tax residents must report worldwide assets, including cryptocurrency holdings.

Exchange data sharing

Authorities now operate aggressive enforcement measures. Centralized crypto exchanges like Binance, Coinbase, Kraken, and others are required to share customer information with the government.

DAC8 directive, effective January 1, 2026, requires crypto exchanges and service providers in the EU to automatically send precise information to tax authorities. Data includes transaction histories, account balances, and user movements, encompassing sales, exchanges, and transfers of assets.

Beckham Law and cryptocurrency

The Beckham Law is a special tax regime governed by Article 93 of the Income Tax Law. Originally introduced to provide tax relief for top international athletes, it is now available to other professional groups, including executives, entrepreneurs, remote workers, and investors.

Eligibility requirements

Individuals who become tax residents through relocation may opt for the Beckham Law regime if they meet certain conditions:

  • Being hired by a Spanish company
  • Working remotely as a digital nomad
  • Being directors of Spanish active companies
  • Being professionals involved in Spanish start-ups

General tax benefits

Individuals under the Beckham Law benefit from a reduced flat rate of 24% up to EUR 600K and 47% on the excess for employment income and certain business activities income. They also enjoy non-taxation on non-sourced passive income and gains.

Crypto taxation under Beckham Law

While the Beckham Law may reduce tax on employment income, crypto capital gains and crypto income are still fully taxed under standard income tax rules.

Individuals under the Beckham Law are subject to a flat tax rate of 24% on capital gains derived from the sale or exchange of cryptocurrency assets. This rate applies to the difference between the purchase price and the selling price.

Crypto-related income, such as mining rewards or staking income, may also be subject to income tax under the regime, though at potentially more favorable rates than the standard progressive scale.

Location considerations

To determine cryptocurrency transaction taxation under the Beckham Law, you must establish if the exchange platform or key safekeeping service operates in Spain. A cryptocurrency is considered located in Spain if the entity providing storage services is based there.

Individuals under the Beckham Law must still consider wealth tax, including the new high net-worth individuals tax, on assets located in Spain.

Non-resident cryptocurrency taxation

Non-residents face different obligations. However, they must still declare any crypto income sourced from local soil, including transactions via local exchanges.

Capital gains for non-residents

For non-resident investors, capital gains from cryptocurrency-to-fiat conversions are taxed at progressive rates applied to the profit generated by the conversion. This applies when using cryptocurrency to purchase property or conduct other transactions.

Real estate transactions with crypto

Non-residents who acquire property using cryptocurrency must calculate and settle the tax before the final property deed signing. Notary public is legally required under AML and KYC laws to verify the origin of all funds.

After acquiring property, non-residents enter the standard tax framework for property owners. Even if a non-resident owner does not rent out the property, they face an annual levy on the imputed income from the property, with a taxable base generally of 1.1% or 2% of the cadastral value.

Reporting requirements for non-residents

While Modelo 721 is mandatory for tax residents, obligations differ for non-residents. However, centralized exchange data sharing means non-residents with local exchange accounts may still face scrutiny from tax authorities.

Spain's crypto regulatory framework

Full implementation of the European Union's Markets in Crypto-Assets (MiCA) regulation and the DAC8 tax reporting directive is scheduled for 2026.

MiCA implementation timeline

Enforcement of the DAC8 directive on tax reporting begins January 1, 2026, followed by full implementation of the MiCA licensing framework by July 1, 2026.

The December 2025 target for full national application was updated after coordination with European authorities.

MiCA framework overview

MiCA regulation sets common rules for crypto-asset service providers in all EU member states. It establishes clear classifications for different types of digital assets, including utility tokens, security tokens, and stablecoins.

MiCA also creates uniform compliance requirements for crypto-related service issuers. Oversight has been assigned to the National Securities Market Commission (CNMV).

Compliance requirements

Transitional period for companies to become MiCA compliant has been set to July 1, 2026. Only companies that have obtained full MiCA authorization will be permitted to operate thereafter.

According to a study by Dutch crypto trading firm Yieldfund, 42% of crypto-asset service providers report a 45% increase in costs linked to MiCA preparations. However, firms that have completed compliance efforts have seen a 45% rise in institutional investment.

DAC8 tax reporting

DAC8 requires crypto exchanges and service providers in the EU to automatically send precise information to tax authorities. The data comprises transaction histories, account balances, and user movements, encompassing sales, exchanges, and transfers of assets.

Comparing Spain with crypto-friendly EU alternatives

This jurisdiction stands in stark contrast to several crypto-friendly locations in Europe. Understanding these differences can help investors make informed decisions about tax residency and structuring.

Portugal

Portugal continues to be one of Europe's most attractive destinations for crypto investors. As of 2023, gains from selling crypto held less than a year are subject to a flat tax rate of 28%, while long-term gains from selling crypto remain tax-free.

Crypto-to-crypto trades also remain tax-free in Portugal. This represents a significant advantage compared to jurisdictions where every swap triggers a taxable event.

Switzerland

Switzerland is considered a top crypto tax haven and is called a crypto valley. Qualified crypto traders and miners pay income tax of 0% to 13.2% and wealth tax of 0.5% to 0.8%, depending on total annual revenue.

Individual investors are exempted from capital gains tax and can trade crypto tax-free. This makes Switzerland significantly more favorable for active traders.

Other European jurisdictions

Malta, Germany, and several other European countries offer more favorable crypto tax treatment. Germany, for example, exempts cryptocurrency held for more than one year from capital gains tax.

Countries such as France and the Netherlands impose moderate crypto taxes, but still remain more favorable than progressive rates up to 47% on certain crypto income.

Practical considerations for crypto investors in Spain

If you are a tax resident or considering moving while holding cryptocurrency, several practical steps can help ensure compliance and optimize your tax position.

Maintain comprehensive records

Keep detailed records of all cryptocurrency transactions, including dates, amounts, counterparties, and fair market values in euros. Use crypto tax software to track your cost basis and calculate gains using the FIFO method.

Understand your filing obligations

Determine whether you need to file Modelo 721 based on your foreign-held crypto holdings as of December 31. Maintain records in case you exceed the EUR 50K threshold in future years.

Plan for tax payments

Set aside funds to cover your crypto tax obligations. With rates potentially reaching 28% on capital gains and 47% on certain income, liabilities can be substantial.

Consider professional advice

Given the complexity of crypto taxation and the severity of penalties for non-compliance, consulting with a tax professional who specializes in cryptocurrency is advisable. Authorities are increasingly sophisticated in their crypto enforcement efforts.

Evaluate alternative jurisdictions

If you have flexibility in choosing your tax residency, compare different jurisdictions with more crypto-friendly options like Portugal or Switzerland. Tax savings can be substantial, particularly for active traders or those with significant crypto holdings.

Conclusion

The cryptocurrency tax framework is among the most comprehensive and stringent in Europe. With capital gains rates up to 28%, income tax rates up to 47% on certain activities, mandatory reporting requirements, and severe penalties for non-compliance, tax residents and foreign investors must approach crypto taxation with careful planning and diligence.

Implementation of MiCA and DAC8 in 2026 will further increase transparency and enforcement. Crypto exchanges will automatically share customer data with tax authorities, making it nearly impossible to avoid detection.

Whether you are trading, staking, mining, or simply holding cryptocurrency, understanding your tax obligations is essential. Proper record-keeping, timely filing, and professional guidance can help you navigate this complex landscape while minimizing your tax burden within the bounds of the law.

Savings income tax rates (19% to 30%) for crypto capital gains

PwC Worldwide Tax Summaries – Spain Individual·Last checked: 09/02/26

Modelo 721 reporting requirement for foreign-held cryptocurrency

Agencia Tributaria – Wealth Tax·Last checked: 09/02/26

FIFO cost basis method required by Agencia Tributaria

PwC Worldwide Tax Summaries – Spain Income Determination·Last checked: 09/02/26

Beckham Law eligibility and crypto taxation under Article 93

Agencia Tributaria – Special Regime for Expatriates·Last checked: 09/02/26

DAC8 directive and MiCA regulatory framework for 2026

PwC Worldwide Tax Summaries – Spain Significant Developments·Last checked: 09/02/26

Progressive general income tax rates up to 47% for mining income

PwC Worldwide Tax Summaries – Spain Individual·Last checked: 09/02/26

Marc Cantavella

Manager at The Global Wealth

International Tax Lawyer and HNWI Relocation Expert. Co-founder and Manager at The Global Wealth.