Inheritance calculator for Morocco: each heir's share
Was the person who died a man or a woman?
Filled in your browser. Nothing is saved.
For a Moroccan Muslim family, under the 2004 Family Code (book VI).
If there is a will, a pregnancy, a missing person, a non-Muslim heir or another special case, the tool stops and tells you who to turn to.
Independent tool Calculated under the 2004 Family Code, in force on November 9, 2026 A reform has been announced; no text had been adopted by that date Report an error
Inheritance in Morocco: who inherits, under the Family Code
Never set aside by another heir
The son, the daughter, the father, the mother, the husband and the wife are never set aside by another heir. They can lose their right for another reason, for example if they caused the death.
Arts 332, 333 and 357
The fixed shares
The Code fixes some shares: the husband half or a quarter, the wife a quarter or an eighth, a single daughter half, two or more daughters two thirds, the mother a third or a sixth, the father a sixth.
Arts 341 to 347
The rest
What is left goes to the heirs who take the rest, in order: the sons and the sons' sons, then the father, then the grandfather and the brothers, then the nephews, then the uncles; if there is nobody, to the State. When sons and daughters inherit together, the son receives two parts and the daughter one. A sister can also take the rest beside a daughter.
Arts 349 to 352
The obligatory bequest (الوصية الواجبة), explained
When a child dies before their parent, or at the same time, leaving children, these grandchildren can receive a share, even if they do not otherwise inherit.
Who
The children of a son who died, and their descendants through the sons; the children of a daughter who died, in the first generation only (arts 369 and 372).
How much
We act as if the parent who died were alive and take that parent's share; then as if the parent died just after: what of it goes to the parent's own children is the bequest (art. 370, Arabic text).
How far
The bequest does not exceed a third of the estate. A boy receives twice a girl's share (arts 370 and 372).
Then the division
The bequest is taken first; the heirs share the rest (arts 322 and 369).
Example from the practical guide to the Family Code (2004, pp. 218 and 219), applied to 864 000 DH: the bequest is 78 000 DH, that is 26 000 DH for each grandson and 13 000 DH for each granddaughter. The fractions are the guide's; the dirhams are our calculation.
The French text of article 370 reads differently; the Arabic text is the official one. If the heirs do not agree, the court decides.
What this tool does not calculate
- A will, a tanzil, or a gift made during the person's life to a grandchildArts 277, 280, 315 to 320 and 371
- A pregnancy: an heir on the wayArt. 331
- A missing person, or deaths whose order is unknownArts 325 to 328
- A non-Muslim heir, a family of the Jewish faith or a foreign familyArts 2 and 332
- A disputed parentage, an adopted child or one born outside marriage, a kafalaArts 148, 149 and 332
- An heir responsible for the deathArt. 333
- An heir who died after the person, before the division
- A grandfather with brothers or sisters, outside the named casesArts 354 and 360
- Relatives outside the Code's lists: aunts, children of a daughter still alive, maternal unclesArts 337 to 340
- Several obligatory bequests that together exceed a thirdArts 302 and 370
- A death before the 2004 Code
In these cases, turn to an adoul or a notary.
Frequently asked questions about calculating an inheritance in Morocco
How is an inheritance calculated in Morocco?Fixed shares, then the rest
The Family Code first gives some heirs their fixed share (the spouse, the parents, the daughters…), then the rest to the heirs who take the rest, in a set order: the sons, the father, the brothers… (art. 349). Before the division, the funeral costs, the debts and the will are paid (art. 322).
What share goes to the wife?An eighth or a quarter
An eighth if the person who died leaves a child, or a son's child; a quarter otherwise (arts 343 and 344). Several wives share this part.
What share goes to the husband?Half or a quarter
Half if his wife leaves no child who inherits, a quarter otherwise (arts 342 and 343).
Does the son receive twice the daughter's share?Yes, together
Yes, when sons and daughters inherit together: the son receives two parts and the daughter one (art. 351).
Does a widow alone receive everything?By the letter of art. 349
By the letter of article 349, what is left after her fixed share of a quarter returns to her: she receives everything. Some commentators read this point differently, and the rest would then go to the State. If the heirs do not agree, the court decides.
What is the obligatory bequest?For the grandchildren
When a child dies before their parent, or at the same time, leaving children, these grandchildren receive their part of what their parent would have received, up to a third of the estate (arts 369 to 372).
Can someone give up being an heir?No
No: nobody can give up being an heir (art. 329). After the death, however, an heir can give their share, for example to their mother or sister: the adouls draw up the deed.
Who draws up the official division?Two adouls
Two adouls draw up the deed of succession (iratha) and the inventory (art. 394). Only that deed or a judge sets the shares: this calculation is an indication.
Is there an inheritance tax in Morocco?No rate read
In the articles of the General Tax Code we read, no inheritance tax rate appears. There are costs around it: the land registry takes 100 DH per property for the succession, and 500 DH per property for a division within two years.
Does the Family Code reform change the calculation?Not to date
Not to date: a reform has been announced, but no text had been adopted by November 9, 2026. The calculation follows the 2004 Code.
The rules are summed up in plain words; only the official text is authoritative. Mestate is neither an adoul nor a notary.