Consumer law in Morocco: laws, articles and answers
Warranties, online purchases, withdrawal, unfair terms, credit. Find the official texts, the essential articles explained simply and answers to the most frequent questions.
Consumer protection in Morocco is governed by Law No. 31-08 of 2011: information, unfair terms, distance and online sales, door-to-door selling, guarantees, consumer credit and mortgage credit. It applies to contracts between a professional and a consumer.
The general rules of sale (hidden defects, delivery) remain in the DOC, and product safety is covered by special texts.
What this area covers
- Information and labelling
- Unfair terms
- Online purchases and distance selling
- Door-to-door selling
- Guarantees and hidden defects
- Consumer credit and mortgage credit
- Consumer associations
Institutions and procedures
- Consumer protection associations — inform and may bring legal action
- Consumer offices (Khidmat Al Moustahlik) — receive complaints
- Court of first instance — hears consumer disputes
Consumer law: the essential rules
- After an online purchase, the consumer has 7 days to withdraw, extended to 30 days if the seller has not confirmed the mandatory information in writing (Law No. 31-08, art. 36).
- The seller must refund within 15 days of the withdrawal (art. 37); custom-made goods are excluded from the right of withdrawal (art. 38).
- A clause that creates a significant imbalance to the detriment of the consumer is unfair (art. 15); it is void, but the rest of the contract continues to apply (art. 19).
- The door-to-door selling contract is in writing and contains mandatory particulars on pain of nullity (art. 48).
- In consumer credit, the lender must bring a payment action within 2 years of the payment incident, on pain of foreclosure (art. 111).
- Against a professional seller, an action for hidden defects in movable property is time-barred after one year from delivery (art. 65).
Each rule links to the official article. General legal information: only publication in the Official Bulletin is authoritative.
Reference texts
Key articles
- القانون القاضي بتحديد تدابير لحماية المستهلك — المادة 36
تمنح المادة 36 المستهلك حق التراجع عن العقد خلال أجل سبعة أيام كاملة، أو ثلاثين يوما إذا لم يلتزم المورد بالتأكيد الكتابي للمعلومات المنصوص عليها في المادتين 29 و32. ويمارس هذا الحق دون تبرير أو غرامة، باستثناء مصاريف ا…
- Protection du consommateur — Article 38
L'article 38 énumère les contrats pour lesquels le droit de rétractation ne peut pas être exercé, sauf accord contraire des parties. Il vise notamment les services déjà commencés avec l'accord du consommateur, les produ…
- Protection du consommateur — Article 37
L'article 37 prévoit que lorsque le consommateur exerce son droit de rétractation, le fournisseur doit lui rembourser sans délai la totalité du montant payé, et au plus tard dans les 15 jours suivant l'exercice de ce dr…
- القانون القاضي بتحديد تدابير لحماية المستهلك — المادة 37
تحدد المادة 37 التزام المورد برد المبلغ الكامل الذي دفعه المستهلك عند ممارسة حقه في التراجع. يجب أن يتم الرد داخل أجل خمسة عشر يوما من تاريخ ممارسة هذا الحق، وبعد انصرام هذا الأجل تترتب بقوة القانون فوائد على المبلغ الم…
- القانون القاضي بتحديد تدابير لحماية المستهلك — المادة 38
تحدد المادة 38 الحالات التي لا يمكن فيها للمستهلك ممارسة حق التراجع، ما لم يتفق الطرفان على خلاف ذلك. وتشمل هذه الحالات الخدمات التي بدأ تنفيذها بموافقة المستهلك قبل انتهاء أجل سبعة أيام كاملة، والمنتوجات المرتبطة بتقلب…
- Protection du consommateur — Article 36
L'article 36 accorde au consommateur un droit de rétractation sans justification ni pénalité, sauf frais de retour éventuels. Le délai est de sept jours, porté à trente jours si le fournisseur ne confirme pas par écrit…
- Protection du consommateur — Article 18 (suite 1)
L'article 18 énumère, de façon indicative et non exhaustive, des clauses qui peuvent être considérées comme abusives si elles remplissent les conditions de l'article 15. Il précise également qu'en cas de litige, c'est a…
- Protection du consommateur — Article 32
L'article 32 impose au fournisseur de fournir au consommateur, par écrit ou sur support durable, une série d'informations au plus tard au moment de la livraison, sauf si elles ont déjà été communiquées avant la conclusi…
- ظهير بمثابة قانون الالتزامات والعقود — الفصل 65 -5
يعالج الفصل 65 مسألة إثبات سبب الالتزام، فيقرر أنه إذا ثبت أن السبب المذكور غير حقيقي أو غير مشروع، وجب على من يدّعي وجود سبب آخر مشروع أن يقيم الدليل عليه.
- Protection du consommateur — Article 30
L'article 30 oblige le fournisseur à rendre facilement accessibles au consommateur les conditions contractuelles applicables à une fourniture de produits, biens ou services à distance, et à obtenir leur acceptation expr…
Frequent questions
- Combien de jours pour me rétracter après un achat en ligne ?
- Après ma rétractation, en combien de jours le vendeur doit-il me rembourser ?
- Le vendeur en ligne ne m'a jamais confirmé ma commande par écrit, combien de temps ai-je pour me rétracter ?
- Puis-je me rétracter pour un produit fabriqué sur mesure à ma demande ?
- J'ai acheté une voiture avec un défaut caché, dans quel délai dois-je agir ?
- Dans quel délai une banque doit-elle agir en paiement contre un emprunteur défaillant (crédit à la consommation) ?
- Qu'est-ce qu'une clause abusive dans un contrat de consommation ?
- Une clause abusive annule-t-elle tout le contrat ?
- Quelles sont les mentions obligatoires d'un contrat de démarchage à domicile ?
- Un contrat de consommation rédigé en langue étrangère doit-il être traduit ?
Practical guides
- Debt and loans in Morocco: a borrower's rights against the bank and creditors
- Online shopping in Morocco: your 7-day cooling-off period and other consumer rights
Document templates
- Declaration on honour
- Declaration of non-polygamy
- Accommodation certificate
- Commitment of support
- Simple power of attorney
- Special power of attorney
Glossary
- Right of withdrawal
- the right to cancel a distance purchase without giving reasons
- Unfair term
- a clause that unbalances the contract to the detriment of the consumer
- Foreclosure
- loss of a right of action for failure to act within the time limit
Questions and answers
How many days to withdraw after an online purchase?
7 days, or 30 days if the seller has not confirmed the mandatory information in writing (Law No. 31-08, art. 36).
How long does the seller have to refund?
At the latest 15 days after withdrawal (art. 37).
Does an unfair term cancel the entire contract?
No, only the clause is void if the contract can survive without it (art. 19).
What is the time limit for a hidden defect in a product bought from a professional?
One year from delivery (art. 65).
Latest official texts
- Laws and decreesظهير شريف رقم 1.11.03 بتنفيذ القانون رقم 31.08 بتحديد تدابير لحماية المستهلك — Présidence du ministère public2026-11-18
- Laws and decreesدورية رقم 13 س/ر ن ع بتاريخ 08 مارس 2018 حول مخالفات القانون رقم 31.08 المتعلقة بحماية المستهلك — Présidence du ministère public2026-11-18