Crypto Tax in Spain: Declare Safely and Efficiently
Specialist tax advisory on cryptocurrencies, NFTs, DeFi, and other digital assets for individuals and businesses.
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 crypto tax declaration process: portfolio audit and FIFO calculation
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.
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.
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.
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.
Why Crypto Taxation in Spain is an Unavoidable Legal Obligation
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.
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.
Experienced team with local insight and international reach
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.
Results that speak for themselves
Tech company international expansion
Tax structure implemented enabling operations in 3 new markets with 28% tax savings compared to the unplanned scenario.
Corporate group tax optimization
28% reduction in consolidated tax burden and simplification of the corporate structure from 5 to 3 entities.
Beckham Law impatriate setup for a US tech executive relocating to Barcelona
Effective tax rate reduced from 47% to 24%, saving €180,000 per year. Article 149 election approved without issues.
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 guideLive 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 guideSelling 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 guideCanary 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 guideZEC 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 guideInheritance 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 guideAnalysis and perspectives
Frequently asked questions about cryptocurrency declarations in Spain
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.
Request your diagnostic
You may also be interested in
International Tax
Tax advisory for cross-border operations, international expansion, and multi-jurisdictional compliance.
Saber másNon-Resident Tax (IRNR)
Advisory and compliance for Spain's Non-Resident Income Tax for individuals and entities without Spanish tax residency.
Saber másTax Compliance
Comprehensive management of periodic tax obligations: return filing, tax calendar, compliance audits, and representation before the Spanish Tax Agency (AEAT).
Saber másTax Planning
Legal and efficient tax strategies to reduce your company's tax burden and protect your personal wealth.
Saber másAnti-Money Laundering (AML)
AML/CFT compliance programme for entities subject to Spain's Law 10/2010: policies, procedures, training, and SEPBLAC liaison.
Saber másData Protection & Privacy
GDPR and LOPDGDD compliance, outsourced DPO, and comprehensive privacy management for businesses.
Saber másKey terms
Anti-Money Laundering (AML)
Anti-money laundering (AML) refers to the legal obligations, internal procedures and controls that…
Read definitionCorporate Tax (Impuesto de Sociedades)
Corporate Tax (Impuesto de Sociedades, IS) is the annual tax levied on the worldwide profits of…
Read definitionIncome Tax — IRPF (Impuesto sobre la Renta de las Personas Físicas)
IRPF is the Spanish personal income tax levied on the worldwide income of individuals who are tax…
Read definitionModelo 720 (Foreign Asset Declaration)
Modelo 720 is an informative tax declaration that Spanish tax residents must file when they hold…
Read definitionTax Penalties and Sanctions in Spain
The Spanish tax system imposes a tiered regime of penalties (sanciones tributarias) for tax…
Read definitionTax Residency in Spain
Tax residency in Spain determines whether an individual or company is subject to Spanish taxes on…
Read definition