guest@tfb:~$ cat analysis/exit tax crypto.md
guest@tfb: ~/analysis — less

Exit tax and crypto-assets

Article 95 bis LIRPF · change of residence (Article 9 LIRPF) · V1149-18
Spanish income tax on crypto: how IRPF works 4 min · <1 blockReviewed 29 November 2026

Someone who has lived in Spain for years, with a portfolio of bitcoin and ether bought years ago and now worth a great deal more, is preparing to move to another country and wonders whether leaving will have a tax cost. They have heard of the exit tax, the charge that Article 95 bis of the Income Tax (IRPF) Act imposes on the unrealised gains of those who cease to be resident, and take it for granted that their cryptocurrencies fall within it.

The actual scope of Article 95 bis LIRPF

Article 95 bis LIRPF does not currently establish a general exit tax on direct holdings of BTC, ETH or other crypto-assets held personally. Its objective scope covers shares and interests in entities, subject to the thresholds and requirements laid down in the provision itself. An individual who moves out of Spain with a personal cryptocurrency wallet does not become subject, for that reason alone, to a Spanish exit tax on the unrealised gains on those tokens.

This conclusion refers to cryptocurrencies in the proper sense (bitcoin, ether and the like), which confer no participation rights in any entity. A security or equity token representing shares or interests in an entity calls for different treatment: by its very nature it could fall within the objective scope of Article 95 bis, and it would call for specific analysis.

When the exit tax applies

The exit tax applies where a taxpayer loses tax residence in Spain and holds shares or interests within Article 95 bis, exceeds the statutory thresholds (the provision sets a combined market value of the shares or interests above €4,000,000 or, failing that, a holding of more than 25% whose market value exceeds €1,000,000) and meets the prior-residence requirement: having been an IRPF taxpayer for at least ten of the fifteen tax periods preceding the last one that must be declared for this tax.

In that case, the capital gain is determined as the difference between the market value on the date of the change of residence and the acquisition value. As noted, that mechanism does not, for the time being, apply to direct holdings of crypto-assets, which fall outside the provision.

The same goes for the special rules for moves to the European Union or the European Economic Area, which allow payment to be deferred. They operate only if the asset actually falls within the scope of Article 95 bis, so they do not apply to personal cryptocurrency wallets either.

Effectiveness of the change of residence

That Article 95 bis does not reach directly held cryptocurrencies does not mean the move is tax-neutral. A change of tax residence is a question of fact, not a matter of registering with a new municipality. The Spanish Tax Agency (AEAT) may examine whether the move is effective or whether the taxpayer retains ties to Spain that may cause Spanish residence to prevail, whether by meeting the physical-presence test, the centre-of-economic-interests test or through the presumption of residence that applies where a spouse who is not legally separated and minor children remain here.

Added to this, where the taxpayer is a Spanish national and the destination is a non-cooperative jurisdiction (what used to be called a tax haven), is the rule in Article 8.2 LIRPF, which keeps the person an IRPF taxpayer in the year of the move and the four following years.

A merely formal move (to Portugal, for example) while the family and the centre of life remain in Spain carries a very high exposure to a tax adjustment, and not because of the exit tax, but because the tax authorities may argue that Spanish tax residence was never lost and that, consequently, all worldwide income remained taxable in Spain.

Note, moreover, that the absence of an exit tax does not exempt capital gains actually realised while Spanish tax residence is retained from tax. The sale or barter of crypto-assets before or during the move gives rise to a taxable capital gain, as in any other year of residence.

The position is different if the crypto-assets are held through a company. In ruling V5588-26, the Directorate General for Taxes (DGT) has confirmed that, if they are contributed to a US LLC, what is moved out of Spain is an interest in an entity, to which Article 95 bis does apply. We analyse this in the study devoted to crypto-assets held within an LLC.

DGT rulings — IRPF
  • V1149-18 — confirms that the regime for capital gains on a change of residence in Article 95 bis LIRPF does not apply to virtual currencies (“bitcoin”), as they are not shares or interests in any type of entity. The ruling itself adds, however, that other virtual currencies with different characteristics would require examining whether they fall within the regime.

Applicable legislation: Articles 9 and 95 bis LIRPF.

There is currently no direct Spanish exit tax on personal cryptocurrency holdings (Article 95 bis refers to shares and interests). The focus of risk shifts to whether the change of tax residence is effective in light of the anti-avoidance rules (Article 9 LIRPF and double tax treaties).