Back to Insights & Guides
MoroccoHiringPayrollCNSSLabour Law

Hiring Employees in Morocco: Contracts, CNSS and Costs

EC

Edgar Cayuelas

December 2, 2026 · 11 min read

Edgar Cayuelas is the founder of Indegate Consulting, where he works directly with foreign companies on market entry, regulatory strategy, and trade & investment promotion across African markets.

Once a foreign company has its Moroccan entity, the next questions are practical: which contract to offer, what the minimum wage is, how much social security the company pays on top of salary, and how to bring in a manager from abroad. Moroccan employment law is set out in the Labour Code, law 65-99, and social contributions are collected by the CNSS, the national social security fund. Indegate Consulting is headquartered in Casablanca and advises foreign companies setting up and hiring in Morocco. This guide covers the rules and rates that apply in 2026, with a worked example of what an employee really costs.

If you have not yet created the company, read our guide on how to open a company in Morocco first. The company must be registered and affiliated with the CNSS before the first employee starts.

Which Employment Contract Should You Use?

Indefinite contracts are the default

Article 16 of the Labour Code allows a contract of indefinite duration (CDI), a fixed-term contract (CDD) or a contract for a defined task. The fixed-term contract is restricted. It can only be used to replace an absent employee, to cover a temporary increase in activity, for seasonal work, or in sectors and cases set by regulation or collective agreement. A role that is permanent by nature should be on an indefinite contract. Written contracts are exempt from registration duties under article 18, and a written contract is the only sensible choice for a foreign employer because it fixes the job, pay, place of work and notice terms.

The new-company exception

Article 17 gives new businesses more room. When a company opens for the first time, opens a new establishment or launches a new product, it can use a fixed-term contract of up to one year, renewable once, outside agriculture. After that period the contract becomes indefinite in all cases. A one-year contract kept running past its end date also becomes indefinite. Many foreign subsidiaries use this window for their first hires while they test demand.

Probation periods

Under article 14, the probation period on an indefinite contract is three months for managers, one and a half months for employees and fifteen days for workers, renewable once. On a fixed-term contract it cannot exceed one day per week of work, within two weeks, for contracts under six months, and one month for longer contracts.

What Is the Minimum Wage and the Legal Working Week?

The minimum wage for non-agricultural work (SMIG) rose by 5 percent on 1 January 2026, from 17.10 MAD to 17.92 MAD per hour, under a decree published in the Bulletin Officiel on 29 December 2025. On a standard 191-hour month that is about 3,422.72 MAD gross. The agricultural minimum (SMAG) rose to 97.44 MAD per day from April 2026. Article 184 sets normal working time outside agriculture at 2,288 hours a year or 44 hours a week. The annual total can be spread across the year according to the company's needs, provided no normal working day exceeds ten hours. After six months of continuous service, employees earn paid annual leave of one and a half working days per month of service under article 231. Most skilled roles a foreign company hires in Casablanca or Rabat pay well above the minimum wage, but the SMIG still matters for drivers, warehouse staff and junior support roles.

What Are the Rules on Overtime, Weekly Rest and Maternity Leave?

Three more Labour Code rules shape payroll and scheduling. Overtime is paid at a premium under article 201. Hours worked between 6 a.m. and 9 p.m. in non-agricultural activities carry a 25 percent premium, and hours between 9 p.m. and 6 a.m. carry 50 percent. Those premiums rise to 50 and 100 percent when the overtime falls on the employee's weekly rest day, even if compensatory rest is also given. The premium is calculated on salary and its regular supplements, so budget for it if your operation runs evenings or weekends.

Weekly rest of at least 24 consecutive hours, from midnight to midnight, is compulsory under article 205. Article 206 allows it to fall on Friday, Saturday, Sunday or the local weekly market day, and it must be given to all employees of the same establishment at the same time. Businesses that must stay open to the public, such as retail or customer service, can rotate the rest day among staff under article 207.

Under article 152, an employee whose pregnancy is confirmed by a medical certificate is entitled to 14 weeks of maternity leave, unless the contract, a collective agreement or the internal regulation is more generous. Article 153 forbids employing her during the seven consecutive weeks after childbirth. Plan cover for these absences in small teams, where one person on leave can stop a function.

How Much Social Security Does the Employer Pay?

Contributions are paid monthly to the CNSS. Some branches are calculated on the full salary and others on salary capped at 6,000 MAD a month. The rates below were checked in 2026.

ContributionEmployerEmployeeBase
Family allowances6.40%0%Full salary
Short-term benefits1.05%0.52%Capped at 6,000 MAD
Long-term benefits (pension)7.93%3.96%Capped at 6,000 MAD
Compulsory health insurance (AMO)4.11%2.26%Full salary
Job-loss allowance (IPE)0.38%0.19%Capped at 6,000 MAD
Vocational training tax1.60%0%Full salary

Work-accident cover is arranged separately with a private insurer, and many employers add supplementary pension or health plans for managers. Those are not included in the table.

How Is Income Tax Withheld on Salaries?

The employer withholds income tax (IR) from each salary and pays it to the tax administration. The 2025 Finance Law raised the tax-free band from 30,000 to 40,000 MAD a year and cut the top rate from 38 to 37 percent. The annual scale is: up to 40,000 MAD exempt, 40,001 to 60,000 MAD at 10 percent, 60,001 to 80,000 MAD at 20 percent, 80,001 to 100,000 MAD at 30 percent, 100,001 to 180,000 MAD at 34 percent, and above 180,000 MAD at 37 percent. Tax is calculated on taxable salary after employee social contributions and the allowance for professional expenses, and each dependant reduces the tax by 500 MAD a year. The 2027 Finance Bill proposes further cuts from January 2027, so check the scale in force with the tax administration (DGI) when you set up payroll.

What Does an Employee Really Cost? A Worked Example

Take a project manager in Casablanca on a gross salary of 10,000 MAD a month. Applying the 2026 rates above:

LineEmployer (MAD)Employee (MAD)
Family allowances, 6.40% of 10,000640.000
Short-term benefits, on 6,00063.0031.20
Pension, on 6,000475.80237.60
AMO, on 10,000411.00226.00
IPE, on 6,00022.8011.40
Vocational training tax, 1.60% of 10,000160.000
Total contributions1,772.60506.20

The monthly cost to the employer is 11,772.60 MAD before work-accident insurance and any benefits, or about 17.7 percent above gross salary. The employee's social contributions of 506.20 MAD come off the gross, and income tax is then withheld on the taxable balance. Because three branches are capped at 6,000 MAD, the employer percentage falls as salaries rise, which makes senior Moroccan hires cheaper in relative terms than in most of Europe.

What Are the Onboarding Steps?

Before the first day, make sure the company itself is affiliated with the CNSS. Then, for each hire, sign a written contract that states the role, salary, place of work and probation, declare the employee to the CNSS so they are covered from the start, and add them to payroll for monthly contribution and income tax filings. Keep a personnel register and issue payslips every month. Set out working hours, leave rules and internal procedures in an internal regulation once the headcount grows. Companies that plan several hires in the first year should choose a payroll provider or accountant before recruiting, because late CNSS declarations carry penalties and slow down the employee's access to health cover.

How Do You Hire a Foreign Employee in Morocco?

Article 516 of the Labour Code requires any employer recruiting a foreign employee to obtain authorisation from the labour ministry, granted as a visa stamped on the employment contract. The visa date is the date the contract takes effect, any later change to the contract needs a new visa, and the authorisation can be withdrawn. The contract must follow the official model for foreign employees (article 517), and the employer must commit to pay the employee's return journey if the authorisation is refused (article 518). In most cases the file includes a certificate from ANAPEC, the national employment agency, confirming that no Moroccan candidate was found for the post after the vacancy was published. Some profiles are exempt from that certificate, including company managers and partners, spouses of Moroccan nationals and staff of Casablanca Finance City companies. Visa requests are submitted online on the ministry's TAECHIR platform. Practitioners advise planning two to four months between contract signature and the employee's start, and the employee still needs a residence card separately.

What Are the Rules for Ending an Employment Contract?

Notice

Ending an indefinite contract requires notice unless the other party committed serious misconduct (article 43). The minimum notice periods are set by decree 2-04-469 of 2004. For managers they are one month under one year of service, two months from one to five years and three months beyond five years. For employees and workers they are eight days, one month and two months. Any clause setting notice under eight days is void.

Severance pay

An employee on an indefinite contract dismissed after six months in the company is entitled to severance pay (article 52). Under article 53 it equals, for each year or part year of service:

  • 96 hours of salary for each of the first five years
  • 144 hours of salary for years six to ten
  • 192 hours of salary for years eleven to fifteen
  • 240 hours of salary beyond fifteen years

If a court finds the dismissal unfair, damages are set at one and a half months of salary per year or part year of service, capped at 36 months (article 41). This is the largest legal risk for foreign employers, so document performance issues and follow the hearing procedure in the Labour Code before any dismissal.

Should You Use an Employer of Record or Your Own Entity?

An employer of record (EOR) is a provider that employs staff in Morocco on your behalf and invoices you for salary, contributions and a service fee. It lets you hire one or two people before you create a company, which suits a pilot or a sales hire testing the market. The trade-offs are cost, less control over contracts, and the fact that an EOR does not let you sign customer contracts or invoice in Morocco. Once you plan a team, local invoicing or a long-term presence, your own entity is usually cheaper and gives you a Moroccan tax identity. Our guide to entering the Moroccan market explains how to choose between these models.

Frequently Asked Questions About Hiring in Morocco

What is the minimum wage in Morocco in 2026?

The non-agricultural minimum wage (SMIG) is 17.92 MAD per hour since 1 January 2026, about 3,422.72 MAD gross for a 191-hour month. The agricultural minimum (SMAG) is 97.44 MAD per day from April 2026.

How much does an employer pay in social contributions in Morocco?

About 21.5 percent of gross salary on salaries up to 6,000 MAD a month, falling as salary rises because three branches are capped. The employer pays 6.40 percent family allowances, 4.11 percent AMO and 1.60 percent training tax on full salary, plus pension, short-term and job-loss contributions on salary capped at 6,000 MAD a month. On a 10,000 MAD salary the employer pays 1,772.60 MAD.

Can a foreign company hire a foreign manager in Morocco?

Yes. The employment contract must be stamped with a visa from the labour ministry, using the official model contract for foreign employees, and requests are filed online on the TAECHIR platform. Company managers and partners are among the profiles exempt from the ANAPEC certificate. Plan two to four months before the start date.

How much severance is due when dismissing an employee in Morocco?

After six months on an indefinite contract, severance equals 96 hours of salary per year for the first five years, 144 hours for years six to ten, 192 hours for years eleven to fifteen and 240 hours beyond. Unfair dismissal damages are 1.5 months of salary per year of service, capped at 36 months.

The rates, thresholds and rules in this guide reflect public information checked in December 2026. Social contribution rates, the minimum wage and the income tax scale change by decree and Finance Law. Nothing here is legal, tax or payroll advice. Confirm any figure that drives a decision with the CNSS, the tax administration or a qualified Moroccan adviser before acting.

How Indegate Helps

Indegate Consulting supports foreign companies from its Casablanca headquarters with entity set-up, recruitment planning, payroll and accounting partners, and the work permit file for foreign managers. Our business consulting team can build your hiring plan into your market entry budget, and our case studies show the market entry work we run across Africa. Contact us to discuss your first hires in Morocco. Official references: the Labour Code (law 65-99), the CNSS and the Moroccan Ministry of Employment.

Want Indegate insights near the top of your Google results? Add Indegate as a preferred source on Google

Need hands-on help beyond this guide? See our African business expansion consulting service.

Planning a move into this market?

Talk to an Indegate advisor about what this means for your market-entry plans.

Book a consultation

Market entry guides for Africa

Country-by-country guides on registration, ownership rules, licensing, and timelines for foreign companies, written from our Casablanca office.

See all guides