Crypto-assets in Spain: when they are taxed and what must be reported

Personal income tax, staking and developments in tax transparency for individual investors

The tax treatment of crypto-assets affects decisions made well before a tax return is filed, from how investments are traded to where assets are held in custody. For individual investors who are tax resident in Spain, understanding these rules helps identify which transactions may give rise to income subject to Spanish Personal Income Tax (IRPF) and when reporting obligations arise. The expansion of information exchange between tax authorities under DAC8 makes it increasingly important to maintain a transaction history that substantiates acquisition costs and the amounts reported.

This article examines the main tax issues arising from holding and dealing in crypto-assets.

Exchanging cryptocurrencies: potential capital gains

An exchange between two different virtual currencies is treated as a barter transaction. Under Article 37(1)(h) of the Spanish Personal Income Tax Law, the disposal value is the higher of the market values of the asset transferred and the asset received. The difference between that value and the acquisition cost of the asset transferred is included in the savings tax base as a capital gain or loss for the year in which the exchange takes place.

For example, if bitcoin is purchased for EUR 10,000 and exchanged for stablecoins when both assets have a market value of EUR 16,000, the exchange gives rise to a capital gain of EUR 6,000, excluding fees. The transaction is settled entirely in crypto-assets.

For partial disposals of bitcoin units acquired on different dates, the Spanish Directorate-General for Taxation (DGT), in Binding Ruling V1604-18, applies the first-in, first-out (FIFO) method to homogeneous units. The earliest acquired units are deemed to be disposed of first, even if they were acquired on another platform. Records from the selling platform may evidence the disposal price, while acquisition costs may require reviewing purchase records held on other platforms.

Staking and DeFi: the nature of the reward

In the staking arrangement examined in Binding Ruling V1766-22, the DGT classified rewards as investment income in kind arising from the provision of capital to third parties. They are included in the savings tax base at their market value in euros on the date of receipt. If a reward is worth EUR 300 when received and the same units are later sold for EUR 180, the receipt gives rise to EUR 300 of investment income and the subsequent sale gives rise to a capital loss of EUR 120, ignoring expenses.

With liquid staking and other decentralised finance (DeFi) products, it is important to establish which rights the user retains and what the token received represents. Among other matters, this determines whether the initial transfer of assets constitutes a disposal and how any subsequent receipt should be classified for tax purposes.

What happens if a platform suspends withdrawals?

If bankruptcy or a withdrawal suspension leaves the investor holding an outstanding receivable, the loss is recognised when one of the conditions set out in Article 14(2)(k) of the Spanish Personal Income Tax Law is met. One such condition is the passage of one year from the commencement of judicial enforcement proceedings for the claim, other than insolvency proceedings, without the debt being paid. The date of the initial suspension may therefore fall in a different tax year from the year in which the loss can be reported.

Form 721 and DAC8: from custody to information exchange

As a general rule, Form 721 requires the reporting of virtual currencies held in custody abroad when their aggregate value exceeds EUR 50,000 as at 31 December of the relevant year. To determine whether the assets are held abroad, it is necessary to identify the entity safeguarding private keys on behalf of the holder and assess whether that entity is subject to Spain’s domestic reporting obligations. Where an investor controls their own private keys (self-custody), those virtual currencies fall outside the Form 721 reporting obligation.

DAC8 expands the information that crypto-asset service providers must report for automatic exchange between tax authorities. The Directive’s timetable covers transactions from 2026. In November 2026, the European Commission issued a reasoned opinion concerning Spain’s incomplete transposition. The application of domestic reporting duties must be monitored as the transposition process develops.

For investors using more than one platform, keeping records of purchases, disposals and exchanges, as well as supporting documents for transfers between wallets, makes it easier to reconstruct their transaction history and substantiate acquisition costs for Spanish income tax purposes.

A consistent record-keeping approach also supports wider tax compliance and reporting obligations in Spain.

Practical record-keeping checklist for individual investors

  • Purchase, sale and exchange statements from every platform used, including transfers between platforms.
  • Acquisition records by homogeneous units to calculate tax costs under the FIFO method.
  • The euro market value and date of receipt of each staking reward.
  • Evidence of transfers between self-custody wallets and documentation of ownership and custody arrangements.
  • A review of potential Form 721 reporting obligations and the tax consequences of platform suspensions or insolvency.

Frequently asked questions about the taxation of crypto-assets in Spain

Yes. Exchanging one virtual currency for another may give rise to a capital gain or loss in the year of the transaction. Selling for euros is also a disposal for Spanish income tax purposes, even if the proceeds remain on the platform.

Transferring the same units between wallets owned by the same person does not, in itself, generate a capital gain or loss. It is advisable to retain evidence of the source and destination of the transfer.

Yes, subject to limits. Losses on disposals are first offset against gains in the same category. Any remaining negative balance may be offset against up to 25% of a positive balance of investment income included in the savings tax base. Unused losses may be carried forward for the following four tax years under Article 49 of the Spanish Personal Income Tax Law.

After the first filing, a further return is generally required if the total value exceeds the value that prompted the last filing by more than EUR 20,000. Reporting may also be required when a previously declared position ends, including the loss of ownership, beneficial ownership, authorisation or powers of disposal, as applicable.

An unrealised increase in the value of a crypto-asset portfolio does not, by itself, trigger a capital gain for Spanish personal income tax purposes. Where Spanish Wealth Tax applies, virtual currencies are valued at their market price in euros as at 31 December, including those held in self-custody.

In the arrangement examined by the DGT in Binding Ruling V1766-22, staking rewards were treated as investment income in kind and valued on receipt. A subsequent sale of the units may separately result in a capital gain or loss. Other DeFi products require an individual review of their terms and operation.

A suspension of withdrawals does not necessarily mean that a loss can be recognised for tax purposes in the same year. Where an outstanding receivable exists, the specific conditions and timing rules under Article 14(2)(k) of the Spanish Personal Income Tax Law must be assessed.

DAC8 expands reporting obligations for certain crypto-asset service providers and the automatic exchange of information between tax authorities. The EU timetable covers transactions from 2026, but the application of domestic obligations in Spain must be assessed in light of the current status of transposition and the rules in force.

More Technical Articles