Partly verified

Digital inheritance in Peru: what happens to your accounts, social media and crypto when you die?

Short answer

Peru has no law that deals with digital inheritance by name. The general rules apply: an estate passes on assets, rights and obligations, and a will can carry instructions. Your personal data and private correspondence follow separate rules. What each platform does depends on its own terms, not on the law.

VerificationPartly verifiedSee the sources ↓

  • 8sources cited
  • 8read at the official source
  • 1official institutions

Peruvian State portal (gob.pe)

Checked 1 Oct 2026Next review 30 Mar 2027

What is still unverifiedThis page describes a gap. Civil Code articles 14, 16, 660, 686, 756 and 757 were read in the official Ministry of Justice edition on gob.pe, and articles 61 and 63 of the Ley 29733 regulation (D.S. 016-2024-JUS) in the official El Peruano special edition on gob.pe. We searched that regulation for the words 'fallecido', 'muerte', 'heredero', 'herencia' and 'sucesor' (deceased, death, heir, inheritance, successor) and none appears: it does not say what happens to a deceased person's data. We did not re-read the text of Ley 29733 itself for this page, so we make no claim about it. We did not check Congress's official tracker for any digital inheritance bill or its status; if one exists, a bill is not law. That a deceased person's accounts, files or crypto are 'assets' or 'rights' that form part of the estate is our reading of article 660: the article does not mention them. We did not review court rulings or decisions of the data protection authority on this. Platform policies (Google, Meta, Apple, exchanges) are not law and are not cited as sources.

PeruviansForeign residents

Peru has no digital inheritance law

We found no Peruvian law in force that deals with “digital inheritance” by name: what happens to your email, social media, cloud photos or crypto when you die. The Civil Code dates from 1984 and mentions none of this. The new regulation of the Personal Data Protection Law (D.S. 016-2024-JUS) does not either: we searched its text for the words “fallecido”, “muerte”, “heredero”, “herencia” and “sucesor” (deceased, death, heir, inheritance, successor), and none appears.

That does not mean there are no rules. It means the general rules apply, and many questions have no written answer.

The general rule: the estate passes on assets, rights and obligations

Article 660 of the Civil Code says:

“Desde el momento de la muerte de una persona, los bienes, derechos y obligaciones que constituyen la herencia se trasmiten a sus sucesores.”

(From the moment of a person’s death, the assets, rights and obligations that make up the estate pass to their successors.)

The article does not talk about digital things. Our reading is that digital things with money value (crypto, platform balances, a domain, rights over content that earns income) fall under “assets” or “rights” and pass to the heirs like any other asset. This follows from article 660, but it is not written in those words, and we did not review court rulings that confirm it.

If someone dies without a will, the heirs are set by the rules of intestate succession.

Crypto: the problem is access, not the law

Even if crypto is part of the estate, the law gives heirs no way to open a wallet whose keys nobody knows. If the deceased kept it on an exchange, what happens depends on that company and its terms, which are not Peruvian law. If your question is about fraud or who to complain to about a crypto platform, see crypto scams.

That is why planning matters more here than with other assets. You can leave a specific digital asset as a bequest (legado). Article 756 allows it within your freely disposable share:

“El testador puede disponer como acto de liberalidad y a título de legado, de uno o más de sus bienes, o de una parte de ellos, dentro de su facultad de libre disposición.”

(The testator may, as a gift and by way of bequest, dispose of one or more of their assets, or part of them, within their freely disposable share.)

But note article 757:

“No es válido el legado de un bien determinado, si no se halla en el dominio del testador al tiempo de su muerte.”

(A bequest of a specific asset is not valid if the testator does not own it at the time of death.)

If you leave “my bitcoin” as a bequest and sell it before you die, that bequest never takes effect. The difference between a bequest and an inheritance is explained in what is a bequest.

A will also covers things that are not money

Article 686 says:

“Por el testamento una persona puede disponer de sus bienes, total o parcialmente, para después de su muerte, y ordenar su propia sucesión dentro de los límites de la ley y con las formalidades que ésta señala. Son válidas las disposiciones de carácter no patrimonial contenidas en el testamento, aunque el acto se limite a ellas.”

(By a will a person may dispose of their assets, in whole or in part, for after their death, and arrange their own succession within the limits and formalities set by law. Non-financial instructions in a will are valid, even if the will contains only those.)

So you can use a will to say what you want done with your social media or your files, even if they have no money value. What the law does not guarantee is that a foreign platform will follow that instruction: that depends on its own rules. See the types of will to choose the form.

Private email and messages: the heirs decide, together

Here an old rule does fit the digital world. Article 16 of the Civil Code protects “las comunicaciones de cualquier género” (communications of any kind):

“La correspondencia epistolar, las comunicaciones de cualquier género o las grabaciones de la voz, cuando tengan carácter confidencial o se refieran a la intimidad de la vida personal y familiar, no pueden ser interceptadas o divulgadas sin el asentimiento del autor y, en su caso, del destinatario. […] Muertos el autor o el destinatario, según los casos, corresponde a los herederos el derecho de otorgar el respectivo asentimiento. Si no hubiese acuerdo entre los herederos, decidirá el juez.”

(Letters, communications of any kind and voice recordings that are confidential or concern private and family life cannot be intercepted or disclosed without the consent of the author and, where relevant, the recipient. […] Once the author or recipient has died, the heirs have the right to give that consent. If the heirs cannot agree, a judge decides.)

What this means for you: publishing or sharing the private messages of someone who died requires the heirs’ consent, and if they disagree a judge decides. The same article says a ban on posthumous publication set by the author or recipient cannot last more than fifty years after their death.

Note: this article is about disclosure, not about access to an account. It does not require any company to hand over a password.

The deceased’s privacy has a similar rule in article 14:

“La intimidad de la vida personal y familiar no puede ser puesta de manifiesto sin el asentimiento de la persona o si ésta ha muerto, sin el de su cónyuge, descendientes, ascendientes o hermanos, excluyentemente y en este orden.”

(Private and family life cannot be exposed without the person’s consent or, if they have died, without that of their spouse, descendants, ascendants or siblings, each excluding the next, in that order.)

Article 14 does not speak of heirs but of a list of relatives in a fixed order.

The deceased’s personal data: the regulation gives heirs no route

Your rights over your personal data (access, rectification, cancellation, objection) are personal. Article 61 of the Ley 29733 regulation says:

“Los derechos de información, acceso, rectificación, cancelación, oposición y tratamiento objetivo de datos personales sólo pueden ser ejercidos por el titular de datos personales, sin perjuicio de las normas que regulan la representación.”

(The rights of information, access, rectification, cancellation, objection and objective processing of personal data can only be exercised by the data subject, without prejudice to the rules on representation.)

Article 63.1 lists who may exercise them: the data subject, their legal representative, or a representative expressly authorised. It does not mention heirs or relatives. In practice, this regulation gives you no clear route to ask a company, as an heir, for the data it holds on your deceased relative. For your own data while alive, see ARCO rights.

What platforms do is not law

Google, Meta, Apple and crypto exchanges have their own tools: legacy contacts, memorialised accounts, account closure requests on death. These are each company’s terms of use. They can change at any time, Peruvian law does not set them, and we do not cite them as sources. Use them alongside a will, not instead of one.

Foreign residents

If you live in Peru and your accounts or crypto sit on platforms based in other countries, other countries’ rules may also apply to your estate, and platform terms often point to foreign law. This page does not analyse which law applies in those cases.

What this page does not cover

  • Whether a digital inheritance bill exists in Congress, and its status. We did not check Congress’s official tracker. If you read about one, a bill is not law.
  • The text of Ley 29733 itself, which we did not re-read for this page.
  • Peruvian court rulings or decisions of the national data protection authority on accounts of deceased people.
  • Tax treatment of inherited crypto.
  • Copyright in photos, texts or videos the deceased published.

How to file

  1. List the digital things that have valueSeparate what has money value (crypto, wallet or platform balances, domains, income from content) from what is personal (photos, email, social media). The first part is part of the estate under the general rules; the second also touches privacy and correspondence.
  2. Leave instructions in your willArticle 686 of the Civil Code allows non-financial instructions. You can say what you want done with your accounts, and leave a specific digital asset to someone as a bequest (*legado*), within your freely disposable share (article 756).
  3. Sort out access separatelyA bequest of crypto is useless if nobody can open the wallet. Decide how the keys or access details will reach the right person, and check whether the platform has its own after-death contact tool. That tool is a company policy, not a legal duty.
  4. If you are an heir, act together with the other heirsTo disclose the deceased's confidential communications, consent belongs to the heirs, and if they disagree a judge decides (article 16). First you need to prove you are an heir, through a will or a declaration of heirs.

What people fail to ask in time

If the deceased also had bank accounts, what can the bank do before the heirs are declared?

Find out before it matters →

What most people believe — and what the law says

The belief

Peru has a digital inheritance law that makes platforms hand accounts over to the family.

The law

We found no law in force that deals with digital inheritance by name. The general Civil Code rules apply, and each platform applies its own terms, which are not law.

The belief

Crypto cannot be inherited because it is not real money.

The law

Article 660 of the Civil Code passes the estate's assets, rights and obligations to the successors. It does not mention crypto, and it does not exclude it either. The practical problem is different: without the keys, nobody can move it.

The belief

As an heir I can freely read the deceased's private emails and chats and publish them.

The law

Article 16 of the Civil Code protects confidential communications. After death, consent to disclose them belongs to the heirs together, and if they disagree a judge decides. It is not one person's call.

The belief

A will is only for dividing up houses and money.

The law

Article 686 says non-financial instructions in a will are valid, even if that is all the will contains. You can leave instructions about your digital life.

Frequently asked questions

Does Peru have a digital inheritance law?

We found no law in force that deals with it by name. The Civil Code does not mention accounts, social media or crypto, and the data protection regulation (D.S. 016-2024-JUS) does not say what happens to a deceased person's data. If you read about a bill, remember that a bill is not law.

Can crypto be inherited in Peru?

The Civil Code passes the estate's assets, rights and obligations to the successors (article 660). A reasonable reading is that the deceased's crypto is part of the estate, but the article does not name it. In practice, if nobody has the keys or access to the exchange account, the heirs may never reach it.

As an heir, can I ask a company for access to the deceased's personal data?

The data protection regulation says access, rectification, cancellation and objection rights can only be exercised by the data subject, without prejudice to the rules on representation (article 61), and lists who may exercise them: the data subject or a representative (article 63). It does not mention heirs. That regulation gives you no clear route; what the company does will depend on its own policies.

Can I put my passwords in my will?

The law neither forbids nor regulates this in those terms. Article 686 allows non-financial instructions in a will. Keep in mind that other people read a will once it is opened, and that many platforms' terms do not allow a third party to use your account. One option is to say where the access information is kept, rather than writing the passwords themselves.

The exact law

Código Civil (Decreto Legislativo N.º 295)Artículo 660read

Succession: the estate passes to the successors at the moment of death

«Desde el momento de la muerte de una persona, los bienes, derechos y obligaciones que constituyen la herencia se trasmiten a sus sucesores.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 686read

What a will can contain, including non-financial instructions

«Por el testamento una persona puede disponer de sus bienes, total o parcialmente, para después de su muerte, y ordenar su propia sucesión dentro de los límites de la ley y con las formalidades que ésta señala. Son válidas las disposiciones de carácter no patrimonial contenidas en el testamento, aunque el acto se limite a ellas.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 756read

Bequest of one or more assets within the freely disposable share

«El testador puede disponer como acto de liberalidad y a título de legado, de uno o más de sus bienes, o de una parte de ellos, dentro de su facultad de libre disposición.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 757read

A bequest of an asset the testator no longer owns is invalid

«No es válido el legado de un bien determinado, si no se halla en el dominio del testador al tiempo de su muerte.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 16read

Confidential correspondence and communications: after death, the heirs decide

«La correspondencia epistolar, las comunicaciones de cualquier género o las grabaciones de la voz, cuando tengan carácter confidencial o se refieran a la intimidad de la vida personal y familiar, no pueden ser interceptadas o divulgadas sin el asentimiento del autor y, en su caso, del destinatario. [...] Muertos el autor o el destinatario, según los casos, corresponde a los herederos el derecho de otorgar el respectivo asentimiento. Si no hubiese acuerdo entre los herederos, decidirá el juez. La prohibición de la publicación póstuma hecha por el autor o el destinatario no puede extenderse más allá de cincuenta años a partir de su muerte.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

↳Artículo 14read

Privacy of a deceased person: who gives consent

«La intimidad de la vida personal y familiar no puede ser puesta de manifiesto sin el asentimiento de la persona o si ésta ha muerto, sin el de su cónyuge, descendientes, ascendientes o hermanos, excluyentemente y en este orden.»
✓ Article read directly in the official sourcePublished 25 July 1984Open official text →

Decreto Supremo N.º 016-2024-JUS, Reglamento de la Ley N.º 29733, Ley de Protección de Datos PersonalesArtículo 61read

Data protection rights are personal

«Los derechos de información, acceso, rectificación, cancelación, oposición y tratamiento objetivo de datos personales sólo pueden ser ejercidos por el titular de datos personales, sin perjuicio de las normas que regulan la representación.»
✓ Article read directly in the official sourcePublished 30 November 2024Open official text →

↳Artículo 63, numeral 63.1read

Who may exercise data protection rights

«El ejercicio de los derechos contenidos en el presente título se realiza: 1. Por el titular de datos personales, acreditando su identidad y presentando copia del Documento Nacional de Identidad o documento equivalente. [...] 2. Mediante representante legal acreditado como tal. 3. Mediante representante expresamente facultado para el ejercicio del derecho, adjuntando la copia de su Documento Nacional de Identidad o documento equivalente, y del título que acredite la representación.»
✓ Article read directly in the official sourcePublished 30 November 2024Open official text →

Also searched as: digital inheritance peru · what happens to my facebook when i die peru · can crypto be inherited in peru · can i leave my passwords in a will peru · can heirs access a dead person's email peru · peru law digital assets after death

Related

What this page already lets you do

  • Name the rule that protects you
  • Copy the exact article and send it
  • Follow the steps, in order

What this page does not give you yetThis page describes a gap. Civil Code articles 14, 16, 660, 686, 756 and 757 were read in the official Ministry of Justice edition on gob.pe, and articles 61 and 63 of the Ley 29733 regulation (D.S. 016-2024-JUS) in the official El Peruano special edition on gob.pe. We searched that regulation for the words 'fallecido', 'muerte', 'heredero', 'herencia' and 'sucesor' (deceased, death, heir, inheritance, successor) and none appears: it does not say what happens to a deceased person's data. We did not re-read the text of Ley 29733 itself for this page, so we make no claim about it. We did not check Congress's official tracker for any digital inheritance bill or its status; if one exists, a bill is not law. That a deceased person's accounts, files or crypto are 'assets' or 'rights' that form part of the estate is our reading of article 660: the article does not mention them. We did not review court rulings or decisions of the data protection authority on this. Platform policies (Google, Meta, Apple, exchanges) are not law and are not cited as sources. See the sources ↑