A certificate of employment Morocco employers issue at the end of a contract, the certificat de travail, is mandatory: when the contract ends, whatever the reason, the employer must deliver it to the employee within eight days at most, failing which damages may be claimed, and it must state only the start date, the end date and the positions held (Article 72 of the Labour Code, Law No. 65-99). Late delivery or a missing detail is also punishable by a fine of MAD 300 to 500 per employee (Article 78). Here you will find a ready-to-copy template, the permitted and prohibited details, and how it differs from the employment certificate issued during the contract (attestation de travail) and the final settlement receipt. Up to date as of 19 November 2026.
Key points
- Who: every employee whose contract ends: permanent or fixed-term, resignation, dismissal, end of probation or retirement.
- Deadline: 8 days at most after the contract ends (Article 72).
- Mandatory and exclusive details: start date, end date, positions held.
- Optional details: professional qualifications and services rendered, only if both parties agree.
- Tax: exempt from registration duties, including with the wording “free of any commitment” (libre de tout engagement).
- Penalties: damages (Article 72) and a fine of MAD 300 to 500 per employee, capped at MAD 20,000 (Article 78).
Certificate of employment Morocco: template to copy
This template follows Article 72. Copy it onto letterhead, in two copies, and have it signed by an authorised person. In Morocco it is normally issued in French.
[Company name]
[Registered address]
RC (trade register): [number] – ICE (company identifier): [number] – CNSS employer number: [number]CERTIFICATE OF EMPLOYMENT
I, the undersigned, [first name and surname], acting as [position] of [company name], certify that:
Mr / Ms [first name and surname], holder of national ID card (CNIE) No. [number], registered with the CNSS under No. [number],
was employed by our company from [start date] to [end date],
and held the following positions in succession:
– [position 1];
– [position 2].[Optional, with both parties’ agreement: professional qualifications and services rendered.]
Mr / Ms [surname] leaves us free of any commitment.
This certificate is issued for whatever purpose it may serve.
Done at [city], on [date], in two copies.
[Name, position, signature and company stamp]
Received on [date]: [employee’s signature]
Do not state the reason for leaving, the salary or any appraisal not agreed: Article 72 says “exclusively”. The end date is the last day of the contract, notice included, even if the employee was released from serving it.
What Article 72 of the Labour Code says
Article 72 has three paragraphs that set the whole regime of the certificate of employment Morocco requires.
- Obligation and deadline : Content : Delivery when the contract ends, within eight days at most, failing which damages may be claimed ; In practice : Prepare it with the final payslip, not afterwards
- Exclusive details : Content : Start date, end date, positions held ; In practice : No reason for leaving, no salary
- Optional details : Content : Professional qualifications and services rendered, by agreement ; In practice : Keep a written record of the employee’s agreement
- Exemption : Content : No registration duties, even with extra details or the wording “free of any commitment” ; In practice : No stamp duty or fees
Penalties under Article 78
A fine of MAD 300 to 500 applies to failing to make the certificate available, omitting a required detail, or delivering it late. The fine applies once per employee concerned, with a total cap of MAD 20,000 (Article 78). On top of that, the employee may claim damages if harmed, for example a delayed hire for lack of a certificate.
Certificate of employment or employment certificate?
The two documents are often confused, but their timing and legal regime differ.
- Timing : Leaving certificate (certificat de travail) : At the end of the contract ; Employment certificate (attestation de travail) : During the contract
- Legal text : Leaving certificate (certificat de travail) : Labour Code, Article 72 ; Employment certificate (attestation de travail) : None: practice
- Mandatory : Leaving certificate (certificat de travail) : Yes, for every leaver ; Employment certificate (attestation de travail) : No, issued on request
- Deadline : Leaving certificate (certificat de travail) : 8 days at most ; Employment certificate (attestation de travail) : No statutory deadline
- Content : Leaving certificate (certificat de travail) : Only start date, end date, positions ; Employment certificate (attestation de travail) : Free: role, contract type, salary on request
- Penalty : Leaving certificate (certificat de travail) : Damages and fine (Articles 72 and 78) ; Employment certificate (attestation de travail) : None specific
The template for a current employee is in our guide to the employment certificate in Morocco. An attestation handed over on departure never replaces the leaving certificate.
Worked example: year-end departures
As an illustration, take an SME in Casablanca where four employees leave on Monday 30 November 2026: two resignations, one fixed-term contract ending and one probation termination.
- End of contract : Rule : Last day of the contract ; Result : 30 November 2026
- Delivery deadline : Rule : 8 days at most (Article 72) ; Result : Tuesday 8 December 2026
- Fine if no certificate is delivered on time : Rule : MAD 300 to 500 × 4 employees (Article 78) ; Result : MAD 1,200 to 2,000, plus possible damages
- Fine cap : Rule : Total limited (Article 78) ; Result : MAD 20,000
The real cost is not the fine but the dispute: an employee unable to prove their employment dates to a new employer has an easy loss to show.
Certificate of employment Morocco by reason for leaving
- Resignation: due at the end of notice; see our resignation letter in Morocco template and the guide to the notice period in Morocco.
- Dismissal, including for serious misconduct: still due, without mentioning the misconduct; see severance pay in Morocco.
- End of a fixed-term contract: due at the end date; see the fixed-term contract in Morocco.
- Probation termination: the contract existed, so the certificate is due; see the probation period in Morocco.
- Retirement: due, and useful for pension formalities.
Other leaving documents alongside the certificate of employment Morocco requires
The final settlement receipt
This is the receipt the employee gives the employer for the sums paid on leaving (Article 73). On pain of nullity, it states the total with an itemised breakdown, the 60-day limitation period in legible type, and that it was made in two copies, one given to the employee; the signature is preceded by “lu et approuvé” (read and approved) (Article 74). The employee may challenge it within 60 days of signing, by registered letter with acknowledgement of receipt or by court summons (Article 75).
The final payslip
It covers pay up to the end date, pay in lieu of untaken leave and, where relevant, termination payments; see the payslip in Morocco and our free payroll simulators.
Leaving the CNSS declaration
The employee no longer appears in the wage declaration for the month after departure. The statement of declared wages they can download from the CNSS (Morocco’s National Social Security Fund) complements the certificate; see CNSS Morocco online.
Common mistakes
- Waiting for the final settlement before issuing the certificate: the two are independent and the 8-day period runs regardless.
- Stating the reason for leaving (“resignation”, “dismissed for misconduct”): not on the Article 72 list.
- Adding an appraisal without the employee’s agreement.
- Withholding the certificate until equipment is returned or an advance repaid: the Code sets no such condition.
- Forgetting a position after a promotion or transfer.
HR and payroll software in Morocco that issues the certificate of employment takes the dates and position history from the employee file and produces it with the final payslip. All our guides are gathered in payroll in Morocco.
Frequently asked questions
Is a certificate of employment Morocco employers issue mandatory?
Yes, for every end of contract, whatever the reason (Article 72).
What is the deadline for a certificate of employment Morocco requires?
Eight days at most after the contract ends (Article 72).
What must the certificate contain?
Only the start date, end date and positions held; qualifications and services rendered may be added if both parties agree.
Can the reason for leaving appear on it?
No: it is not among the details allowed by Article 72.
What is the penalty if the employer does not issue it?
Damages (Article 72) and a fine of MAD 300 to 500 per employee, capped at MAD 20,000 in total (Article 78).
What does “libre de tout engagement” mean?
That the contract ended normally and the employee is free to take another job. The wording triggers no registration duties (Article 72).
Is an employee dismissed for serious misconduct entitled to it?
Yes. Serious misconduct removes notice and severance pay, not the certificate.
Is one due at the end of a fixed-term contract or probation?
Yes: Article 72 covers every end of contract. Our general page on the certificate of employment compares other countries.
Key takeaways
- A certificate of employment Morocco employers issue is due for every leaver, within 8 days at most.
- It states only start and end dates and positions held.
- Qualifications and services rendered: only with both parties’ agreement.
- Penalties: damages and a fine of MAD 300 to 500 per employee, capped at MAD 20,000.
- It does not replace the final settlement receipt or the final payslip.
Reference texts: consolidated Labour Code published by the Ministry of Justice (in French), Articles 72 to 78; amendments appear in the Official Bulletin. To produce every leaving document without omissions, book a Socium demo.
Want to go further?
See how Socium transforms HR and payroll practices across 12 African countries.