Quick answer
Spain taxes crypto gains as savings income in 2026: 19% on the first EUR 6,000, then 21%, 23%, 27% and 30% above EUR 300,000. Every sale, crypto-to-crypto swap or payment in crypto is a taxable disposal, using FIFO. There is no holding-period exemption. Foreign-held crypto over EUR 50,000 must be reported on Modelo 721.
Last reviewed: November 2026 · Reviewed by Stéphane Gombauld, tax expert, technologist and digital nomad
Heavnn
Stay tax compliant, wherever you work
Answer a few questions and get a clear plan for your own situation.
Find my savings →You hold crypto and live in Spain, or you are about to move there. This guide shows how much you really pay on gains, staking and mining, and the legal ways to pay less – from loss harvesting to timing your move.
Spain cryptocurrency taxes in 2026: the key figures
| Item | Rule for 2026 |
|---|---|
| Crypto gains (residents) | Savings base: 19% / 21% / 23% / 27% / 30% |
| Savings bands | EUR 0–6,000 / 6,000–50,000 / 50,000–200,000 / 200,000–300,000 / over 300,000 |
| Crypto-to-crypto swap | Taxable disposal |
| Cost method | FIFO (first in, first out) for identical tokens |
| Holding-period exemption | None |
| Mining income | General base, progressive up to 47% or more by region |
| Loss carry-forward | 4 years; up to 25% of net savings yields offset |
| Foreign crypto reporting | Modelo 721 if over EUR 50,000 at 31 December |
Is this guide for you?
Read on if you…
- are a Spanish tax resident who trades, stakes or holds crypto;
- are moving to Spain with an unrealised crypto gain;
- hold coins on a foreign exchange or in self-custody.
Probably not your case if you…
- are not Spanish resident and hold no Spanish assets – your home country taxes your crypto;
- run crypto trading through a company – see corporate income tax in Spain.
How are crypto gains taxed in Spain?
Which events are taxable?
The Agencia Tributaria treats crypto as an asset. A disposal – any time the coin leaves your hands for something else – creates a gain or loss. That includes:
- selling crypto for euros or another fiat currency;
- swapping one crypto for another, including stablecoins;
- paying for goods or services in crypto;
- gifting crypto (the donor can have a gain, the recipient pays gift tax).
Buying crypto with euros and moving coins between your own wallets are not taxable.
How do you calculate the gain?
Gain = value received minus acquisition cost, both in euros, including fees. For identical tokens, you must use FIFO – the oldest coins you bought are treated as sold first (article 37.2 LIRPF). Each exchange or wallet does not get its own pool.
What rate applies?
Crypto gains go into the savings base – the part of your return for investment income. In 2026 the bands are 19% up to EUR 6,000, 21% to EUR 50,000, 23% to EUR 200,000, 27% to EUR 300,000 and 30% above. There is no regional variation on the savings scale.
Rates by asset type: how crypto compares
| Asset | Rate for residents (2026) | Holding period / exemption | Notes |
|---|---|---|---|
| Crypto | 19%–30% savings base | None | Swaps taxable, FIFO |
| Listed shares | 19%–30% savings base | None | 2-month wash-sale rule on losses |
| Investment funds | 19%–30% savings base | None | Fund-to-fund switches tax-deferred |
| Property | 19%–30% savings base | Main home exemptions | Reinvestment in a new main home, or over-65 sale |
Honestly? Funds have one structural advantage over crypto: you can switch between Spanish-registered funds without tax. Crypto swaps get no such deferral. More detail in taxation of capital gains in Spain.
How are staking, mining and airdrops taxed?
- Staking and lending rewards: generally treated as income from capital in the savings base, at 19% to 30%, valued at receipt.
- Mining: an economic activity, taxed in the general base at progressive rates. You may need to register as self-employed.
- Airdrops and free tokens: generally a gain not derived from a disposal, taxed in the general base at progressive rates.
- Getting paid in crypto: employment or business income at market value on the day received.
The cost basis of tokens received equals the value you declared. When you later sell them, only the further gain is taxed.
How can you pay less crypto tax legally?
- Harvest losses. Losses offset gains in the savings base. Net losses can offset up to 25% of other savings income such as interest and dividends, then carry forward four years.
- Spread disposals over tax years. The first EUR 6,000 of savings income is taxed at 19%; keeping annual gains in lower bands saves up to 11 points.
- Time your move. Gains realised before you become resident are not Spanish-taxed. Your acquisition cost stays the historic one, so a big unrealised gain arrives with you.
- Use the Beckham regime. Under the impatriate regime, gains on assets outside Spain are generally not taxed in Spain. Read tax breaks for expats and digital nomads in Spain.
- Plan your exit. Spain's exit tax covers shares and funds, not crypto. Selling after you stop being resident can remove Spanish tax. See the practical guide to ceasing your tax residency in Spain.
Residents vs non-residents
| Situation | Spanish tax on crypto gains |
|---|---|
| Resident (standard regime) | Worldwide gains, 19%–30% |
| Resident under Beckham regime | Gains on foreign-located assets generally exempt |
| Non-resident | Only Spanish-source gains, 19% |
What do you have to report?
- Modelo 100: declare every disposal in your annual return, filed by 30 June of the following year.
- Modelo 721: if your crypto held with foreign providers exceeds EUR 50,000 at 31 December, file between 1 January and 31 March. Self-custodied coins are not covered by this return.
- Wealth tax (Modelo 714): crypto counts towards your net wealth. The general allowance is EUR 700,000, plus EUR 300,000 for your main home, and rates depend on your region.
Spanish exchanges already report your data to the tax office through Modelos 172 and 173. From 2026, EU providers also collect data under DAC8, with the first exchanges between tax authorities in 2027.
Example – Sofia, Dutch developer in Málaga
Sofia became Spanish resident in 2025. In 2026 she sells ETH bought for EUR 10,000 for EUR 50,000, and swaps some SOL into USDC at a EUR 4,000 loss. Her net gain is EUR 36,000. Tax: EUR 6,000 at 19% (EUR 1,140) plus EUR 30,000 at 21% (EUR 6,300) = EUR 7,440. Selling half in January 2027 instead would keep more of each year's gain in the 19% band.
Sofia's tax bill depended on two dates. Yours probably does too.
Get your crypto position checked for loss harvesting, timing and the regime you qualify for.
Find my savings →Common mistakes (and what they cost)
- Ignoring crypto-to-crypto swaps → undeclared gains, plus penalties of 50% to 150% of the tax and late interest.
- Using average cost instead of FIFO → a wrong gain figure that the tax office can recalculate.
- Missing Modelo 721 → penalties of EUR 20 per missing data item, with a minimum of EUR 300.
- Selling right after arriving with a big unrealised gain → Spain taxes the whole gain since purchase, not just the part since arrival.
- Forgetting crypto in wealth tax → regional wealth tax due on holdings above the allowance.
Frequently asked questions
Is crypto tax-free in Spain after one year?
No. Spain has no holding-period exemption. Whether you held a coin for a week or five years, the gain is taxed in the savings base at 19% to 30% in 2026. The only difference long holding makes is that larger gains may push you into higher bands if you realise them all in one year.
Are crypto-to-crypto swaps taxable in Spain?
Yes. The tax office treats a swap as a disposal of one asset and the acquisition of another. You calculate the gain in euros on the swap date, using the market value of what you received. Swapping into a stablecoin counts too. Keep exchange records, because you need both values and fees for every trade.
How are crypto losses used in Spain?
Losses offset gains in the savings base in the same year. If losses exceed gains, the net loss can offset up to 25% of your other savings income, such as interest and dividends. Anything left over carries forward for four years. Losses must be real disposals, so you need to sell or swap to crystallise them.
Do I need to declare crypto held in a hardware wallet?
You must declare gains when you dispose of it, wherever it is held, and include it in wealth tax if you owe that tax. Modelo 721 targets crypto held with foreign providers, so self-custodied coins are generally outside it. The rules here have been debated, so confirm the current position before filing.
How does Spain compare with Portugal or Italy for crypto?
Spain taxes all crypto gains with no holding period exemption. Portugal exempts gains on crypto held for at least 365 days, while Italy taxes crypto gains at a flat rate. Read cryptocurrency taxes in Portugal and cryptocurrency taxes in Italy for the details.
Related guides
- Tax landscape overview of Spain
- Taxation of capital gains in Spain
- Tax breaks for expats and digital nomads in Spain
- Overview of tax fraud regulations in Spain
- Ceasing your tax residency in Spain
- Cryptocurrency taxes in Portugal
- All country tax guides
Sources
- Agencia Tributaria – Spanish Tax Agency
- Ley 35/2006 on Personal Income Tax (LIRPF) – BOE
- Ministry of Finance – Ministerio de Hacienda
- European Commission – Taxation and Customs Union (DAC8)
- PwC Worldwide Tax Summaries – Spain (secondary check)
This guide is general information, not personalised tax advice. See how we research and review.
Find your crypto tax savings in Spain
Share your holdings and trades, and we will show you where timing, losses and the right regime can cut your bill legally.
Start with Heavnn →