Morocco ties the right to work to an approved employment contract rather than a standalone work visa. The contract between a foreign employee and a Moroccan employer must be validated by the Ministere du Travail (Ministry of Labor and Professional Integration) before the foreigner can lawfully start work.
This means the process is employer-driven. You cannot simply arrive and look for work as a tourist; a registered Moroccan company must sponsor you, prepare the contract and shepherd it through the approval system.
Before hiring a foreigner, the employer is generally required to show that the position could not be filled by a Moroccan national. This is done through ANAPEC, the national employment agency, which issues an attestation confirming the absence of a suitable local candidate.
Certain roles, sectors and senior positions may be exempt or expedited, and some bilateral agreements ease the process for particular nationalities. The ANAPEC attestation is a cornerstone of the file, so employers usually begin here.
The employer submits the standard foreign employment contract (contrat de travail d'etranger) along with the ANAPEC attestation, company documents and the employee's credentials to the labor authorities, increasingly through an online portal. Once approved and stamped, the contract becomes the legal basis for employment.
The employee should keep certified copies of the approved contract. It is required later to obtain or update the carte de sejour, and to register with social security (CNSS).
Holding an approved contract is not the same as having residency. After the contract is stamped, the worker applies for a work-based carte de sejour at the local foreign police, presenting the contract, proof of accommodation, photos and the usual personal documents.
The residence card and the employment authorization renew on parallel tracks, so it is important to keep both current. A lapse in either can interrupt your legal right to live and work in the country.
A typical file includes the foreign employment contract, ANAPEC attestation, diplomas and CV, passport copies, photos, and the employer's company registration. Diplomas may need to be translated and sometimes recognized depending on the profession.
Timelines vary widely depending on the sector, the completeness of the file and the prefecture. Plan for several weeks to a few months from offer to fully authorized employment, and coordinate closely with the employer's HR or legal team.
Employees should confirm the employer is genuinely willing to handle the ANAPEC and Ministry steps before relocating, and should never start work informally while waiting. Working without authorization risks penalties for both parties.
Employers benefit from engaging a local lawyer or HR specialist familiar with current procedures, as portals and requirements change. Keeping copies of every approval and registration protects both sides during renewals and inspections.
| Step | Responsible party | Output |
|---|---|---|
| Job offer and contract draft | Employer | Foreign employment contract |
| Labor market test | Employer via ANAPEC | ANAPEC attestation |
| Contract validation | Ministry of Labor | Stamped contract |
| Residence application | Employee | Work-based carte de sejour |
| Social security | Employer | CNSS registration |
Key steps to legal employment in Morocco
No. You need an employment contract approved by the Ministry of Labor first. Working without authorization is illegal and risks penalties for you and the employer.
It confirms that no suitable Moroccan candidate was available for the role, which is generally required before a foreigner can be hired.
Yes, procedures and online systems are updated periodically. Confirm the current process with the Ministry of Labor or a local specialist before you start.
Loved this? Useful? React below โ your feedback helps other readers.