Subscribe to our Newsletter
Get updates on HR, payroll, and compliance.
Contents
Recommended blogs
Most recent after the featured post.
Hiring remote workers in Morocco involves a series of key steps to ensure compliance and smooth onboarding. Whether you’re a company expanding your remote workforce or just starting to hire internationally, this step–by–step guide will help you navigate the process of hiring remote employees in Morocco effectively and legally.
Step 1: Understand Morocco Employment Laws
Before hiring, familiarize yourself with Moroccan labor laws (the Code du Travail), including minimum wage, working hours, leave entitlements, and termination rules. Morocco has well–defined labor regulations that protect employees, so compliance is crucial.
Good to Know
Standard Working Hours: In Morocco, the standard workweek is capped at 44 hours per week and 10 hours per day, distributed flexibly across five or six workdays. Overtime is paid at +25% for daytime hours, +50% for nighttime work and can reach up to 100% in some circumstances.
Termination Probation Period: Probation length depends on the employee’s category. For indefinite-term contracts: executives may be on probation for up to 3 months (renewable once, 6 months max), employees for up to 1.5 months (renewable once, 3 months max), and workers/laborers for up to 15 days (renewable once, 1 month max). For fixed-term contracts, probation is capped at roughly 2 weeks for contracts under 6 months, or 1 month for longer contracts.
Notice: Notice periods scale with seniority and role. Standard employees must receive 8 days’ notice under 1 year of service, 1 month with 1–5 years, and 2 months with over 5 years. Executives receive 1, 2, and 3 months respectively for the same tiers.
Severance Pay: Employees on an indefinite–term contract with at least 6 months of service who are dismissed without just cause are entitled to a graduated severance indemnity: 96 hours of salary per year for the first 5 years of seniority, 144 hours/year for years 6–10, 192 hours/year for years 11–15, and 240 hours/year beyond 15 years. Dismissals without just cause can also trigger damages of up to 1.5 months’ salary per year of seniority, capped at 36 months
Step 2: Choose Your Hiring Method
Foreign companies hiring employees in Morocco generally have three options: employ workers directly across borders, establish a local legal entity, or partner with a registered Employer of Record (EOR). Each approach offers different levels of compliance, cost, flexibility, and administrative responsibility. There is no one-size-fits-all answer; the right choice depends on your company’s needs, goals, and circumstances. Here’s a quick comparison to help you decide:
Step 3: Draft a Compliant Employment Contract
Creating a compliant employment contract is a critical step in hiring employees in Morocco. Employment contracts must adhere to the Moroccan Labor Code, ensuring that both the employer and employee understand their rights and obligations.
Article 16 of the Labour Code names three contract types by duration: an indefinite-term contract, a fixed-term contract, or a contract for the completion of a specific task. In practice, the two used for the vast majority of hires are the CDI and the CDD; the task-completion contract is a narrower, project-based option.
Indefinite-Term Contract (CDI)
Description: This is the standard, presumed form of employment in Morocco without a fixed end date. It offers the greatest job security and is used for permanent positions and ongoing operational needs.
Flexibility: Can be formed verbally, though a written contract is strongly recommended for documentation and proof. It continues until either party terminates it, subject to notice requirements.
Termination: Requires a notice period that scales with seniority and role (see Step 1), plus severance pay where dismissal is without just cause.
Fixed-Term Contract (CDD)
Description: Used for specific, temporary needs: replacing an absent employee, a temporary increase in activity, or seasonal work (Article 16). It cannot be used to fill a permanent position and should be in writing stating the reason for the fixed term.
Duration: There is no single universal duration cap on every CDD. A specific rule under Article 17 applies only when a company opens for the first time, launches a new establishment, or launches a new product in a non-agricultural sector in that case the CDD is capped at one year, renewable once. Agricultural-sector CDDs follow a separate rule: six months, renewable, up to a two-year total cap. For the more common CDD cases replacing an absent employee, a temporary spike in activity, or seasonal work the Code does not impose that same fixed cap; duration instead tracks the underlying reason for the contract.
Termination: Automatically ends on the specified expiration date. Where a duration cap applies (Article 17) and the contract is renewed or continues beyond it without a new agreement, it is automatically converted into an indefinite-term contract (CDI).
Third Contract Type & Other Specialized Arrangements
Contract for a Specific Task: A third category named in Article 16, distinct from the CDD, tied to completing a defined piece of work rather than a calendar end date.
Temporary Employment Agency Placement: Workers can be employed by a licensed staffing agency (“entreprise de travail temporaire”) and placed with a client company, under its own dedicated rules — distinct from an ordinary employer-employee CDD.
Apprenticeship Contracts: A separate legal regime applies to trainees and apprentices.
Key Requirements for Employment Contracts in Morocco:
- It is strongly recommended that all employment contracts in Morocco be in written form, in French or Arabic, to be easily enforceable. While a CDI can technically be verbal, written contracts are the safest way to avoid legal disputes.
- The contract must include specific details required by the Moroccan Labor Code: Read more about contract mandatory details
- Ensure the contract does not contain terms that are less favorable than those provided by Moroccan labor law, as these would be considered invalid.
- The employee must receive a copy of the signed contract, and both parties should acknowledge that they have read and understood the terms. This can be critical in preventing future legal issues.
Step 4: Register with Local Authorities
Register with the Moroccan Tax Authority (DGI)
You will need to obtain a tax identification number from the Direction Générale des Impôts (DGI) for your company if you don’t already have one. You must also register for income tax (IR) withholding and submit regular tax returns.
Register with the Social Security Fund (CNSS)
You will need to register your company and enroll each employee with the Caisse Nationale de Sécurité Sociale (CNSS) within eight days of their start date. This involves setting up the necessary systems to track and remit monthly contributions covering pensions, health insurance (AMO), family benefits, and workplace injury compensation.
Step 5: Set Up Payroll
- Choose a Bank: Select a bank that offers payroll services suitable for your company’s needs.
- Account Setup: Open a business bank account to handle salary payments and other business transactions.
- Gather Employee Information: Collect employee details, including personal info, CNSS number, DGI tax ID, and bank details, for payroll setup.
- Generate Payslips: Provide employees with payslips, in French or Arabic, detailing their gross salary, deductions, and net salary.
- Distribute Paychecks and File Taxes: Pay salaries, withhold Moroccan income tax (IR) on a progressive scale from 0% to 38%, deduct the employee’s 4.48% CNSS contribution, and remit the employer’s contribution of approximately 20–21%, depending on applicable contribution rates to CNSS.
- Reconcile Statements: Regularly reconcile your bank statements with payroll records to ensure accuracy and address any discrepancies promptly.
- Monitor Payments: Keep track of payment statuses and address any issues with delayed or incorrect transfers.
- Keep Documentation: Retain copies of bank statements, payroll files, CNSS declarations, and transaction records for compliance and auditing purposes.
Step 6: Provide Mandatory Benefits
Register with the Social Security Fund (CNSS)
Retirement is funded through the combined CNSS contributions roughly 4.48% from the employee and 20-21% from the employer which also cover disability, survivor benefits, and family allowances.
Paid Time Off (PTO)
- Annual Leave: Employees accrue 1.5 days of paid leave per month worked after 6 months of service, for a minimum of 18 days per year. This increases by 1.5 days for every additional 5 years of service, up to a maximum of 30 days. Employees under 18 receive 24 days annually.
- Public Holidays: Morocco recognizes approximately 13 15 paid public holidays each year, including fixed civil dates such as New Year’s Day and Labor Day, plus Islamic holidays like Eid al-Fitr and Eid al-Adha, which shift annually on the lunar calendar.
- Sick Leave: Employees must notify their employer and provide a medical certificate if an illness-related absence exceeds four days (Article 271). The Labour Code does not require employers to continue paying wages during sick leave unless otherwise provided by the employment contract, a collective agreement, or internal company policies. Eligible employees may instead receive sickness benefits through the National Social Security Fund (CNSS), subject to applicable contribution and eligibility requirements.
- Parental Leave: Mothers are entitled to 14 weeks of paid maternity leave (7 weeks before and 7 weeks after birth), with the option to extend up to one year unpaid. Fathers are entitled to 3 days of fully paid paternity leave, to be taken within the first month after birth.
Occupational Health and Safety Training
Employers must provide workplace health and safety training appropriate to the role, in line with Moroccan labor code requirements.
Medical Examination
A pre–employment of occupational medical examination is required for new hires, along with periodic follow–up exams depending on the nature of the role.
Step 7: Submit Tax and Contribution Reports
- Monthly Filings: Submit CNSS contribution declarations (bordereau) by the 10th of each month, and file income tax (IR) withholding reports with the DGI monthly.
- Annual Reporting: Prepare and submit the annual salary declaration (déclaration annuelle des salaires) summarizing payroll taxes and CNSS contributions for the year.
Step 8: Maintain Compliance & Employment Obligations
Regularly review your compliance with Moroccan labor laws, ensuring timely payment of taxes and CNSS contributions. Also, stay on top of employee-related obligations like annual leave, overtime, and changes in employment terms or terminations.
In Conclusion, hiring remote workers in Morocco can be smooth and compliant with the right knowledge and resources. From understanding local employment laws to setting up payroll and providing mandatory benefits, each step is essential for a successful remote workforce. Whether you establish a legal entity or partner with an Employer of Record (EOR), ensuring compliance is crucial to avoiding legal and financial risks.