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

Inheritance and gift of crypto-assets: tax and access planning

Articles 33.3.b, 36 and 39 LIRPF · Articles 9, 11 and 30 LISD · Articles 28 and 32 of Law 22/2009

Whoever inherits crypto-assets or wishes to leave them as an inheritance has two questions to resolve. The first is a tax question and, in essence, is the same as for any other inherited estate: an Inheritance and Gift Tax (Impuesto sobre Sucesiones y Donaciones, ISD) to settle, a final Income Tax (IRPF) return of the deceased and a Wealth Tax (Impuesto sobre el Patrimonio, IP) to review. The second concerns the ability to dispose of the assets once the holder has died. This note deals first with the tax plane (sections 1 to 6) and then with access (sections 7 to 11).

1. The deceased: the latent gain is not taxed

When a holder of crypto-assets dies, the gain accumulated on their crypto-assets over the years of holding is not to be included in their final IRPF return, since Article 33.3.b LIRPF so provides when it states that «there shall be deemed to be no capital gain or loss […] on transfers for no consideration on the death of the taxpayer».

Suppose the deceased acquired 5 BTC in 2017 at an average price of €3,000/BTC (total cost, €15,000), and that on the date of death bitcoin trades at €90,000.

  • Accumulated latent gain: 5 × (90,000 − 3,000) = €435,000.
  • IRPF payable by the deceased on that gain: €0 (Article 33.3.b LIRPF).
  • The heir’s acquisition value: the market value on the date of death under the ISD rules, 5 × 90,000 = €450,000, which Article 36 LIRPF also sets as a cap.
  • If the heir sells immediately, their gain is nil. If they sell later at €100,000/BTC, they are taxed only on the increase in value arising after the acquisition by inheritance, that is, 5 × 10,000 = €50,000.

For assets with a large latent gain, transferring mortis causa therefore carries a much lower IRPF cost than giving during one’s lifetime, provided the heir can actually access the bitcoin.

2. The valuation for Inheritance Tax determines the heir’s acquisition value

Under Article 36 LIRPF, in acquisitions for no consideration the acquisition value is taken to be the values «resulting from the application of the rules of Inheritance and Gift Tax, without their being able to exceed market value». And for ISD purposes crypto-assets are valued at their market value on the date of death. What is declared in the inheritance will therefore constitute the heir’s acquisition cost for their IRPF.

Declaring a value below market value reduces the ISD, but lowers the heir’s acquisition value by the same amount, so the ISD saving is lost later in the IRPF, besides exposing the estate to a tax audit. Declaring a higher value increases the ISD cost without raising the acquisition value above market value, which is the cap in Article 36 LIRPF. In the regions that relieve almost the entire ISD liability for children, undervaluing the estate barely saves any ISD and may cost more in the IRPF.

Where the inheritance was never declared, the DGT considers that the heir’s acquisition value is still the market value of the inherited asset on the date of the deceased’s death, which may be proved by any means of evidence admitted in law. What has to be proved, therefore, is how much bitcoin the deceased held on the date of death and at what price it traded.

3. Regional ISD in Spain: the deceased’s residence determines how much tax is paid

ISD is a tax ceded to the autonomous regions, which set their own reductions, rates and relief, so where the deceased resided is the first element of tax planning. What follows assumes that the deceased and the heirs are resident in Spain; if any of them is not, the second additional provision of Law 29/1987 applies, which allows non-residents (including those outside the EU, according to the case law of the Supreme Court) to apply the regional rules that result from the connecting factors.

In acquisitions on death, the revenue belongs to the region «where the deceased has their habitual residence on the accrual date» (Article 32.2.a of Law 22/2009), that is, the region at the date of death. And habitual residence is not the place of the last municipal registration, but the territory where the deceased spent the most days «of the period of the five years immediately preceding, counted from date to date» (Article 28 of the same law).

Following the 2023 and 2024 reforms, many autonomous regions relieve around 99 %-100 % of the liability for the spouse and descendants. It is not, however, a general rule, and the most visible exception is Catalonia.

Regional figures change with each budget; those in this section reflect the legislation in force in November 2026 and should be checked against the legislation in force on the date of death.

4. Wealth Tax, before and after

Two reviews of IP accompany the succession. The first is the deceased’s: if their net worth exceeded the threshold, the crypto-assets had to be declared in the years not yet time-barred at their market value on 31 December of each of those years (V0250-18 and V2289-18; the latter, like ruling V0590-18, «in the same way as one would a capital held in foreign currency»). Their last IP return should be consistent with what is declared in the inheritance: a striking discrepancy between the crypto holdings declared during the holder’s lifetime and those appearing in the estate is an indication that the tax authorities may use to open an audit. If the deceased never declared them, the IP for the years not yet time-barred is one of the debts that are inherited (section 6).

The second is the heir’s: the crypto-assets form part of their own IP from the year of death, even if acceptance comes later, because acceptance takes effect retroactively to that moment (V2516-25).

On top of this comes the Temporary Solidarity Tax on Large Fortunes (ITSGF), with effective taxation from €3,700,000 of net worth and crypto-assets valued at market value on 31 December, as in IP. Regional IP relief (Madrid, Andalusia) does not neutralise it, so it should be reviewed both in the deceased’s last net-worth position and, where relevant, in the heir’s.

5. Giving during one’s lifetime or transferring by inheritance

The asymmetry between gift and inheritance is the other major axis of decision. A gift is a transfer inter vivos for no consideration and, although the donor receives nothing in return, Articles 33.1 and 36 LIRPF require them to report as a capital gain in their IRPF the difference between the market value of the crypto-asset given and its acquisition cost. The donee, in addition, bears the ISD.

On top of that, Article 33.5.c) LIRPF prevents losses arising from transfers inter vivos for no consideration from being taken into account. A gift thus brings capital gains to light for IRPF purposes but does not allow losses to be used, so in a portfolio acquired at very different prices one should also consider whether the asset being transferred carries a latent gain or a latent loss.

Suppose 2 BTC, with an acquisition cost of €5,000 and a current value of €90,000/BTC, are transferred to an adult child. Deceased/donor and heir/donee reside in a region that relieves 99 % for group II.

In a lifetime gift, the donor’s gain is 2 × (90,000 − 5,000) = €170,000, with savings-base IRPF of around €38,000 (19 % up to €6,000, 21 % up to €50,000 and 23 % up to €200,000). The donee’s ISD is relieved almost entirely, and their acquisition cost is €180,000. The total cost of the transaction would be around €38,000.

In an inheritance, the deceased’s IRPF on the gain is €0 (Article 33.3.b) and the heir’s ISD, after relief, close to €0, with the same acquisition cost of €180,000. Total cost, around €0.

A gift keeps its place in specific cases (where the donee needs the assets during the donor’s lifetime, where the gain is small or negative, or where the transfer is to be staggered over several years), but it starts at a disadvantage because of the donor’s IRPF cost. Three qualifications must be added to this rule.

The first is that the connecting factor changes: in gifts of movable property, such as crypto-assets, the competent region is that of the donee’s habitual residence (Article 32.2.c of Law 22/2009), not the donor’s, which creates tax asymmetries in families spread across several regions.

The second is that a gift is not isolated in time. Article 30 LISD aggregates gifts between the same persons within a three-year period, and also with the inheritance if the donor dies within the following four years, so that the tax on the last acquisition is calculated at the average rate of the whole. And Article 11 LISD presumes that assets that belonged to the deceased up to one year before death form part of the estate, unless there is reliable proof that they were transferred to someone outside the family circle, as with bitcoin handed to a child in the last months of life.

The third is that the technical setup does not replace the legal transaction. Sharing with a child one of the keys of a multisig or a fragment of the recovery does not transfer ownership to them, because a gift requires donative intent and acceptance. But if the child comes to dispose of the funds for their own benefit during the parent’s lifetime, the tax authorities may consider that a transfer for no consideration took place, with its consequences for the child’s ISD and the parent’s IRPF.

Lastly, there is the route of succession agreements: the regions with their own civil law (Catalonia, the Balearic Islands, Galicia or the Basque Country, among others) allow transfers during one’s lifetime by this means, and their treatment in IRPF depends on the specific arrangement and calls for a case-by-case analysis.

6. What happens if the bitcoin was not declared during the deceased’s lifetime

All of the above assumes a deceased who included their bitcoin in the relevant returns. Where that was not the case, the risk lies not in the ISD but in the unjustified capital gain under Article 39 LIRPF that the heirs bring to light by declaring the bitcoin in the inheritance. The heirs take on the deceased’s outstanding tax debts, including IRPF and IP for the years not yet time-barred, but not their penalties. The presumption can be rebutted by proving the origin of the funds (SSTS 1537/2025 and 1539/2025) or that the bitcoin already belonged to the deceased in a time-barred year (STS 364/2019). We develop this in the analysis “Bitcoin left undeclared during the holder’s lifetime: what the heirs inherit” and, as regards evidence, in “How to prove ownership of a bitcoin to the tax authorities (the holder’s or the deceased’s)”.

7. Owning is not the same as being able to sign

In a bitcoin estate, the succession can be legally well put together and still not guarantee access to the assets. The heir may have a perfect right (a clear will, ISD settled, a deed of partition) and be unable to move a single satoshi if they do not know where the keys are, what software was used, whether there is an additional passphrase or whether part of the estate sits in a multisig scheme or a Lightning node. The private key does not pass because the will says so, but only if someone left a path to recover it.

Hence the plan must be structured in three layers, coordinated with one another.

The legal layer is the will. It allocates the assets and appoints, where appropriate, an executor or a trusted person with a technical profile. It decides who inherits.

The documentary layer is the inventory with its instructions: a document, separate from the will, that explains what exists and where it is (wallets, devices, backups and support people). It contains no secrets; it gives directions. For many heirs, the first obstacle is not even knowing that the deceased held bitcoin.

The technical layer is the access architecture: the specific design (single-sig, passphrase, multisig, access paths with a timelock) that makes it possible to recover and sign without exposing the secret more than necessary. It decides how access is gained.

The mistake would be to compress the three into one, usually the will, when the reason for keeping them apart is security.

8. A will, yes; keys, never

The will allocates the crypto and assigns roles. Under no circumstances should it contain secrets, private keys or any other combination that would allow a third party to take the funds.

It should be borne in mind that the General Register of Last Wills (Registro General de Actos de Última Voluntad) makes it possible to find out, after death, whether there is a will and before which notary it was executed, and anyone with a legitimate interest can obtain an authorised copy. A will is not a confidential document, so it should not include any information that compromises the security of the funds.

It should, however, mention the bitcoin or the crypto-asset concerned in its property dimension: naming the existence of «digital assets or crypto-assets» and ordering their allocation keeps them from falling outside the planning. Describing the estate is one thing; handing over the master key inside the succession instrument is quite another.

9. The access document: separate, clear and operational

The centrepiece of a well-designed crypto inheritance is the document of instructions for recovering the assets, kept apart from the will. Its purpose is to let the heirs rebuild access to the funds, if necessary, without undue difficulty. This document need not reveal exact amounts if that adds nothing in operational terms.

Proposed structure of the access plan:

  1. An opening message explaining why the document exists and what it is for.
  2. A functional inventory of accounts, wallets, nodes, exchanges, devices and media.
  3. A map of locations: where the seed is, where the passphrase is, where the hardware is, where the secondary copy is and who knows each piece.
  4. Trusted persons and technical support, in order of priority, with contact details and the reason for trusting them.
  5. Instructions for special schemes: multisig, Lightning nodes, passphrase, recovery paths with a timelock, custodians with their own succession procedure.
  6. Operational precautions: do not move funds in a hurry, do not enter seeds on connected devices, do not accept help from strangers, do not combine the restoration with an immediate sale without first reviewing the tax impact.

10. Custody designs, read from a succession perspective

There is no single correct model: it depends on the size of the estate, the family’s technical level, the privacy sought and the operating cost the holder is willing to bear during their lifetime, and each option has its own reading from a succession perspective.

Single-sig is the easiest to inherit and the easiest to lose: everything depends on properly protecting a single seed and its environment.

Single-sig with a passphrase improves compartmentalisation, but adds a risk: that the family recovers the seed and does not know that a passphrase is missing. If one is used, the access document must flag it unmistakably.

Multisig is common in large estates. A 2-of-3 scheme (holder, trusted person, qualified custodian) allows two parties to operate after death without the deceased’s key. It requires documenting the quorum, the location of each key and the role of each participant, and keeping the descriptors. A child holding one of the keys does not become a co-owner while the holder retains control over spending.

The exchange or regulated custodian reduces technical complexity and usually has its own succession procedure. In return, it introduces counterparty risk and reporting visibility: a custodian with a presence in Spain reports balances on form 172 and does not release assets to the heirs unless payment of the ISD is proved (Article 32.4 LISD), and providers in the European Union report from 2026 under DAC8.

Lightning and nodes require their own instructions: whether there is a static channel backup, where it is, what software is used and what can actually be recovered from the seed.

Some wallets, such as Liana, allow the holder to set up a spending path for the heir with a timelock and its own key, which only opens if the holder stops moving the funds for a period of up to about fifteen months. The heir gains access without knowing the holder’s key or depending on a custodian, but the path opens through inactivity, not death: it may open during the holder’s lifetime or many months after death. For tax purposes, if the holder dies with the path closed, the ISD accrues on the day of death and the bitcoin is valued at that date. We analyse this in detail in “Automatic bitcoin inheritance (timelocks, Miniscript): a tax analysis”.

From a succession perspective, the simpler the system, the lower the risk that the heirs will be unable to access the funds.

11. Executor and technical support

In significant crypto estates it is advisable to divide the functions among three figures: the heir, the executor and a trusted person with technical knowledge, appointed by the deceased, who assists in recovering the bitcoin without coming to control it. Sometimes they are the same person, but each function demands different things.

The division follows one principle: no one should know more than is strictly necessary to perform their function. A trusted technical helper greatly reduces operational risk, but handing them the complete secret, when the design allows it to be compartmentalised, adds an avoidable risk.

In the inheritance of crypto-assets, the tax plane favours transfer on death, while the technical plane involves separating the will from the access secret and setting up a recovery plan that the family can carry out. Attending to only one of the two would leave the succession planning for crypto-assets incomplete.

DGT rulings and case law — decisions cited
  • V2760-20, of 10 September 2020 — if the ISD was not filed, the heir’s acquisition value is still the market value on the date of death, which may be proved by any means of evidence (a property case).
  • V0250-18 and V2289-18 — cryptocurrencies are declared in Wealth Tax at their market value on the accrual date; the latter, «in the same way as one would a capital held in foreign currency».
  • V2516-25, of 16 December 2025 — the heir declares the inherited assets in Wealth Tax from the date of death, because acceptance takes effect retroactively.
  • STS 364/2019, of 18 March (appeal 6296/2017), on Article 37.2 of the 1998 IRPF Law, the forerunner of the current Article 39 — to avoid an unjustified gain it is sufficient to prove ownership from a date prior to the limitation period, without identifying the origin.
  • STS 1537/2025 (appeal 5514/2023) and STS 1539/2025 (appeal 2028/2023), both of 27 November 2025 — proof of origin requires identifying the means, the person and the legal transaction of the transfer.

Applicable legislation: Articles 33.1, 33.3.b), 33.5.c), 36 and 39 LIRPF; Articles 3, 4, 9, 11, 18, 24, 30 and 32.4 LISD; Articles 28 and 32 of Law 22/2009.

It is settled that the deceased’s gain is not taxed (Article 33.3.b LIRPF), that market value applies for ISD purposes and as the heir’s acquisition value (Articles 9 LISD and 36 LIRPF) and that the heir declares the bitcoin in IP from the moment of death (V2516-25). There is no precedent on attributing the unjustified gain to a deceased whose bitcoin comes to light in the ISD, possible discounts on the valuation of inherited crypto-assets for illiquidity or deferred access, or the taxation of automatic inheritance with a timelock. The questions raised by planning technical access are not resolved by any rule or doctrine.