Crypto taxes in Spain: how to declare them (2026)
Which crypto transactions are taxed in Spain's income tax, how the FIFO method works, which rates apply and what the 721 form is.
KambioMatch may earn a commission if you sign up to an exchange through our links, at no extra cost to you. This does not affect our ratings. How we make money
If you buy, sell or swap crypto and you are a tax resident in Spain, the tax authority (Agencia Tributaria) expects you to report it in your income tax return (IRPF). Not everything is taxable, and what is taxable is worked out in a specific way. Here are the essentials.
What is taxable and what is not
| Transaction | Taxable? | How |
|---|---|---|
| Buying crypto with euros and holding it | No | It only counts when you sell or swap |
| Selling crypto for euros | Yes | Capital gain or loss |
| Swapping one crypto for another (e.g. BTC for ETH or USDT) | Yes | It is an exchange: capital gain or loss |
| Paying for something with crypto | Yes | It is also a disposal |
| Moving crypto between your own accounts or wallets | No | There is no disposal |
| Staking rewards | Yes | According to the Directorate-General for Taxes, income from movable capital |
The key point: every time you part with a crypto-asset (sell it, swap it or pay with it) you need to work out whether you made a gain or a loss.
How the gain is calculated: the FIFO method
The gain is the difference between what you get when you sell and what it cost you to buy. If you bought the same crypto at different times, Spain applies the FIFO method (first in, first out): the units you bought first are considered sold first.
Example:
- In January you buy 0.1 BTC for €3,000.
- In June you buy another 0.1 BTC for €5,000.
- In December you sell 0.1 BTC for €6,000.
Under FIFO you are selling January's bitcoin: your gain is €6,000 − €3,000 = €3,000. June's bitcoin stays with you at a cost of €5,000.
Fees count: buying fees are added to the cost and selling fees are deducted from the proceeds. That is why you should keep your full transaction history (exchanges let you download it) and know which fees you pay.
If you swap one crypto for another (for example, BTC for USDT), the tax authority treats it as an exchange: the sale value is the higher of the market value of what you give and of what you receive, and that same value becomes the cost of what you receive when you later sell it. The gain is worked out per transaction and per type of crypto. This is how the Agencia Tributaria's income tax manual (in Spanish) explains it.
Which rates apply
Gains from selling or swapping crypto go into the savings tax base of the IRPF, taxed in brackets:
| Annual gain (savings base) | Rate |
|---|---|
| Up to €6,000 | 19% |
| €6,000 to €50,000 | 21% |
| €50,000 to €200,000 | 23% |
| €200,000 to €300,000 | 27% |
| Over €300,000 | 30% |
In the example above, the €3,000 gain would be taxed at 19%: €570. The brackets apply to your whole savings base, which also includes, for example, interest or dividends. They combine the state and regional rates in force since 2025 (the top bracket went up from 28% to 30%), per the Agencia Tributaria's manual (in Spanish).
If you lost money
Losses must be reported too, and it is in your interest: you can offset them against gains from the same year (crypto, shares, funds…). Any remaining loss can offset up to 25% of your net positive income from movable capital (interest, dividends…), and the rest can be carried forward for four years (Agencia Tributaria's rules, in Spanish).
If an exchange goes bust or does not return your crypto, the loss is not automatic: it can only be claimed once certain conditions are met (for instance, a year after court proceedings began), and it then goes into the general tax base, not the savings base. If you later recover the crypto, what you recover is reported as a gain.
Other obligations to know
- Form 721: if on 31 December you hold more than €50,000 in crypto held by companies abroad, you must file this information return between 1 January and 31 March of the following year. It is not a tax, but not filing it can lead to penalties. Details worth knowing, from the Agencia Tributaria's FAQ (in Spanish):
- the €50,000 is counted by adding up all your crypto held abroad; above it, you report all of it;
- in later years you only file again if the balance has grown by more than €20,000 since your last return, or if you sell what you reported;
- euros held on a foreign exchange do not go on form 721 but on form 720, as an account abroad.
- The tax authority is informed: providers established in Spain already report their clients' balances and transactions (forms 172 and 173). On top of that, the EU's DAC8 directive applies from 1 January 2026: exchanges operating in the EU must collect their customers' data and send it to tax authorities within nine months of each year end, so in 2027 the Spanish tax authority will receive 2026 data. Spain is still finalising its rules: in March 2026 the Ministry of Finance published a draft order (in Spanish) with the new forms (172, 175 and an updated 721), which would first apply to 2026 information.
- Wealth tax: crypto counts like any other asset if your wealth exceeds the tax-free allowance, which depends on your autonomous community.
Key dates in 2027 (tax year 2026)
| What | When |
|---|---|
| Form 721 (if you held more than €50,000 abroad on 31 December 2026) | 1 January to 31 March 2027 |
| 2026 income tax return | Usually April to late June 2027; the Agencia Tributaria publishes the exact dates early in the year |
| EU exchanges send data to the tax authority (DAC8) | By the end of September 2027 |
Since form 721 is due before the income tax return, check your balances on 31 December as soon as the year starts.
Practical tips
- Download your history from every exchange at year end, even if you stop using it.
- Record crypto-to-crypto swaps: they are the ones most often forgotten, and they are taxable.
- If you trade a lot, consider a crypto tax tool or an adviser: applying FIFO by hand across hundreds of trades is error-prone.
- Before choosing where to trade, check the exchange is authorized in Spain: our list of MiCA-licensed exchanges shows every authorised one; see also what MiCA is and how to buy bitcoin in Spain.
Check the Agencia Tributaria's official information and, if in doubt about your case, a tax adviser.
If you have many trades or several exchanges, software can do the FIFO calculation for you: we compare the most used tools in crypto tax software for Spain.
This article is for information only and is not tax or financial advice. Tax rules can change; always check the rules in force for each tax year.
Related articles
How to buy bitcoin in Spain step by step (2026)
How to buy bitcoin in Spain: choose an authorized exchange, verify your identity, deposit euros, pay lower fees, store your crypto and taxes.
Hidden crypto exchange fees: spread, deposits and more
The trading fee is not all you pay on a crypto exchange: spread, card deposits, withdrawals, conversions and funding, and how to reduce them.
What is MiCA and how to check if an exchange is licensed
What the EU's MiCA regulation covers and protects, and how to check in ESMA's official register whether a crypto exchange is authorized.