In Morocco, a fixed-term contract (CDD) can only be signed in cases set by the Labor Code (Law no. 65-99): replacing an employee whose contract is suspended, a temporary increase in business activity, or seasonal work. Its duration is limited, and a contract kept running beyond its term becomes a permanent contract (CDI).
If you need to hire in Morocco without a local subsidiary, the difference between employee leasing and an Employer of Record changes the legal framework. Our guide to employee leasing versus EOR compares both options before you draft a contract. For hiring through an EOR, see how to hire employees in Morocco.
The text cited here is the consolidated version of the Labor Code dated 26 October 2011, published by the Moroccan Ministry of Justice. Later amendments are possible, so check the text in force before you sign.
When is a fixed-term contract allowed?
Article 16 sets the principle: a fixed-term contract can only be used when the working relationship could not have an indefinite duration. It is allowed in three cases: replacing an employee whose contract is suspended (unless the suspension results from a strike), a temporary increase in the company's activity, and seasonal work.
The same article leaves room for exceptions: certain sectors and exceptional cases may be set by regulation, after consulting the most representative professional and trade union organizations, or by a collective agreement. Outside these cases, a fixed-term contract does not hold.
What is the maximum duration of a fixed-term contract?
Article 17 sets the durations. When a company or a new establishment opens for the first time, or when a new product is launched for the first time, a fixed-term contract can run for a maximum of one year, renewable once. Once that period has passed, the contract becomes permanent.
In the agricultural sector, a fixed-term contract can be concluded for six months, renewable, provided the total duration of the contracts does not exceed two years. It then becomes a permanent contract.
What happens if a fixed-term contract runs past its term?
A contract concluded for a maximum of one year becomes permanent when it is kept running beyond its duration (article 17). Article 32 provides that the fixed-term contract ends on its due date, and article 33 that it ends at the agreed term or when the work it covers is finished.
An early termination by one party, without serious fault by the other party or force majeure, gives rise to damages (article 33). If a dispute follows, our article on wrongful dismissal in Morocco explains how claims are calculated.
What is the probation period for a fixed-term contract?
Article 14 limits the probation period: one day per week worked, capped at two weeks for a contract shorter than six months, and one month for a contract longer than six months. For the general rules, read our guide to the probation period in Morocco.
What does this mean in practice?
Before you sign a fixed-term contract, check that the need has a defined end date and falls within one of the three cases of article 16. Covering an absent employee or a seasonal peak fits that framework. A position that lasts cannot be covered by chained fixed-term contracts: beyond the legal frame, the contract becomes permanent.
For a profile that is not meant to stay with the company, or for a one-off need without a local entity, employee leasing or an Employer of Record can be better suited. Compare both formulas in our article on fixed-term or permanent contracts in employee leasing, then match the choice to the real nature of the assignment. The employment contract guide for Morocco remains the starting point for any direct hire.
Sources
Labor Code, Law no. 65-99, consolidated version of 26 October 2011: full text on adala.justice.gov.ma (in French).
