Consumer · 8 min read

Online shopping in Morocco: your 7-day cooling-off period and other consumer rights

7-day cooling-off period (30 days without written confirmation), refund within 15 days, unfair terms, one- or two-year guarantee for defects: your consumer rights under Law 31-08.

Checked against the official texts on November 15, 2026

A smartphone showing an online shop and an open parcel sealed with zellige-patterned tape, with a glowing return arrow

The dress doesn't hang like it did in the photo, the phone overheats, the subscription renewed itself without asking. Online shopping has taken off in Morocco, and so have the disappointments. The good news: Law No. 31-08 on consumer protection gives you clear rights that many people never hear about. Here they are.

The right to change your mind: 7 days, sometimes 30

For a distance purchase (online, by phone, from a catalogue), you have 7 days to withdraw, without giving a reason and without paying a penalty — apart from the cost of returning the goods, where applicable (Article 36). That window stretches to 30 days if the seller hasn't confirmed the legally required information in writing.

Getting your money back: 15 days at most

Once you've withdrawn, the seller must refund the full amount paid, without delay and no later than 15 days. After that, the sum automatically accrues interest at the statutory rate (Article 37).

The exceptions

Unless agreed otherwise, the right of withdrawal does not apply, in particular, to (Article 38):

  • services whose performance began, with your agreement, before the 7 days were up;
  • goods made to your specifications or clearly personalised;
  • goods whose price depends on fluctuations in the financial markets.

Door-to-door sales: 7 days here too

A salesperson comes to your home or approaches you outside a shop? The contract must be in writing, signed and dated in your own hand, and include a detachable withdrawal form (Article 47). You have 7 days from the order to withdraw (Article 49).

Unfair terms are void

A term is unfair when it creates a significant imbalance between the parties' rights and obligations, to the consumer's detriment (Article 15). Article 18 gives an indicative list. Such terms are void and of no effect, but the rest of the contract stands if it can survive without them (Article 19).

And a contract drafted in a foreign language must be accompanied by its Arabic translation (Article 206).

Faulty product: 1 year or 2 years to take action

When a hidden defect appears, Law 31-08 strengthens the legal guarantee under the Dahir of Obligations and Contracts. Between a professional and a consumer, you must bring your claim (Article 65):

  • within one year of delivery for movable goods (phone, car, household appliance…);
  • within two years for immovable property.

These periods cannot be shortened by contract. And a seller offering a commercial guarantee must always clearly mention the legal guarantee, which applies in any case (Article 67).

Consumer credit: a time limit for the lender too

If you bought on credit, note that the lender's claims for payment against a defaulting borrower must be brought within two years of the event giving rise to them, on pain of foreclosure, before the court of your domicile (Article 111).

How to assert your rights

1. Write to the seller, using a method that leaves a trace, and cite the relevant article of Law 31-08.

2. If there's no response, send a formal notice.

3. As a last resort, go to court or contact a consumer protection association.

Document generatorFormal notice8 MADDocument generatorSubscription termination letter7 MADDocument generatorGeneral terms and conditions of sale23 MAD

Law No. 31-08 is published in the Official Bulletin and available on Adala .

Ask the assistant« I bought a phone online 5 days ago and want to return it, what are my rights? »Sourced answer

Frequently asked questions

How many days do I have to withdraw after an online purchase in Morocco?

7 days, without justification or penalty (excluding return costs), or 30 days if the seller has not confirmed the required information in writing (Law No. 31-08, Art. 36).

How long does the seller have to refund me?

Without delay and no later than 15 days after withdrawal, otherwise the sum accrues interest at the statutory rate (Law No. 31-08, Art. 37).

How long do I have to act against a faulty product?

One year after delivery for movable goods and two years for immovable property, when the seller is a professional; these periods cannot be shortened (Law No. 31-08, Art. 65).

Official sources

  • Law No. 31-08 laying down consumer protection measures, Arts. 15, 18, 19, 36 to 38, 48, 49, 65, 67, 111 and 206

General information, up to date as of the date shown. For a specific situation, ask the assistant or consult a professional.