To start with, the original article was written in September 2026. I’ll try to keep it updated, but I can’t guarantee it, because laws can change from one day to the next. Keep that in mind and check other sources before treating it as 100% accurate.
I’ll also focus on the general tax treatment of an individual, not companies.
With that clarified, here’s the most basic thing you need to know: buying Bitcoin and holding it does not by itself create a taxable gain for Spanish personal income tax (IRPF). Tax obligations arise when you sell, swap or use the asset in a way that changes your wealth.
Which Bitcoin transactions can trigger tax
Selling Bitcoin for euros can create a capital gain or loss. It is calculated by comparing the sale value in euros with the purchase value in euros, including the related costs.
And note that this is not limited to exchanging BTC for euros. Whether you sell it for dollars or swap it for another cryptocurrency, it can also trigger tax, and the calculation has to be made in euros.
In other words, even if you do not receive euros, there is an exchange between two assets and their value at the time of the transaction must be calculated..
Now for the next interesting point: paying for a product or service with Bitcoin means disposing of it. For tax purposes, you are giving up an asset in exchange for a good, so a gain or loss can arise compared with the price you paid for it.
Holding Bitcoin without selling it does not by itself create a taxable gain for Spanish personal income tax (IRPF), at least for now. At least in Spain (in the Netherlands it does).
A transfer between wallets you control does not either, although you need evidence showing that there was no transfer to another person—in other words, that you control both wallets.
Depending on your assets, you may have obligations related to the Spanish Wealth Tax or the information return for virtual currencies held abroad. Whether they apply depends on custody, the amounts involved and the rules in force at the time, which, as I said, change quite a lot.
In other words, if you currently have more than 50.000€ in BTC held in a Binance account in the US, you have to report it. If you self-custody it in your own hardware wallet, however, it would no longer be held abroad, so that reporting obligation would disappear.
How gains and losses are calculated
The basic formula is the one I mentioned:
Subtract the purchase value in euros from the sale value in euros, taking fees into account.
Buying fees increase the acquisition cost, while selling fees reduce the amount received.
For example, if you buy BTC for 1.000 euros and pay a 10-euro fee, the cost is 1.010 euros. If you later sell it for 1.400 and pay another 10 euros, the disposal value is 1.390. The gain would be 380 euros.
The calculation gets more complicated when you buy on different dates. For Bitcoin, Spain uses the FIFO method, so the units acquired first are considered sold first.
Crypto-to-crypto swaps require both the assets given up and the assets received to be valued in euros.
As you can see, if you make a lot of transactions, reconstructing everything at the end of the year can be a nightmare. The sensible approach is to record every movement from the start.
Gains and losses arising from sales and swaps are included in the savings tax base under the rules in force.
What information you should keep about your transactions
You cannot rely on a platform keeping your history forever.
Periodically download your transaction history and keep the date, amount, value in euros, fees and type of transaction (purchase, sale, swap).
It is also worth keeping transaction IDs, addresses used, bank statements and proof of deposits and withdrawals. This information helps you demonstrate the path the money took.
Keep purchases and sales separate from transfers between your own accounts. Moving BTC from an exchange to your wallet is not a sale, but without records it may be difficult to prove that years later.
If you use several platforms, bring all the data together in a spreadsheet—or a dedicated tool, there are plenty—that applies FIFO. Make sure you include all accounts and wallets..
The easiest way to avoid tax problems is to document every transaction when it happens. And yes, it’s a pain in the ass. That is one reason some people prefer to buy bitcoin anonymously and avoid all this, even if doing so is more complicated at first.
Everyone can choose the approach that suits them best.
Next steps
Below are all the articles in the series. If you do not know much about Bitcoin, they are designed to be read in order, but each one stands on its own, so you can jump straight to the one that interests you most:
- What is Bitcoin
- What is Bitcoin used for
- Why Bitcoin is important
- How Bitcoin works
- Why Bitcoin has value
- Advantages of Bitcoin
- Disadvantages of Bitcoin
- Does it make sense to buy Bitcoin?
- How to buy Bitcoin
- Where to buy Bitcoin
- How to store or custody Bitcoin
- What is a Bitcoin wallet: hot and cold wallets
- What are the risks of buying Bitcoin
- How to sell Bitcoin and withdraw the money
- How Bitcoin is taxed in Spain
Frequently asked questions
Is buying Bitcoin taxable in Spain?
Buying and holding Bitcoin does not by itself create a capital gain for Spanish personal income tax (IRPF).
When do I have to pay tax on Bitcoin?
Normally when you sell, swap or use Bitcoin in a way that produces a capital gain or loss.
Is swapping Bitcoin for another cryptocurrency taxable?
Yes. A crypto-to-crypto swap can create a gain or loss that must be calculated in euros.
Can paying with Bitcoin trigger tax?
It can, because when you pay you are disposing of Bitcoin in exchange for a product or service.
How is the gain from selling Bitcoin calculated?
The disposal value is compared with the acquisition cost, taking the corresponding fees into account.
Which method is used if I have bought Bitcoin several times?
The FIFO method is used to determine which units are considered sold first.
Is moving Bitcoin between my own wallets taxable?
It is not a sale, although you should keep evidence showing that both wallets are under your control.
What records should I keep for my transactions?
It is worth keeping dates, amounts, euro values, fees, transactions, statements and proof of purchases and sales.
Are Bitcoin gains included in the savings tax base?
Gains and losses arising from sales and swaps are included in the savings tax base.
Can Bitcoin taxation change?
Yes. Tax rules and reporting obligations can change, so it is worth checking the rules in force every year.

Leave a Reply