How staking, airdrops, NFTs and DeFi are taxed in Spain
Last updated 1 October 2026 · Reviewed by Jaime Piñeira Pardo, lawyer registered with the ICAM bar, no. 138826 · English version of our Spanish guide.
The short answer
In Spain, rewards from staking, lending and liquidity pools are investment income: they are taxed in the savings base, valued in euros on the day you receive them, even if you sell nothing. Airdrops are capital gains in the general base. Each swap between cryptos or stablecoins, and each NFT paid with crypto, is a barter taxed at that moment. The cost of the delivered crypto is calculated using the FIFO method.
We handle the whole procedure for you, from start to finish.
You describe your case in a chat and sign; we file it with the Spanish authorities. Fixed price from €400.00 (21% VAT included), plus the tasa (official fee) where there is one.
What is new, and the law that applies
- From the 2025 financial year, the savings base above €300,000 is taxed at 30% (previously 28%): this affects staking, lending and swaps.
- 1 January 2026: EU providers begin collecting data for DAC8; first exchange scheduled for 2027. As of 1 October 2026, the Spanish transposition law had not been published.
- 1 July 2026: the transitional period for MiCA ended in Spain; providing crypto-asset services requires authorisation from the CNMV or a passport from another EU State.
- The Modelo 721 for the 2026 financial year is submitted from 1 January to 31 March 2027.
How is staking taxed in Spain?
Staking rewards are investment income from the transfer of own capital to third parties (artículo 25.2 of the Ley del IRPF, the Spanish Personal Income Tax Act), received in kind. This was established by the Directorate-General for Taxes in binding ruling V1766-22 and repeated in rulings V0648-24 and V1551-25.
It does not matter whether you delegate your coins to a validator from an exchange or if you are the validator with your own node: in ruling V1766-22 the DGT ruled out staking as an economic activity, and in V2388-24 it confirms that the result is the same in both cases.
Each reward is valued at its market value in euros on the day you receive it; if you receive several on the same day, you can use the average exchange rate for that day. This amount goes to the savings base, which in 2025 and 2026 is taxed from 19% to 30% depending on the bracket.
It is taxed when received, not when sold. This value is also the acquisition cost of those coins: when you sell or exchange them, the capital gain or loss is calculated from there.
There is no withholding tax: when rewards come from the system itself, there is no party obliged to withhold, so you declare the full amount. And since cryptocurrencies are not marketable securities, you cannot deduct administration and deposit expenses.
How are airdrops and hard forks taxed?
An airdrop is a free delivery of tokens without you giving anything in return. For an individual, the DGT treats it as a capital gain not derived from a transfer: it is valued at its market value in euros on the day you receive it (artículo 34.1.b of the Ley del IRPF) and goes to the general base, not the savings base (artículos 45 and 46). It is therefore taxed at the progressive state and regional scale of your autonomous community.
If the airdrop reaches you through your professional activity, the classification changes: in ruling V2388-24, airdrops that a digital artist received from the platforms where they sold their works were considered income in kind from their economic activity.
If the token has no quote or market when you receive it, its value is zero: there is no income to declare and its cost is also zero, so when you sell it, everything will be a gain. Keep a screenshot of the price or the lack of a market on that day.
Hard forks (a new chain that assigns you new coins for the ones you already had) do not have a DGT ruling that we can cite. We review them on a case-by-case basis: the decisive factor is whether you receive something with market value and what cost is assigned to the new coins, to avoid being taxed twice for the same thing.
How are NFTs taxed when buying, selling or creating them?
If you buy and sell NFTs as an investor, each sale generates a capital gain or loss in the savings base: sale price in euros minus purchase cost, including commissions.
If you pay for an NFT with ETH or another crypto, in addition to buying the NFT you are bartering the ETH you deliver: you must calculate your gain or loss with FIFO, just as if you had sold it for euros.
If you create and sell NFTs regularly, organising your resources to produce and sell digital works, it is an economic activity (artículo 27 of the Ley del IRPF). Ruling V2388-24 deals with this case: an artist registered for IAE (economic activities tax) who sells illustrations on blockchain platforms and asks if they can deduct the minting expense. It is declared as an activity, not as a capital gain, and the sale may also be subject to VAT.
How is DeFi taxed: liquidity pools, lending, wrapped tokens and stablecoins?
Returns from lending, liquidity pools and platforms that reinvest your cryptos in DeFi (yield farming, vaults) are investment income under artículo 25.2, just like staking: ruling V0648-24 links them to the deposit or blocking of crypto assets for a period of time. They are valued in euros on the day you receive them and go to the savings base.
Exchanging one crypto for another, including a stablecoin (BTC for USDC, ETH for USDT), is a barter and is taxed at that moment even if it does not go through euros. The gain is the difference between the cost of what you deliver and the higher of two values: the market value of what you deliver or that of what you receive. This is the most common mistake: believing that you only pay when converting to euros.
The LP tokens you receive when providing liquidity are an open case: V0648-24 left out their obtaining and reimbursement. If you deliver two coins and receive a different token, the general barter rule leads to calculating the gain or loss when contributing and again when withdrawing. This is the prudent criterion we apply.
With wrapped tokens (ETH for WETH, BTC for WBTC) there is also no ruling we can cite. If you deliver one asset and receive a different one, the general criterion is that of a barter. Since both are worth almost the same, the gain is usually small, but the cost of the new token is fixed at that moment.
How are mining and crypto-collateralised loans taxed?
Mining with your own equipment (proof of work) is analysed as an economic activity: you organise resources, equipment and electricity on your own account to obtain new coins (artículo 27 of the Ley del IRPF). It is declared as income from economic activities, with its deductible expenses. This is the difference with staking, where the DGT rules out economic activity.
If you leave your cryptos as a guarantee (collateral), the DGT, in ruling V0648-24, classifies what you obtain for that delivery in guarantee as investment income. The relevant factor is whether the coins change ownership: if the protocol gives you a different token in exchange, we apply the barter criterion.
If the protocol liquidates your guarantee because the price falls, that liquidation is a transfer and generates a capital gain or loss, calculated with FIFO. The interest you pay for the loan, as an individual, is not deducted in your income tax return.
How are transactions valued in euros and how is FIFO applied?
Each transaction is converted to euros at the market value of the day it occurs: the reward when received, the airdrop when received, the barter when made. Keep the price source you use and always apply it consistently.
When you sell or barter part of some coins bought at different times, the ones acquired first are understood to be transferred: this is the FIFO criterion of the practical manual of the Agencia Tributaria (the Spanish Tax Agency). It is not a rule specific to cryptos, but the general one for homogeneous elements (artículo 37.2 of the Ley del IRPF).
Coins received from staking or airdrops enter the FIFO queue on the date you receive them and with the value for which they were taxed. That is why you must cross-reference the histories of all exchanges and wallets: if one is missing, the cost will be wrong and so will the gain.
Losses from barters or sales are offset against other gains from sales or barters of the year (not against an airdrop, which goes to the general base). If there is a surplus, they are offset against investment income (staking, lending) up to 25% of these, and the rest in the following 4 years (artículo 49 of the Ley del IRPF).
Do I have to submit Modelo 721 for my cryptos in staking or DeFi?
Modelo 721 is the informative declaration of virtual currencies located abroad (artículo 42 quater of the Reglamento de gestión e inspección tributaria, the Spanish Tax Management and Inspection Regulation). It is submitted by a resident in Spain with cryptos custodied by a provider that is not obliged to report to Hacienda (the Spanish Tax Authority) in Spain, when their combined value as of 31 December exceeds €50,000. If exceeded, all of them are reported.
What matters is who custodies the keys. Cryptos in staking within a foreign exchange are still custodied by that exchange and are included in the calculation. Those in your own wallet (hardware wallet, MetaMask) or those deposited in a DeFi contract without a custodian are not custodied by a provider.
The deadline runs from 1 January to 31 March of the following year. In subsequent years, it only needs to be submitted again if the combined balance increases by more than €20,000 or if you cease to be the owner. It is valued using the quote as of 31 December from the main platforms or pricing websites.
The 721 only reports, it does not pay. But failing to submit it or submitting it incorrectly is penalised under the general regime of the Ley General Tributaria (the Spanish General Tax Act, artículos 198 and 199), not with the old fines, which fell after the CJEU ruling of 27 January 2022 (case C-788/19).
Does Hacienda know and what does Managora do if I have to declare it?
Exchanges with a headquarters or establishment in Spain report balances (Modelo 172) and transactions (Modelo 173) to Hacienda since the 2023 financial year. Furthermore, with the DAC8 directive, EU providers collect data from 1 January 2026 and the first exchange between administrations is scheduled for 2027; as of 1 October 2026, the Spanish transposition law had not been published in the BOE (Official State Gazette).
If you did not declare rewards or swaps from previous years, Hacienda has 4 years from the end of the deadline for each income tax return to assess them. Regularising before a formal notice from Hacienda (requerimiento) is cheaper than waiting.
At Managora we do the entire job. With the Cryptocurrency tax report card (informe_fiscal_cripto) we reconstruct your transactions from the exchanges and wallets you have used, value them in euros, apply FIFO and classify each income. With the Income tax return card (modelo_100) we submit your IRPF, and with the Modelo 721 card (modelo_721), the informative declaration if applicable. You can see the updated amount on each card.
Step by step
- 1
Download the histories of all your exchanges and wallets(Before April)
Export the complete history of each exchange in CSV (purchases, sales, swaps, staking, earn) and note the addresses of your wallets. Include previous years: the cost of what you sell today may come from 2021.
- 2
Value each transaction in euros on its date
Market price on the day of each reward, airdrop, swap or sale, always using the same source.
- 3
Apply FIFO
Sort the entries of each coin by date (purchases, staking, airdrops) and assign the oldest ones to each exit.
- 4
Classify each income
Staking, lending and pools: investment income. Swaps, sales and NFTs as an investor: capital gain in the savings base. Airdrops: general base. Mining or regular creation of NFTs: economic activity.
- 5
Submit the income tax return (Modelo 100)(Income tax campaign of the following year)
Sales and barters, in the section for gains and losses from the transfer or barter of virtual currencies; staking and lending, as investment income; airdrops, as gains not derived from transfers.
- 6
Check if you need to submit Modelo 721(From 1 January to 31 March)
If your cryptos custodied by foreign providers are worth more than €50,000 as of 31 December, submit it with all of them.
- 7
Keep the file
Histories, spreadsheets and price screenshots, for at least 4 years from the end of the deadline for each income tax return.
A worked example
Resident in Spain, 2025 financial year. Bought 2 ETH on 10-03-2023 at €1,500 (€3,000) and 3 ETH on 05-06-2024 at €2,500 (€7,500). In 2025, receives 0.4 ETH from staking totalling €1,500 valued on the day of each reward, an airdrop of 1,000 tokens at €0.80 on 15-05-2025 and, on 20-11-2025, exchanges 4 ETH for USDC with ETH at €3,500. Their personal minimum is covered by the general base and they have no other savings income.
- Staking: €1,500.00 of investment income, savings base.
- Barter ETH for USDC, transfer value: 4 ETH × €3,500 = €14,000.00 (what is delivered and what is received are worth the same).
- FIFO cost of the 4 ETH: the 2 from 2023 (€3,000.00) + 2 of those from 2024 (2 × €2,500 = €5,000.00) = €8,000.00. The 2025 rewards are later and do not exit yet.
- Capital gain from the barter: €14,000.00 - €8,000.00 = €6,000.00, savings base.
- Savings base: €1,500.00 + €6,000.00 = €7,500.00.
- Tax on the savings base: €6,000.00 × 19% = €1,140.00; €1,500.00 × 21% = €315.00; total €1,455.00.
- Airdrop: 1,000 × €0.80 = €800.00 of capital gain in the general base, which is taxed at their marginal rate of the state and regional scale.
- Remaining in portfolio: 1 ETH from 2024 (cost €2,500.00), 0.4 ETH from staking (€1,500.00), the USDC (€14,000.00) and the airdrop tokens (€800.00).
€1,455.00 of tax on the savings base for the staking and the swap, plus the €800.00 airdrop added to the general base. Even though it did not convert to euros, it is taxed for the exchange to USDC.
How each crypto transaction is taxed in the IRPF
| Transaction | Type of income | Base | When it is taxed | How it is valued |
|---|---|---|---|---|
| Staking (delegated or as a validator) | Investment income (art. 25.2) | Savings | Upon receiving each reward | Market value in euros on the day |
| Lending, earn, liquidity pools, yield farming | Investment income (art. 25.2) | Savings | Upon receiving each return | Market value in euros on the day |
| Swap crypto for crypto or stablecoin | Capital gain or loss (barter) | Savings | At the time of the exchange | Higher value between what is delivered and what is received, minus FIFO cost |
| Sale for euros | Capital gain or loss | Savings | When selling | Sale price minus FIFO cost and commissions |
| Buying and selling NFTs as an investor | Capital gain or loss | Savings | When selling or bartering | Sale price minus purchase cost |
| Paying for an NFT with ETH or another crypto | Barter of the delivered crypto | Savings | When paying | Value of the NFT or the crypto, whichever is higher, minus FIFO cost |
| Airdrop to an individual | Capital gain not derived from a transfer | General | Upon receiving it | Market value in euros on the day (zero if not quoted) |
| Airdrop linked to your professional activity | Income in kind from the activity | General | Upon receiving it | Market value in euros on the day |
| Mining with own equipment | Income from economic activity (art. 27) | General | Upon obtaining the coins | Income minus expenses of the activity |
| Regular creation and sale of NFTs | Income from economic activity (art. 27) | General | When selling | Income minus expenses (minting, commissions) |
Savings base scale (2025 and 2026 financial years, state and regional combined)
| Net taxable savings base (base liquidable) | Rate |
|---|---|
| Up to €6,000 | 19% |
| From €6,000 to €50,000 | 21% |
| From €50,000 to €200,000 | 23% |
| From €200,000 to €300,000 | 27% |
| More than €300,000 | 30% |
Staking or airdrop: the most common doubt
| Staking reward | Airdrop | |
|---|---|---|
| Type of income | Investment income | Capital gain not derived from a transfer |
| IRPF base | Savings base (19% to 30%) | General base (state and regional scale) |
| When it is taxed | Upon receiving each reward | Upon receiving the tokens |
| Valuation | Market value in euros on the day (average exchange rate of the day if there are several) | Market value in euros on the day; zero if there is no market |
| Cost for subsequent sale | The value for which it was taxed | The value for which it was taxed |
Official forms and where it is filed
- Modelo 100. Personal Income Tax Return (Renta Web)
- Modelo 721. Informative declaration on virtual currencies located abroad
- Modelos 172 and 173. Balances and transactions with virtual currencies (submitted by providers in Spain)
Frequently asked questions
Is staking taxed even if I do not sell the cryptos?
Yes. Each reward is taxed on the day you receive it, at its value in euros, in the savings base. When selling, only the difference between the sale price and that value is taxed.
Is exchanging bitcoin for USDC or another stablecoin taxed?
Yes. It is a barter: it generates a gain or loss at the time of the exchange, even if it does not convert to euros, using the FIFO cost of what you deliver.
Can I offset crypto losses against staking rewards?
Yes, up to 25% of investment income, after offsetting against gains from sales or barters in the same year. Any surplus, in the following 4 years.
Do I have to declare an airdrop that is worth nothing?
If it has no market when you receive it, its value is zero and there is no income. Its cost is also zero: if you sell it later, everything will be a gain.
Do the cryptos in my Ledger or MetaMask count for Modelo 721?
No. The 721 only includes cryptos custodied by a foreign provider. Those in your own wallet are taxed when you sell them, exchange them or they generate returns, but they do not go on the 721.
I am a foreigner living in Spain: how is my staking taxed?
If you are a tax resident in Spain, the same as a Spaniard and for your cryptos worldwide: staking in the savings base, swaps as a barter and airdrops in the general base. With more than €50,000 in foreign exchanges as of 31 December, also the 721.
We handle the whole procedure for you, from start to finish.
You describe your case in a chat and sign; we file it with the Spanish authorities. Fixed price from €400.00 (21% VAT included), plus the tasa (official fee) where there is one.
Related procedures
The price, the tasa (official fee) and the current deadlines are on each procedure page.
- Cryptocurrency tax report (gains for your Spanish income tax return)We calculate your capital gains and losses on cryptocurrency for your Renta (IRPF, Spanish personal income ...
- Modelo 100: IRPF annual income tax returnWe calculate and file your IRPF (modelo 100). We cover work income, real-estate capital, movable capital, b...
- Modelo 721: information return for cryptocurrency held on foreign exchangesWe file your modelo 721 (the annual information return on cryptocurrency located abroad) with the AEAT (Spa...
Related guides
- Hacienda already sees your cryptocurrencies: forms 172 and 173, DAC8 and AEAT letters
- Regularise undeclared cryptocurrencies before Hacienda finds out
- 401(k), IRA and Roth IRA for a resident in Spain
- Cryptocurrencies and Hacienda: the tax report and how to reply to a request
- Dividends and interest from foreign brokers in your Renta
- Hacienda informative returns: forms 347, 349, 720 and 721
- How to declare money lost to a scam on your Spanish tax return
- Owning a US LLC as a resident in Spain
Share this guide
If you found it useful, chances are someone you know needs it right now.