Prêt à lancer votre activité au Maroc ?
Legalstation vous accompagne de A à Z : SARL, SAS, SA ou auto-entrepreneur. Statuts, immatriculation RC et suivi expert.

You have just hired a key employee who knows your clients, your suppliers, and your working methods. How do you protect yourself if that person leaves tomorrow to join a direct competitor? Does your employment contract include a non-compete clause? Is it actually enforceable? Are you required to pay financial compensation? What are the risks if the clause is poorly drafted?
These questions are central concerns for many Moroccan business leaders, whether they run an SME, a startup, or an established company. The non-compete clause is a powerful legal instrument, but it is frequently misunderstood, poorly drafted, or simply absent from employment contracts. The result: businesses find themselves exposed to real risks with no effective recourse.
LegalStation provides this comprehensive guide to help you understand the legal framework governing non-compete clauses in Morocco, their validity requirements, the rights and obligations of both parties, and the most common mistakes to avoid in order to protect your business in the long term.
What Is a Non-Compete Clause?
A non-compete clause is a contractual provision inserted into an employment contract or a separation agreement. It prohibits an employee, following the termination of their contract, from engaging in a professional activity that competes with their former employer, for a defined period of time and within a specified geographical area.
Its purpose is to protect the legitimate interests of the business: its client base, know-how, trade secrets, and partner networks. It is not intended to prevent the employee from working altogether, but rather to limit the risk that they use knowledge acquired during their employment to the detriment of their former employer.
It is important to distinguish the non-compete clause from two related concepts:
- The confidentiality clause: this prohibits the disclosure of sensitive information and may apply both during and after the contract.
- The non-solicitation clause: this prohibits approaching the clients or employees of the former employer, without necessarily prohibiting all competitive activity.
Is the Non-Compete Clause Regulated by Moroccan Law?
In Morocco, the Labour Code does not contain explicit or detailed provisions governing non-compete clauses in employment contracts. This absence of specific legislation does not mean that such clauses are prohibited: they are recognised in practice and by Moroccan case law, which has progressively aligned itself with criteria similar to those applied in other legal systems of French tradition.
In the absence of precise statutory provisions, Moroccan courts assess the validity of these clauses on a case-by-case basis, drawing in particular on the general principles of the law of obligations and on the balance between protecting the employer's interests and safeguarding the employee's freedom to work, as guaranteed by the Moroccan Constitution.
This calls for particular care in drafting: a clause that is too broad or unbalanced risks being declared void by a court, leaving the business without any protection.
Validity Requirements for a Non-Compete Clause in Morocco
For a non-compete clause to be considered valid and enforceable, several cumulative conditions must be met.
1. A Time Limitation
The clause must be limited in time. A reasonable duration is generally accepted. A perpetual or disproportionate restriction would be liable to be annulled. The duration must be clearly stipulated in the contract and must remain proportionate to the nature of the business and the position held.
2. A Defined Geographical Scope
The clause must define a precise geographical area: a city, a region, the national territory, or a specific market sector. A clause with no geographical limitation would be considered excessive and would risk being invalidated.
3. A Restriction Targeting Genuine Competitive Activity
The clause must target activity that genuinely competes with that of the employer. It cannot prohibit the employee from engaging in any professional activity whatsoever. The scope of the restriction must be precisely defined: the industry sector, the type of clients, and the nature of the products or services concerned.
4. The Protection of a Legitimate Business Interest
The employer must be able to demonstrate a legitimate interest worthy of protection: access to confidential information, contact with a strategic client base, or knowledge of sensitive technical or commercial processes. A clause inserted without any real business justification would be difficult to enforce.
5. Financial Compensation
This is one of the most sensitive points. Even though the Moroccan Labour Code does not expressly require it, case law tends to hold that a non-compete clause must be accompanied by financial compensation paid to the employee during the period in which the restriction applies. Without such compensation, the clause creates a manifest imbalance and risks being declared void or unenforceable. This compensation typically takes the form of a monthly allowance paid following the termination of the contract.
LegalStation Advice:Never draft a non-compete clause using a generic template or one copied from a foreign source. Each clause must be tailored to the specific position, your industry, and your actual market area. A poorly calibrated clause offers no protection — it exposes you to costly litigation that you risk losing. Have your contracts reviewed by a legal professional with expertise in the Moroccan context.
What Happens in the Event of a Breach?
If an employee breaches the non-compete clause, the employer has several courses of action available.
Cessation of the Competing Activity
The employer may apply to the competent court for an injunction ordering the employee or their new employer to cease the competing activity. This can be pursued through summary proceedings to obtain a swift ruling.
Compensation for Loss
The employer may seek damages for the harm suffered, provided they can demonstrate both the existence and extent of that harm. Proving the loss is often the main difficulty in this type of dispute.
The Penalty Clause
It is strongly recommended to include a penalty clause in the contract, stipulating in advance the amount of damages payable in the event of a breach. This considerably strengthens the employer's position in litigation, as it removes the need to prove the precise extent of the loss.
When Can a Non-Compete Clause Be Waived?
The employer generally retains the ability to waive enforcement of the clause, provided that this right is expressly set out in the contract and that the waiver is exercised within the timeframe and in the manner stipulated. Such a waiver releases the employer from the obligation to pay the financial compensation, and releases the employee from their restriction.
It is also possible for both parties to mutually agree to terminate the clause, particularly as part of a departure negotiation.
The Most Common Mistakes to Avoid
- Drafting a clause without precise limitations: a vague clause is a useless clause and potentially void.
- Omitting financial compensation: without compensation, the clause is vulnerable before a court.
- Applying the same clause to all employees: a sales representative and an accountant do not warrant the same level of protection.
- Failing to include a penalty clause: without one, proving and quantifying a loss becomes extremely difficult.
- Confusing the non-compete clause with the confidentiality clause: these two clauses serve distinct purposes and must be drafted separately.
- Inserting the clause only in the internal company rules: the clause must appear in the individual employment contract to be enforceable against the employee concerned.
Non-Compete Clause and Contract Termination: Key Considerations
The non-compete clause applies following the termination of the contract, regardless of the reason: resignation, dismissal, end of probationary period, or retirement. Some contracts, however, provide for exceptions depending on the manner of termination: it is essential to review the contractual provisions carefully.
In cases where a court finds that a dismissal was wrongful, the question of the clause's enforceability may arise differently. The employer must ensure that their contractual obligations are fulfilled, including the payment of financial compensation, even when the termination itself is subject to dispute.
Frequently Asked Questions
Is a non-compete clause mandatory in every employment contract in Morocco?
No, it is not mandatory. It is optional and must be freely negotiated between the employer and the employee. Its inclusion in the contract must respond to a genuine need for protection related to the position held and the information to which the employee has access.
Can an employee refuse to sign a contract containing a non-compete clause?
Yes, the employee may negotiate the terms of their contract. However, if the clause forms part of the conditions of employment set by the employer and the employee accepts the position, they are presumed to have accepted the clause. It is recommended that the clause be clearly explained prior to signing.
What is the maximum permitted duration for a non-compete clause in Morocco?
The Moroccan Labour Code does not set a statutory maximum duration. Courts assess the duration in light of its proportionality to the activity and the position held. In practice, durations of between six months and two years are generally considered reasonable, depending on the sector and the level of responsibility involved.
Is it possible to insert a non-compete clause in a contract with an independent contractor or freelancer?
Yes, but in that case it does not constitute a non-compete clause within the meaning of employment law. It falls under general contract law and must be stipulated in the service agreement. The same principles of proportionality and balance apply, but the legal framework and available remedies differ.
What should you do if a former employee breaches the clause and you do not yet have immediate evidence?
It is advisable to build a documented file: bailiff's reports, witness statements, commercial documents, and records from professional social networks. The sooner you act, the stronger your position will be. Consult a specialist lawyer as soon as you become aware of a potential breach.
Checklist
- Assess the need for a clause: identify the positions that genuinely warrant protection (access to the client base, trade secrets, or sensitive processes).
- Define the geographical scope: specify the areas covered by the restriction based on your actual market.
- Set a reasonable and proportionate duration: tailor the duration to the industry sector and the employee's level of responsibility.
- Precisely define the prohibited activity: name the sectors, client types, or categories of products and services concerned.
- Provide for financial compensation: determine the amount of the monthly allowance to be paid during the restriction period.
- Draft a penalty clause: set in advance the fixed amount of damages payable in the event of a breach.
- Include a waiver option: stipulate the timeframe and procedure by which the employer may waive enforcement of the clause.
- Insert the clause in the individual employment contract: do not rely solely on internal company rules or a general memorandum.
- Have the clause reviewed by a legal professional: ensure compliance with Moroccan law and applicable case law.
- Retain a signed copy of the contract: archive employment contracts securely so they can be produced in the event of a dispute.
Conclusion
The non-compete clause is an essential protective instrument for businesses whose competitiveness depends on skilled personnel, strong client relationships, or distinctive know-how. However, its effectiveness depends entirely on the quality of its drafting. A vague, disproportionate, or uncompensated clause is a weakened clause — one that may prove unenforceable precisely when you need it most. In Morocco, where the legal framework remains largely uncodified on this point, rigorous contractual drafting is all the more critical.
If you wish to secure your employment contracts or verify the validity of your existing clauses, LegalStation is here to assist you with resources tailored to the Moroccan legal context. It is always better to anticipate than to react: protecting your business starts with well-drafted contracts.
Prêt à lancer votre activité au Maroc ?
Legalstation vous accompagne de A à Z : SARL, SAS, SA ou auto-entrepreneur. Statuts, immatriculation RC et suivi expert.

Commentaires
Soyez le premier à commenter cet article.