Do I have to declare crypto losses on my Spanish tax return?
If you sold or swapped crypto at a loss, you are almost always required to file, and even if you are not, it pays to: the loss reduces the tax on your gains for four years. When it is compulsory, how much you save and what to do if you did not declare it.
Cleriontax Team
Crypto Tax and Data Analysis Experts

If you have lost money on crypto, it is easy to think there is nothing to declare: if you made no profit, the Spanish tax agency (Hacienda) has nothing to collect. But that is not how it works. If you sold or swapped crypto at a loss, you are almost always required to file a tax return. And even if you are not, it pays to do so, because that loss can reduce what you pay on your gains for the next four years.
Here is the answer for your situation, how much you can save and what to do if you did not declare losses from previous years. If you already know you have to file and want to understand in depth how losses are offset, we explain it in how to offset crypto losses.
The answer for your situation
| Your situation | Are you required to file? | Is it worth declaring the loss? |
|---|---|---|
| You bought and have not sold anything, even if the price has dropped | There is no loss to declare on your income tax return | There is nothing to declare yet |
| You sold or swapped at a loss and have a salary, a pension or other income | Yes | Yes |
| You sold at a loss of €500 or more, even with no other income | Yes | Yes |
| Your total income for the year is no more than €1,000 and the loss is under €500 | No | Yes, if you expect gains in the next four years |
First: have you lost money, or has the price just gone down?
For Hacienda, a loss exists when you lock it in: when you sell or swap a crypto for less than it cost you. If you bought bitcoin at €90,000 and today it is worth €70,000 but you still hold it, there is no loss to declare. It is an unrealised loss, and it may disappear if the price recovers.
A loss is locked in when you:
- Sell for euros or any other currency.
- Swap one crypto for another, including a stablecoin such as USDT or USDC. For Hacienda this is an exchange (permuta) and it is taxed just like a sale (Directorate General of Taxes ruling V2520-22).
- Pay for goods or services with crypto.
Moving crypto between your own wallets or exchanges does not lock in any loss, and neither does the price falling while you hold.
To know how much you really lost on each sale, you compare what you received with what those units cost you, applying FIFO per asset: the first units you bought are the first ones you sell. We explain it with examples in the complete guide to declaring crypto.
When you are required to file
Article 96 of the Spanish Income Tax Act (Ley del IRPF) exempts from filing people who only have certain types of income below certain limits. For example, a salary of up to €22,000 from a single payer, or interest and other income with tax withheld of up to €1,600. The problem is that crypto gains and losses are not on that list, because no tax is withheld on them. Hacienda's own income tax manual says so: capital losses are not among the cases that exempt you from filing.
Only one exception remains, at the end of that same article: you do not have to file if, adding everything up (employment, investment income, business activity and gains), your income is no more than €1,000 a year and your capital losses are under €500.
In practice:
- If you have a salary or a pension and sold crypto at a loss, expect to file. With a loss of €500 or more there is no doubt at all. With a smaller one, that is what follows from the wording of the law and Hacienda's manual.
- If you are a student or have no other income, the line is at €500. With a loss of €700 you are required to file. With a loss of €300, you are not.
- If you also made money on other crypto, you are required to file unless you fall within that €1,000 exception. The Directorate General of Taxes (DGT) confirmed this for shares, which also have no tax withheld (ruling V0045-20).
Why it pays to declare the loss even if you are not required to
A declared loss is not lost: it is offset, in this order.
- First, against gains from the same year. From crypto, but also from shares, funds or any other sale at a profit.
- If anything is left, against up to 25% of the year's investment income (rendimientos del capital mobiliario): interest from an account, dividends or staking rewards.
- Whatever is still left, over the next four years, in the same order.
What it cannot do is reduce the tax on your salary. Losses from selling crypto go to the savings tax base and your salary to the general tax base, and the two do not offset each other.
A worked example
In 2026 you sell ETH at a loss of €3,000 and receive €800 of interest from a savings account. In 2027 you sell bitcoin at a gain of €5,000.
2026 tax return:
Loss on the ETH sale: €3,000
Offset 25% of the interest: − €200
Loss carried forward: €2,800
You pay €200 × 19% less: €38
2027 tax return, without having declared the loss:
€5,000 × 19% = €950
2027 tax return, with the loss declared:
(€5,000 − €2,800) × 19% = €418
Total saving: €38 + €532 = €570
That is €570 for filing a return that, in this case, was compulsory anyway. With bigger losses or gains in higher brackets, the difference grows: the savings base is taxed at 19% to 30%.
Losses from 2022 expire with the 2026 tax return
2022 was the year LUNA and FTX collapsed, and many people closed positions at a loss. If you declared those losses and have not fully used them, the 2026 tax return, filed between April and June 2027, is the last one in which you can apply them. The window is four years and after that they are lost (the DGT applies it this way in ruling V1851-23).
That has a practical consequence before 31 December. If you have losses from 2022 still pending and crypto with unrealised gains, selling this year lets you use those losses before they expire. It is an investment decision, not just a tax one, but it is worth running the numbers.
To find out how much you have left, check last year's tax return. Renta Web, Hacienda's online filing tool, usually loads the negative balances from previous years automatically, but double-check, because it does not always do so.
I did not declare my losses: have I lost them?
Not necessarily. It depends on what happened:
- You filed your tax return, but without the loss. You can correct that return to include it and, from then on, offset it in the following years (DGT ruling V1887-17).
- You did not file a tax return that year. You can file it late as long as the statute of limitations has not run out: four years from the end of that year's filing period. For 2022, that means until mid-2027. If you were required to file and the return comes out as a refund or zero, the penalty is a fixed fine of €100 if you file on your own initiative, before Hacienda asks you to. If you were not required to file, there is nothing to penalise.
There is a detail many people miss: in Spanish income tax, offsetting losses is not optional, it always applies up to the maximum possible. If you recover a 2023 loss and you had gains in 2024 or 2025, you may also need to correct those years to apply it and claim back what you overpaid.
In every case, you must be able to prove the loss: the exchange history and the cost of what you sold. If you are missing the purchase price, we explain how to rebuild it in no purchase price for your crypto. Bear in mind that Hacienda can check the losses you offset for up to ten years after the year in which they arose. If you need help bringing past returns up to date, we can help in regularise your crypto taxes.
Selling at a loss and buying back
It is the classic December move: sell what is at a loss to offset gains, and buy it back afterwards. For shares and funds there is a rule that limits this: if you buy back identical securities within two months before or after the sale, the loss does not count until you sell the new ones.
That rule is written for securities, and the DGT has said that crypto assets are not tradable securities (ruling V0525-25). We have not found any ruling that applies it to crypto.
What does exist is a general rule for any asset (article 33.5.e of the Income Tax Act): if you sell it at a loss and buy it back within the following year, the loss does not count until you sell it again. It is not clear that Hacienda could apply it to a crypto, which is not a specific object but interchangeable units, but it is the argument it would have to hand. If you sell to generate a loss and buy back straight away, bear that risk in mind.
Frequently asked questions
Do I have to file if I lost less than €500?
You are only exempt if, in addition, your total income for the year (salary, interest, gains…) is no more than €1,000. If you have a salary, what follows from the law and Hacienda's manual is that you must file even if the loss is small.
What if I only bought and the price has dropped?
There is nothing to declare on your income tax return: the loss does not exist until you sell or swap. Information returns are a different matter. If you hold more than €50,000 on foreign exchanges on 31 December, you may have to file Form 721. We explain it in which Spanish tax forms apply to crypto.
Can I offset crypto losses against gains from shares or funds?
Yes. Gains and losses from sales all go to the savings tax base, whatever the asset, and they offset each other.
Can I deduct the losses from my salary?
No. Your salary goes to the general tax base and losses from selling crypto to the savings base, and they do not offset each other. They can, however, reduce up to 25% of your interest, dividends or staking rewards.
Does swapping a crypto for USDT at a loss count as a loss?
Yes. Swapping one crypto for another, including a stablecoin, is an exchange and is treated just like a sale. If what you receive is worth less than what you gave up cost you, you have a loss to declare. We explain it in stablecoins and taxation in Spain.
What happens if I was required to file and did not?
If your return would have come out as a refund or zero, failing to file is penalised with a fixed fine of €200, reduced to €100 if you file on your own before Hacienda asks you to. But what usually costs more is the other thing: not being able to use that loss to reduce your gains in the following years.
We calculate your losses and get them ready to offset
We gather the history from all your exchanges and wallets, calculate every sale and swap with FIFO and deliver a report with your gains and losses ready for your tax return, including losses pending from previous years. If you did not declare losses at the time, we tell you whether it is worth recovering them and how. Start with our crypto tax report or tell us about your case.

