1. The Ultimate, Comprehensive Guide to Spanish Cryptocurrency Taxation (2026 Edition)
The taxation of cryptocurrency in Spain is governed by the Agencia Estatal de Administración Tributaria (AEAT), commonly known as the Hacienda. Spain has historically been highly aggressive in its pursuit of tax compliance within the digital asset sector. The Hacienda does not view cryptocurrency as a passing trend; they view it as a primary vector for tax evasion and have constructed a formidable legal apparatus to track and tax it.
Under Spanish law, cryptocurrencies are not considered legal tender or foreign currency. Instead, they are officially classified as intangible assets (bienes inmateriales). This specific classification fundamentally dictates how every transaction is handled. If you are an individual investor, your cryptocurrency profits are classified as Capital Gains from Savings (Rentas del Ahorro). Furthermore, Spain is unique in Europe because it aggressively levies a highly controversial Wealth Tax (Impuesto sobre el Patrimonio) on crypto holdings, effectively taxing you simply for owning digital assets, even if you never sell them.
The Hacienda’s surveillance capabilities are vast. They routinely send out hundreds of thousands of formal “warning notices” (avisos) to Spanish taxpayers during the Renta (tax season), explicitly stating that the government knows they possess cryptocurrency and reminding them of their legal obligation to declare it. This data is gathered through mandatory reporting from Spanish exchanges (like Bit2Me) and rigorous enforcement of European directives. Ignorance of the law is not an accepted defense, and failing to declare your crypto assets—especially those held abroad—can result in devastating fines reaching up to 150% of the undeclared amount.
In this exhaustive 2,500+ word guide, we will dismantle the complex Spanish cryptocurrency tax framework. We will analyze the progressive Savings Tax rates, explain the mandatory FIFO accounting method, dissect the dreaded “Modelo 721” reporting requirement for foreign assets, delve into the Wealth Tax implications, and map out the tax treatment of DeFi, staking, and NFTs.
2. Capital Gains from Savings (Rentas del Ahorro)
For the vast majority of Spanish residents, buying, holding, and trading cryptocurrency is an investment activity. The profits generated from this activity are not added to your general income (like your salary). Instead, they are categorized as Rentas del Ahorro (Savings Income) and are taxed under the specific Capital Gains tax scale.
What Constitutes a Taxable Event (Alteración Patrimonial)?
A taxable event occurs whenever there is a “patrimonial alteration”—meaning the composition of your wealth changes. This happens when you dispose of your cryptocurrency. According to the Hacienda, a disposal includes:
- Selling Crypto for Fiat: Cashing out your digital assets for Euros (€).
- Crypto-to-Crypto Trades (Permuta): This is a massive trap for many investors. Exchanging one cryptocurrency directly for another (e.g., swapping Bitcoin for Ethereum) is a taxable event in Spain. The Hacienda views this as selling your Bitcoin for its Euro market value and immediately using those Euros to buy Ethereum. You must calculate and pay tax on the capital gain of the Bitcoin you disposed of, even though you never touched actual Euros.
- Using Crypto to Buy Goods/Services: If you use crypto to buy a car, pay rent, or order a pizza, you are making a taxable disposal. You must calculate the gain based on the Euro value of the crypto at the time of purchase.
The Progressive Savings Tax Rates (2024)
Spain does not have a flat capital gains tax rate, nor does it offer a tax-free allowance simply for holding an asset for over a year (unlike Germany). Instead, your net capital gains for the year are taxed on a progressive scale. The more profit you make, the higher the percentage you pay.
For the 2023/2024 tax year, the Savings Tax rates are:
- 0 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: 28%
Note: These are state-level rates. Specific Autonomous Communities (Comunidades Autónomas) may have slight variations, though the Savings base is largely harmonized.
3. Calculating Your Gain: The Mandatory FIFO Rule
To calculate your capital gain, you must subtract your Valor de Adquisición (Acquisition Value) from your Valor de Transmisión (Transmission/Sale Value).
- Valor de Adquisición: The original purchase price in Euros, plus any associated costs like exchange trading fees or network gas fees incurred during the purchase.
- Valor de Transmisión: The sale price in Euros, minus any fees incurred directly to execute the sale.
The FIFO (First-In, First-Out) Method
Because cryptocurrencies are homogenous (one Bitcoin is identical to another), calculating the exact acquisition value when you have bought the asset multiple times at different prices is complex. The Dirección General de Tributos (DGT) explicitly mandates the use of the FIFO (First-In, First-Out) accounting method.
Under FIFO, you must assume that the first coins you acquired are the first coins you sell. You cannot use Specific Identification, LIFO, or HIFO. If you bought Bitcoin in 2018 for €3,000 and another Bitcoin in 2023 for €25,000, and you sell one Bitcoin today, the Hacienda requires you to use the €3,000 acquisition value, resulting in a much larger, taxable capital gain. This rule applies globally to all wallets and exchanges you control.
4. Staking, Mining, and Airdrops (Rendimientos del Capital Mobiliario)
The Hacienda treats income generated from your crypto holdings differently than capital gains from trading. This passive income is classified as Rendimientos del Capital Mobiliario (Returns on Movable Capital).
Staking and Yield Farming
If you lock your tokens in a Proof-of-Stake network or a DeFi liquidity protocol and receive rewards, the Euro market value of those rewards at the exact moment of receipt is considered a return on movable capital. This income is added to your Savings Base (Base del Ahorro) and taxed at the progressive scale (19% to 28%).
When you eventually sell those newly acquired staking rewards, that sale is a standard capital gains event. The acquisition value for that future sale is the Euro value you previously declared as income upon receipt.
Airdrops
The tax treatment of an airdrop depends entirely on the context of how you received it. The Hacienda makes a crucial distinction:
- Passive Airdrops: If you receive an airdrop simply because you held another token (e.g., holding XRP and receiving Spark), and you did absolutely nothing to earn it, the DGT generally classifies this as a “Capital Gain not derived from a transfer” (Ganancia Patrimonial no derivada de transmisión). Shockingly, this means it is not taxed at the lower Savings rate (19%-28%), but is instead added to your General Income Base (Base General) and taxed at your progressive income tax scale, which can reach up to 47%!
- Active Airdrops: If you received the airdrop in exchange for performing a service (e.g., retweeting a promotional post or participating in a testnet), it may be classified as standard income from economic activities.
Mining
Cryptocurrency mining in Spain is considered an economic activity (Actividad Económica). If you mine, you must register as a self-employed professional (Autónomo). Your mining profits are added to your General Income Base and taxed at progressive rates (up to 47%). You must also pay hefty monthly social security contributions (Cuota de Autónomos). However, you can deduct legitimate business expenses like electricity, server costs, and hardware depreciation.
5. The Wealth Tax and the Solidarity Tax
Spain is one of the only countries in the Western world that actively levies a Wealth Tax (Impuesto sobre el Patrimonio). The Hacienda explicitly includes cryptocurrencies in the calculation of your total net wealth.
Every year on December 31st, you must calculate the exact Euro market value of all your cryptocurrency holdings. If your total net wealth (including real estate, stocks, bank accounts, and crypto) exceeds the exempt minimum, you must pay a percentage of your wealth to the government simply for existing.
- The Exempt Minimum: Generally, the state-level exempt minimum is €700,000 (plus up to €300,000 for your primary residence). However, the Wealth Tax is managed by the Autonomous Communities, and the rules vary wildly. For example, Madrid and Andalusia historically offered a 100% bonus (effectively a 0% tax), while regions like Catalonia strictly enforce the tax with lower thresholds.
- The Solidarity Tax (Impuesto de Solidaridad): Introduced recently to target high-net-worth individuals residing in regions that offer Wealth Tax bonuses (like Madrid), this is a federal tax applying to net wealth exceeding €3,000,000.
6. Mandatory Reporting: Modelo 721 and the Renta
The Spanish reporting requirements for cryptocurrency are notoriously bureaucratic, carrying devastating financial penalties for non-compliance.
The Main Tax Return (La Renta – Modelo 100)
The Spanish tax year aligns with the calendar year. You must file your annual income tax return (Declaración de la Renta) between April and June of the following year. You must report all capital gains from crypto trades, staking income, and airdrops on this form. The AEAT has introduced specific boxes dedicated exclusively to reporting the transfer of virtual currencies.
Modelo 721 (Declaration of Virtual Currencies Held Abroad)
This is arguably the most feared tax form in the Spanish crypto ecosystem. Starting in 2024 (for the 2023 tax year), the Hacienda introduced the Modelo 721. This is an informative declaration specifically targeting cryptocurrencies held on foreign exchanges or custodians.
- Who Must File: You must file Modelo 721 if the total combined Euro value of all your cryptocurrencies held on foreign exchanges (e.g., Binance, Kraken, Coinbase) exceeded €50,000 on December 31st of the reporting year.
- Hardware Wallets: Crucially, if you hold your crypto in a self-custodial hardware wallet (like a Ledger or Trezor) where you physically control the private keys within Spain, those assets are generally not considered to be held abroad, and are excluded from the €50,000 calculation for Modelo 721.
- Penalties: The penalties for failing to file Modelo 721, or filing it with incorrect data, are historically brutal, though recent European Court rulings have forced Spain to temper them slightly. Still, late or missing declarations can result in massive fines proportional to the undeclared amounts.
7. Advanced Tax Loss Harvesting
If you sell a cryptocurrency for less than its acquisition value, you realize a capital loss. In Spain, you can use these losses to strategically lower your tax bill.
- Offsetting Gains: You can offset capital losses against capital gains from other savings assets (like crypto or stocks) in the same calendar year.
- Offsetting Movable Capital: If your losses exceed your gains, you can use the remaining loss to offset up to 25% of your positive returns on movable capital (such as dividends, interest, or staking income) in the same year.
- Carry Forward (Compensación): If you still have a net capital loss remaining after applying these offsets, you can carry the loss forward to offset future capital gains and movable capital for up to four subsequent tax years. After four years, the loss expires permanently.
8. Automate Your Hacienda Compliance with CoinTax
Calculating your Spanish tax liability manually is a mathematical nightmare. Applying strict FIFO accounting across hundreds of complex crypto-to-crypto trades, calculating the exact Euro value of staking rewards on a daily basis, and compiling the exhaustive end-of-year balances required for the Wealth Tax and the dreaded Modelo 721 is virtually impossible using an Excel spreadsheet.
The CoinTax Spain Crypto Tax Calculator is engineered specifically to adhere to the aggressive and uncompromising framework of the Spanish Agencia Tributaria. By securely importing your read-only transaction data, the calculator will:
- Automatically apply the mandatory FIFO accounting method to all your crypto holdings.
- Calculate the Euro market value for every single crypto-to-crypto trade (Permuta), ensuring you capture all taxable events.
- Separate your capital gains from your Returns on Movable Capital (staking/yields).
- Generate a comprehensive end-of-year holding report containing the exact balances and Euro valuations required to file the Modelo 721 and assess your Wealth Tax liability.
- Provide the precise, mathematically verified figures needed to populate your Declaración de la Renta.
Don’t risk receiving a warning notice, facing severe financial penalties for an undeclared foreign account, or enduring an aggressive Hacienda audit. Use the CoinTax Calculator to automate your Spanish crypto taxes and ensure absolute, 100% compliance with the law.