Crypto-asset taxation in Spain is no longer an area of elastic interpretation. Since 2024 the AEAT receives periodic information from domestic exchanges through Form 172, accesses data from foreign exchanges via Form 721 and DAC8 cooperation, and applies criteria fixed by the DGT in a series of binding rulings that draw taxable events with precision. An investor running dozens of platforms, entering DeFi or earning staking rewards faces a calendar of five formal obligations and at least three different personal-income-tax bases.
Legal basis and tax classification
The Directorate-General of Taxes (binding rulings V0999-18, V1069-19, V1029-15, among others) classifies crypto-assets as intangible assets: they are neither legal tender nor negotiable securities nor financial products. That classification is what triggers each swap being a taxable disposal. Law 5/2023 of 17 April adapted Spanish rules to MiCA and adjusted the scope of reporting obligations. Regulation (EU) 2023/1114 MiCA and the DAC8 Directive complete the European reporting circuit. Spanish personal income tax applies its ordinary rules on capital gains (article 33 LIRPF), investment income (articles 25 and 46 LIRPF) and business income (article 27 LIRPF).
Taxable events under personal income tax
Five distinct operations can trigger taxation in the same portfolio in the same year. A crypto-to-fiat sale produces a capital gain or loss equal to sale price minus acquisition cost. A crypto-to-crypto swap —BTC for ETH, ETH for USDC, any swap on a centralised exchange or DEX— is a disposal and produces a capital gain or loss valued at the market price of the received asset at the time of the exchange. Using crypto to pay for goods or services is treated as a disposal. Staking and lending rewards qualify as investment income. Active mining and NFTs produced as a profession go to the general-income base with IAE registration. That said, five taxable events demand five separate accounting circuits from the first operation.
Savings base 2026 and FIFO method
Capital gains on disposals of crypto-assets feed the savings base and are taxed at the 2026 state scale: 19 % up to €6 000, 21 % from €6 000 to €50 000, 23 % from €50 000 to €200 000, 27 % from €200 000 to €300 000 and 28 % on the excess. Acquisition cost is determined by the FIFO method (first in, first out) where successive lots of the same asset coexist, a criterion fixed by the DGT by analogy with homogeneous securities. The calculation requires lot-by-lot traceability consolidated per asset across every platform the taxpayer uses. It follows that attempting to reconstruct a history of thousands of operations after the fact is the most recurrent source of error and over-taxation.
Staking, lending and yield farming
Rewards generated by locking or lending crypto-assets qualify as investment income and go to the savings base at the market value of the received asset on the accrual date. Accrual is daily in automated staking and point-in-time in lending with maturity. Subsequent sale of the received asset is a second taxable event: capital gain or loss equal to sale price minus market value at receipt (acquisition cost). This is the structural two-step that is routinely missed: staking is declared at the time as investment income, and the received crypto carries a historic cost into its future disposal.
Mining, masternodes and business activity
Active mining —proof of work with owned hardware— constitutes business activity: gross revenue at market value of the mined crypto-asset at generation, with equipment depreciation, electricity and direct expenses deductible. It goes to the general-income base, with IAE registration under heading 831.9 and, depending on scale, self-employed registration or a company. The same treatment applies to masternodes and professional validators in staking networks where organised means are present. The DGT has clarified that mining as a service to the network is outside the scope of VAT. The resulting income, however, counts for the purposes of personal-income-tax operating volume and social security.
Airdrops, forks and NFTs
An airdrop received without consideration qualifies as a capital gain not arising from disposal: taxed in the general base at the market value of the token at reception. If the airdrop requires active engagement —product testing, promotional tasks, KYC— it may shift to employment or business income. Hard forks follow the same logic: market value on allocation date to the general base. NFTs are classified case by case: creating and routinely selling one's own work generates business income; occasional buying and selling of third-party collections generates capital gains; and licensing NFTs that carry recurring utility can generate investment income.
Loss offset and tax-loss harvesting
Capital losses on disposals of crypto-assets offset first against capital gains of the same year and, if a negative balance remains, up to 25 % against investment income. The unoffset balance is carried forward four years. Losses on crypto-to-crypto swaps offset on the same terms, which enables year-end planning. Against that backdrop, tax-loss harvesting —timed realisation of losses to offset gains— is technically valid, but the AEAT treats it as abuse where the same asset is reacquired within a very short window without any real economic change.
Form 721, 172, 173 and Wealth Tax
Four formal obligations coexist in 2026. Form 721 is the annual information return on crypto-assets held on non-resident exchanges or custodians where the combined balance at 31 December exceeds €50 000; filing window: January to March of the following year. Form 172 is an obligation of Spanish exchanges and custodians on customer balances in virtual currencies. Form 173 reports transactions in crypto-assets for resident intermediaries. In parallel, crypto-assets feed the Wealth Tax base at market value on 31 December — and, above €3 M of net wealth, the Temporary Solidarity Tax on Large Fortunes. Failing to file Form 721 on time triggers a minimum penalty of €5 000 per data point.
MiCA, DAC8 and cross-border exchange
The MiCA Regulation, fully applicable since December 2024, harmonises crypto-asset regulation across the EU and tightens investor identification on any authorised platform. The DAC8 Directive, transposed in Spain in 2025, requires crypto-asset service providers to report annually to their tax administration the operations and balances of residents in other Member States, with automatic exchange between tax authorities. MiCA plus DAC8 extends to the crypto circuit the same CRS model that already operated in banking. Which is why 2026 is the first year in which a European investor using Binance Ireland, Kraken Ireland or Coinbase Ireland will see the information arrive directly at the AEAT without going through voluntary disclosure.
Where the firm stands
Our reading is that the main cost of a crypto case is not the tax charge but the after-the-fact accounting reconstruction. The standard engagement starts with a full inventory of exchanges, wallets and protocols, continues with historic data downloads and asset-by-asset reconciliation via specialised software, computes the savings base lot by lot under FIFO, separates staking and investment income, classifies airdrops and NFTs, simulates tax-loss harvesting before year-end and closes with Forms 721, 172 and Wealth Tax. Where a procedure is already open, we assess the available documentation and, depending on stage, file allegations or an economic-administrative claim. Setting aside investment advice —which we do not give— our work focuses on ensuring the existing activity is correctly declared and defensible.