Cryptocurrency Taxation in Spain: Tax Guide for Residents in Ibiza
Investment in cryptocurrencies has become increasingly common among individuals, self-employed professionals, business owners and international investors. Bitcoin, Ethereum, stablecoins, foreign exchanges, digital wallets and DeFi platforms are now part of the assets held by many taxpayers.
However, one of the most frequent questions is: do I have to declare my cryptocurrencies in Spain? In most cases, the answer is yes. Cryptocurrencies may have tax implications for Spanish Personal Income Tax, Wealth Tax and, in certain cases, also for informative tax returns such as Modelo 721.
In this article, we explain clearly how cryptocurrencies are taxed in Spain and what residents in Ibiza and the Balearic Islands should take into account.
What Does the Spanish Tax Agency Consider a Cryptocurrency?
For tax purposes, cryptocurrencies or virtual currencies are digital assets that can be bought, sold, exchanged, invested, transferred or held in custody. Although they are not considered legal tender, they form part of the taxpayer’s assets and may generate capital gains or losses.
Therefore, it is not only transactions where cryptocurrencies are exchanged for euros that must be considered. Exchanges between different cryptocurrencies may also have tax consequences, for example, exchanging Bitcoin for Ethereum.
The Spanish Tax Agency expressly states that capital gains or losses arising from the transfer or exchange of virtual currencies must be included, whether they are exchanged for money or for other virtual currencies.
When Do Cryptocurrencies Have to Be Declared in the Spanish Income Tax Return?
Simply holding cryptocurrencies in a wallet or on an exchange does not, by itself, necessarily trigger a taxable capital gain for Spanish income tax purposes. Taxation mainly arises when a transaction produces a change in the taxpayer’s assets.
For example, the following should generally be declared in the Spanish income tax return:
- The sale of cryptocurrencies in exchange for euros or another fiat currency.
- The exchange of one cryptocurrency for another.
- Gains obtained from trading cryptoassets.
- Losses resulting from sales or exchanges, provided that they can be properly evidenced.
- Certain income linked to staking, lending, mining or other transactions, which may have a different tax treatment depending on the specific case.
In the case of a private investor, buying and selling cryptocurrencies outside an economic activity generally gives rise to a capital gain or loss, calculated as the difference between the transfer value and the acquisition value.
Sale of Cryptocurrencies: How to Calculate the Capital Gain or Loss
When a person sells cryptocurrencies in exchange for euros, the gain or loss is calculated by deducting the acquisition value from the sale value.
In simplified terms:
Capital gain or loss = transfer value – acquisition value
Expenses directly related to the transaction may be taken into account, provided that they have been paid by the taxpayer and can be properly justified.
For example, if a person bought Bitcoin for €10,000 and later sold it for €16,000, there would be a capital gain of €6,000, without prejudice to any applicable expenses or commissions.
The Spanish Tax Agency allows expenses arising from purchases and sales to be included when they are directly related to the transactions and paid by the taxpayer.
What Happens if I Exchange One Cryptocurrency for Another?
A very common question is whether a transaction must be declared when no euros are received, but another cryptocurrency instead.
The answer is yes. For the Spanish Tax Agency, the exchange of one cryptocurrency for a different cryptocurrency is considered a swap or exchange transaction and may generate a capital gain or loss.
For example, if a taxpayer exchanges Bitcoin for Ethereum, even if the assets are not converted into euros, for tax purposes it is understood that one cryptocurrency has been transferred and another has been acquired. That transaction must be valued and may be taxable under Spanish Personal Income Tax.
The Spanish Tax Agency considers that exchanges between different virtual currencies may give rise to a capital gain or loss, which is included in the savings tax base.
FIFO Rule: Which Cryptocurrencies Are Considered Sold First?
When cryptocurrencies of the same type have been acquired at different times and at different prices, it is necessary to determine which units are deemed to have been sold when only part of the holding is transferred.
In these cases, the Spanish Tax Agency applies the FIFO rule — first in, first out — meaning that the cryptocurrencies acquired first are deemed to be sold first.
This rule is particularly important for taxpayers who carry out many transactions during the year, as it can significantly affect the tax result of the return.
At What Tax Rate Are Cryptocurrencies Taxed?
Capital gains arising from the sale or exchange of cryptocurrencies are generally taxed in the savings tax base of Spanish Personal Income Tax.
For the 2025 income tax year, filed in 2026, the applicable savings tax rates are as follows:
| Savings tax base | Applicable tax rate |
|---|---|
| Up to €6,000 | 19% |
| From €6,000 to €50,000 | 21% |
| From €50,000 to €200,000 | 23% |
| From €200,000 to €300,000 | 27% |
| Over €300,000 | 30% |
These rates are progressive. This means that the highest rate does not apply to the entire gain, but only to the portion falling within each bracket.
Where Are Cryptocurrencies Declared in the Spanish Income Tax Return?
Cryptocurrency transactions must be included in the specific section of the Spanish income tax return for capital gains and losses arising from the transfer or exchange of virtual currencies by individuals.
It is important not to rely only on the tax information provided by the Spanish Tax Agency. In many cases, the Tax Agency may have partial information from platforms, exchanges or third parties, but the responsibility for declaring the transactions correctly lies with the taxpayer.
It is advisable to keep:
- Full transaction history.
- Dates of purchase, sale or exchange.
- Euro value of each transaction.
- Commissions paid.
- Exchange statements.
- Information from private wallets.
- Tax reports generated by specialised platforms.
Modelo 721: Cryptocurrencies Located Abroad
In addition to Spanish Personal Income Tax, tax residents in Spain must also pay attention to Modelo 721, an informative tax return relating to virtual currencies located abroad.
This obligation may affect taxpayers living in Ibiza who hold cryptocurrencies through foreign platforms or custodians.
As a general rule, there is no obligation to file Modelo 721 if the total value of virtual currencies located abroad does not exceed €50,000 as of 31 December. If this threshold is exceeded, the taxpayer must report all affected virtual currencies.
The filing period for Modelo 721 is between 1 January and 31 March of the year following the tax year to which the information relates.
Cryptocurrencies and Wealth Tax in Ibiza
Cryptocurrencies may also form part of the taxpayer’s assets for the purposes of Wealth Tax.
In the Balearic Islands, the applicable regional rules must be taken into account. Currently, the exempt threshold for Wealth Tax in the Balearic Islands is €3,000,000.
This may be relevant for tax residents in Ibiza with significant assets, especially if they combine investments in cryptocurrencies, real estate, company shares, bank accounts or other assets.
In any case, each situation should be analysed individually, as the obligation to file Wealth Tax does not depend only on cryptocurrencies, but on the taxpayer’s overall net wealth.
What if I Have Lost Money with Cryptocurrencies?
Capital losses arising from sales or exchanges of cryptocurrencies should also be declared, as they may be offset against capital gains in accordance with Spanish Personal Income Tax rules.
However, it is essential to be able to prove the loss. The Spanish Tax Agency may request documentation evidencing the transaction, the acquisition value, the transfer value, the dates and the commissions.
A different situation arises in cases such as the bankruptcy of a platform or the inability to recover deposited cryptocurrencies. The Spanish Tax Agency has indicated that the bankruptcy of a platform or a complaint for failure to return virtual currencies does not automatically constitute a capital loss, since the taxpayer may still hold a credit right.
Common Mistakes When Declaring Cryptocurrencies
Some of the most common mistakes include:
- Thinking that cryptocurrencies only have to be declared when they are converted into euros.
- Failing to declare exchanges between different cryptocurrencies.
- Applying the FIFO rule incorrectly.
- Not keeping supporting documents for transactions.
- Confusing the obligation to declare in Personal Income Tax with Modelo 721.
- Failing to consider cryptocurrencies for Wealth Tax purposes when applicable.
- Assuming that, if the information does not appear in the draft tax return, there is no obligation to declare it.
These mistakes may lead to tax regularisations, interest and penalties.
Special Attention for Foreign Residents in Ibiza
Ibiza has a large community of foreign residents, digital nomads, investors and international business owners. In these cases, cryptocurrency taxation may be particularly complex.
It is important to determine correctly:
- Whether the person is tax resident in Spain.
- Whether they are taxed under Spanish Personal Income Tax or Non-Resident Income Tax.
- Where the cryptocurrencies are located or held in custody.
- Whether there are informative tax return obligations in Spain.
- Whether there is double taxation or income declared in another country.
- Whether any special tax regime applies.
Tax residence does not depend only on nationality or on where a wallet is registered. It depends on criteria such as physical presence in Spain, the centre of economic or personal interests and the applicable tax rules in each case.
Conclusion: Cryptocurrency Investments Require Proper Tax Planning
Cryptocurrency taxation in Spain is becoming increasingly relevant and is subject to growing scrutiny by the Spanish Tax Agency.
If you live in Ibiza and have invested in Bitcoin, Ethereum, stablecoins or other cryptoassets, it is advisable to review your tax situation before filing your income tax return or any informative tax return.
Proper tax planning allows you to:
- Correctly declare capital gains and losses.
- Avoid mistakes in crypto-to-crypto transactions.
- Check whether Modelo 721 must be filed.
- Review the impact on Wealth Tax.
- Reduce the risk of tax audits, penalties or regularisations.
At Roig Ruiz Abogados y Asesores, we advise individuals, self-employed professionals, business owners and investors residing in Ibiza on tax, wealth and legal matters.
If you hold cryptocurrencies and have doubts about how to declare them in Spain, we can help you review your situation and correctly prepare your Spanish tax obligations.


