Expat & Nomad

Morocco Work Permit Guide

212 Dailyยท June 22, 2026ยท 2 min read
Morocco Work Permit Guide
To work legally as an employee in Morocco, a foreigner needs an employment contract approved by the Ministry of Labor. The Moroccan employer must usually obtain clearance from ANAPEC confirming no local candidate is available. Once the contract is stamped, the worker uses it to obtain a work-based carte de sejour.

How Work Authorization Works in Morocco

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.

The ANAPEC Labor Market Test

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.

Getting the Contract Approved

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).

Linking Work Authorization to Residency

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.

Documents and Timeline

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.

Practical Tips for Employees and Employers

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.

StepResponsible partyOutput
Job offer and contract draftEmployerForeign employment contract
Labor market testEmployer via ANAPECANAPEC attestation
Contract validationMinistry of LaborStamped contract
Residence applicationEmployeeWork-based carte de sejour
Social securityEmployerCNSS registration

Key steps to legal employment in Morocco

FAQ

Can I find a job in Morocco as a tourist and start working?

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.

What is the ANAPEC attestation for?

It confirms that no suitable Moroccan candidate was available for the role, which is generally required before a foreigner can be hired.

Do work permit rules change?

Yes, procedures and online systems are updated periodically. Confirm the current process with the Ministry of Labor or a local specialist before you start.

โ˜…โ˜…โ˜…โ˜…โ˜…Reader reactions

Loved this? Useful? React below โ€” your feedback helps other readers.

Leave a comment โ†’

More Morocco articles โ†’ Learn Darija โ†’