Skip to content

Crypto Tax in Spain: Declare Safely and Efficiently

Specialist tax advisory on cryptocurrencies, NFTs, DeFi, and other digital assets for individuals and businesses.

EUR 50k
Form 721 filing threshold: crypto assets held abroad at 31 December
FIFO
Mandatory Spanish cost basis method -- we calculate every transaction correctly
2026
DAC8 reporting start date -- AEAT will automatically receive exchange transaction data
4.8/5 on Google · 50+ reviews 25+ years experience 5 offices in Spain 500+ clients
Deadline 1 January 2026

DAC8 Automatic Crypto Reporting

Crypto service providers will automatically report to tax authorities

Quick assessment

Does this apply to your business?

Have you declared every crypto-to-crypto swap as a taxable event, not just fiat cash-outs?

Do you hold more than EUR 50,000 in crypto on foreign exchanges without having filed Form 721?

Are you tracking the acquisition cost and FIFO queue for every token across all wallets?

Are your DeFi activities -- staking, liquidity provision, yield farming -- being correctly classified and declared?

0 of 4 questions answered

Our approach

Our crypto tax declaration process: portfolio audit and FIFO calculation

01

Transaction inventory & classification

We compile and classify all transactions for the tax year: purchases and sales, swaps, staking, lending, airdrops, NFTs, play-to-earn, and DeFi operations. We classify each income item under current tax regulations.

02

Gains & losses calculation

We calculate capital gains and losses applying the FIFO method (mandatory in Spain) and analyse offsetting possibilities against other gains or losses.

03

Tax filing & reporting

We correctly include crypto asset income in the personal income tax (IRPF) or corporate tax return, and file Form 721 (virtual assets held abroad) where required.

04

Planning & ongoing compliance

We advise on how to structure future transactions to optimise the tax impact, and monitor regulatory changes (including the MiCA Regulation and the DAC8 directive) to maintain compliance.

The challenge

Crypto tax in Spain is complex, rapidly evolving, and subject to increasing scrutiny from the AEAT. Many investors do not know how to correctly declare their transactions, are unaware of reporting obligations (Form 721), or assume that DeFi or staking activities have no tax implications. Getting it wrong can mean significant penalties.

Our solution

We provide comprehensive tax advisory for investors and businesses with crypto asset exposure: from correctly classifying each type of income to filing all required declarations. We use specialist software to track transactions and calculate gains and losses under the FIFO method recognised by Spanish tax law.

In Spain, cryptocurrency and digital asset transactions are subject to Personal Income Tax (IRPF) under Law 35/2006, with capital gains and losses allocated to the savings base at progressive rates of 19–28%; every exchange, sale, or disposal — including crypto-to-crypto swaps — constitutes a taxable event calculated using the mandatory FIFO method. Law 11/2021 (anti-tax-fraud act) formalised crypto reporting obligations and introduced Form 721, which requires taxpayers holding more than EUR 50,000 in crypto assets on foreign platforms as at 31 December to file an informative declaration between January and March of the following year. From 2026, EU Directive DAC8 will require all crypto asset service providers to automatically exchange account-holder transaction data with tax authorities across member states.

Our digital tax team stays permanently up to date with the rapidly evolving regulatory landscape for crypto assets, both in Spain and across the European Union. We combine technical knowledge of digital assets with deep mastery of tax regulation to provide precise and reliable advisory.

Our digital tax team stays permanently up to date with the rapidly evolving regulatory landscape for crypto assets, both in Spain and across the European Union. We combine technical knowledge of digital assets with deep mastery of tax regulation to provide precise and reliable advisory.

Crypto investors in Spain face a combination of multiple and evolving tax obligations that are easy to breach inadvertently: capital gains declarations in the IRPF savings base using the mandatory FIFO method, Form 721 for portfolios held on foreign exchanges exceeding EUR 50,000, and the classification of staking, lending, and DeFi income without specific regulatory guidance. Ignorance is no defence: the AEAT has been cross-referencing data from EU-regulated exchanges since 2022 and has initiated thousands of reviews against investors who assumed their transactions went unnoticed. From 2026, the DAC8 directive will automate the exchange of information from all crypto service providers with European tax authorities, eliminating any remaining room for opacity.

Our Crypto Tax Declaration Process: Portfolio Audit and FIFO Calculation

Our digital tax specialists begin with a complete inventory of all portfolios, exchanges, and wallets. We use specialist software to reconcile transactions across any blockchain and calculate gains and losses correctly applying the FIFO method required by the AEAT. We classify each type of transaction — purchases and sales, swaps, staking, lending, airdrops, NFTs, DeFi — under the criteria of Law 35/2006 (LIRPF) and available administrative doctrine. We prepare and integrate all income into the IRPF or corporate tax return, file Form 721 on time, and document every interpretative criterion applied so the client is in a defensible position before any AEAT request.

Regulatory Framework: IRPF, Form 721, and DAC8

Law 11/2021 on tax fraud prevention incorporated crypto asset tax treatment into Spanish law: capital gains and losses in the IRPF savings base, and Form 721 — in force since 2023 — for crypto assets held abroad exceeding EUR 50,000. The EU’s MiCA Regulation, fully applicable from December 2024, requires providers to register and meet AML requirements. The DAC8 directive, with mandatory transposition by 1 January 2026, establishes automatic exchange of information between tax authorities of all member states on crypto portfolios and transactions. Current savings base IRPF rates range from 19% to 28%.

Real Results in Crypto Taxation: Zero Penalties and a Defensive Position

  • Correctly filed declaration with no classification or FIFO calculation errors, and full supporting documentation.
  • Form 721 filed in the January-to-March window with zero risk of non-declaration penalties.
  • Prior-period regularisation with the minimum possible surcharge where applicable.
  • Documented forward-looking optimisation strategy: disposal calendar, loss offset against up to four prior years, evaluation of alternative investment vehicles.
  • Fully prepared defensive position before the AEAT, before DAC8 comes into force.

Crypto asset taxation in Spain has matured rapidly in recent years. What was once a regulatory vacuum has become an enforcement framework the AEAT applies with increasing rigour: reporting obligations for exchanges and service providers, Form 721 for foreign-held crypto assets, and the imminent DAC8 implementation that will automate information exchange between European tax authorities. The margin for ignorance or negligence narrows with every tax year.

The first challenge is purely technical: correctly calculating gains and losses on a crypto portfolio with hundreds or thousands of transactions across multiple platforms. Spain requires the FIFO method for gains calculations, which means the acquisition cost of each unit sold must be traced back to the oldest available purchases. For an active investor with positions across several exchanges and staking, lending, and DeFi transactions, this calculation is virtually impossible without specialist software. We use the most advanced tools available to reconcile transactions across any blockchain and generate the detailed report that supports every figure included in the return.

The second challenge is the tax classification of non-standard transactions. Liquidity provision in a DeFi protocol, yield farming, airdrops, and play-to-earn have no specific regulation in current Spanish law, requiring the application of general IRPF principles with sound interpretative judgement. Our position is always prudent and documented: we classify each type of transaction following available administrative doctrine and analogy with more established categories, and record in writing the criteria applied to defend them in the event of an AEAT review.

Forward-looking tax planning delivers the greatest value for investors with significant portfolios. Before a major disposal, the timing and manner in which it is executed can have a material tax impact. Loss offsetting against prior years, the decision to sell before or after the year-end, and the evaluation of alternative investment vehicles are decisions with lasting tax consequences. We advise our clients with significant portfolios before each material transaction, acting in coordination with our tax compliance and tax planning teams to ensure every decision is consistent with the investor’s overall tax strategy.

Spanish cryptocurrency taxation: the regulatory framework

Spain has developed one of Europe’s most detailed regulatory frameworks for cryptocurrency taxation, combining specific AEAT guidance (Consultas Vinculantes issued since 2018), Ley 11/2021 (Ley de Medidas de Prevención y Lucha contra el Fraude Fiscal) provisions introducing crypto-specific reporting obligations, and MiCA (Markets in Crypto Assets Regulation, applicable from 2024) compliance requirements for professional crypto businesses.

The AEAT has made cryptocurrency compliance a specific enforcement priority: from 2024, exchanges are required to report Spanish residents’ crypto holdings and transactions to the AEAT directly (Modelo 172/173), and Spanish resident holders of crypto assets on foreign platforms must file Modelo 721 (the crypto equivalent of Modelo 720). The enforcement environment makes accurate and complete crypto tax reporting not just a legal obligation but a practical necessity.

Taxation of crypto assets: by transaction type

Different crypto transactions have different Spanish tax treatment:

Sales and exchanges (including crypto-to-crypto): treated as capital gains or losses (ganancias o pérdidas patrimoniales) for IRPF purposes. The gain or loss is the difference between the sale price and the acquisition cost (FIFO — first in, first out — unless the taxpayer makes a specific election). Gains held for more than one year are taxed at the savings income rates (19-28%); short-term gains are taxed at general rates (up to 47%).

Staking income: treated as income from economic activity (rendimientos de actividades económicas) or, in some cases, as capital income (rendimientos del capital mobiliario), depending on whether the activity constitutes an organised economic activity. The AEAT’s position continues to evolve, and individualised advice is strongly recommended.

Mining income: consistently treated as economic activity income, with deductibility of mining equipment, electricity costs, and other direct expenses.

DeFi (liquidity provision, lending, yield farming): the tax treatment varies by specific mechanism and is not definitively resolved for all scenarios. Some DeFi transactions involve recognition events (taxable disposals) that are not intuitive from a user perspective — providing liquidity to an AMM pool may trigger a disposal of the contributed tokens, for example.

NFTs: treated consistently with other crypto assets — disposal is a capital gain event; creation and sale of NFTs for economic activity purposes triggers economic activity income treatment.

Airdrops and forks: the AEAT’s position is that hard fork tokens received are treated as a new acquisition at zero cost basis (creating a deferred gain for future disposal), while airdrops may be treated as donations (subject to ISD) or income depending on the circumstances.

Modelo 720 and Modelo 721: overseas asset declarations

Spanish tax residents holding crypto assets on foreign platforms above EUR 50,000 in aggregate must file Modelo 721 by 31 March of the following year. The penalties for non-compliance are severe: EUR 5,000 per item not declared (minimum EUR 10,000), though Constitutional Court challenges have reduced the extreme penalties previously applicable to Modelo 720 and may influence Modelo 721 enforcement. Our international tax team manages Modelo 721 filings as part of comprehensive crypto tax compliance.

Crypto business compliance: MiCA and AML

For businesses operating in the crypto sector — exchanges, wallet providers, DeFi protocols with a Spanish nexus, NFT marketplaces, crypto payment processors — MiCA registration with the CNMV (as of the Spanish transposition) is now required, along with AML obligations under the modified Ley 10/2010 framework. Our regulatory outsourcing team advises on the compliance programme required for crypto businesses operating in Spain.

Contact our crypto tax team for a review of your crypto holdings and transaction history.

Track record

Real results in crypto taxation: zero penalties and a defensive position before the AEAT

I had been active in DeFi for two years and had never declared any of it, assuming swaps between tokens were not taxable. BMC reconstructed the full history, calculated the correct position, and filed a voluntary disclosure that resolved everything with minimal surcharges.

Private client
Software Engineer & DeFi Investor

Experienced team with local insight and international reach

What you get

What our crypto asset tax service includes

Transaction history and classification

Full transaction history compilation and classification across CEX, DEX, DeFi protocols, NFT marketplaces, and gaming platforms.

FIFO gains and losses calculation

Capital gains and losses calculation applying the mandatory FIFO method using specialist crypto tax software.

IRPF and corporate tax filing

Correct allocation of each crypto income category to the savings base or general base of the IRPF, or to the corporate tax return.

Form 721 filing

Preparation and submission of the informative declaration for virtual currencies held abroad exceeding EUR 50,000.

Voluntary disclosure management

Regularisation of prior undeclared crypto activity through voluntary disclosure to minimise penalties.

DAC8 and MiCA compliance

Preparation for DAC8 reporting obligations and monitoring of MiCA regulatory developments affecting crypto tax.

Guides

Reference guides

Beckham Law in Marbella — pay 24% income tax for up to five years on the Costa del Sol

Beckham Law advice in Marbella for expats, remote workers and professionals relocating to the Costa del Sol. Flat 24% tax rate for up to five years. Application, management and optimisation.

View guide

Live in Spain and pay only 24% income tax — legally

Spain's Beckham Law lets qualifying new residents pay a flat 24% income tax rate instead of the progressive scale up to 47%. Find out if you qualify and how to apply with expert help from BMC.

View guide

Selling property in Spain as a non-resident: understand the 3% withholding and what you can reclaim

Non-residents selling Spanish property face 3% withholding and IRNR capital gains tax. Reclaim overpaid withholding and reduce your liability with BMC.

View guide

Canary Islands tax regime — the 4% corporate rate and why the 2026 deadline matters

Complete guide to the Canary Islands Special Economic Zone (ZEC) 4% tax rate, REF incentives, RIC deduction, IGIC and the December 2026 registration deadline.

View guide

ZEC Canary Islands: Last Opportunity to Pay 4% Corporate Tax — Deadline December 31, 2026

Everything you need to know about the ZEC (Zona Especial Canaria): requirements, eligible activities, application process, and the December 31, 2026 deadline. BMC office in Las Palmas.

View guide

Inheritance tax in Spain: what heirs and estate owners need to know

Spain's inheritance tax (ISD) applies to estates and gifts involving Spanish assets or residents. Expert cross-border estate planning from BMC.

View guide

Service Lead

Lucia Mendez Ortega

Associate - Tax Division

FAQ

Frequently asked questions about cryptocurrency declarations in Spain

Yes. Any crypto transaction (sale, swap, crypto payment, staking, lending, airdrops) can trigger tax obligations in Spain. Additionally, if you hold more than EUR 50,000 in crypto assets on exchanges or wallets outside Spain, you must file Form 721.
Capital gains are taxed in the savings base of the IRPF at progressive rates: 19% up to EUR 6,000; 21% from EUR 6,000 to 50,000; 23% from EUR 50,000 to 200,000; 27% from EUR 200,000 to 300,000; and 28% above EUR 300,000.
Staking and lending returns are generally classified as capital income and taxed in the savings base. However, depending on the type of operation and the relationship with the platform, the classification may differ. We analyse each case individually.
NFT transactions generate capital gains or losses if sold at a price different from acquisition cost. If NFTs are created and sold as an economic activity, the income will be taxed as business income.
Form 721 is the informational declaration for virtual currencies held abroad. It must be filed by taxpayers who hold more than EUR 50,000 in crypto assets custodied outside Spain as at 31 December of the tax year. The filing deadline is January to March of the following year.
Yes, we have experience classifying and declaring transactions in DeFi protocols: liquidity provision, yield farming, decentralised lending, bridges, and on-chain derivatives. Each type of transaction has specific tax implications.
DAC8 is the EU directive that extends automatic exchange of tax information to crypto asset service providers. From 2026, exchanges and platforms operating in the EU must report account holders' transaction data to tax authorities, who will share this information across member states. This significantly increases the AEAT's visibility into crypto holdings and transactions. We advise clients on getting ahead of their compliance position before reporting begins.
In Spain, every exchange of one cryptocurrency for another -- including swapping BTC for ETH, or trading any token for a stablecoin -- is treated as a disposal of the first asset and an acquisition of the second. A capital gain or loss arises at the moment of the swap, calculated as the difference between the market value of the received asset (treated as the proceeds) and the acquisition cost of the disposed asset under the FIFO method. This applies regardless of whether fiat currency was involved.
Yes. Capital losses from crypto disposals can be offset against capital gains from other sources (shares, property, other assets) in the savings base of the IRPF. Unused losses can be carried forward for four years. Careful timing and ordering of disposals -- particularly in years with mixed gains and losses across different asset classes -- can generate significant tax savings through deliberate loss-harvesting strategies.
First step

Start with a free diagnostic

Our team of specialists, with deep knowledge of the Spanish and European market, will guide you from day one.

Crypto & Digital Asset Tax

Tax

First step

Start with a free diagnostic

Our team of specialists, with deep knowledge of the Spanish and European market, will guide you from day one.

25+
years experience
5
offices in Spain
500+
clients served

Request your diagnostic

We respond within 4 business hours

Or call us directly: +34 910 917 811

Call Contact