CryptaTax
🌐 EN
EnglishENDeutschDEEspañolESFrançaisFRItalianoIT日本語JA한국어KONederlandsNLPolskiPLPortuguêsPT
Sign In Get Started Free

Crypto Airdrop Tax in Spain: Airdrops, Mining, Staking and DeFi Explained

TAX REPORTING Crypto Airdrop Tax in Spain: Airdrops,Mining, Staking and DeFi Explained

Crypto airdrop tax in Spain is not optional, and the Spanish Tax Agency (Agencia Tributaria, known as AEAT) has made that increasingly clear in recent years. If you received free tokens through an airdrop, earned rewards from mining or staking, collected DeFi yields, sold an NFT, or made gains from trading, you almost certainly have a tax obligation. The rules are spread across two different tax bases, general income and savings income, and the category your activity falls into determines the rate you pay. Getting this wrong is expensive. This guide walks through each income type, how Spanish law classifies it, and what you need to report on your annual return (Modelo 100), so you can file confidently without overpaying or under-declaring.

How Spain Taxes Crypto: The Two-Base Framework

Spain's personal income tax system, known as IRPF (Impuesto sobre la Renta de las Personas Físicas), splits income into two broad bases. The general tax base captures employment income, business income, and what the law calls "other income gains", which includes most crypto rewards received without a direct exchange. The savings tax base captures capital gains and certain investment returns, including profits made when you sell or swap crypto assets. Each base has its own progressive rate bands, and the distinction matters enormously because the savings base tends to carry lower rates for larger gains.

Spain also has a specific crypto disclosure obligation through Modelo 721, which requires residents holding crypto assets worth more than 50,000 euros on foreign platforms to report those holdings annually. This is a disclosure form, not a payment form, but failing to file carries serious penalties. For most individual traders, the main event remains the Modelo 100 annual return, where all taxable crypto income and gains are declared together.

The table below summarises how each crypto activity maps to the correct tax base under Spanish rules.

Crypto Activity Spanish Tax Base Rate Bracket (indicative)
Airdrop received (free, no service) General income base Progressive up to 47%
Mining rewards General income base (economic activity) Progressive up to 47%
Staking rewards General income base Progressive up to 47%
DeFi yield / liquidity rewards General income base (or savings, depending on structure) Progressive / 19-28%
Sale or swap of crypto assets Savings base (capital gain) 19-28% progressive
NFT sale proceeds Savings base (capital gain) 19-28% progressive

Crypto Airdrop Tax: What You Owe When Tokens Arrive for Free

Receiving an airdrop feels like a windfall, but Spanish tax law treats it as taxable income from the moment the tokens land in your wallet. The taxable amount is the fair market value of those tokens at the time you receive them, converted to euros. That value is added to your general income base for the year of receipt and taxed at your marginal rate, which can reach 47% at higher income levels depending on your autonomous community.

The tricky part comes later. When you eventually sell or swap those airdropped tokens, you trigger a capital gain or loss on the savings base. The gain is calculated as the sale proceeds minus the cost basis you established when you first received the airdrop. If the tokens were worth 500 euros when you received them and you sell for 1,200 euros, you have already paid income tax on the 500 euros, and now you owe capital gains tax on the additional 700 euros of appreciation. Double-counting is a real risk if your records are poor, which is exactly why accurate transaction logs matter from day one.

Some airdrops require recipients to complete a task, such as sharing a post or testing a protocol. The AEAT may treat these as payments for services rather than simple gifts, which does not change the tax base significantly but can affect how you characterise the income. Keep records of why you received each airdrop.

Mining Income Tax: Running a Node as an Economic Activity

Crypto mining in Spain is treated as an economic activity rather than passive income. If you mine cryptocurrency, the AEAT expects you to register as a self-employed person (autónomo) and report your mining rewards as business income within the general tax base. The fair market value of each block reward or transaction fee you receive is recognised as income at the point of receipt.

The upside of being classified as an economic activity is that you can deduct legitimate business expenses against that income. Electricity costs, specialist mining hardware depreciation, internet connectivity, and other directly related costs can reduce your taxable mining income. You need receipts and records to support every deduction, and the expenses must be genuinely necessary to the mining operation rather than personal costs that happen to relate to crypto.

When you later sell the mined tokens, any appreciation from the value at the time of mining to the sale price is a capital gain on the savings base. As with airdrops, your cost basis for the eventual disposal is the fair market value recorded when you received the tokens.

Crypto Staking Tax: Is Staking Taxable in Spain?

Is staking taxable in Spain? Yes, clearly. Staking rewards are treated similarly to mining income under Spanish rules, landing in the general income base as income received. The taxable amount is again the euro value of the tokens at the time they are credited to your account or become accessible to you. The rate applied is your marginal IRPF rate within the general base.

One practical complication arises from liquid staking and rebasing protocols, where rewards accrue continuously rather than arriving as discrete transactions. Spanish law has not issued specific guidance on the exact moment of recognition for every protocol variant, so the safest approach is to recognise income at the point you can access and control the rewards, and to record the prevailing market value at that time. Keeping a timestamped log of reward events, which a tool like CryptaTax generates automatically from exchange and wallet connections, removes the guesswork from this calculation.

Unstaking events and the subsequent sale of staked tokens both carry their own tax consequences. Unstaking itself is generally not a disposal under Spanish rules, but selling the tokens afterwards is, triggering a capital gain or loss on the savings base as usual.

How Are DeFi Rewards Taxed in Spain?

DeFi tax treatment in Spain is more nuanced than staking because the category of activity determines which tax base applies. Yield farming rewards and liquidity mining incentives are generally treated as income in the general base when received, much like staking rewards. However, the returns generated by providing liquidity to a pool may in some cases resemble investment returns, which could push them toward the savings base treatment for capital income. The distinction depends on the nature of the arrangement and how the AEAT characterises it.

Swapping tokens within a DeFi protocol is a disposal event under Spanish law. When you exchange Token A for Token B on a decentralised exchange, that is treated as selling Token A at its current market value. The difference between what you paid for Token A and its value at the point of the swap is a capital gain or loss, declared on the savings base. Many DeFi users underestimate how many taxable events they accumulate across a single year of active protocol use.

Wrapped tokens present a similar issue. Wrapping ETH to WETH, for example, may constitute a disposal depending on whether the AEAT views the two assets as economically distinct. Caution and documentation are the safest positions until clearer guidance is issued.

DeFi Action Tax Treatment in Spain Tax Base
Receiving yield farming rewards Income at fair market value on receipt General base
Token-to-token swap on DEX Disposal, capital gain or loss Savings base
Adding liquidity to a pool Potentially a disposal if LP tokens differ from deposited assets Savings base (if disposal)
Removing liquidity from a pool Disposal of LP tokens, gain or loss recognised Savings base
Borrowing against collateral Generally not a disposal, but watch for liquidation events N/A unless liquidated

NFT Tax and Crypto Trading Tax in Spain

NFT tax in Spain follows the same capital gains framework as other crypto asset disposals. When you sell an NFT, the gain is the sale price minus the cost of acquiring the NFT (including any gas fees paid at purchase). That gain goes on the savings base. If you created and sold an NFT, the AEAT may treat the proceeds as income from an economic activity rather than a capital gain, particularly if you are creating and selling NFTs regularly as part of a business.

Crypto trading tax works the same way every time you sell or swap a crypto asset. Spain uses a FIFO (first in, first out) cost basis method, meaning the oldest units you hold are treated as the first ones sold. This affects the gain calculation directly, especially for traders who have accumulated positions over multiple years at different prices. Calculating FIFO correctly across hundreds or thousands of trades manually is where errors multiply, and where automated tools become practically necessary rather than optional.

Losses from crypto disposals can be offset against gains in the same tax year. Unused losses can be carried forward for up to four years and applied against future gains on the savings base, which is a meaningful planning opportunity for traders who had a bad year.

Illustrative Scenario

To illustrate how this applies in practice, consider the following scenario: Maria is a freelance graphic designer based in Barcelona who became active in crypto during the previous tax year. She received a governance token airdrop from a protocol she used, worth approximately 300 euros at the time it arrived. She also staked Ethereum and received staking rewards across the year, which she tracked inconsistently. On top of that, she made several token-to-token swaps on a decentralised exchange and sold two NFTs she had purchased earlier in the year.

When Maria sat down to prepare her Modelo 100 return, she realised she had four separate categories of taxable event: the airdrop (general base income), the staking rewards (general base income), the DEX swaps (savings base capital gains), and the NFT sales (savings base capital gains). Her staking records were incomplete, making it difficult to establish the euro value at each reward date. She used CryptaTax to connect her wallets and exchange accounts, which pulled her full transaction history, calculated the euro value of each staking reward at the time of receipt, applied FIFO cost basis to her swaps and NFT disposals, and produced a summary ready for her gestora to file. What had looked like an impossible reconciliation became a straightforward return.

Frequently Asked Questions

What is the crypto airdrop tax rate in Spain?

Airdrop income is added to your general tax base and taxed at your marginal IRPF rate, which ranges progressively depending on your total income and autonomous community. Rates can reach up to 47% at the highest brackets. The fair market value of the tokens at the time of receipt is what you declare, not the value when you sell them.

Do I pay tax on staking rewards in Spain?

Yes. Staking rewards are taxable in Spain as income in the general base, recognised at the euro value of the tokens when you receive them. When you later sell the staked tokens, any additional gain is taxed separately as a capital gain on the savings base. Both events require declaration on your Modelo 100 return.

How are DeFi rewards taxed in Spain?

How DeFi rewards are taxed depends on the specific activity. Yield farming rewards and liquidity mining incentives are generally treated as income in the general base when received. Token swaps on decentralised exchanges are treated as disposals triggering capital gains or losses on the savings base. The AEAT has not issued exhaustive protocol-by-protocol guidance, so conservative classification and thorough records are the safest approach.

Is swapping one crypto for another a taxable event in Spain?

Yes. Spain treats a crypto-to-crypto swap as a disposal of the asset you are giving up. You must calculate the capital gain or loss based on the difference between your FIFO cost basis for that asset and its fair market value at the moment of the swap. Each swap is a separate taxable event that must be reported.

How does NFT tax work in Spain?

Selling an NFT generates a capital gain or loss on the savings base, calculated as the sale proceeds minus your acquisition cost including any gas fees. If you create and sell NFTs regularly as a business activity, the AEAT may classify those proceeds as economic activity income in the general base instead. The distinction depends on frequency and commercial intent.

What cost basis method does Spain use for crypto?

Spain uses FIFO (first in, first out) for calculating crypto capital gains. This means when you sell a portion of your holdings, the tax calculation uses the price you paid for your oldest units first. For traders with long histories and multiple purchase prices, FIFO significantly affects the gain or loss reported on each disposal.

What is Modelo 721 and does it apply to crypto?

Modelo 721 is an annual information form for Spanish tax residents who hold crypto assets on foreign platforms with a combined value exceeding 50,000 euros at 31 December. It is a disclosure obligation, not a tax payment. Failing to submit it or submitting it late carries substantial penalties regardless of whether you owe any income tax.

Can I offset crypto losses against gains in Spain?

Yes. Capital losses from crypto disposals can be offset against capital gains within the same tax year on the savings base. Any remaining unused losses can be carried forward for up to four years and applied against future gains. This makes accurate loss tracking as important as recording gains, particularly for active traders or anyone who experienced significant portfolio drawdowns.

Do I need to declare mining income even if I mine as a hobby?

The AEAT generally treats mining as an economic activity rather than a hobby, which means registering as autónomo and declaring the income is expected regardless of scale. Very occasional or minimal mining might be assessed differently in practice, but there is no formal hobby exemption in Spanish crypto tax rules. Taking professional advice before assuming no obligation applies is the prudent course.

When is the deadline to file my Spanish crypto tax return?

The Modelo 100 annual return is typically filed between April and June for the previous tax year. Modelo 721 for crypto asset disclosure has its own separate deadline, generally in January for the previous 31 December position. Both deadlines should be confirmed each year with the AEAT or a qualified Spanish tax adviser, as exact dates can shift slightly.

Source: CryptaTax

FAQ

What is the crypto airdrop tax rate in Spain?

Airdrop income is added to your general tax base and taxed at your marginal IRPF rate, which ranges progressively depending on your total income and autonomous community. Rates can reach up to 47% at the highest brackets. The fair market value of the tokens at the time of receipt is what you declare, not the value when you sell them.

Do I pay tax on staking rewards in Spain?

Yes. Staking rewards are taxable in Spain as income in the general base, recognised at the euro value of the tokens when you receive them. When you later sell the staked tokens, any additional gain is taxed separately as a capital gain on the savings base. Both events require declaration on your Modelo 100 return.

How are DeFi rewards taxed in Spain?

How DeFi rewards are taxed depends on the specific activity. Yield farming rewards and liquidity mining incentives are generally treated as income in the general base when received. Token swaps on decentralised exchanges are treated as disposals triggering capital gains or losses on the savings base. The AEAT has not issued exhaustive protocol-by-protocol guidance, so conservative classification and thorough records are the safest approach.

Is swapping one crypto for another a taxable event in Spain?

Yes. Spain treats a crypto-to-crypto swap as a disposal of the asset you are giving up. You must calculate the capital gain or loss based on the difference between your FIFO cost basis for that asset and its fair market value at the moment of the swap. Each swap is a separate taxable event that must be reported.

How does NFT tax work in Spain?

Selling an NFT generates a capital gain or loss on the savings base, calculated as the sale proceeds minus your acquisition cost including any gas fees. If you create and sell NFTs regularly as a business activity, the AEAT may classify those proceeds as economic activity income in the general base instead. The distinction depends on frequency and commercial intent.

What cost basis method does Spain use for crypto?

Spain uses FIFO (first in, first out) for calculating crypto capital gains. This means when you sell a portion of your holdings, the tax calculation uses the price you paid for your oldest units first. For traders with long histories and multiple purchase prices, FIFO significantly affects the gain or loss reported on each disposal.

What is Modelo 721 and does it apply to crypto?

Modelo 721 is an annual information form for Spanish tax residents who hold crypto assets on foreign platforms with a combined value exceeding 50,000 euros at 31 December. It is a disclosure obligation, not a tax payment. Failing to submit it or submitting it late carries substantial penalties regardless of whether you owe any income tax.

Can I offset crypto losses against gains in Spain?

Yes. Capital losses from crypto disposals can be offset against capital gains within the same tax year on the savings base. Any remaining unused losses can be carried forward for up to four years and applied against future gains. This makes accurate loss tracking as important as recording gains, particularly for active traders or anyone who experienced significant portfolio drawdowns.

Do I need to declare mining income even if I mine as a hobby?

The AEAT generally treats mining as an economic activity rather than a hobby, which means registering as autónomo and declaring the income is expected regardless of scale. Very occasional or minimal mining might be assessed differently in practice, but there is no formal hobby exemption in Spanish crypto tax rules. Taking professional advice before assuming no obligation applies is the prudent course.

When is the deadline to file my Spanish crypto tax return?

The Modelo 100 annual return is typically filed between April and June for the previous tax year. Modelo 721 for crypto asset disclosure has its own separate deadline, generally in January for the previous 31 December position. Both deadlines should be confirmed each year with the AEAT or a qualified Spanish tax adviser, as exact dates can shift slightly.