AvocatLib
Find a LawyerLegal GuidesBlogAboutContact
LoginLawyer Portal
AvocatLibLegal GuidesCommercial Contracts in Morocco: Essential Clauses
Business LawFebruary 5, 2026|10 min read

Commercial contracts in Morocco: a comprehensive guide for 2026

Master the legal framework, essential clauses, and best practices to secure your commercial relationships in Morocco

AvocatLib Editorial

AvocatLib

Table of Contents

  1. 1The legal framework for commercial contracts in Morocco
  2. 2Conditions of validity for a commercial contract
  3. 3Essential clauses of a commercial contract
  4. 4Main types of commercial contracts in Morocco
  5. 5Arbitration, mediation, and commercial dispute resolution
  6. 6Electronic contracts and Law 53-05
  7. 7Best practices and drafting advice

The legal framework for commercial contracts in Morocco

Commercial contract law in Morocco rests on a dual legislative foundation. The first pillar is the Dahir of Obligations and Contracts (DOC), promulgated on 12 August 1913, which constitutes the general law of obligations in Morocco. This century-old text, inspired by French law and adapted to Moroccan realities, governs the conditions of formation, validity, and performance of all contracts, including commercial ones. The second pillar is the Commercial Code, promulgated by Dahir No. 1-96-83 of 1 August 1996, which sets specific rules for commercial acts and traders.

The interplay between these two texts is fundamental. The DOC applies on a supplementary basis when the Commercial Code does not provide a specific provision. Thus, the general conditions of contract validity (consent, capacity, object, cause) fall under Articles 2 to 65 of the DOC, while rules specific to commercial contracts (evidence, joint liability, limitation periods) are set out in the Commercial Code. This normative duality requires practitioners to have thorough command of both texts to draft legally sound contracts.

Over the decades, the Moroccan legislator has enriched this framework with special laws governing particular types of commercial contracts. Law No. 53-05 on the electronic exchange of legal data, promulgated in 2007, laid the foundations for the legal recognition of contracts concluded electronically. Law No. 31-08 on consumer protection introduced mandatory provisions in contracts between professionals and consumers. Law No. 17-97 on industrial property governs clauses relating to patents, trademarks, and technology transfers in commercial contracts.

In 2026, the Moroccan contractual landscape is also marked by the rise of commercial arbitration, encouraged by Law No. 08-05 on arbitration and conventional mediation. An increasing number of Moroccan and foreign companies favour arbitration clauses referring to institutional arbitration, particularly at the Casablanca International Mediation and Arbitration Centre (CIMAC) or the International Chamber of Commerce (ICC). This trend reflects the desire of economic actors for a faster and more confidential dispute resolution method than state courts.

Conditions of validity for a commercial contract

Every commercial contract in Morocco must meet the general validity conditions set by the DOC. Article 2 requires the consent of the parties, their capacity to contract, a certain object, and a lawful cause. Consent must be free and informed, free from defects such as mistake, fraud, or duress (Articles 39 to 56 of the DOC). In commercial matters, fraud is of particular importance: fraudulent manoeuvres by one party to induce the other to contract may result in the nullity of the contract and an award of damages.

Commercial capacity is governed by the Commercial Code. To engage in commerce in Morocco, one must be of legal age (18 years) and not subject to any incapacity or prohibition. Legal entities contract through their legal representatives, whose powers must be verified at the time of concluding the contract. Lack of authority or exceeding authority may render the contract unenforceable against the legal entity, a risk that practitioners must anticipate by requiring supporting documents (articles of association, minutes of meetings, delegations of authority).

The object of a commercial contract must be determined or determinable, possible, and lawful. Article 57 of the DOC specifies that things, facts, and incorporeal rights that are in commerce may be the object of an obligation. Contracts relating to prohibited goods or activities (counterfeiting, illicit products) are null and void. Similarly, the cause of the contract must be lawful: a contract whose actual cause is tax fraud or circumvention of exchange control regulations will be annulled by the court.

The form of a commercial contract is in principle free in Morocco: the principle of consensualism prevails. An oral contract is valid between traders, and proof may be established by any means (Article 334 of the Commercial Code). However, certain commercial contracts require a written document for validity: company agreements, commercial leases, pledges of goodwill, franchise contracts. In practice, written documentation is always recommended, if only for evidentiary purposes and to prevent interpretive disputes.

Essential clauses of a commercial contract

Drafting a solid commercial contract in Morocco requires the inclusion of essential clauses that frame the parties' obligations and anticipate performance difficulties. The object clause precisely defines the services expected of each party. It must be sufficiently detailed to avoid ambiguity while remaining flexible enough to adapt to foreseeable developments. For the supply of goods, it specifies the nature, quality, quantity, and technical specifications. For services, it details the scope, deliverables, and acceptance criteria.

The price clause is one of the most sensitive elements of a commercial contract. The price must be determined or determinable. Article 487 of the DOC requires that the price be set by mutual agreement or established by reference to objective elements (market rates, published tariffs, indexation). For contracts with successive performance, it is prudent to include a price revision clause incorporating indexation mechanisms tied to inflation or raw material costs. Payment terms (deadlines, methods, late payment penalties) deserve particular attention in the Moroccan context where inter-company payment delays constitute a major issue.

The duration and termination clause determines the contract's timeline and exit conditions. A fixed-term contract ends at its expiry without the need for notice, unless there is an automatic renewal clause. An indefinite-term contract may be terminated at any time by either party, subject to reasonable notice. The early termination clause must be carefully drafted, distinguishing termination for breach (with prior formal notice and a cure period) from termination for convenience (with notice and possibly a termination indemnity).

The force majeure clause releases the parties from their obligations in the event of an unforeseeable, irresistible, and external event. Article 268 of the DOC provides that no damages are due when the debtor proves that non-performance results from a cause that cannot be attributed to them. However, it is recommended to contractually define the events constituting force majeure (natural disasters, pandemics, wars, government decisions), their effects (suspension or termination), and the parties' obligations during the force majeure period (notification, mitigation measures).

Main types of commercial contracts in Morocco

The commercial sale contract is the most common. Governed by Articles 478 to 618 of the DOC and by the provisions of the Commercial Code, it covers the transfer of movable or immovable property in exchange for a price. Internationally, Morocco is a party to the 1980 Vienna Convention on Contracts for the International Sale of Goods (CISG), providing a uniform framework for cross-border commercial transactions. The sale contract must specify delivery conditions (Incoterms 2020), warranties (hidden defects, conformity), transfer of ownership, and risk.

The distribution contract is at the heart of commercial networks in Morocco. It may take the form of an exclusive concession, selective distribution, or commission-affiliation agreement. Moroccan law does not have a specific legislative framework for distribution contracts, which are governed by the general law of obligations and case law. The termination of a distribution contract, particularly an indefinite-term one, gives rise to extensive case law on the concept of reasonable notice and compensation for harm suffered by the ousted distributor.

The franchise contract, booming in Morocco, allows the franchisor to grant a franchisee the right to operate their brand, know-how, and commercial methods. Although no specific law governs franchising in Morocco, the parties are bound to observe good faith, transparency, and pre-contractual disclosure obligations. The franchise contract contains specific clauses: entry fee, royalties, exclusive territory, sourcing, quality standards, technical assistance, and post-contractual non-compete.

The subcontracting contract is common in the industrial and construction sectors in Morocco. The subcontractor performs all or part of the contractor's obligations to the end client. Dahir No. 1-15-05 of 19 February 2015 on working conditions in subcontracting companies established protective rules for subcontractors' employees. The subcontracting contract must organise liability between contractor and subcontractor, quality control conditions, payment terms, and substitution conditions.

Arbitration, mediation, and commercial dispute resolution

Commercial dispute resolution in Morocco may follow the judicial or alternative route. The judicial route falls under the commercial courts, created by Law No. 53-95 of 6 January 1997. These specialised courts have jurisdiction over commercial disputes exceeding 20,000 dirhams, as well as corporate insolvency matters. They are present in Morocco's main cities: Casablanca, Rabat, Marrakech, Fez, Tangier, Agadir, Oujda, and Meknes.

Commercial arbitration has become a preferred option for resolving commercial disputes in Morocco, particularly in international contracts. Law No. 08-05 of 30 November 2007, incorporated into the Code of Civil Procedure, sets the legal framework for domestic and international arbitration. The arbitration clause, by which the parties agree to submit future disputes to arbitration, must be in writing and specify the applicable arbitration rules, the number of arbitrators, the language of arbitration, and the seat. Morocco is also a party to the 1958 New York Convention on the Recognition and Enforcement of Foreign Arbitral Awards.

Conventional mediation, promoted by the same Law No. 08-05, offers a third option: the parties call upon a mediator to help them find an amicable solution. The mediator has no decision-making power, unlike an arbitrator. Mediation has the advantage of being confidential, fast, and less costly than arbitration or court proceedings. It is particularly suited to commercial disputes where the parties wish to preserve their business relationship.

The choice between an arbitration clause and a jurisdiction clause depends on several factors: the nature of the contract, the value of the potential dispute, the parties' nationalities, and the need for confidentiality. In international contracts, arbitration is generally preferred as it offers institutional neutrality and easier enforcement of awards in countries that are signatories to the New York Convention. In low-value domestic contracts, a jurisdiction clause in favour of the commercial court is often more economical.

Electronic contracts and Law 53-05

Law No. 53-05 on the electronic exchange of legal data, promulgated by Dahir No. 1-07-129 of 30 November 2007, provided Morocco with a comprehensive legal framework for contracts concluded electronically. This law recognises the validity of electronic writing and electronic signatures, subject to compliance with certain technical and legal conditions. It transposes into Moroccan law the principles of the UNCITRAL Model Law on Electronic Commerce and the European Directive 1999/93/EC on electronic signatures.

Article 417-1 of the DOC, as amended by Law 53-05, provides that electronic writing has the same evidentiary force as paper writing, provided that the person from whom it emanates can be identified and that it is created and stored under conditions that guarantee its integrity. A secure electronic signature, based on a digital certificate issued by a certification service provider approved by the National Telecommunications Regulatory Authority (ANRT), benefits from a presumption of reliability.

In practice, the conclusion of commercial contracts electronically raises specific questions. The issue of online offer and acceptance is governed by Articles 65-1 to 65-7 of the DOC: the offer must remain accessible as long as the professional has not withdrawn it, and the recipient has the right to verify and correct their order before final validation. The contract is deemed concluded at the consumer's place of residence. These provisions are mandatory in B2C relations but may be modified in B2B contracts.

The storage of electronic contracts is a major challenge for Moroccan companies. Law 53-05 requires that electronic contracts exceeding a threshold set by regulation be stored for ten years. The service provider must implement secure storage systems guaranteeing the integrity and readability of documents over time. Using approved third-party archiving services is a common solution to meet this obligation.

Best practices and drafting advice

Drafting a commercial contract in Morocco requires a methodical and rigorous approach. The first principle is clarity: each clause must be written in precise language, without ambiguity, avoiding excessive jargon. Technical terms must be defined in a definitions article at the beginning of the contract. Each party's obligations must be formulated affirmatively and measurably, using performance indicators where relevant.

The confidentiality clause is essential in most commercial contracts. It must precisely define confidential information, the persons authorised to access it, the duration of the confidentiality obligation, and the penalties for breach. Under Moroccan law, breach of professional secrecy is criminally sanctioned by Article 446 of the Penal Code, but the contractual clause allows for specific civil remedies and an adapted evidentiary regime.

The post-contractual non-compete clause must be drafted carefully in Morocco. Moroccan case law requires it to be limited in time, space, and scope of activity. A clause that is too broad will be declared null by the court, which has the power to reduce it to reasonable proportions. Unlike French law, Moroccan law does not systematically require financial consideration for non-compete clauses in commercial contracts, but the presence of such consideration strengthens the clause's validity.

Finally, the penalty clause (Articles 263 to 266 of the DOC) allows the advance fixing of damages for non-performance or delay. In Morocco, the court has the power to moderate the penalty clause: it may reduce it if deemed excessive, or increase it if considered manifestly derisory. Article 264 of the DOC specifies that damages must only cover what is an immediate and direct consequence of non-performance. The penalty clause is a powerful tool but must be realistically calibrated to survive judicial review.

Frequently Asked Questions

Is a verbal commercial contract valid in Morocco?
Yes, in principle. Moroccan law upholds the principle of consensualism: a verbal commercial contract is valid between traders, and proof may be established by any means (Article 334 of the Commercial Code). However, certain contracts require written form for validity: company agreements, commercial leases, franchises, pledges. In practice, written documentation is always recommended for evidentiary purposes and to prevent disputes.
What is the difference between an arbitration clause and a jurisdiction clause?
An arbitration clause submits future disputes to arbitration, a private dispute resolution method. A jurisdiction clause designates a competent state court. Arbitration offers confidentiality, speed, and neutrality but is more expensive. Commercial courts are more economical but slower and public. In international contracts, arbitration is generally preferred thanks to the New York Convention, which facilitates enforcement of awards.
Can a penalty clause be modified by a Moroccan court?
Yes. The Moroccan court has the power to moderate penalty clauses under Article 264 of the DOC. It may reduce the clause if deemed excessive relative to the actual harm suffered, or increase it if manifestly derisory. This judicial oversight power requires that penalty clauses be realistically calibrated, supported by a reasonable assessment of foreseeable harm.
Are electronic contracts recognised in Morocco?
Yes. Law No. 53-05 on the electronic exchange of legal data recognises the validity of electronic writing and electronic signatures. Electronic writing has the same evidentiary force as paper, provided the author can be identified and integrity is guaranteed. A secure electronic signature, based on a certificate issued by an ANRT-approved provider, benefits from a presumption of reliability.
How should a valid non-compete clause be drafted in Morocco?
The non-compete clause must be limited in time (typically 1 to 2 years), space (relevant territory), and scope of activity (precisely defined). A clause that is too broad will be declared null or reduced by the court. Although Moroccan law does not systematically require financial consideration in commercial contracts, its presence considerably strengthens the clause's validity.

Need a lawyer to draft or review a commercial contract?

Drafting a solid commercial contract is an investment that protects your business. Find a lawyer specialising in business law on AvocatLib to secure your commercial relationships.

Find a commercial law attorney

Related Guides

Business

Starting an LLC in Morocco: Steps and Formalities

Practical guide to creating your limited liability company in Morocco. Capital, bylaws, registration, and legal obligations.

12 min read
Family

Divorce Proceedings in Morocco: Complete Guide 2026

Everything you need to know about divorce procedures in Morocco: types of divorce, steps, required documents, and timelines.

15 min read
Real Estate

Buying Property in Morocco: Rights and Precautions

Key steps to secure your property purchase in Morocco. Due diligence, sales agreement, and notarial deed.

10 min read

Sources & References

  • Dahir of Obligations and Contracts (DOC) - Consolidated text
  • Commercial Code - Dahir No. 1-96-83 of 1 August 1996
  • Law No. 53-05 on the electronic exchange of legal data
  • Law No. 08-05 on arbitration and conventional mediation
  • Law No. 53-95 establishing commercial courts
  • Casablanca International Mediation and Arbitration Centre (CIMAC)
  • Law No. 31-08 on consumer protection
  • New York Convention 1958 - Recognition of foreign arbitral awards
AvocatLib

© 2026 AvocatLib. Tous droits réservés.