Permanent, fixed-term and temporary contracts in Morocco

The three main Moroccan employment-contract types, when each can be used, and common pitfalls to avoid.

Read: 7 min · Category: Labour law · Updated: 2026-04-18 · Reviewed: 2026-04-18

The Moroccan Labour Code (Law 65-99) governs three contract types: CDI (permanent, no end date), CDD (fixed-term, allowed only in a closed list of cases), and temp / agency work (tripartite, via a licensed agency). CDI is the legal default, any employment relationship is presumed CDI unless one of the CDD or temp exceptions strictly applies. CDDs signed outside the closed list, or renewed past the legal cap, are reclassified as CDI by the social court. This guide covers the rules, probation periods, mandatory written-contract fields, and the most common pitfalls.

Person signing a formal contract with a fountain pen
Every contract must be in writing. A CDD without a written contract is presumed CDI, a quiet but powerful protection for employees. Photo: Helloquence via Pexels. Pexels licence.

CDI, permanent contract

The CDI is the rule. Any employment relationship is presumed CDI unless another type’s strict conditions are met.

Features:

  • No fixed end date;
  • Probation capped by the Code:
    • 3 months for executives (renewable once),
    • 1.5 months for employees (renewable once),
    • 15 days for workers (renewable once);
  • Termination is framed, resignation (notice), dismissal (real and serious grounds, disciplinary procedure where applicable, severance), mutual agreement, force majeure.

CDD, fixed-term contract

A CDD is allowed only in closed list of cases under the Code:

  • Opening of a new company or establishment;
  • Launch of a new product;
  • Replacement of a temporarily absent employee;
  • Temporary increase in activity;
  • Seasonal work;
  • Jobs for which constant industry practice never uses anything but CDD.

Maximum duration:

  • 1 year, renewable once, i.e. 2 years max under the general regime;
  • Specific rules apply to “new-company” openings (the prevailing interpretation is 12 months non-renewable, verify).

Key consequences:

  • A CDD signed outside the closed list, or renewed beyond the legal cap, is reclassified as CDI by the social court.
  • Early termination by either party is tightly framed (force majeure, gross misconduct, mutual agreement), otherwise damages are owed.
  • The CDD must be in writing; without writing, CDI is presumed.
Two professionals exchanging a signed document across a desk
Ask for both signed copies on the spot. An employer who promises to "send it later" is a yellow flag, without a written contract, terms become a he-said-she-said. Photo: Sora Shimazaki via Pexels. Pexels licence.

Temp / agency work

Temporary work is a tripartite CDD:

  • The employee is employed by a licensed temporary-work agency (ETT);
  • They are placed with a user company for a defined mission;
  • Three contracts coexist, a mission contract (employee-ETT), a placement contract (ETT-user), and a functional subordination relationship from employee to user.

Authorised cases: similar to CDD (absence, increase in activity, seasonal), with capped durations. The mission must match a specific, non-durable task.

Mandatory written-contract fields

  • Parties’ identities and addresses, CNSS numbers (employer and employee);
  • Position, place of work;
  • Start date, duration (for CDD), probation;
  • Pay and ancillary components (bonuses, allowances, benefits);
  • Working hours;
  • Reference to the applicable collective agreement if any;
  • Probation.

Common pitfalls

  1. Abusive CDD renewals, risk of reclassification and damages.
  2. Disguised probation, chaining short CDDs to “test” a candidate circumvents probation rules.
  3. No written contract, case law is near-uniformly pro-employee.
  4. Internship vs CDD confusion, internships have a distinct regime (internship agreement) and must not be used to mask employment.
Close-up of a hand signing a formal document on a wooden desk
Before signing, verify every mandatory field below is present. Missing CNSS numbers, vague work location, or absent probation language are all common, and all worth pushing back on. Photo: Pixabay via Pexels. Pexels licence.

Looking for a CDI?

CDI is the default contract for most permanent hiring on Bayt’s Morocco listings. Filter Bayt.com job listings by “Full-time / Permanent”, and confirm CDI explicitly at offer time. Some employers default to CDD or “trial CDD” to delay commitment; ask.

Further reading

Rates and procedures change — check the latest version on the cited official source.

← All guides