Can I use AI to write my will in Morocco?
A general AI chatbot can help you think through your wishes, but in Morocco a printed document you sign at home is not one of the routes the Family Code lists. This guide explains what a chatbot draft can and cannot do here.
Not as a printed document: official attestation or handwritten
Under the Family Code (Moudawana, Law 70-03), article 296, a will is valid if made by attestation of two adouls, by attestation of an official body authorised to document it, or written in your own hand and signed. A printed document is not on that list. Article 277 gives a will effect in up to one third of the estate, and article 280 says a gift to an heir needs the other heirs' approval. This is a general description of the framework, not advice about your own situation.
What a chatbot draft can and cannot do
A chatbot draft can help you get your wishes straight before you go further. For the private route, you would generally copy the final text out in your own hand and sign it. Otherwise your wishes could go to adouls or another official documenting body.
Where a chatbot draft can go wrong
Confident, polished text can make a problem harder to notice. It may not know which law applies. Rules differ from one place to the next, and a chatbot only knows what you tell it. It can miss what you do not mention. A step-parent, a business or property abroad may change what the will needs to say. The wording may not do what you meant. A gift that fails, or no gift of what is left over, may leave part of your estate passing under the intestacy rules.
Rules a chatbot may miss in Morocco
A chatbot may not apply the one-third limit or the heirs' approval rule, or know that the testator must be of age (article 279). Moroccan Jews have separate family law, which we did not research, and we did not confirm how foreigners are treated. Reform proposals were reported in 2024, and we have not checked any final text.
What we do here, and what a local professional does
We do not prepare a will for Morocco. A local professional can explain the forms of will there and may help you make one. Our legal guide to Morocco has more on the rules we hold for this country.
What a local professional adds
Four things separate a will made with a local professional from a draft you are left to check on your own.
A recognised form
A local professional can work within the forms the law recognises, so the form of the will is not left to you.
A check by a person
A local professional can look at what you want to do and raise what a chatbot was never told.
A record of the will
Depending on the form, a local professional may keep a record of the will, beyond a saved conversation.
Help with the steps
A local professional can explain the formalities and any witnesses the form needs.
A general AI chatbot and a local professional, side by side
These are differences in how each route works. Chatbots and professionals both differ, so check the terms of whichever you use.
What it costs
A general AI chatbot may be free or part of a monthly subscription, which is hard to beat on price alone. A local professional charges for their work, so you may want to ask what it would cost first. What you are weighing is that fee against a document that may not meet the form the law asks for.
When a local professional matters most
Some situations carry more risk if the wording is not right: blended families or second marriages, business interests, assets or beneficiaries abroad, trusts, a vulnerable beneficiary, or any real chance of a challenge.
Frequently asked questions
Is a will written by AI legally valid?
Who or what suggested the words is generally not the test. What matters in Morocco is the form of the will. A printed document signed at home is not one of the routes in article 296. You also generally need the mental capacity to make a will.
Can I just print what a chatbot writes and sign it?
No. Article 296 lists attestation by two adouls, attestation by an official documenting body, or a will written in your own hand and signed.
Can a chatbot witness or approve my will?
No. Any witnesses generally have to be people, and a chatbot cannot do what a local professional does.
Do you prepare wills here?
No. We do not prepare a will for Morocco. A local professional can explain the forms and may help you make one.
What happens to what I type into a chatbot?
That depends on the chatbot, your plan and your settings, so check its terms before you type in names, addresses or details of what you own.
Does using a chatbot save money compared with a local professional?
On the upfront price it usually can. What you are weighing is that saving against a document that may not meet the form the law asks for. A local professional charges for their work, so you may want to ask what it would cost.
Does this apply outside Morocco?
Not necessarily. Each country sets its own rules, and in some places a witnessed printed will can be valid. The legal guides hub lists the country guides.
Related legal guides
Find a local professional
A local professional can explain the forms of will in Morocco. Our directory lists legal professionals by area, and may include some near you.
Discuss this in the community
Have questions about this topic? Ask in our community forum. Members and verified professionals share what they know. Forum answers are general information, not professional advice.

