How to declare digital wallets in Moudawana inheritance in Morocco? Discover how crypto heir shares are taxed & custody
This image was AI-generated for illustrative purposes. Any people or scenes depicted are not real.

Digital Assets: Inheritance & Family Law (2026)

9anon AI Team8 min read
Share this article:

Digital Assets: Inheritance & Family Law (2026)

The digital age has fundamentally transformed the nature of personal property. In 2026, a Moroccan citizen’s estate is no longer comprised solely of physical real estate, bank accounts, and vehicles. Today, a significant portion of a family's wealth and sentimental legacy resides in the digital cloud: cryptocurrency wallets, Non-Fungible Tokens (NFTs), monetized social media accounts, and vast repositories of personal data.

Imagine a scenario where a successful Moroccan entrepreneur passes away unexpectedly. While his physical assets—a villa in Harhoura and a fleet of commercial vehicles—are easily identified and distributed according to the Moudawana (Family Code), his most valuable asset remains locked: a cold storage wallet containing Bitcoin and Ethereum worth millions of Dirhams. Without the private keys or a clear legal framework for digital succession, these assets risk being lost forever, leaving the legal heirs in a state of financial and emotional distress.

This article provides a comprehensive legal roadmap for navigating the intersection of digital assets and Moroccan inheritance law in 2026. You will learn how the Moudawana, the Code of Obligations and Contracts, and new digital regulations govern the transfer of virtual property to the next generation.

The legal status of digital assets in Morocco has evolved rapidly. While traditional inheritance is governed by the Moudawana (Law No. 70.03), the digital dimension requires a synthesis of several legal frameworks.

The Moudawana (Law No. 70.03)

The cornerstone of all succession matters in Morocco remains the Moudawana. Under Article 2, the provisions of this code apply to all Moroccans, even those residing abroad or holding dual nationality. Inheritance in Morocco is an "obligatory" system based on Islamic Sharia principles. Digital assets, once defined as "property" (Mal), fall under the general rules of estate distribution.

Law No. 36.21: The Digital Civil Status Framework

A critical component of modern estate administration is the digitalization of civil records. Law No. 36.21 and its implementing decree (Reference 5) have revolutionized how deaths are recorded. Article 21 of this law establishes the electronic birth and death registry, which is the first step in any probate process. The integration of electronic signatures and digital timestamps ensures that the "opening of the succession" is recorded with cryptographic certainty.

Finance Law 2026 and Digital Property

The Finance Law of 2026 (Reference 7) has introduced specific classifications for digital goods. By assigning customs codes and tax identifiers (such as IMEI for devices and specific digital service categories), the Moroccan state effectively recognizes the economic value of digital holdings. This recognition is vital because, under Moroccan law, only things that have a "commercial value" can be inherited.

Draft Bill No. 42.25: The Virtual Assets Framework

As of 2026, Morocco has moved toward a formal recognition of Virtual Assets Service Providers (VASPs). This framework works in tandem with the Code of Obligations and Contracts (Dahir of August 12, 1913). Under Article 1 of the Code of Obligations, a contract is formed by the agreement of wills. When a user agrees to a platform's "Terms of Service," they are entering a contract that often dictates what happens to their data after death. However, Moroccan public policy (Ordre Public) can override these terms if they conflict with the mandatory inheritance shares defined in the Moudawana.

Practical Guide: Procedures for Inheriting Digital Assets

Navigating the recovery of digital assets requires a blend of traditional legal steps and modern technical interventions. If you are an heir in 2026, follow this procedure to secure your digital legacy.

Step 1: Obtaining the Electronic Death Certificate

Under Law No. 36.21, the family must ensure the death is registered in the national digital civil status system. According to Article 22 of the implementing decree, the declaration is supported by an electronic certificate from the physician or local administrative authority. This digital record is essential for notifying banks and digital platforms.

Step 2: Establishing the "Iradat" (Act of Heirs)

The heirs must go to the Adoul (notaries specializing in family law) to draft the Iradat. This document lists all legal heirs and their respective shares. In 2026, it is highly recommended to specifically mention "digital assets and virtual property" in the inventory of the estate to avoid jurisdictional disputes with tech platforms.

Step 3: Inventory and Valuation

Digital assets must be valued in Moroccan Dirhams for the purpose of estate distribution.

  • Cryptocurrency: Use the market rate at the time of death.
  • Social Media Accounts: Accounts with commercial value (e.g., influencers) may require a professional audit to determine their "goodwill" value.
  • Domain Names: These are treated as intellectual property under the Moroccan Office of Industrial and Commercial Property (OMPIC) guidelines.

Step 4: The Role of the "Wasiya" (Will)

Under the Moudawana, a Moroccan can dispose of up to one-third (1/3) of their estate to non-heirs through a Wasiya. In the context of digital assets, this is a powerful tool. A testator can use a Wasiya to leave specific digital assets (like a photo archive or a specific crypto-wallet) to a specific person, provided it does not exceed the 1/3 limit.

Step 5: Platform Access and Exequatur

Many digital assets are held by foreign companies (Google, Meta, Binance). If a platform refuses to grant access to the heirs, a court order from a Moroccan Commercial Court or Family Court may be required. For foreign court orders to be enforceable in Morocco, the process of Exequatur must be followed to ensure the order does not violate Moroccan public policy.

Key Provisions Explained

Understanding the nuances of the law is essential for both estate planning and the recovery of assets.

1. The Principle of Mandatory Shares

Moroccan law does not allow for "disinheriting" legal heirs. The Moudawana strictly defines the shares for the spouse, children, and parents. For example, if a deceased man leaves a daughter and a son, the son generally receives twice the share of the daughter. This applies to the value of digital assets. If a son is given the private keys to a Bitcoin wallet, the value of that Bitcoin must be accounted for against his total share of the inheritance.

2. Digital Assets as "Movable Property"

Under the Code of Obligations and Contracts, digital assets are generally classified as "incorporeal movable property." This means they are subject to the same rules as bank balances or company shares. This classification is crucial for Property Law in Morocco: Buying, Selling, and Inheritance, as it determines which courts have jurisdiction over disputes.

3. Data Privacy vs. Heir Rights

Law No. 09-08 (the Data Protection Law) protects the privacy of the deceased. However, the 2026 legal landscape recognizes that the "right to be forgotten" must be balanced with the "right to inherit." Heirs have a legitimate interest in accessing accounts that contain financial value or essential family history.

4. Public Domain and State Assets

Interestingly, some digital assets might intersect with the "Public Domain." While Reference 1 and Reference 8 discuss physical public domains like the Marchica Lagoon, the principle remains that certain assets are managed by the state for public utility. In the digital realm, this might apply to government-issued digital IDs or public-service digital tokens, which are not inheritable but are instead revoked upon death.

5. The "Hiba" (Gift) of Digital Assets

A person may choose to transfer digital assets while still alive through a Hiba (Gift). Under the Moudawana, a Hiba is valid if the donor is of sound mind and the transfer is completed. For digital assets, "delivery" of the gift occurs when the recipient receives the private keys or administrative control of the account.

Common Mistakes & How to Avoid Them

Even with the best intentions, digital inheritance often fails due to simple oversights.

Mistake 1: Relying on "Digital Legacy" Settings Alone

While platforms like Google and Facebook offer "Legacy Contact" features, these are governed by California law or Irish law, not Moroccan law. If a platform's distribution contradicts the Moudawana, the Moroccan heirs can face legal gridlock. Solution: Always mention digital assets in a formal Moroccan Wasiya or a notarized memorandum.

Mistake 2: Losing Private Keys

If a deceased person held cryptocurrency in a self-custody wallet (like a Ledger or Trezor) and did not share the seed phrase, the law cannot help. No court order can force a blockchain to unlock. Solution: Use a "Dead Man's Switch" or a multi-signature wallet where one key is held by a trusted legal professional or kept in a safe deposit box.

Mistake 3: Commingling Business and Personal Accounts

Many entrepreneurs in Morocco use personal social media accounts for business. Upon death, the business partners may claim the account belongs to the company, while the family claims it as personal inheritance. Solution: Clearly separate business digital assets from personal ones. Ensure that business accounts are owned by the legal entity (SARL or SA) rather than the individual.

Mistake 4: Ignoring Tax Obligations

Digital assets are subject to inheritance tax if their value exceeds certain thresholds. Failing to declare a large crypto-inheritance can lead to penalties under the General Tax Code (CGI) 2026. Solution: Consult with a tax expert to ensure the Finance Law 2026: New Tax Reforms in Morocco are followed correctly.

Conclusion with Key Takeaways

The landscape of inheritance in Morocco has officially entered the digital frontier in 2026. While the Moudawana provides the moral and legal skeleton for distribution, the technical nature of digital assets requires proactive planning. Whether you are managing a portfolio of NFTs or simply want to ensure your family photos are preserved, understanding the intersection of Moroccan Inheritance Law 2026 and digital technology is no longer optional—it is a necessity.

  • Legality: Digital assets are recognized as inheritable property under the synthesis of the Moudawana and the Code of Obligations and Contracts.
  • Mandatory Shares: Islamic inheritance shares apply to the total value of the digital estate; you cannot use digital assets to bypass the legal rights of heirs.
  • Documentation: The electronic civil status system (Law 36.21) is the starting point for all modern probate.
  • Planning: Use a Wasiya (Will) for the 1/3 discretionary portion of your estate to manage specific digital legacies.
  • Security: Legal rights are useless without technical access. Ensure your heirs have a secure way to retrieve passwords and private keys.

9anoun ai, 9anon ai, kanon ai, kanoun ai, qanon ai, qanoun ai

Frequently Asked Questions

No. Under the Moudawana, you cannot favor one heir over another regarding their mandatory shares. You can only use the 'Wasiya' to give up to 1/3 of your total estate to a specific person, but the remaining 2/3 must follow the legal distribution rules.

Through the Finance Law 2026 and the General Tax Code, heirs are required to declare the value of all inherited property, including virtual assets, during the probate process to ensure proper taxation and legal transfer.

Accounts with commercial value are considered part of your estate. Heirs can claim access through a court order, though they must balance this with the privacy protections afforded by Law 09-08.

A will must generally be notarized by an Adoul to be fully enforceable. While digital signatures are recognized under Law 53-05, it is safest to have a traditional notarized document that references your digital assets.

If the deceased was a Moroccan citizen, the Moudawana applies. However, enforcing this on foreign platforms often requires an 'Exequatur' procedure to make a Moroccan court order enforceable in the platform's home jurisdiction.

No. Moroccan law does not allow for the disinheritance of legal heirs (spouse, children, parents). Any attempt to do so through digital means would be considered void by a Moroccan court.

Share this article:

Have More Legal Questions?

Consult 9anon AI now and get accurate, instant answers about your legal situation in seconds.