general-regulation

Hiring a Foreign Employee in Morocco | Upsilon Consulting

Salaheddine YatimYassine Benjelloun Touimi

Salaheddine Yatim, Yassine Benjelloun Touimi

Upsilon Consulting

Share
Hiring a Foreign Employee in Morocco | Upsilon Consulting

In brief: Hiring a foreign employee in Morocco requires an ANAPEC certificate, an employment contract visa via the TAECHIR platform, CNSS registration, and IR withholding. The full process takes 3 to 5 months. CFC companies benefit from simplified procedures.

With over 15 years of experience handling work permit applications and foreign employee onboarding, Upsilon Consulting’s team provides authoritative guidance on every step of the process.

Hiring a foreign employee in Morocco is a process governed by the Moroccan Labor Code. The employer must follow several procedures and formalities to obtain a work permit, officially known as the authorization from the Ministry of Labor and Professional Integration. This comprehensive guide covers every step, from legal obligations to tax and social security implications.

The Moroccan Labor Code dedicates articles 516 through 520 to the employment of foreign workers. Here are the key provisions:

  • Article 516: any employer wishing to hire a foreign employee must obtain authorization from the government authority responsible for labor. This authorization takes the form of a visa affixed to the employment contract. The contract only becomes effective from the date of the visa.
  • Article 517: the employment contract for foreign workers must conform to the model established by the Ministry of Labor.
  • Article 518: the contract must stipulate that if authorization is refused, the employer commits to covering the costs of repatriating the foreign employee.
  • Article 519: security deposits made by contractors cannot be refunded until an administrative certificate is produced confirming payment of return costs for foreign employees.
  • Article 520: multilateral international conventions relating to the employment of foreigners in Morocco remain applicable.

The granting of the visa serves a dual objective: protecting the Moroccan workforce by giving it priority, and meeting the country’s need for foreign skills necessary for economic development.

ANAPEC Certificate: Proving No Local Candidate Is Available

Before any hiring, the company must obtain a certificate from ANAPEC (National Agency for the Promotion of Employment and Skills). This certificate confirms that no Moroccan candidate can fill the position in question.

Procedure to Obtain the ANAPEC Certificate

The procedure is as follows:

  1. The employer publishes an advertisement in a national newspaper with a call for applications.
  2. ANAPEC also distributes the offer through its own channels for a period of 15 days.
  3. If no Moroccan candidate applies or if the interviews are inconclusive, ANAPEC issues the certificate.
  4. The processing time is approximately 60 days.

Categories Exempt from the ANAPEC Certificate

The law exempts certain categories from the obligation to obtain this certificate:

  • Management positions (List A: CEO, Director, etc.) with a simplified procedure (organizational chart and legal file);
  • Foreigners born in Morocco and legally residing there;
  • Spouses of Moroccan nationals or foreign residents legally residing in Morocco (family reunification);
  • Residents in Morocco as employees continuously for more than 10 years;
  • Authorized representatives and managers of companies or associations;
  • Partners and shareholders of the company;
  • Artists and athletes;
  • Employees working within companies holding Casablanca Finance City (CFC) status;
  • Nationals of countries linked to Morocco by bilateral agreements (Algeria, Tunisia, Senegal, etc.).

Procedure for Obtaining the Employment Contract Visa

Visa applications must be submitted electronically through the TAECHIR platform of the Ministry of Labor. This platform allows you to:

  • Access necessary information about the procedure;
  • Submit contract visa applications;
  • Generate the list of required documents;
  • Track the progress of your file in real time.

The Ministry’s response time is set at a maximum of 10 working days after receiving the complete file.

Documents Required for the Visa File

The file must include the following documents:

  • A model V form printed from the TAECHIR system;
  • Three original contracts signed by the employer and employee (according to the official template);
  • Certified copies of the employee’s diplomas and work certificates;
  • Copy of the identity page of the employee’s passport;
  • Legal documents of the employer (trade register, articles of association, business tax, depending on legal form);
  • Employer identification form and job description;
  • ANAPEC certificate (except for exempt categories);
  • Sworn translation into French or Arabic of documents in foreign languages.

Any company wishing to hire a foreign employee may entrust this procedure to an authorized representative. Upsilon Consulting can handle the procedure for you: Contact us.

Residence Permit and Entry Visa

Once the employment contract has been approved by the Ministry, the foreign employee must obtain a residence permit (carte de séjour) from the General Directorate of National Security (DGSN).

Entry Visa Requirements by Nationality

Visa requirements vary depending on the employee’s nationality. Nationals of certain countries (European Union, United States, Canada, etc.) are exempt from visa requirements for stays of less than 90 days. Beyond that, or for work-related stays, a long-stay visa is required, obtained from the Moroccan consulate in the country of residence.

Obtaining the Residence Permit

The residence permit is issued for a duration of 1 to 10 years, consistent with the duration of the employment contract visa. Required documents include the approved employment contract, a valid passport, identity photos, a medical certificate, and proof of address in Morocco.

CNSS Registration and Social Security Coverage

Every foreign employee working in Morocco must be registered with the National Social Security Fund (CNSS). The employer is required to:

  • Register the foreign employee with the CNSS from the start of the contract;
  • Pay both employer and employee contributions (family allowances, social benefits, AMO);
  • Enroll the employee in the Mandatory Health Insurance (AMO) scheme.

Contribution rates are identical to those applicable to Moroccan employees. However, if a bilateral social security agreement exists between Morocco and the employee’s country of origin, the employee may be exempt from Moroccan contributions and continue contributing to their home country’s social security system.

Tax Implications for Foreign Employees

Income Tax (IR)

A foreign employee residing in Morocco is subject to Income Tax (Impôt sur le Revenu - IR) based on the progressive Moroccan tax scale, applied to net taxable income. The employer is required to withhold IR at source each month and remit it to the Treasury.

Tax Treaties and Double Taxation

Morocco has signed double taxation avoidance agreements with over 50 countries. These treaties prevent a foreign employee from being taxed in both their country of origin and Morocco. It is essential to verify the existence of such a treaty before recruitment.

Tax Clearance Certificate (Quitus Fiscal) Upon Departure

When a foreign employee permanently leaves Morocco, they must obtain a tax clearance certificate (quitus fiscal) from the tax administration. This document certifies that they are in compliance with their Moroccan tax obligations. Without this certificate, difficulties may arise in future administrative procedures.

Duration, Renewal, and Penalties

Duration and Renewal of the Work Permit

The employment contract visa is granted for a duration of 1 to 10 years. Renewal must be requested before the current visa expires. The renewal file varies depending on whether the employee remains with the same employer or changes employers.

Penalties for Employment Without Authorization

Article 521 of the Labor Code provides for a fine of 2,000 to 5,000 dirhams for any employer who:

  • Hires a foreign employee without obtaining the authorization required under Article 516;
  • Employs a foreign employee whose contract does not conform to the official template (Article 517);
  • Fails to comply with repatriation obligations (Articles 518 and 519).

The fine is applied for each employee found in violation.

Special Cases: CFC, Free Zones, and Intra-Company Transfers

Casablanca Finance City (CFC)

Companies with CFC status benefit from a simplified procedure. Their foreign employees are exempt from the ANAPEC certificate and may enjoy specific tax advantages, including a reduced IR rate of 20% on salaries for the first 5 years.

Export Free Zones

Companies established in free zones (Tangier, Kenitra, etc.) also benefit from streamlined procedures for hiring foreign employees, along with attractive tax and customs advantages.

Intra-Company Transfers

Multinational companies that second employees to Morocco through intra-company transfers may benefit from specific procedures, particularly for temporary assignments of less than 6 months.

Practical Timeline and Estimated Costs

Here is an indicative timeline for hiring a foreign employee in Morocco:

  1. Publication of advertisement and ANAPEC certificate: approximately 60 days;
  2. File preparation and submission on TAECHIR: 1 to 2 weeks;
  3. Obtaining the employment contract visa: maximum 10 working days;
  4. Entry visa (if required): 2 to 4 weeks depending on the consulate;
  5. Residence permit application: 1 to 3 months.

In total, the complete process takes between 3 and 5 months. Costs include advertisement publication fees, fiscal stamps, sworn translation fees, and representative fees where applicable.

Upsilon Consulting can assist you through all these steps: Contact Upsilon Consulting.

Frequently Asked Questions

What authorization is needed to hire a foreign employee in Morocco?

Hiring a foreign employee in Morocco requires obtaining an employment contract visa (attestation ANAPEC) from the Ministry of Employment. The employer must first publish a job advertisement with ANAPEC and demonstrate that no qualified Moroccan candidate is available for the position. The complete process is handled through the TAECHIR digital platform.

How long does it take to hire a foreign employee in Morocco?

The complete hiring process typically takes between 3 and 5 months. This includes approximately 60 days for the ANAPEC certificate, 1 to 2 weeks for file preparation, up to 10 working days for the contract visa, 2 to 4 weeks for the entry visa, and 1 to 3 months for the residence permit application.

Can a foreign employee register as self-employed in Morocco?

Foreign nationals may register as self-entrepreneurs (auto-entrepreneurs) in Morocco under certain conditions. However, the standard process for foreign employees involves obtaining a work permit through an employer. The regulatory framework for self-employment by foreigners has specific requirements that should be verified with the relevant authorities.

READ ALSO

Create Your Company in Morocco

Branch of a Foreign Company in Morocco

Can a Foreigner Register as a Self-Entrepreneur in Morocco?

Severance Pay in Morocco

Upsilon

Consulting

An independent firm, hands-on expertise

Upsilon Consulting is a chartered accounting, audit and tax advisory firm, member of the Moroccan Institute of Chartered Accountants. Our team of 40+ professionals has been supporting Moroccan and multinational companies for over 15 years. Our multidisciplinary approach and client proximity allow us to support you with rigour and responsiveness.

OEC Members Technical expertise Multidisciplinary approach Client proximity

Let's talk about your project

Contact us for a free consultation. Our experts respond within 24h.

They trust us

PfizerAlstomDrägerCFAO MotorsCDG CapitalBourse de Casablanca