guest@tfb:~$ cat analysis/undeclared bitcoin inheritance.md
guest@tfb: ~/analysis — less

Inheriting bitcoin left undeclared during the holder’s lifetime

Article 39 LIRPF · Article 39 LGT · STS 364/2019 · SSTS 1537 and 1539/2025 · TEAC RG 3467/2020

The deceased bought bitcoin years ago, never declared it and has died. The heirs know it exists, may hold the keys, and wonder what to do with it from a tax standpoint. To resolve the situation, one must understand, first, what these people mean when they say the bitcoin “was never taxed”; also, how much time has passed since the bitcoin was bought and since the deceased’s death; what evidence remains of the origin of the coins; and, lastly, in which autonomous community the deceased lived.

It should be made clear at the outset that the acquisition of bitcoin is not a taxable event, and that merely holding it gives rise to no taxation at all under Income Tax (IRPF). What IRPF taxes are changes in net worth (disposal, barter or payment with bitcoin) and, through a presumption we shall discuss in detail, the holding of assets that does not match the income declared. That the bitcoin “was never taxed” may therefore be something perfectly normal, or it may conceal an undeclared taxable event. It depends on how it was acquired, how long it has been held and whether its origin can be traced.

1. Which taxes apply

In an inheritance with undeclared bitcoin, taxes attributable to different persons come into play, each with its own taxpayer, its own accrual date and its own limitation period.

The first is the Inheritance and Gift Tax (ISD) of each heir. It accrues on the day of death and is governed by the rules of the autonomous community in which the deceased resided for the greatest number of days during the five years before death. It is the only tax the heirs file in their own name.

The others are taxes attributable to the deceased, which the heirs assume as successors: the IRPF for the tax years not yet time-barred (including the last one, whose tax period ends on the day of death), if transactions reportable under that tax took place, and the Wealth Tax (IP) for those same years, where it applies and according to the deceased’s community of residence at each 31 December.

To these is added the IRPF presumption of the unjustified capital gain (ganancia patrimonial no justificada, GPNJ) of Article 39 LIRPF, which is usually the item with the largest potential amount. Each tax becomes time-barred separately, and declaring the inheritance does not reopen the deceased’s periods, although it does bring the existence of the bitcoin to the tax authorities’ attention, with the consequences we shall see in section 6.

2. The three meanings of “it was never taxed”

The expression may conceal three different cases, which may moreover coexist within the same estate.

The first is bitcoin bought with income that has already been taxed and that was never reported to the tax authorities, whether because there was no obligation to do so or for some other reason. The deceased paid for the bitcoin out of employment income or declared savings and simply never included it in any return. No IRPF is outstanding on the purchase or on the holding. What may remain outstanding is the IP for the years not yet time-barred, if the amount and the autonomous community so required, together with the need to prove that the bitcoin was acquired with that declared income.

The second is bitcoin bought with undeclared income, or with income whose origin cannot be evidenced. The typical example is a cash purchase from a private individual, with no banking trail. In this case the risk of a GPNJ arises, since the tax authorities may presume that the bitcoin derives from concealed income, unless its origin is proved or it is shown that the deceased already held it in a time-barred period.

The third is gains realised during the deceased’s lifetime and never declared. If the deceased disposed of the bitcoin, used it as a means of payment or bartered it for another crypto-asset, each transaction gives rise to a capital gain or loss that should have been declared in the tax year in which it took place. If that year is not time-barred, there is an outstanding tax charge, calculated under the ordinary rules, with the acquisition value determined under the FIFO method (the oldest units are deemed disposed of first).

Since the three cases may coexist in the same deceased, the analysis is best carried out by batches of origin and not on the inherited bitcoin as a whole.

3. What is inherited: tax charge and interest, not penalties

Article 39.1 of the General Taxation Act (Ley General Tributaria, LGT) provides that outstanding tax obligations pass to the heirs, but that “penalties shall in no case be transmitted”. The legal basis is that penalties are strictly personal and are extinguished on the death of the offender. Paragraph 2 of the same provision adds that the debt passes even if it had not been assessed at the date of death, so that the tax authorities may open the procedure after the death and conduct it with any of the heirs.

In short, if the deceased owed IRPF on undeclared sales, or if the tax authorities impute a GPNJ to the deceased, the heirs will settle the tax charge and late-payment interest, never the penalty for the deceased’s conduct.

Those debts of the deceased are deductible in the heirs’ ISD, even if they are assessed after the death (Article 13.2 LISD).

Lastly, under civil law the heir answers for the deceased’s debts according to the way in which the inheritance was accepted: whoever accepts with the benefit of inventory limits their liability to the assets of the estate, unless they knowingly omit any asset from the inventory.

4. The unjustified capital gain

Why it arises in an inheritance

Article 39 LIRPF characterises as a GPNJ those assets whose holding “does not correspond to the declared income or net worth”, and includes them in the general taxable base, at the marginal rate, of the period “in respect of which they are discovered”. This presumption may be rebutted.

Where the estate includes assets the deceased never declared and this comes to the attention of the State tax authorities, it is foreseeable that an audit will be opened to impute an unjustified capital gain on the basis of precisely this presumption. The imputation is normally made in the deceased’s last IRPF tax year not yet time-barred.

Two lines of defence can be raised against it.

First defence: proving that the bitcoin was acquired with declared income

The first route consists of proving that the bitcoin was acquired with declared income. In November 2025, in two judgments of the same day (SSTS 1537/2025 and 1539/2025), the Supreme Court held that the taxpayer must prove “(i) where they come from, by identifying the means by which the assets or rights were transferred, (ii) from whom they come, by identifying the person transferring them, and (iii) why they are transferred, by evidencing the legal transaction by which ownership passes”.

Applied to bitcoin, this route is effective where the purchase was made on an exchange with KYC, was paid from an account of the deceased funded with declared income, and the coins were then withdrawn to the deceased’s own wallet, since in that case the trail is relatively easy to document. It is less effective for purchases between private individuals paid by bank transfer, unless the deceased kept orderly evidence of the origin of the funds and of the destination of the UTXOs. And it fails where the purchase was made in cash from a stranger, because the burden of proof then shifts to the origin of the cash, and a mere assertion of savings is not sufficient before the Tax Agency.

Second defence: ownership in a time-barred tax year

The second route does not require the origin to be proved. STS 364/2019 put it clearly: it is sufficient “to prove that one is the holder or owner of the assets or rights […] from a date prior to that of the limitation period, without it being further necessary to identify the source or origin from which they derive”. The tax authorities may examine facts from time-barred years in order to test that evidence, but may not assess them.

What must be shown is the holding of the bitcoin in a tax year that was already time-barred at the moment the tax authorities act. Since the IRPF for each year becomes time-barred four years after the end of the filing period (the end of June of the following year), this means going back between four and a half and five and a half years from the administrative action.

Suppose a person dies in March 2026 and the tax authorities notify the heirs of the opening of an audit of the deceased’s IRPF on 1 October 2027. Given that the IRPF for 2022 became time-barred on 1 July 2027 (unless limitation had been interrupted), it would be enough to prove that the bitcoin already belonged to the deceased in 2022 or earlier to rebut the presumption. Conversely, had the tax authorities acted in March 2027, the 2022 tax year would not yet have been time-barred and it would have been necessary to go back to 2021 or an earlier year.

With self-custodied bitcoin, this evidence is built mainly from two pieces: the balance in the deceased’s wallet in that time-barred year, and the link between that wallet and the deceased.

Quantification: theses and state of the question

Article 39 defines the GPNJ and the period of inclusion, but not its valuation. For bitcoin and other crypto-assets there are no rulings of the Directorate General for Taxes (DGT), criteria of the Central Economic-Administrative Court (TEAC) or judgments establishing how a GPNJ is to be valued. From what has been decided for other assets, the following theses can be put forward:

Thesis AThesis BThesis C
AmountMarket value at the date of deathValue at which the bitcoin entered the deceased’s holdings (the amount invested or the price on the day of acquisition)Zero
PeriodThe deceased’s last IRPFYear of entry, if openNone
When it fitsUnits with no proven date of entryEntry proved in an open yearOwnership proved in a time-barred year

Thesis A is the one the tax authorities would foreseeably apply, since the ISD itself gives them the value, although it would tax as a GPNJ an increase in the value of the asset that the deceased never realised, precisely the one that Article 33.3.b) LIRPF excludes from tax in transfers on death. Along these lines, the TEAC excluded from the GPNJ “tacit gains or unrealised increases in value” of assets held at the end of the last time-barred tax year (decision of 12 May 2022, RG 3467/2020), in a case close to ours (the claimant was the successor of a deceased woman), although it was issued under the former regime for undeclared assets abroad.

Under thesis B, only what the presumption seeks to tax would be taxed: the income with which the bitcoin was acquired. With self-custodied bitcoin, the date on which each unit enters the wallet is public and so is the price on that day, although that price would not prove the amount actually paid.

We have not located any precedent on the point, so we will keep an eye out for developments that settle the question.

5. An example, and the relevance of the autonomous community

Take a deceased woman resident in Madrid for many years, a widow, who dies in March 2026 and leaves her only daughter 5.8 BTC, valued at €90,000/BTC (€522,000), together with her home and some savings. Part of the bitcoin was bought by bank transfer, part in cash and part was mined in 2013. The bitcoin was never declared in any tax.

The daughter’s ISD is modest. With the Madrid scale, the reductions and the 99% rebate for children, the tax charge on the whole inheritance is around €2,520, of which some €1,618 relates to the bitcoin. The deceased’s IP for the open years is zero, owing to the 100% Madrid rebate.

The cost, if any, is concentrated in the GPNJ. With simplified calculation assumptions (state and Madrid scales, no other income in the year), the tax charge would range between these extremes:

Evidence scenarioGPNJ baseTax charge
Ownership proved in time-barred years for the whole balance€0€0
Only the batch bought in cash (2 BTC) is left without a proven link€180,000€67,717.60
Nothing proved (thesis A on the 5.8 BTC)€522,000€219,217.60

Late-payment interest would be added to those charges, but not a penalty. And their deduction in the ISD has almost no effect in Madrid, because the tax is already rebated at 99%.

For a deceased resident in Barcelona who leaves 10 BTC bought in 2016 on an exchange with KYC, paid from his salary account and never moved, plus €400,000 in other assets, each of his two children would pay around €47,932 in ISD. To this is added the Catalan IP for the father’s open years (some €7,228 between 2022 and 2025), because Catalonia taxes net worth from €500,000. His GPNJ, by contrast, would foreseeably be zero, since the trail of the purchase, the movement of the coins and their age could easily be reconstructed. All of this, of course, provided that the exchange has not closed down or gone bankrupt and that its data have not been lost or stolen. When reconstructing the banking trail, bear in mind that banks usually keep their records for ten years; beyond that period, it may be difficult to obtain supporting documents if the deceased did not keep them. The same ease of proof may arise where the bitcoin was acquired without KYC, between private individuals (P2P), provided that the deceased diligently preserved the traceability of the coins.

Valencia and Extremadura present a relevant particularity. In the Valencian Community, the 99% rebate only covers assets declared within the deadline, or after it without a prior request from the tax authorities; in Extremadura, only what is declared within the deadline. If the bitcoin surfaces late, the rebate may be lost on that part.

For an overview of regional ISD we refer to our analysis on inheritance and gift of crypto-assets.

6. The same evidence operates in two directions

The evidence that the bitcoin belonged to the deceased at death protects the heir and, at the same time, exposes the deceased’s IRPF for a limited period.

For the heir, proving that they inherited prevents a GPNJ of their own from being attributed to them and fixes the acquisition value of the inherited bitcoin at its market value at the date of the deceased’s death. That value does not depend on having filed the ISD return, since the DGT holds that, without a return, the value to be taken is the market value at the accrual date, which may be proved by any means of evidence (DGT ruling V2760-20).

For the deceased, that same fact, declared in the ISD, is the basic fact of the deceased’s GPNJ for as long as their last IRPF is not time-barred, which occurs on 1 July of the fifth year following the year of death (for a death in March 2026, on 1 July 2031). Where the death is recent, the return exposes the deceased’s IRPF; where it occurred years ago, only the heir’s interest in proving that they inherited remains.

7. The heir who surfaces the bitcoin years later

This section deals with the heir who never filed the ISD return, or filed it without including the bitcoin, and who years later intends to dispose of it or deposit it on a platform with KYC in order to convert it into money in a bank account.

If the ISD is time-barred (which happens four years after the end of the filing period, with no interrupting acts), there is no tax charge, surcharge or penalty, and the heir declaring it now does not revive the debt.

As regards the heir’s own IRPF, the evidence is once again decisive. If the heir proves that the bitcoin comes from the inheritance, no GPNJ of their own can be attributed to them. If they cannot prove it, the tax authorities could attribute a GPNJ to them in their own IRPF and, unlike in the deceased’s case, impose a penalty.

8. Tacit acceptance versus preservation

Months may pass between the death and the decision to accept or renounce and, in the meantime, holding the bitcoin depends on whoever controls the private key. The Civil Code excludes from tacit acceptance of the inheritance “acts of mere preservation or provisional administration” provided that the title of heir is not assumed through them (Article 999 CC); the Civil Code of Catalonia is more explicit and individually entitles each person called to the inheritance to carry out the necessary acts of preservation (Article 411-9 CCCat).

Transferring the bitcoin to a wallet controlled exclusively by one of the persons called, disposing of it or spending it constitutes tacit and irrevocable acceptance, by direct analogy with the transfer of the deceased’s funds to one’s own accounts, which the TEAC characterised as a “genuine act of disposal” (decision of 30 October 2025, RG 3069/2024). Moving it in a documented manner to a wallet that represents the estate, such as a multisig of all the persons called, may be defended as an act of preservation, although no decision has so held. Inaction does not constitute acceptance, but it entails technical risks of its own. And any movement resets the visible age of the coins, which is the most immediate evidence of long-standing ownership.

9. The options and their consequences

The heirs may follow, in essence, five courses, which we describe below.

The first is to declare the bitcoin in the ISD and regularise the deceased’s debts. The ISD is settled and, as successors, the heirs file supplementary IP and IRPF returns for the deceased for the years still open to audit, as appropriate, with surcharges and late-payment interest, but without a penalty. This brings certainty as to the deduction of those debts in the ISD itself and a documented acquisition value; in exchange, the return supplies the basic fact of the deceased’s GPNJ until their last IRPF becomes time-barred, unless the contrary can be proved and the presumption rebutted by the routes already described. There is also an arithmetical curiosity: since there is no penalty to avoid on the deceased’s tax debts, regularising after twelve months may prove somewhat more costly than regularisation by the tax authorities, and if the tax authorities do not act before limitation, waiting has no cost.

The second is to declare and wait. The bitcoin is declared in the ISD, but the deceased’s debts are not regularised for IRPF or, where applicable, for IP. If the tax authorities act, they will assess the tax charge and interest without a penalty; if not, each tax year becomes time-barred on its date.

The third is not to declare the bitcoin in the ISD. This removes the basic fact of the deceased’s GPNJ, but shifts the risk to the heir: if the bitcoin surfaces without evidence of the inheritance, the GPNJ will be attributed to the heir, with a possible penalty. If it is discovered, the omitted ISD would be assessed with interest and a penalty, and in Valencia and Extremadura the rebate on that part would also be lost. On the civil plane, whoever conceals assets of the estate loses the right to renounce it.

The fourth is never to surface it. This keeps the consequences of the previous course and adds the heir’s annual IP, where applicable. The exchange of information provided for in the European directive DAC8, pending transposition in Spain, raises the probability of detection if the bitcoin is channelled through an exchange.

The fifth is to break the trail on the chain. This does not generate income in itself, but the heir destroys their own evidence of the inheritance and, on surfacing the bitcoin, could reveal a GPNJ of their own without that defence being available.

There remains the criminal plane. The deceased’s liability is extinguished on death. The threshold for the tax offence in the ISD (€120,000 of tax charge) is measured per heir, and between four and a half and five and a half years after the death the ISD can no longer be assessed through the administrative route, but the offence remains alive if that threshold is exceeded.

In the Madrid example, declaring exposes a GPNJ of the mother that the evidence may reduce to zero, and not declaring saves some €1,618 of ISD in exchange for the risk of a GPNJ of the daughter’s own, liable to a penalty. In the Catalan example, the ISD is a certain cost, the GPNJ a low risk, and the exposure would arise from not declaring and later having to dispose of the bitcoin or convert it into money in a bank account.

DGT rulings — cited rulings
  • V2760-20, of 10 September 2020 — without an ISD return, the heir’s acquisition value is the market value at the date of death, which may be proved by any means of evidence admitted in law.
  • V2407-17, of 25 September 2017, and V1336-23, of 18 May 2023 — the deceased’s tax debts paid by the heirs are deductible in the ISD.
  • V1550-25, of 3 September 2025 — FIFO: the cryptocurrencies acquired first are deemed to be transferred first, without distinguishing by platform.

Applicable legislation: Articles 33.3.b), 36 and 39 LIRPF; Articles 27, 39, 66, 67, 68 and 191 LGT; Articles 13.2 and 24 LISD; Article 999 CC; Article 411-9 CCCat; Article 305 of the Criminal Code.

Case law and administrative decisions cited
The transmission of the tax charge and interest (without penalties) and the two lines of defence set out in this article against the attribution of an unjustified capital gain by the tax authorities are supported by doctrine and case law. There is, however, no decision indicating how an unjustified capital gain arising from bitcoin is to be imputed, nor any criterion on its quantification, which is where the entry-value thesis and the exclusion of the unrealised increase in value come in.