Labor Law17 min read

Labour Shortages in Morocco: What Employers Can Legally Do

By Hicham Ouazzani

Legal Editor — Criminal Law

Published on
Labour Shortages in Morocco: What Employers Can Legally Do

Labour shortages in Morocco: an economic problem with legal consequences

A Casablanca building contractor needs qualified masons to complete a project on time. Recruitment advertisements produce few suitable candidates, while experienced workers leave for competing projects. The site manager’s first reaction is familiar: extend working days, call teams in on Sundays and settle the extra hours informally in cash.

That may appear practical. Legally, it is dangerous. Undeclared overtime can generate wage claims, social-security reassessments by the Caisse Nationale de Sécurité Sociale (CNSS), administrative fines and, where working-time records have been manipulated, a serious evidentiary problem before the social chamber of the competent court of first instance.

This scenario is not limited to construction. Moroccan employers report recruitment pressure in textiles, automotive wiring, hospitality, agriculture, transport, information technology and specialised industrial maintenance. Coverage by Medias24 has highlighted the apparent paradox: Morocco still experiences unemployment, yet businesses cannot always find workers with the qualifications, location, pay expectations or availability required for particular jobs.

The central question is therefore not simply how to recruit. It is this: what can an employer legally change when a labour shortage threatens production?

The primary reference is Law No. 65-99 establishing the Moroccan Labour Code, promulgated by Dahir No. 1-03-194 of 14 rejeb 1424, corresponding to 11 September 2003, and published in Official Bulletin No. 5210 of 6 May 2004. The Labour Code must be read together with its implementing decrees, collective agreements, the internal regulations of the undertaking, the Dahir forming the Code of Obligations and Contracts, CNSS rules and, for foreign employees, the administrative procedures of the Ministry responsible for employment.

One warning is necessary at the outset. Some frequently repeated summaries of Moroccan employment law are inaccurate. Article 196 of the Labour Code, for example, does not by itself contain every numerical overtime limit. Likewise, economic dismissals are not authorised by the labour inspector; for covered undertakings, the decisive administrative authority is the governor of the prefecture or province. Employers should work from the current official texts rather than a social-media checklist.

A shortage is not a suspension of employment law

A shortage of personnel can justify recruitment, training, a temporary increase in working time under the statutory conditions, or a genuine reorganisation. It does not authorise unlimited overtime, sham temporary contracts, undeclared labour or a unilateral reduction in acquired pay.

In practical terms, the most effective approach usually combines several tools: lawful overtime for a short peak, OFPPT-supported training for medium-term needs, carefully regulated temporary work for a qualifying temporary situation, and foreign recruitment only for profiles that cannot reasonably be sourced locally.

1. The employer’s basic obligations before reorganising the workforce

Maintaining existing employment contracts

A labour shortage does not, in itself, create a legal ground for terminating existing contracts. Article 34 of the Labour Code identifies the principal ways in which an employment contract may end, while Articles 39 and 40 distinguish serious misconduct attributable to the employee from serious misconduct attributable to the employer. Article 41 regulates termination resulting from an abuse by either party.

Practical effect of Article 41: where a dismissal is abusive, the parties may attempt conciliation before the labour inspector. Failing settlement, the employee may seek compensation and damages before the competent court.

An employer who cannot recruit enough people may be tempted to transfer existing employees, change their schedules or assign substantially different functions. Some adjustments fall within ordinary managerial authority. Others alter an essential term of the contract and require consent.

A modest change in daily scheduling is not automatically equivalent to a reduction in salary or a transfer from Casablanca to Dakhla. Courts examine the contract, the employee’s occupation, established workplace, remuneration, collective agreement, internal regulations and the practical impact on family and personal life. A unilateral, substantial and unjustified change can be treated as an employer-initiated termination, with the resulting risk of an abusive-dismissal award.

The principle of contractual force is found in Article 230 of the Code of Obligations and Contracts:

Lawfully formed contractual obligations bind those who entered into them and may be revoked only by mutual consent or in the cases provided by law.

This principle does not eliminate the employer’s managerial power. It does mean that management cannot rewrite essential contractual promises merely because recruitment has become difficult.

Economic force majeure is interpreted narrowly

A shortage of skilled workers is rarely force majeure. Under Article 269 of the Code of Obligations and Contracts, force majeure requires an event that could not reasonably be foreseen or prevented and that makes performance impossible. Higher costs, recruitment delays or loss of profitability generally indicate commercial difficulty, not legal impossibility.

Moroccan courts, including the social chambers of the courts of appeal and the Court of Cassation, traditionally assess force majeure strictly. An employer should therefore avoid describing an ordinary market shortage as force majeure in dismissal letters or internal correspondence. That wording may later be used to test whether the alleged event was truly irresistible and unforeseeable.

Records matter when a dispute reaches court

Article 371 requires the employer to keep an employer’s register in accordance with the statutory requirements. Articles 138 to 142 govern internal regulations, notably for establishments habitually employing at least ten employees. Working schedules, weekly rest, health and safety requirements and disciplinary rules should also be properly displayed or documented where the Code requires it.

In shortage-related disputes, the evidence is often simple and unforgiving: attendance sheets, access-control data, payroll records, CNSS declarations, WhatsApp instructions, transport rosters and emails sent late at night. A company may have a sophisticated written policy and still lose because its actual site practices tell a different story.

2. Overtime in Morocco: useful, but neither unilateral nor unlimited

Normal working time and exceptional additional work

For non-agricultural activities, Article 184 of the Labour Code sets normal working time at 2,288 hours per year, equivalent in principle to 44 hours per week. The employer may distribute annual working time according to the undertaking’s needs, subject to the statutory daily limit and applicable implementing rules. Agricultural work is governed by a separate annual duration.

Article 196 permits work beyond normal hours where an undertaking must carry out work of national interest or respond to an exceptional increase in workload. Its implementing provisions regulate the conditions and yearly limits. The commonly cited ordinary ceiling is 80 overtime hours per employee per year for an exceptional increase, following consultation with employee representatives where they exist. Additional hours cannot simply be ordered without considering the further regulatory conditions and involvement of the labour inspector.

Consequently, the answer to the common question “Can I impose overtime because I am understaffed?” is nuanced. An employer may require lawful overtime where there is a genuine exceptional workload and the employment relationship permits it, but cannot convert a permanent staffing deficit into an unlimited overtime system. Daily rest, weekly rest, employee health, protected categories and statutory ceilings remain applicable.

Overtime premiums are higher on the weekly rest day

Article 201 provides the applicable premiums. For non-agricultural activities, overtime performed between 6 a.m. and 9 p.m. attracts a 25% increase. Overtime between 9 p.m. and 6 a.m. attracts a 50% increase. In agricultural activities, the corresponding daytime period is generally 5 a.m. to 8 p.m.

Where overtime is performed on the employee’s weekly rest day, the increases rise to 50% for daytime hours and 100% for night hours. This distinction is often missed in payroll practice. Saying that all Sunday work receives only a 50% premium is not always correct.

Articles 201 and 202 in practice: overtime must be paid with the applicable premium, regardless of whether remuneration is calculated by the hour, task, piece or output. Payroll must reflect the hours and the basis of calculation.

Article 205 guarantees a weekly rest period of at least 24 consecutive hours, subject to the sectoral rules, suspensions and compensatory-rest arrangements authorised by the Code. A labour shortage is not a permanent exemption from weekly rest.

CNSS and litigation risks

Overtime forming part of taxable and contributory remuneration should be processed through payroll and declared consistently to the CNSS. If a payroll audit discovers recurring cash payments outside the payslip, the employer may face reassessed contributions, late-payment surcharges and penalties under social-security legislation. The exact amount depends on the audit period, payroll base and applicable CNSS rules.

Consider a composite example based on disputes commonly encountered in the Tangier industrial area. A wiring unit schedules two additional hours per shift for several months but records only normal time. Production reports and bus departure logs later establish when employees actually left. Even if the employer contests the employees’ calculations, its own operational records become evidence against it. Correcting several months of premiums, CNSS contributions and related charges can cost much more than hiring a temporary compliant team.

A contractual clause may state that employees can be asked to perform overtime within legal limits and operational needs. It cannot waive statutory premiums or rest. For a review of such wording, an employment lawyer in Tangier can compare the contract with the shift system and collective rules actually used at the plant.

3. Mobility and functional versatility: adapting existing contracts

When is a mobility clause valid?

The Labour Code does not contain a comprehensive regime specifically dedicated to mobility clauses. Their validity is assessed mainly through the employment contract, Article 230 and following provisions of the Code of Obligations and Contracts, good faith, proportionality and the protective rules of employment law.

A defensible mobility clause in a Moroccan employment contract should be written, accepted before it is activated and precise enough for the employee to understand its geographical scope. “Anywhere required by the company” is risky. “Within the Casablanca-Settat Region at the undertaking’s establishments and sites, subject to reasonable notice and payment of approved travel expenses” is considerably clearer.

The clause should also be connected to the job. Regional mobility may be reasonable for a project manager who supervises several sites, but excessive for a locally recruited machine operator whose work has always been performed in one factory. Implementation must not be discriminatory, punitive or designed to force a resignation.

There is no general statutory rule making 30 days’ notice mandatory for every transfer. A reasonable notice period should nevertheless be included, and 15 to 30 days is often used in practice depending on distance, urgency, family impact and the employee’s level of responsibility.

Without a clause, obtain a signed amendment

A transfer that substantially changes the contractual workplace should be proposed in writing. The amendment should identify the new location, effective date, transport or relocation allowance, duration if temporary, reporting line and right to return where relevant.

Refusal is not automatically serious misconduct. The employer must first determine whether the change is merely an ordinary working-condition measure or an amendment to an essential contractual term. Misclassifying the refusal is a frequent source of abusive-dismissal claims before the courts of first instance in Casablanca and Rabat.

Drafting a tailored contract amendment may cost approximately MAD 1,500 to MAD 3,000, depending on complexity and the number of documents reviewed. That estimate is not a regulated tariff. For strategic transfers involving several establishments, an employment-contract lawyer in Morocco should also examine the collective agreement and internal regulations.

Functional versatility has boundaries

An employer may ordinarily assign related duties corresponding to the employee’s qualifications and classification. During a temporary shortage, for example, a textile line supervisor may coordinate another line at the same level. Requiring the same employee to perform permanently lower-skilled duties, without preserving classification and pay, is more problematic.

The safest test is practical: do the new duties remain within the professional qualification for which the employee was hired? Do they expose the employee to new safety risks requiring training? Do they reduce status, variable pay or career prospects? If the answers point to a substantial change, obtain written consent.

4. Temporary agency work: a temporary tool, not a permanent workforce

The permitted grounds are exhaustive

Articles 495 to 506 of the Labour Code regulate private recruitment agencies and temporary employment undertakings. Under Article 496, a user undertaking may employ temporary workers, after consultation with employee representatives where applicable, only to perform non-permanent tasks known as assignments.

The statutory grounds include replacing an employee whose contract is suspended or who is absent, except in connection with a strike; responding to a temporary increase in activity; carrying out seasonal work; and performing work for which it is customary not to use an indefinite-term contract because of the nature of the activity.

A structural shortage lasting year after year is not, by itself, a lawful temporary-work ground. Changing agencies every three or six months does not change the permanent nature of the job. Moroccan judges look at economic reality, not only the logo appearing on each successive assignment document.

Duration depends on the legal ground

The frequent statement that every temporary assignment is limited to six months is too broad. Under the Code, the authorised duration depends on the reason for using temporary labour. For a temporary increase in activity, the period is generally three months, renewable once. Seasonal assignments and jobs customarily performed without an indefinite-term contract are subject to their own limits, commonly six months without renewal. A replacement may follow the duration of the employee’s absence or suspension, subject to the statutory framework.

Every assignment should be supported by a written contract between the licensed temporary employment undertaking and the user undertaking, together with a written assignment contract for the worker. The documents should identify the legal ground, duration, position, required qualifications, workplace and remuneration.

The user undertaking remains responsible for site conditions

Article 500 places responsibility on the user undertaking for occupational health and safety conditions during the assignment. The fact that wages are paid by the agency does not allow the factory, warehouse or building contractor to ignore protective equipment, machine training, working-time limits or accident reporting.

Before engaging an agency, verify its authorisation from the Ministry responsible for employment, company registration, CNSS position and insurance. A legitimate temporary employment undertaking will usually charge more than the worker’s gross salary because its invoice covers employer contributions, administration, leave exposure and margin. Commercial rates may fall around 1.3 to 1.6 times gross salary, but vary considerably by occupation, risk and volume.

If the assignment has no lawful temporary basis or repeatedly exceeds its permitted duration, the worker may ask the competent court to recognise a direct indefinite employment relationship. The outcome depends on the contracts and facts; reclassification is not a purely automatic administrative formality.

5. Subcontracting: a structural option carrying direct exposure

Subcontract a function, not merely disguised labour

Articles 86 to 91 of the Labour Code address subcontracting arrangements. Genuine subcontracting involves entrusting defined work to an independent contractor that organises its own personnel, supervision and methods. If the supposed contractor merely supplies workers who receive all daily instructions from the principal, the arrangement may resemble unlawful labour supply rather than an independent service.

A written contract should specify the work package, deliverables, personnel estimates, supervision, health and safety obligations, payroll and CNSS compliance, insurance, access controls, audit rights and rules governing further subcontracting. Verbal BTP arrangements remain common. They are also among the hardest to defend when wages go unpaid or an accident occurs.

Solidary liability is real, but its scope must be stated accurately

The Labour Code creates protective liability mechanisms where a subcontractor fails to satisfy obligations to its employees, particularly in the circumstances addressed by Articles 88 to 90. The exact application depends on the subcontractor’s commercial status, solvency, notices and the nature of the claim. It is therefore too simplistic to say that Articles 85 to 90 always make every principal automatically liable for every CNSS debt.

Nevertheless, the commercial risk is substantial. Workers may pursue the subcontractor and, where statutory conditions are met, the principal contractor for unpaid wages and related entitlements. Separate CNSS, public-procurement, tax and occupational-accident rules may create additional exposure.

Concretely, require a recent CNSS compliance certificate, payroll evidence, employee declarations and insurance certificates before work starts, then update the file periodically—often every three months for a long project. One certificate obtained at signature is not enough if the contract lasts two years.

A useful agreement may authorise the principal, after formal notice and verification, to pay affected workers or authorities directly and deduct the amount from sums due to the subcontractor. This clause does not eliminate statutory liability, but can provide a contractual recovery mechanism. An Moroccan subcontracting lawyer can align this mechanism with payment, retention and termination clauses.

Public construction contracts have additional rules

For public procurement, the applicable procurement decree and tender documents must be checked. Decree No. 2-12-349 of 20 March 2013 historically governed public contracts, but Morocco subsequently adopted Decree No. 2-22-431 of 8 March 2023 on public procurement. Employers should not rely on the 2013 decree alone for a current tender.

Automotive, textile and export-oriented businesses should also monitor customer-driven social audits and emerging supply-chain due-diligence requirements. Even before a specific Moroccan due-diligence statute applies, international clients may contractually require proof of wages, working time, non-discrimination and CNSS registration throughout the supply chain.

6. Recruiting foreign employees in Morocco

The work contract requires administrative approval

The modern statutory basis is found principally in Articles 516 to 521 of the Labour Code. Under Article 516, an employer wishing to recruit a foreign employee must obtain authorisation from the government authority responsible for labour. The authorisation is granted in the form of a visa affixed to the employment contract, which must follow the regulatory model.

Article 516, practical rule: a signed private contract does not, on its own, complete the right-to-work process. The Ministry’s employment-contract visa must be obtained unless a recognised exemption applies.

ANAPEC generally intervenes in the labour-market test by processing the certificate showing that no suitable Moroccan candidate is available. The employer is commonly asked to submit a detailed job description, recruitment evidence, information about the foreign candidate, diplomas and proof of experience. Categories exempted from the ANAPEC certificate may include certain corporate officers, spouses of Moroccan nationals, specific intra-group profiles or nationals covered by applicable agreements, but the exemption must be verified against the current ministerial procedures.

The residence process is separate. Depending on nationality and circumstances, the employee may need an entry visa, registration card or residence permit from the competent police or national-security services. A work-contract visa should not be confused with immigration status.

Documents, cost and realistic timing

A typical file may include the official foreign employment contract, passport copies, photographs, diplomas, employment certificates, corporate documents, job description, ANAPEC certificate or exemption evidence, and documents supporting the proposed salary and assignment. Foreign documents may need legalisation or apostille, depending on the issuing country and applicable convention, together with an authorised translation.

Processing can take two to four months when a labour-market certificate and several administrative steps are required. Complex or incomplete files may take longer, occasionally six months or more. These are practical estimates, not statutory guaranteed deadlines.

A composite case from the Kenitra industrial corridor illustrates the planning issue. A manufacturer identifies a specialised Asian technician needed to commission a production line. Technical negotiations are completed in weeks, but diploma authentication, ANAPEC processing and immigration formalities delay the start date for several months. The legal lesson is straightforward: launch local recruitment and foreign-work authorisation in parallel, and do not promise a fixed mobilisation date before mapping every approval.

Professional fees may range from MAD 3,000 to MAD 8,000 for a standard case and more for immigration coordination, family residence files or contested classifications. Government charges, translations, legalisation, travel and temporary accommodation are additional. Businesses in the region can consult an employment lawyer in Kenitra before signing a commencement date that cannot legally be met.

Bilateral arrangements are not blanket automatic approvals

Morocco has bilateral social-security and labour-related arrangements with several countries, including France, Spain and Belgium. Their effects differ. They may facilitate a particular category, social-security coordination or administrative treatment, but nationality alone should not be treated as a universal exemption from Article 516.

Before relying on an accelerated route, obtain written confirmation from ANAPEC or the Ministry’s competent service and keep it in the personnel file. Administrative practice changes, and online summaries are not always updated at the same time.

7. Training Moroccan workers: often the strongest long-term response

Use the vocational-training contribution already being paid

Private-sector employers generally contribute to vocational training through the Taxe de Formation Professionnelle, commonly calculated at 1.6% of payroll within the applicable legal framework and collected through the CNSS mechanism. It is not accurate to describe it simply as a payment made directly to the DGI in every case.

The OFPPT’s Contrats Spéciaux de Formation can finance or reimburse part of eligible in-service training, subject to eligibility, prior procedures, annual rules, supporting invoices and proof that training occurred. Depending on the programme and type of action, reimbursement can reach substantial percentages, sometimes around 70%, but employers should not assume that every course automatically receives that rate.

Start with an engineering-of-training exercise: identify the shortage, assess existing skills, define measurable outcomes and obtain any required approval before incurring expenditure. Applying after the training has already taken place may lead to rejection.

OFPPT, ANAPEC and job-integration mechanisms

OFPPT establishments can help design programmes for machine operators, electricians, maintenance technicians, textile supervisors and other shortage occupations. ANAPEC mechanisms may also support job integration or pre-employment training, subject to the current programme conditions.

Take a composite textile example from Fès. Instead of competing for a small group of experienced operators, an employer partners with a local training provider to train 40 candidates over three months. After eligible support, its direct cost falls significantly, while the company develops a pool trained on its own processes. The exact reimbursement and an often-quoted figure such as MAD 800 net per operator must be verified against the approved budget; it should never be advertised as a guaranteed public tariff.

For help structuring training documents, an employment lawyer in Fès can coordinate the employment amendments with OFPPT and payroll requirements.

Training-repayment clauses must remain proportionate

A training-repayment clause, often called a clause de dédit-formation, is not expressly organised in detail by the Labour Code. Its enforceability is assessed through Article 230 and related provisions of the Code of Obligations and Contracts, good faith, proof of actual expenditure and the employee’s freedom to resign.

The clause should be signed before training starts, identify the exceptional employer-funded cost, establish a limited retention period and reduce the repayable amount over time. It should exclude ordinary induction and training required merely to perform the existing job safely. A two- or three-year period is sometimes used for expensive qualifications, but there is no automatic rule making such duration valid in every case.

A clause demanding MAD 100,000 for a course that actually cost MAD 12,000 may be reduced or rejected as punitive. Keep invoices, travel evidence and proof of any subsidy, because the employer should not recover sums already reimbursed by a public programme.

8. Flexible working time, shifts and remote work

Morocco does not offer unrestricted annualisation

Article 184 already expresses normal non-agricultural working time as an annual total and permits distribution according to the undertaking’s needs, subject to statutory conditions. This is not equivalent to a completely free French-style annualisation system. The daily ceiling, weekly rest, consultation requirements, overtime rules and implementing decree still apply.

An employer should not announce that employees will work 52 hours during busy months and 36 hours later without first identifying the precise legal basis, annual schedule and compensatory method. Where representatives exist, consultation should be documented. Sectoral collective agreements may impose additional conditions.

Successive teams and shift work

Articles 185 to 195 and their implementing provisions regulate distribution of working time, recovery of lost hours, continuous operations and successive teams. A properly designed 2x8 or 3x8 system can increase equipment utilisation without forcing the same employees to work excessive hours.

But it does not double capacity “without recruitment” in a literal sense: another team still needs workers. Its advantage is organisational. It reduces idle machinery, distributes peaks and can combine full-time teams with lawful temporary reinforcement. Night-work protections, overtime premiums and Article 205 weekly rest must be incorporated into the roster.

A shift policy should define handover time, meal breaks, transport, clocking, night premiums, replacement procedures and maximum sequences. In Tangier’s industrial zones, transport timetables often provide decisive evidence of actual shift endings. Payroll and transport plans should therefore match.

Remote work as of September 2026

As of September 2026, employers should verify the latest Official Bulletin before stating that Morocco has enacted a comprehensive, stand-alone private-sector telework statute. In the absence of a fully applicable specific regime, the Labour Code, Code of Obligations and Contracts, occupational-health duties, data-protection rules and contractual principles remain central.

Remote work should be documented by an amendment stating the authorised location, working schedule, availability periods, equipment, internet and electricity expenses, confidentiality, cybersecurity, accident reporting, performance monitoring and return-to-office procedure. The employee’s right to rest should not be replaced by permanent digital availability.

Reform of the Labour Code and regulation of new forms of work have repeatedly appeared in policy discussions. Businesses should monitor the Official Bulletin and Ministry communications rather than treating a parliamentary proposal as enacted law.

9. Economic dismissal when a labour shortage damages the business

A shortage is not itself an economic-dismissal ground

A company does not normally dismiss workers because it lacks workers. Yet a shortage can contribute to a genuine economic crisis. A textile subcontractor may lose a major order after repeatedly missing delivery dates, or a contractor may close a site because specialised labour cannot be sourced at an economically sustainable cost.

For commercial, industrial, agricultural and forestry undertakings and related operations habitually employing ten or more employees, Articles 66 to 71 establish a specific procedure for dismissal resulting from technological, structural or economic reasons, or closure.

Consultation and the governor’s authorisation

Under Article 66, the employer must inform employee representatives and, where applicable, trade-union representatives at least one month before proceeding. The employer must provide relevant information and engage in consultation to examine measures capable of avoiding dismissals or limiting their effects.

Article 67 requires the consultation process and its results to be recorded. Under Article 68, the application and supporting file are transmitted through the provincial labour service, including evidence of economic difficulties or other statutory grounds.

The decisive authorisation under Article 69 is issued by the governor of the prefecture or province, based on the opinion of the provincial commission. It is incorrect to describe the labour inspector as the authority granting final permission. The labour administration receives, investigates and processes the file, but the governor is the statutory decision-maker.

Timing: one month of prior information and consultation is built into the procedure, while Article 69 provides an administrative decision period of up to two months from submission of a complete file. In practice, preparation and completeness checks can make the overall process longer than 45 to 60 days.

Proceeding without authorisation where it is legally required creates a major risk that the dismissals will be treated as abusive. Courts scrutinise the written grounds, financial documents, consultation minutes, employee-selection criteria and administrative decision.

How statutory compensation is calculated

Article 53 does not provide a flat 96 hours of salary for every year of service. It establishes progressive bands for the statutory dismissal indemnity after the qualifying period:

  • 96 hours of salary for each of the first five years of service;
  • 144 hours for each year from the sixth through the tenth year;
  • 192 hours for each year from the eleventh through the fifteenth year;
  • 240 hours for each year beyond fifteen years.

Notice or compensation in lieu is also due under Articles 43 and 51 and the applicable implementing decree, unless a lawful exception applies. Accrued leave and outstanding remuneration remain payable. Article 71 gives employees dismissed under the economic procedure a priority for re-employment under the conditions laid down by the Code; employers should preserve the list and document later recruitment decisions.

Before starting the process, consult an economic-dismissal lawyer in Morocco. A flawed letter or premature announcement can compromise a file before it reaches the provincial commission.

10. A sector-by-sector legal strategy

SectorPriority legal toolsTypical lead timeMain legal risk
BTPAudited subcontracting, regional mobility clauses, OFPPT training and foreign recruitment for rare technical profilesDays for lawful overtime; months for training or foreign approvalUndeclared labour, unpaid subcontractor wages and safety accidents
Textiles and clothingSuccessive teams, temporary work for genuine seasonal peaks, CSF-supported training and lawful overtimeSeveral weeks for shift consultation; around three months for operator trainingPermanent jobs disguised as agency assignments and unpaid overtime
Automotive wiringTechnical training, foreign specialists, structured shift work and proportionate training-repayment clausesTwo to four months or more for foreign recruitmentExcess night work, weak time records and immigration delay
Services and ITHybrid work amendments, targeted foreign recruitment and retention incentivesOne to four weeks for contracts; several months for work authorisationUnclear workplace, data-security failures and unlawful availability requirements

BTP priorities

Construction employers should focus first on written subcontracting, site-safety coordination and proof of CNSS compliance. Mobility clauses can help project-based managers and technicians, but should identify a reasonable territory. Foreign recruitment makes sense for scarce engineers or commissioning experts, not as a shortcut around ordinary local recruitment.

Textile priorities

Textile undertakings often gain more from training and shift redesign than from repeated agency contracts. Temporary work remains appropriate for a genuine seasonal order or short production peak. Once the need becomes stable, direct indefinite recruitment is usually legally safer.

Automotive and wiring priorities

These businesses should align production schedules, bus transport, clocking and payroll. Specialist foreign technicians may transfer know-how while Moroccan teams are trained. A carefully documented training plan is generally more sustainable than retaining employees through excessive repayment penalties.

Whatever the sector, no flexibility mechanism removes CNSS, compulsory health insurance, occupational-safety or collective-agreement obligations. A preventive HR audit commonly costs between MAD 5,000 and MAD 15,000 for a small or medium-sized undertaking, with higher fees for multi-site or heavily unionised operations. This is a market estimate, not an official tariff.

Conclusion: treat employment law as a management tool

Morocco’s labour shortage does not have a single legal solution. Overtime can absorb an exceptional peak. Temporary agency work can cover a lawful temporary need. Subcontracting can externalise a defined function, but not responsibility. Foreign recruitment can provide scarce expertise, although the work-contract visa takes planning. Training, especially with OFPPT support, is often the most durable answer.

The employers most exposed to litigation are often those relying on old template contracts, verbal transfers and informal payroll practices. The absence of a clear mobility clause, accurate time records or a written subcontracting agreement becomes expensive only after a dispute begins.

Before a major reorganisation, have contracts, internal regulations, CNSS declarations and working-time systems reviewed together. Businesses in the principal commercial centres can seek advice from an employment lawyer in Casablanca or an employment lawyer in Rabat.

Finally, monitor announced Labour Code reforms and any future telework legislation through official sources. Employment law is not merely an obstacle to operational flexibility. Properly used, it is the framework that makes that flexibility defensible before the labour inspector, the courts of first instance, the courts of appeal and the Court of Cassation.

Frequently Asked Questions

Can a Moroccan employer require overtime when there is a staff shortage?
Not unilaterally and without limit. Article 196 of the Moroccan Labour Code permits work beyond normal hours for work of national interest or an exceptional increase in activity, subject to the implementing regulations, consultation requirements and annual limits. The commonly applied ordinary limit for an exceptional workload is 80 hours per employee per year; further hours require compliance with additional regulatory controls rather than a simple management instruction. Under Article 201, premiums are generally 25% for daytime overtime and 50% at night, rising to 50% and 100% respectively when overtime is performed on the weekly rest day.
Can temporary agency workers cover a structural workforce shortage?
No, not merely because the employer has a permanent recruitment problem. Article 496 limits temporary assignments to defined non-permanent situations, including replacement of an absent employee, a temporary increase in activity, seasonal work and jobs customarily performed without an indefinite contract. For a temporary increase in activity, the usual duration is three months renewable once, while other grounds have different statutory limits. Repeatedly changing agencies does not prevent a court from examining whether the job is actually permanent.
How does a Moroccan employer recruit a foreign employee, and how long does it take?
Under Article 516 of the Labour Code, the employer must obtain a work-contract visa from the government authority responsible for employment, unless a recognised exemption applies. ANAPEC generally conducts the labour-market test and may issue a certificate confirming that no suitable Moroccan candidate is available. A complete process often takes two to four months, but complex files can take six months or longer, especially where diplomas require legalisation or immigration formalities are delayed. Work authorisation and the employee’s residence status are separate requirements.
Is a mobility clause valid in a Moroccan employment contract?
Yes, provided it is clear, proportionate and accepted by the employee. The Labour Code does not provide a detailed special regime, so Article 230 and related provisions of the Code of Obligations and Contracts are central. The clause should define a reasonable geographical area, connect mobility to the employee’s duties and provide reasonable notice. A substantial geographical transfer imposed without a clause or signed amendment can be treated as a unilateral modification of an essential contractual term.
What risks arise if a principal does not check a subcontractor’s social compliance?
Articles 86 to 91 of the Labour Code create protective liability mechanisms in subcontracting, particularly where the subcontractor fails to meet obligations toward employees. The scope is fact-sensitive and should not be reduced to the claim that every principal is automatically liable for every CNSS debt. Even so, unpaid workers may pursue the principal where the statutory conditions are met, and separate CNSS, safety or public-procurement rules may add exposure. A principal should obtain current CNSS, payroll and insurance evidence before work begins and update it throughout the contract.
How can an employer finance employee training in Morocco?
Eligible employers can use the Contrats Spéciaux de Formation administered through the OFPPT system. Depending on the programme, prior approval, supporting evidence and type of training, part of the eligible expenditure may be reimbursed, sometimes at rates around 70%. Employers should apply before incurring the cost whenever the procedure requires prior approval. The vocational-training contribution is generally calculated at 1.6% of the relevant payroll and is handled through the applicable CNSS collection mechanism.
Can working time be annualised in Morocco?
Article 184 sets non-agricultural normal working time at 2,288 hours per year, or an average of 44 hours per week, and allows distribution according to operational needs within legal conditions. That does not create unrestricted annualisation: daily limits, weekly rest, consultation, overtime premiums and implementing regulations still apply. Employers should document annual schedules and consult employee representatives where required. Successive teams and shift systems are often more legally manageable for industrial fluctuations.
What is the minimum duration of an economic-dismissal procedure in Morocco?
For undertakings covered by Articles 66 to 71, employee representatives must be informed and consulted at least one month before dismissal. The application is then processed through the provincial labour service, while Article 69 assigns the authorisation decision to the governor of the prefecture or province and provides an administrative period that may reach two months after a complete filing. The entire process can therefore exceed 45 to 60 days. Dismissing employees before the required authorisation creates a serious risk of an abusive-dismissal finding.
Is a training-repayment clause enforceable against an employee in Morocco?
It can be enforceable if signed before training, tied to actual exceptional expenditure and proportionate in amount and duration. The clause should decrease the repayable amount over time and should not include normal induction or mandatory safety training. It must not operate as a prohibitive penalty preventing resignation. The employer should retain invoices and deduct any public reimbursement when calculating the genuine recoverable cost.
Does Morocco have a specific telework law in 2026?
Employers should check the latest Official Bulletin before relying on claims about a new comprehensive telework statute. In the absence of a fully applicable stand-alone regime, the Labour Code, Code of Obligations and Contracts, occupational-health duties and data-protection rules continue to govern remote work. A written amendment should address the workplace, equipment, expenses, availability, confidentiality, accident reporting and return-to-office arrangements. A parliamentary proposal or policy announcement does not become enforceable law until the legislative process and official publication are complete.

Recommended lawyers

Speak with a lawyer specialized on these topics

Sofia Bennis
10 years of experience

Sofia Bennis

Cabinet Me. Sofia BennisCasablanca

Avocate au Barreau de Casablanca, j’interviens principalement en droit des affaires et en contentieux à enjeux (commercial, fiscal, immobilier et social), avec une pratique orientée stratégie et résultats. J’accompagne dirigeants, investisseurs et institutions financières à toutes les étapes du dossier : analyse des risques, structuration juridique, négociation et gestion du contentieux. Mon approche est à la fois rigoureuse et opérationnelle, avec un objectif clair : sécuriser vos intérêts et optimiser vos chances de succès. Ce qui me distingue : une forte culture du résultat, une réactivité constante et une capacité à traiter des dossiers complexes avec une vision stratégique globale. J’accorde une attention particulière à la qualité de la rédaction et à la construction de l’argumentation, déterminantes dans l’issue des litiges.

Business LawFamily LawReal Estate Law+15
French · Arabic · English
Direct contact only
Chama Haloui
10 years of experience

Chama Haloui

Cabinet Me. Chama HalouiCasablanca

Fondé en 1974 par son père, feu Maître Mohamed HALOUI, le cabinet de Maître Chama HALOUI prolonge un engagement au service de la justice au Maroc. Son parcours, marqué par son dévouement à la justice et aux justiciables, fut honoré par Sa Majesté le Roi, qui le nomma en 2017 membre du Conseil Supérieur du Pouvoir Judiciaire. Dans la continuité de son héritage, le cabinet de Maitre Chama HALOUI accompagne les particuliers et les professionnels dans le cadre d’une pratique fondée sur la rigueur, la disponibilité et la qualité de l’accompagnement. Il attache une importance particulière à l’écoute et veille à offrir à chaque client une assistance juridique personnalisée, ainsi qu’une attention constante, un soutien moral et une relation de confiance, particulièrement précieux dans les étapes souvent difficiles de la vie judiciaire.

Family LawCriminal LawLabor Law+1
French · Arabic · English
Direct contact only