An employment certificate Morocco employers issue, known locally as the attestation de travail, is a document given at the request of an employee who is still in post, confirming that they are on the payroll, since when and in which role; the Labour Code (Law No. 65-99) does not regulate it, unlike the certificat de travail issued when the contract ends, which must be delivered within 8 days (Article 72). Employees use it for visa applications, loans, rentals and administrative formalities. Below you will find a ready-to-copy template, what to include and what to leave out, and how it differs from the leaving certificate and the salary statement issued by the CNSS (Morocco’s National Social Security Fund). Up to date as of 19 November 2026.

Key points

  • What: a dated document, signed and stamped by the company, confirming that a person is an employee.
  • When: during the contract, at the employee’s request. When the contract ends, the leaving certificate is due instead.
  • Legal basis: no article of the Labour Code covers it; it is standard practice. The leaving certificate is governed by Article 72.
  • Timing: no statutory deadline; it is customarily issued within a few working days.
  • Content: employee identity, start date, job title, contract type; salary only if the employee asks.
  • Complement: the CNSS lets employees download a statement of declared wages online, which does not replace the employer’s document.

Employment certificate Morocco: template to copy

Copy this template onto company letterhead, fill in the fields in brackets, then have it signed and stamped. In Morocco it is normally issued in French.

[Company name]
[Registered address]
RC (trade register): [number] – ICE (company identifier): [number] – CNSS employer number: [number]

EMPLOYMENT CERTIFICATE

I, the undersigned, [first name and surname], acting as [position] of [company name], hereby certify that:

Mr / Ms [first name and surname], holder of national ID card (CNIE) No. [number], registered with the CNSS under No. [number],

has been employed by our company since [start date] as [job title], category [manager / employee / worker], under a [permanent / fixed-term until …] contract.

The above-named person is still employed by us on the date of this certificate.

This certificate is issued at the employee’s request, for whatever purpose it may serve.

Done at [city], on [date].

[Name, position, signature and company stamp]

Variant: employment and salary certificate

Banks and some consulates ask for the salary. Add the following sentence before the closing formula, and only at the employee’s written request, since salary is personal data:

Their gross monthly pay amounts to [amount] dirhams, i.e. [amount] dirhams net, paid over [twelve / thirteen…] months.

Take the figures from the latest payslip in Morocco: a gap between the certificate and the payslips gets loan applications rejected. To check a net figure, use our free payroll simulators.

Employment certificate Morocco, leaving certificate, CNSS statement: the differences

These documents are often confused. They differ in timing, issuer and legal force.

  • Employment certificate (attestation de travail) : Issued by : The employer ; When : During the contract, on request ; Legal text : None: practice ; Content : Current employment, start date, role, salary if requested
  • Leaving certificate (certificat de travail) : Issued by : The employer ; When : When the contract ends, within 8 days at most ; Legal text : Labour Code, Article 72 ; Content : Only: start date, end date, positions held
  • Statement of declared wages : Issued by : The CNSS ; When : At any time, online ; Legal text : CNSS services ; Content : Wages and days declared by the employer
  • Final settlement receipt (reçu pour solde de tout compte) : Issued by : The employee, to the employer ; When : When the contract ends ; Legal text : Articles 73 to 76 ; Content : Amounts paid, 60 days to challenge it

The simple rule: while the employee is working, it is an employment certificate; when they leave, a leaving certificate is owed. Its template and content are covered in our guide to the certificate of employment in Morocco.

Employment certificate Morocco: what the law says

No written obligation, but consistent practice

The Labour Code has no article on the employment certificate. Nothing therefore requires the employer to issue it within a set time or prescribes its content. In practice, refusing without reason makes little sense: the document costs nothing and creates no new rights. It can, however, expose the company if it is inaccurate, for example a backdated start date or an inflated salary for a loan.

The leaving certificate is mandatory

When the contract ends, whatever the reason, the employer must issue a leaving certificate within eight days at most, failing which damages may be claimed (Article 72). Failure is also punishable by a fine of MAD 300 to 500 per employee concerned, capped at MAD 20,000 in total (Article 78). An employment certificate handed over on departure does not replace it.

Details that come from the contract

The role, category and contract type on the certificate must match the employment contract in Morocco. For a fixed-term contract, state the planned end date; see our guide to the fixed-term contract in Morocco.

What an employment certificate Morocco should contain

  • Company identity (name, address, identifiers) : Status : Essential ; Advice : Letterhead, with the CNSS employer number the recipient can cross-check
  • Employee identity and CNIE number : Status : Essential ; Advice : Copy the ID card exactly, including accents and order of first names
  • Start date : Status : Essential ; Advice : The date declared to the CNSS on hiring, not the date the probation ended
  • Job title and category : Status : Essential ; Advice : As in the contract or latest amendment
  • Contract type : Status : Recommended ; Advice : Permanent, or fixed-term with its end date
  • Salary : Status : On employee request ; Advice : Gross and net from the latest payslip
  • Appraisal, reason for absence, health : Status : Leave out ; Advice : No sensitive data; a reference letter is a separate document
  • Date, signature, stamp : Status : Essential ; Advice : Authorised signatory: director, HR director or delegate

The start date can be checked against the employee registration in Morocco filed with the CNSS: that is the date the fund knows, and the one a lender will cross-check.

Worked example: a certificate with salary for a loan

As an illustration, take an executive assistant hired on a permanent contract on 1 March 2021, paid MAD 9,000 gross per month over twelve months, who asks on 19 November 2026 for an employment and salary certificate for her bank.

  • Length of service : Calculation : 1 March 2021 to 19 November 2026 ; What goes on the certificate : 5 years, 8 months and 18 days (start date alone recommended)
  • Gross monthly salary : Calculation : Latest payslip ; What goes on the certificate : MAD 9,000
  • Gross annual salary : Calculation : 9,000 × 12 ; What goes on the certificate : MAD 108,000
  • Net monthly salary : Calculation : Latest payslip, after CNSS, AMO (health insurance) and income tax ; What goes on the certificate : Exact payslip figure, not rounded

Write the start date rather than a computed length of service: it never goes out of date. For the net figure, do not recalculate by hand; use the payslip or our guide to net salary calculation in Morocco.

The CNSS statement of declared wages

Employees can also download, from their CNSS online account or the Ma CNSS app, a statement of the wages their employer has declared in their name. It does not replace the employment certificate Morocco employers issue: it proves past declarations, not current employment. It is, however, a useful way to check that wages were declared every month. Login steps are described on our CNSS Morocco online page.

For employers: issuing an employment certificate Morocco staff can rely on

  • One process: a written request (email or HR portal), an approved template, a named signatory and a deputy.
  • Data at source: dates, role and salary taken from the employee file and payroll, never retyped.
  • A record: keep a dated copy of every certificate.
  • A check: for an employee serving notice, say so if the recipient asks; see our guide to the notice period in Morocco.

HR and payroll software in Morocco that issues employment certificates pulls the identity, start date, role and latest salary automatically, and lets employees request the document from their app. All our practical guides are gathered in payroll in Morocco.

Common mistakes

  • Handing over an employment certificate on departure instead of the leaving certificate required by Article 72.
  • Stating the salary when the employee did not ask for it.
  • Writing “permanent” for a fixed-term contract, or leaving out the end date.
  • Letting an unauthorised person sign, or forgetting the stamp.
  • Backdating or rounding: the company answers for an inaccurate document.

Frequently asked questions

Is the employer required to provide an employment certificate in Morocco?

No article of the Labour Code requires it: it is standard practice. The legal obligation concerns the leaving certificate, due within 8 days of the end of the contract (Article 72).

How long does it take to get an employment certificate Morocco employers issue?

There is no statutory deadline. A few working days is customary; allow a margin for a consulate appointment.

What is the difference between an employment certificate and a leaving certificate?

The first is issued during the contract, freely; the second is mandatory at the end, limited to start date, end date and positions held (Article 72).

Does the certificate need a legalised signature?

The Labour Code does not require it. Some recipients, especially foreign ones, ask for the signatory’s signature to be legalised: check with them first.

Should the certificate state the salary?

No, unless the employee asks. It then becomes an employment and salary certificate.

Can an employee on probation get one?

Yes: they are on the payroll. You may state that they are on a probation period in Morocco if the recipient asks.

Does the CNSS statement replace the employer’s certificate?

No. It proves declared wages, not current employment. The two complement each other in a bank file.

Is there a Word template?

The template above can be pasted into any word processor. Our general page on the employment certificate compares the rules in other African countries.

Key takeaways

  • An employment certificate Morocco employers issue is given during the contract, on request, with no statutory deadline.
  • It states identity, start date, role and contract type; salary only at the employee’s request.
  • At the end of the contract, the leaving certificate is due within 8 days (Article 72), on pain of a fine (Article 78).
  • The CNSS wage statement complements it but does not replace it.

The Labour Code is published by the Ministry of Justice (consolidated text of Law No. 65-99, in French) and amendments appear in the Official Bulletin of the General Secretariat of the Government. To issue every HR document in a few clicks, book a Socium demo.

Want to go further?

See how Socium transforms HR and payroll practices across 12 African countries.