Crypto Taxes in Spain: The Complete Guide (2026)

Author logo
Tangem team
•
Post image

 

You bought Bitcoin in 2023, swapped some for ETH last year, and now the spring IRPF campaign is approaching. The question isn't whether Spain taxes crypto. It does. The question is how the rules actually work: which events trigger a liability, what rate applies, and which forms you need to file beyond your income tax return.

 

This guide covers taxable disposals, the progressive savings-base rates (19% to 30%), FIFO gain calculation, the three crypto information returns (Modelos 721, 172 and 173), the December 31 Wealth Tax valuation, the current state of DAC8 transposition, and the records you need to keep. It does not cover the foral tax rules of the Basque Country or Navarre, or topics such as staking, mining, airdrops, DeFi, NFTs, business activity, Wealth Tax thresholds, regional reliefs, or the Beckham regime. For those, an asesor fiscal is the right starting point.

Do you pay tax on crypto in Spain?

Yes, but the trigger matters. Not every interaction with crypto creates a tax event.

 

  • Selling crypto for euros is a taxable disposal. So is exchanging one cryptoasset for another (a swap or permuta). Both are treated as capital gains events in the savings base of your IRPF (Impuesto sobre la Renta de las Personas Físicas) return. You calculate the gain or loss, apply the progressive savings-base rate, and declare it in your annual return.

     

  • Buying crypto with euros is not taxable in itself. Neither is simply holding it. No tax arises until you dispose of it.

Staking rewards, mining income, and airdrops fall outside the scope of this guide. The tax treatment of those activities involves rules that are separate from the savings-based capital-gains framework, and the right answer depends on the specific facts. Ask an asesor fiscal if any of those apply to you.

 

For a broader overview of how Spain regulates crypto, including exchange registration and the CNMV's role, see our guide to crypto in Spain.

Crypto Tax Rates in Spain in 2026

Spain taxes crypto gains as savings-base income (rentas del ahorro). The scale is progressive: the more you gain, the higher the marginal rate on the top slice. Ley 7/2024 raised the top bracket from 28% to 30%, effective from January 1, 2025. That rate applies to gains above EUR 300,000.

 

The current scale, per the AEAT Manual práctico de Renta 2025 (as of October 2026):

Taxable gain (EUR)Savings-base rate
0 - 6,00019%
6,001 - 50,00021%
50,001 - 200,00023%
200,001 - 300,00027%
Above 300,00030%

These are marginal rates. A gain of EUR 60,000 is not taxed at 23% in full: the first EUR 6,000 is taxed at 19%, the next EUR 44,000 at 21%, and the remaining EUR 10,000 at 23%.

 

Source: AEAT Manual práctico de Renta 2025, as of October 2026.

How to Calculate Crypto Gains: FIFO and Swaps

The starting point is straightforward: gain = disposal proceeds minus acquisition cost, where both figures include related fees and taxes.

 

Spain requires FIFO (first in, first out) by coin. If you bought 1 BTC in January 2023 and another in March 2024, and you sell 1 BTC in 2025, the 2023 purchase is treated as the one sold. You cannot choose a different lot to minimize your gain.

 

Crypto-to-crypto swaps use the permuta valuation rule. The gain is calculated at the time of the swap, using the market value of the assets exchanged. The event is timed to the tax year in which the swap occurs.

 

Illustrative FIFO example (hypothetical numbers, fees excluded for simplicity):

You buy 2 ETH at EUR 1,500 each (total cost: EUR 3,000) in March 2023, then 1 ETH at EUR 2,800 in October 2024. In June 2025 you sell 1 ETH for EUR 3,200.

Under FIFO, the sold ETH is the one bought in March 2023 at EUR 1,500. Your gain is EUR 3,200 minus EUR 1,500 = EUR 1,700.

This is illustrative only. A real result depends on your complete transaction history across all wallets and exchanges, including fees.

For a general introduction to how capital gains tax applies to crypto, see our article on capital gains tax on crypto.

What if an exchange goes bankrupt?

This is not a straightforward loss deduction. If your crypto is trapped on a failed platform, the AEAT treats the unrecovered amount as an unpaid credit rather than an automatic capital loss. Special timing rules apply to when any resulting loss can be recognized, and that loss belongs to the general base rather than the savings base.

 

The practical implication: you cannot simply offset an exchange collapse against your crypto gains in the same year without meeting specific conditions. If you've been affected by a platform failure, consult an asesor fiscal before filing.

 

Self-custody removes the counterparty risk that creates this situation in the first place. For more on how an exchange failure affects users who hold their own keys, see our article on how an exchange hack affects cold wallet users.

Information Returns: Modelo 721, 172 and 173

There's an important distinction to keep clear: information returns are not tax returns. They don't create a tax liability on their own. They are disclosure obligations that run parallel to your IRPF filing.

 

Spain has three crypto-specific information returns:

FormWho files itWhat it covers
Modelo 721Individuals and entitiesCrypto held through foreign custodians above EUR 50,000
Modelo 172Spanish private-key custody providersTheir clients' holdings
Modelo 173Spanish exchange, transfer and custody providersTheir clients' activity

Modelo 721 is the one most individual holders need to understand. It applies when you hold qualifying crypto with a foreign custodian and the total value exceeds EUR 50,000 as of December 31. The filing window is January 1 through March 31 of the following year.

 

Once you've filed an initial Modelo 721, you only need to file again in subsequent years if your balance increases by more than EUR 20,000 or if a cessation condition applies. The word "abroad" here is custodian-based, not wallet-based. What matters is whether the entity that holds or manages your keys is established outside Spain, not whether the blockchain itself is foreign. Modelos 172 and 173 are filed by Spanish providers, not by individual users.

 

One point that sometimes causes confusion: crypto held in a self-controlled wallet (where you hold the private keys directly) is not within the scope of Modelo 721 under the custodian-based definition. But that does not mean self-custody exempts you from tax or from Wealth Tax. Crypto you control directly still counts as income for IRPF purposes when you dispose of it, and it still forms part of your Wealth Tax base. Ask an asesor fiscal how the Modelo 721 rules apply to your specific wallet arrangements.

Crypto and Wealth Tax in Spain

Spain's Impuesto sobre el Patrimonio (Wealth Tax) applies to your net assets on December 31 each year. Crypto holdings are included.

 

The valuation method: use the euro price at 23:59 on December 31, taken from a major platform or price tracker. Where no reliable price is available, a reasonable market-value estimate is acceptable.

 

Wealth Tax thresholds, exemptions, and regional variations are outside the scope of this guide. Those rules differ significantly across autonomous communities and depend on your overall asset position. An asesor fiscal can advise on whether and how much Wealth Tax you owe.

DAC8: What EU Crypto Reporting Means in Spain

DAC8 is Directive (EU) 2023/2226, the EU's framework for automatic exchange of information on crypto-asset transactions between tax authorities. It is distinct from MiCA regulation in Spain: MiCA governs crypto-asset service providers; DAC8 governs tax reporting. The directive's application date is January 1, 2026. The first data exchanges between EU tax authorities are due by September 30, 2027.

 

Spain's position as of October 2026 is this: the transposition bill that would have incorporated DAC8 into Spanish law lapsed when the Cortes was dissolved on October 6, 2026. A draft order covering Modelo 042, revised versions of Modelos 172 and 721, and a new Modelo 175 was tied to that legislation. The measure has not been enacted.

 

Modelos 172, 173 and 721 remain in force under current law. Their filing obligations have not changed. What happens next depends on the new parliament. This article makes no prediction about when or how Spain will complete transposition. Check AEAT guidance and BOE publications for updates. For the distinction between DAC8 and the regulatory framework for crypto businesses, see our overview of MiCA and self-custody.

Filing Your Crypto Taxes: When and How

Annual IRPF is filed in spring for the prior tax year. The 2025 campaign ran from April 8 to June 30, 2026. Expect a similar window for the 2026 tax year.

 

Modelo 721 is a separate filing with a different deadline: January 1 through March 31 of the year following the one being reported. It is filed through the AEAT's online portal (Sede Electrónica), not as part of your IRPF return.

 

For most crypto holders, the practical challenge is assembling a complete FIFO history across multiple exchanges and wallets before the filing window opens. Dedicated tax software can import exchange and wallet histories and automatically apply FIFO, reducing the risk of errors across multi-exchange, multi-year histories. The brief does not authorize naming specific tools here, but several are available that support Spanish IRPF reporting.

 

One thing to clarify with your asesor fiscal before filing: whether your complete transaction history is captured, including any wallets or exchanges you may have closed or migrated away from. For a general introduction to how crypto taxes work before diving into country-specific rules, see crypto taxes for beginners.

Records to Keep

The AEAT can request evidence for any declared gain or loss, including swap losses. Poor record-keeping is one of the most common sources of problems in crypto tax filings: missing data forces estimates, and estimates invite scrutiny.

 

For each transaction, keep:

  • Date and time of the purchase, sale, or swap
  • Coin and number of units
  • Euro value at the time and the price source you used
  • Fees paid (exchange fees, network fees, gas)
  • Exchange or wallet name and its country of registration
  • On-chain transaction hash for blockchain transactions
  • Year-end balance by coin (for Wealth Tax and Modelo 721 purposes)
  • Acquisition-cost documents (purchase confirmations, exchange statements)

The on-chain transaction hash is particularly important for swaps: if the AEAT asks you to substantiate a loss on a swap, the hash is the primary evidence that the transaction occurred at the stated price and time. Keep records for at least the general Spanish tax statute of limitations period. An asesor fiscal can confirm the applicable period for your situation.

Where Tangem Fits

Tangem Wallet is a self-custody hardware wallet: a credit-card-sized NFC card (or the ceramic Tangem Ring) that stores your private keys on a Samsung S3D350A secure element certified at EAL6+. The keys are generated inside the chip and never leave it. The phone app handles the interface; signing happens on the card.

 

By default, Tangem uses a seedless setup with a multi-card backup model. You can optionally generate a BIP39 seed phrase for portability across other wallets.

From a record-keeping perspective, every transaction signed through Tangem is broadcast to public blockchain nodes and is visible on-chain. The Tangem app displays transaction history for supported networks and lets you copy individual transaction hashes, which you can then cross-reference with a block explorer to reconstruct dates, amounts, and counterparties. There’s no general transaction-history export in the Tangem app at present. For some cryptocurrencies, you can open the blockchain explorer from the cryptocurrency’s page and export a CSV there.

 

Self-custody doesn't change your tax obligations. Crypto you hold in a Tangem Wallet still counts for IRPF when you dispose of it and for Wealth Tax on December 31. Modelo 721 uses a custodian-based definition, so self-controlled wallets fall outside its scope, but that's an AEAT definitional question, not a tax exemption.

 

If you lose all your backup cards and didn't generate a seed phrase, your funds are permanently inaccessible. Keep your backup cards in separate secure locations. Tangem Wallet is available as a 2-card set, a 3-card set, or the Tangem Ring with two cards. See the roundup of the best crypto wallets in Europe to see how it compares to other options.

 

View Tangem Wallet pricing →

Final Thoughts

Crypto taxes in Spain are manageable when your transaction history is complete and your reporting aligns with your circumstances. Before the filing window opens, reconcile records from every exchange and wallet, then review them with an asesor fiscal before filing. For country-comparison context, see how the rules differ in our crypto taxes in Germany guide.

 


This article is for general information only and is not tax, legal, or financial advice. Tax rules change and depend on your circumstances. Consult a qualified tax professional before making decisions.

FAQ About Crypto Taxes in Spain

  • Yes. Spain taxes crypto gains as savings-base income under IRPF. Selling crypto for euros and swapping one cryptoasset for another are both taxable disposal events. Buying crypto with euros or holding it without disposing of it does not, on its own, trigger a tax liability.

  • Spain applies a progressive savings-base scale: 19% on gains up to EUR 6,000; 21% from EUR 6,001 to EUR 50,000; 23% from EUR 50,001 to EUR 200,000; 27% from EUR 200,001 to EUR 300,000; and 30% above EUR 300,000. The 30% top rate applies from January 1, 2025, under Ley 7/2024.

  • If you made a taxable disposal (sale or swap) during the tax year, you must declare the gain or loss in your IRPF return. Separately, if you hold qualifying crypto through a foreign custodian worth more than EUR 50,000 on December 31, you may need to file Modelo 721 by March 31. These are two different obligations.

  • Modelo 721 is an information return for individuals and entities that hold qualifying crypto held through foreign custodians exceeding EUR 50,000. It is filed with the AEAT between January 1 and March 31. It is not a tax return and does not create a tax liability on its own. It is a disclosure obligation about assets held outside Spain through a non-Spanish custodian.

  • Spain requires FIFO (first in, first out) by coin. When you sell a unit of a given cryptocurrency, the acquisition cost used is that of the earliest purchase of that coin you still hold. You cannot choose which lot to use. This means a long-held coin bought at a lower price will typically produce a larger gain than a recently purchased one.

  • DAC8 (Directive (EU) 2023/2226) requires EU member states to collect and exchange crypto transaction data between tax authorities. Its application date is January 1, 2026, with first data exchanges due September 30, 2027. Spain's transposition bill lapsed in October 2026 when the Cortes was dissolved. Modelos 172, 173 and 721 remain in force. No prediction can be made about when Spain will complete transposition.

  • Yes. Crypto holdings are included in the Wealth Tax base and must be valued in euros at 23:59 on December 31 each year, using the price from a major platform or price tracker. Wealth Tax thresholds, exemptions, and regional rules vary and are outside the scope of this guide. Consult an asesor fiscal about your specific position.

  • Crypto trapped on a failed platform is not an automatic capital loss. The AEAT treats the unrecovered amount as an unpaid credit, and special timing rules control when a resulting loss can be recognized. Consult an asesor fiscal before filing.

  • No. Crypto you control directly still counts as income for IRPF purposes when you dispose of it, and it still forms part of your Wealth Tax base. Modelo 721 uses a custodian-based definition, so ask an asesor fiscal how it applies to your wallet arrangements.

  • FIFO uses the earliest purchase of a coin you still hold, so a complete transaction history across wallets and exchanges matters. Keep dates, units, euro values, fees, transaction hashes, and acquisition-cost documents. An asesor fiscal can help when records are incomplete.

  • Keep the date and time, coin and units, euro value and price source, fees, on-chain transaction hash, and acquisition-cost documents. The AEAT can request evidence for a declared swap loss, and the hash helps substantiate the transaction at the stated price and time.

  • Before filing, check that your complete transaction history includes any wallets or exchanges you closed or migrated away from. Exchange statements and wallet histories can help reconstruct the record. Ask an asesor fiscal if you cannot account for the full history.

Author logo
Author Tangem team

We are a team of Tangem Wallet users dedicated to simplifying self-custody for everyone.

Author logo
Reviewed by Patrick Dike-Ndulue

Senior editor covering crypto, onchain equities, and technology.