guest@tfb:~$ ls -la taxes/income-tax/

Spanish income tax on crypto: how IRPF works

Spanish personal income tax (IRPF) is levied on the income of individuals resident in Spain. Selling crypto-assets for euros, exchanging one crypto-asset for another, earning staking rewards, receiving an airdrop or being paid in crypto-assets are events with tax consequences. How each item of income is characterised is decisive, since different types of income may be subject to different rules on taxation and deduction of expenses: gains and losses arising from disposals and income from the transfer of capital, such as staking or lending, are included in the IRPF savings base, whereas gains and losses that do not arise from a disposal, such as airdrops or scams, and employment or business income are included in the general base, and are therefore taxed at higher rates.

The analyses in this section cover the usual transactions (disposals, swaps, mining, staking, airdrops) and also the cases the DGT has not expressly addressed, such as certain DeFi transactions, wrapping or liquidity provision.

automatic bitcoin inheritance.md Inheritance & Gift TaxIncome TaxWealth Tax
Automatic bitcoin inheritance: timelocks and Miniscript
With an automatic-inheritance wallet, ISD accrues at the time of death, even if the heir's path opens months later or could open during the holder's life.
cat ›
undeclared bitcoin inheritance.md Inheritance & Gift TaxIncome TaxWealth Tax
Inheriting bitcoin left undeclared during the holder’s lifetime
Heirs succeed to the deceased's tax and interest, never to penalties; the unjustified gain is rebutted by proving the coins' origin.
cat ›
proving bitcoin ownership.md Income TaxInheritance & Gift TaxWealth Tax
Proving ownership of bitcoin to the tax authorities
The blockchain proves that an address held bitcoin, not whose it was: ownership is proved by linking evidence of different strength.
cat ›
llc crypto exit tax.md Income Tax
Exit tax and crypto-assets in an LLC
Once bitcoin is contributed to an LLC, even a transparent one, what is held is an interest subject to the exit tax; with a single member, from €1,000,000.
cat ›
crypto trading bots tax.md Income Tax
Crypto-asset trading bots under IRPF
Automated trading with one's own capital is private wealth management: gains and losses go to the savings base and the bot's fees are not deductible.
cat ›
regularising inherited bitcoin.md Inheritance & Gift TaxIncome TaxWealth Tax
Regularising inherited or gifted bitcoin
Bringing to light inherited or gifted bitcoin that was never declared means sorting out ISD and IRPF limitation, the acquisition value and proof of origin; limitation without evidence is not enough.
cat ›
beckham law crypto.md Income TaxNon-Resident Tax
Beckham Law and the location of cryptocurrencies
For an impatriate, self-custodied crypto is deemed located in Spain and its disposal is taxed; not so where it is held by a foreign platform not established here.
cat ›
p2p bitcoin source of funds.md Income Tax
No-KYC p2p bitcoin: proof of the source of funds
Bitcoin acquired between individuals is taxed like bitcoin acquired on an exchange; the burden of proving its origin and acquisition cost falls on the holder.
cat ›
paying with bitcoin transfer tax.md Transfer TaxIncome Tax
Property and other assets paid for with bitcoin under ITPAJD
Paying for a property with bitcoins is a barter: a capital gain in the transferor's IRPF and possible TPO for the acquirer of the bitcoins (V0935-25).
cat ›
crypto airdrops tax.md Income Tax
Airdrops and free token distributions under IRPF
An airdrop is a capital gain in the general base, at its market value on receipt, which serves as the acquisition value for a later sale.
cat ›
nft buying selling tax.md Income TaxVAT
Buying, selling and creating NFTs under VAT and IRPF
Buying and reselling an NFT is taxed like any crypto-asset, in the savings base; for VAT, those linked to digital content are electronic services.
cat ›
crypto mining tax.md Income TaxVAT
Crypto mining: economic activity and taxation
Mining with an organisation of means is an economic activity: rewards at market value, expenses deductible. For VAT, mining is outside the scope.
cat ›
dao governance tokens tax.md Income TaxCorporate Tax
DAOs and governance tokens
Governance tokens admit three classifications depending on how they are obtained; the DGT has ruled on services to a DAO, not the DAO's own liability.
cat ›
defi lending yield tax.md Income Tax
DeFi under IRPF and bitcoin-collateralised loans
Lending and pools generate investment income (V0648-24); in a loan collateralised with bitcoin, liquidation is a taxable disposal.
cat ›
dex liquidity lp tokens tax.md Income Tax
DEX liquidity provision: LP tokens and impermanent loss
The returns from a liquidity pool are treated as investment income; the initial swap into LP tokens and impermanent loss remain unresolved.
cat ›
selling swapping crypto.md Income Tax
Disposal and exchange of crypto-assets under IRPF
Selling, swapping or paying with crypto gives rise to a gain or loss in the savings base when ownership is lost, even with no euros received.
cat ›
exit tax crypto.md Income Tax
Exit tax and crypto-assets
Crypto held directly falls outside the exit tax of Article 95 bis LIRPF; the risk lies in whether the change of residence is genuine.
cat ›
crypto hacks losses tax.md Income Tax
Hacks, scams and crypto-asset losses under IRPF
Cyber-fraud by an unknown perpetrator is a capital loss that may be recognised if proven; where a claim against a third party remains, only once it is uncollectible.
cat ›
crypto inheritance gift tax.md Income TaxWealth TaxInheritance & Gift Tax
Inheritance and gift of crypto-assets: tax and access
The deceased's latent gain is not taxed and the heir acquires at the value declared for ISD; without access to the keys, the inherited bitcoin cannot be used.
cat ›
nft creation tax.md Income TaxVAT
NFT creation under IRPF and VAT
To classify an NFT creator's income, the organisation of means decides, not habituality; for VAT, a platform selling in its own name is the taxable person.
cat ›
crypto staking rewards tax.md Income Tax
Staking rewards under IRPF
Passive staking rewards are investment income, computed at their market value on the date of receipt and included in the savings base.
cat ›
swapping to stablecoins tax.md Income Tax
Swapping to stablecoins: gain or neutral transaction?
For the DGT, a barter of bitcoin or ether for USDC or USDT gives rise to a capital gain or loss in the tax year in which it takes place.
cat ›
wrapping bridging crypto tax.md Income Tax
Wrapping and bridging: a change in net worth?
No ruling resolves wrapping: the barter rule would tax it, although a 1:1 swap on the same underlying allows its neutrality to be argued.
cat ›