Labor Law15 min read

AI-Driven Economic Dismissal in Morocco: Employer Duties and Employee Rights

By Salma Tazi

Legal Editor — Family Law

Published on
AI-Driven Economic Dismissal in Morocco: Employer Duties and Employee Rights

When artificial intelligence reaches Morocco's labour courts

Imagine a senior accountant working for a Casablanca distribution company. He earns MAD 8,000 per month and has eight years of service. In 2023, management installs an enterprise resource planning system capable of processing invoices, reconciling accounts and producing monthly reports with minimal human intervention. A few months later, the accountant is told that his position has disappeared because of the company's “digital transformation”. He receives a document to sign before leaving the meeting.

This scenario is fictional, but it is entirely plausible. Moroccan banks automate cheque processing, call centres deploy conversational chatbots, logistics companies use predictive software, and accounting departments increasingly rely on artificial intelligence. Recent public discussions involving Ghita Mezzour, the minister responsible for digital transition, have intensified the debate about the impact of AI on employment. Yet the central legal question is often misunderstood: does the introduction of artificial intelligence allow an employer to dismiss employees automatically?

The short answer is no. Moroccan law expressly recognises technological, structural and economic reasons as possible grounds for collective dismissal, but it imposes substantive and procedural safeguards. AI may explain why a job has changed or disappeared. It does not, by itself, prove that dismissal was necessary, lawful or properly authorised.

The relevant framework comes primarily from Law No. 65-99 establishing the Labour Code, promulgated by Dahir No. 1-03-194 of 11 September 2003. The legislation predates generative AI, automated decision-making and the current wave of workplace transformation. It can therefore address some consequences of automation, but not every question raised by it.

1. Economic dismissal under Moroccan labour law

Articles 66 to 71 of the Labour Code

Economic dismissal is not governed by a single provision. The core rules appear in Articles 66 to 71 of the Moroccan Labour Code. They apply in particular to collective dismissals and to the total or partial closure of an establishment for technological, structural or economic reasons.

Article 66 of the Labour Code regulates dismissal, in establishments ordinarily employing ten or more workers, of all or part of the workforce for technological, structural or economic reasons. It requires advance information and consultation of employee representatives and, where applicable, trade union representatives.

This wording matters. The Code does not limit economic dismissal to a company facing bankruptcy or catastrophic losses. A technological reorganisation may qualify even where the business remains profitable. Conversely, a profitable company cannot simply invoke “AI” and avoid the legal procedure. It must establish the actual technological project, its consequences for employment and the reason the affected positions cannot reasonably be maintained.

The threshold of ten employees is particularly significant. In establishments ordinarily employing at least ten workers, Article 66 requires management to inform staff delegates and trade union representatives at least one month before the proposed dismissal. The employer must provide useful information, including the reasons for the project, the number and categories of employees concerned and the period during which dismissals are contemplated.

Consultation is not supposed to be a ceremonial meeting held after every decision has already been made. The parties must examine measures capable of preventing dismissals or limiting their adverse effects. This may include redeployment, retraining, reduced working time, phased departures or reassignment to other positions. Minutes must be drawn up, signed and transmitted to the labour administration.

Technological reason does exist in Moroccan law

One persistent misconception is that Moroccan law does not recognise technological redundancy. It does. Article 66 refers expressly to “technological, structural or economic reasons”. AI-assisted automation may therefore fall within the technological category.

The Code does not define artificial intelligence, however. It does not distinguish between an ordinary software update, robotic process automation, machine learning or a generative AI system. Courts must apply an older legal concept to new technology. In practice, judges will look beyond the commercial label and ask what changed inside the business.

Did software genuinely eliminate the main functions of the position? Were the duties transferred to another employee? Was the job merely renamed? Could the worker have performed the transformed role after reasonable training? These factual questions will often determine whether a dismissal for technological reasons in Morocco is valid.

Consultation is followed by administrative authorisation

Advance consultation is only one part of the procedure. Under Article 67 of the Labour Code, the employer must seek authorisation from the governor of the relevant prefecture or province. The request is submitted through the official responsible for labour inspection and must be supported by the required documents and explanations.

The labour administration examines the file, and a provincial or prefectural commission considers the request. The Code establishes a decision-making period of up to two months from the filing of a complete application. The precise supporting documents depend on the ground relied upon. A company alleging economic difficulties will normally require financial material, while a technological restructuring should be supported by investment decisions, organisational studies, job descriptions and evidence linking the technology to the contemplated job losses.

This authorisation mechanism is fundamental. In a company covered by Articles 66 and 67, management should not treat a collective AI restructuring as a series of unrelated individual dismissals merely to escape scrutiny. A labour court may examine the reality of the operation as a whole.

For establishments below the ten-worker threshold, the detailed collective procedure in Article 66 does not apply in the same way. That does not create a legal vacuum. The employer must still establish a valid reason, respect individual rights, pay statutory entitlements and avoid discriminatory or retaliatory dismissal.

2. Can automation legally justify the elimination of a job?

AI must be connected to an actual organisational change

An employer relying on automation needs more than a presentation describing an “AI-first strategy”. The company should be able to produce evidence showing what system was introduced, which functions it performs, how workflows changed and why the employee's position became redundant.

Article 63 of the Labour Code places the burden of proving a valid ground for dismissal on the employer. This is particularly relevant where the technological explanation is disputed. Software contracts, implementation schedules, old and new organisation charts, task analyses and consultation records may all become evidence before the social division of the tribunal of first instance.

Consider a bank in Rabat that automates the reading and verification of cheques. If an employee spent almost all her working time manually entering information that is now processed by optical recognition software, the bank may have a credible technological case. But suppose the same employee also handled customer disputes, compliance checks and exception processing, and those functions continue to exist. In that situation, the court may ask why training or partial reassignment was not seriously considered.

In clear terms, partial automation is not necessarily job elimination. A machine may reduce the volume of repetitive work while leaving a substantial human role. Dismissal becomes more vulnerable where another person is recruited shortly afterwards to perform essentially the same duties under a new title.

Suppression, reduction and transformation are not the same

Three situations must be separated. The first is a genuine suppression: the position and its essential tasks disappear. The second is a reduction in workload: the position remains useful, but fewer hours or fewer employees may be needed. The third is transformation: the old job becomes a new role requiring different skills.

Only the first situation clearly points towards redundancy. The other two require closer examination of alternatives. Could working hours be reorganised? Could departures be achieved through natural attrition? Could the employee be trained to supervise the automated system? Was there a vacant position in another department?

The Moroccan Labour Code does not contain a general provision stating that every substantial contractual change is governed by Article 35. Article 35 actually protects workers against dismissal based on prohibited grounds, including trade union membership or activity, the exercise of representative functions, complaints against the employer and discrimination. This correction matters because Article 35 is sometimes inaccurately presented as a rule about changes to employment contracts.

If an employer uses automation as a pretext to remove a union representative, an employee who demanded unpaid overtime or a worker protected against discrimination, Article 35 may become central. The technological narrative will not neutralise an unlawful motive.

Economic savings alone do not settle the matter

Automation is usually introduced to reduce costs. That commercial objective is not automatically illegal. Nevertheless, a court can distinguish between a documented technological reorganisation and a convenient excuse used to dismiss selected employees.

A Fès call centre, for example, may deploy a chatbot to handle routine questions. If it dismisses ten tele-advisers but continues assigning the same volume of calls to temporary workers, the alleged elimination of jobs becomes doubtful. If it dismisses only employees involved in a salary dispute while retaining less experienced workers performing identical functions, the selection process may also be challenged.

Article 71 of the Labour Code addresses the order of dismissals and refers to criteria such as seniority, professional value and family responsibilities. Employers should document how those criteria were applied. A hidden algorithmic ranking based on opaque productivity scores may create an additional evidentiary problem, particularly if the data are inaccurate or discriminatory.

Companies handling employee data must also consider Law No. 09-08 on personal data protection and the oversight of the Commission nationale de contrôle de la protection des données à caractère personnel, commonly known as the CNDP. Automated scoring does not remove the employer's responsibility for a dismissal decision.

3. Compensation for economic dismissal in Morocco

The statutory severance formula

The expression indemnité licenciement économique Maroc 2024 remains widely searched, but the statutory scale is not a special annual rate. The basic rules are found in Articles 52 and 53 of the Labour Code. Article 52 grants severance to an employee employed under an indefinite-term contract after at least six months of service, while Article 53 fixes the number of salary hours due for each year or fraction of a year of service.

Article 53 of the Labour Code: 96 hours of salary for each of the first five years of service; 144 hours for each year from the sixth to the tenth; 192 hours for each year from the eleventh to the fifteenth; and 240 hours for each year beyond fifteen.

This scale is sometimes wrongly attributed to Decree No. 2-04-469. That decree principally sets statutory notice periods. The severance brackets themselves appear directly in Article 53.

Take the Casablanca accountant earning MAD 8,000 per month with eight completed years of service. His statutory hours would be calculated as follows: five years multiplied by 96 hours, giving 480 hours, plus three years multiplied by 144 hours, giving 432 hours. The total is 912 hours of salary.

For a simplified illustration, if the monthly salary is converted using 191 working hours, the hourly rate is approximately MAD 41.88. Multiplying that rate by 912 produces statutory severance of about MAD 38,195. This is only an illustration. The legally relevant salary base may include regular benefits, commissions or advantages, and Articles 55 to 57 should be checked when determining the reference remuneration.

A collective agreement, employment contract or negotiated social package may grant more favourable compensation. It cannot normally be used to reduce the statutory minimum.

Notice pay and untaken annual leave

Severance is not the only amount payable. Under Articles 43 and 51 of the Labour Code, an employee who is not allowed to work the applicable notice period may claim compensation in lieu of notice.

Decree No. 2-04-469 of 29 December 2004 establishes the standard notice periods. For executives and similar employees, the periods are one month for less than one year of service, two months for one to five years and three months after five years. For workers and ordinary employees, they are eight days for less than one year, one month for one to five years and two months after five years.

The employee must also receive salary up to the termination date and compensation for accrued but untaken paid leave. Outstanding commissions, contractual bonuses and reimbursable expenses should be reviewed separately. Where the company has a collective agreement, the agreement may provide longer notice or a more favourable calculation.

Negotiated social-plan compensation

Morocco does not have a statutory plan de sauvegarde de l'emploi identical to the French system. The expression social plan is nevertheless used in practice for a negotiated package combining redundancy payments, voluntary departure incentives, training, health coverage extensions and assistance with professional transition.

Large banks, telecommunications operators and industrial groups sometimes offer compensation above the statutory scale. The amount depends on negotiations with staff delegates and unions, the financial strength of the company and the number of jobs concerned.

Attention, however: a generous-looking lump sum can conceal waived rights. Employees should ask for a written breakdown separating severance, notice pay, annual leave, contractual benefits and any additional settlement amount. Signing quickly can cost tens of thousands of dirhams.

4. Redeployment, retraining and the employer's duty to reduce job losses

Redeployment is an obligation to examine alternatives, not an absolute guarantee

It is often said that Article 66 gives every employee an unconditional right to a new position. That goes too far. The provision requires consultation on measures capable of avoiding dismissals or reducing their negative effects, including possible reassignment to other jobs. It does not require an employer to invent a position that does not exist.

Still, the search for alternatives must be credible. An employer claiming there were no vacancies should be able to produce an organisation chart, a vacancy list and details of positions filled around the restructuring date. If suitable positions existed but were never communicated to affected employees, the dismissal becomes harder to defend.

The practical question is whether the employee could perform another available job, immediately or after reasonable training. A bookkeeper may be retrained for ERP supervision. A cheque-processing clerk may move into exception control. A call-centre adviser may be reassigned to complex customer cases that the chatbot cannot resolve.

Employees should make written requests for redeployment. An email asking for available positions, training options and selection criteria creates evidence. An oral discussion in a corridor does not.

Professional training as an alternative

The Office de la Formation Professionnelle et de la Promotion du Travail, or OFPPT, provides initial and continuing training through a national network. Training schemes financed through the vocational training system and the contrats spéciaux de formation may also help companies upgrade employee skills before positions disappear.

There is no universal rule guaranteeing every worker dismissed because of AI a fully funded individual retraining programme. Eligibility depends on the programme, the applicant's status, the company and available courses. Employees should therefore contact the nearest OFPPT establishment, the labour inspectorate and, where relevant, ANAPEC before accepting the idea that no transition support exists.

The timing matters. Training requested before dismissal can form part of an alternative employment plan. Training sought after termination is useful for employability, but it does not repair an unlawful procedure.

What a Moroccan social plan should contain

For an AI-related restructuring, a serious negotiated package may include:

  • an inventory of jobs eliminated, transformed and created;
  • transparent employee-selection criteria consistent with Article 71;
  • a list of internal vacancies and a timetable for applications;
  • paid training for workers whose positions are transformed;
  • voluntary departure arrangements before compulsory dismissals;
  • statutory and additional compensation clearly separated;
  • support for CNSS formalities, ANAPEC registration and job-search assistance;
  • a monitoring committee involving staff representatives.

The consultation record required by Article 66 should show what was proposed, discussed and rejected. A one-page document stating that employee representatives were “informed” is not the same as meaningful negotiation.

5. Moroccan case law and AI-related dismissal

No established body of published AI dismissal judgments

Intellectual honesty is essential here. As of the publication of this article, there is no clearly identified, established body of published Moroccan Court of Cassation decisions dealing specifically with employees dismissed because of generative AI or machine-learning systems. Anyone claiming that Moroccan AI-dismissal case law is already settled should be treated with caution.

The absence of specific AI cases does not mean that courts are powerless. The social divisions of the tribunals of first instance can apply existing rules on valid grounds, prohibited motives, collective dismissal authorisation, evidence and compensation. Appeals are heard by the courts of appeal, while the Cour de cassation reviews questions of law rather than retrying the entire factual dispute.

Published Moroccan social case law has long treated the employer's stated reason, supporting evidence and compliance with mandatory procedure as central issues. In a technological case, the same reasoning can be adapted: was there an actual reorganisation, did it affect the claimant's job, were the selection criteria lawful, and was the required administrative procedure followed?

How a social judge is likely to analyse the dispute

A judge will generally compare the dismissal letter with the documents produced in court. If the letter refers vaguely to “digitalisation” but the employer later relies on financial losses, inconsistency may weaken the defence. If the alleged position disappears but the employer advertises an almost identical vacancy two weeks later, the worker gains a strong factual argument.

The court may also examine whether the collective nature of the operation was concealed. Ten employees dismissed over several weeks under nearly identical circumstances may be part of one restructuring, even if management issued separate letters.

Failure to obtain an authorisation required by Article 67 is not a minor administrative oversight. Nor is the absence of consultation where Article 66 applies. Depending on the facts, the dismissal may be treated as unlawful or abusive, exposing the employer to additional compensation.

What counts as abusive dismissal?

A valid economic dismissal rests on a lawful and sufficiently established reason and respects the applicable procedure. The employee receives severance, notice-related rights and other outstanding amounts but does not automatically receive damages for abusive dismissal.

An abusive dismissal may arise when the reason is false, unsupported, discriminatory or retaliatory, or when mandatory safeguards are disregarded. Under Article 41 of the Labour Code, damages for abusive termination are calculated at one and a half months of salary for each year or fraction of a year of service, subject to a ceiling of 36 months.

This compensation is distinct from statutory severance and notice pay. The exact award depends on the claims submitted, the judicial findings and the salary base accepted by the court.

6. How an employee should respond to an AI-related dismissal

What to do as soon as restructuring is announced

The first enemy of an employee is often not the technology. It is lack of documentation. Once access to the company email system is cut off, reconstructing a file becomes far more difficult.

  1. Secure lawful copies of personal employment records. Keep the employment contract, amendments, payslips, CNSS declarations, evaluations, leave records and written warnings. Do not remove confidential customer data or trade secrets.
  2. Record the employer's explanation. Ask whether the job is eliminated, reduced or transformed, which technology is involved and when the decision was taken.
  3. Contact staff delegates or the union. Ask whether Article 66 information was provided and whether consultation minutes exist.
  4. Request redeployment and training in writing. Identify positions you could perform and ask for a reasoned answer.
  5. Do not sign under pressure. A receipt for full and final settlement, resignation or transaction may have legal consequences. Request a copy and time to obtain advice.

A resignation is particularly dangerous. An employer may present it as the easiest route to payment, but resignation can alter the legal character of the separation and complicate any later claim that the employee was dismissed.

The 90-day litigation deadline

Article 65 of the Labour Code requires a court challenge against dismissal to be brought within 90 days from receipt of the dismissal decision. The dismissal document must refer to that period. Employees should not assume that informal negotiations suspend the deadline.

The claim is filed before the social division of the territorially competent tribunal of first instance, generally connected to the place where the work was performed. Under the social procedure rules in the Code of Civil Procedure, the judge attempts conciliation before deciding the merits. This judicial conciliation should not be confused with a separate administrative appeal prerequisite.

In practice, a conciliation hearing may be brief—sometimes only a few minutes if the parties have not prepared figures or settlement terms. Yet it can be strategically useful. A properly calculated proposal may resolve the dispute months before judgment.

The labour inspector can also intervene as a mediator, request explanations and help document the dispute. The inspector does not replace the court and cannot finally award damages for abusive dismissal. Because of the 90-day period, an employee should not wait indefinitely for administrative mediation.

Actual litigation time varies by city, caseload, service of process, adjournments and appeals. In Casablanca or Rabat, a contested social case may take roughly 12 to 24 months to reach a first-instance judgment, sometimes less and sometimes more. An appeal extends the timetable.

Lawyer fees and access to advice

There is no single official tariff for employment litigation. For a relatively straightforward dismissal matter, initial representation and conciliation may cost approximately MAD 3,000 to MAD 8,000. A fully contested case may cost MAD 8,000 to MAD 15,000 or more, particularly if the file involves many employees, financial evidence, appeals or complex compensation.

Some lawyers combine a fixed fee with a success fee. The arrangement should be written and should specify whether VAT, bailiff expenses, expert costs and appeal work are included. Employees in Casablanca may consult an employment lawyer in Casablanca, while those in the capital can seek an employment lawyer in Rabat.

Workers in other regions can contact an dismissal lawyer in Marrakech, an employment lawyer in Agadir or use a legal consultation online in Morocco for a preliminary review. Trade union organisations such as the UMT, CDT and FDT may also provide an initial orientation through local offices.

Employees with insufficient resources should ask the court registry or their lawyer about legal aid. The historical framework is based on Dahir No. 1-57-223 of 27 September 1957 on legal aid, as amended, together with applicable procedural rules. Eligibility and the documents required should be verified at the competent court because legal aid does not necessarily cover every private expense in the same way.

7. How Moroccan employers should build a lawful AI restructuring

Employers also face genuine uncertainty. A company may need to modernise to remain competitive, especially in banking, outsourcing, manufacturing and logistics. The safest approach is not to hide behind technology but to build a transparent, auditable process.

Before announcing dismissals, management should map affected tasks and positions, assess data-protection consequences, identify vacancies, prepare realistic training options and determine whether Articles 66 and 67 apply. The company should then consult employee representatives before the decision becomes irreversible.

The dismissal letter should state the precise ground relied upon. Generic language such as “reorganisation needs” invites dispute. Selection criteria must be consistent with Article 71 and applied objectively. If an algorithm contributed to the selection, a human decision-maker should verify the inputs, outputs and possible bias.

Businesses operating in northern industrial zones may require advice from an employment lawyer in Tangier. Projects involving automated monitoring, employee data or algorithmic scoring may also call for an information technology lawyer in Morocco.

8. Why Moroccan labour law needs to evolve

The current gaps

The Labour Code provides a usable foundation, but it was not designed for algorithmic management. It does not define AI-driven restructuring, impose a specific algorithmic impact assessment or grant employee representatives a detailed right to information before automated workplace systems are deployed.

Nor does Moroccan law currently offer a nationwide AI transition fund automatically financed by companies that automate. Existing vocational training mechanisms are fragmented and frequently underused. Workers often learn about retraining only after their employment has ended.

Another gap concerns transparency. If software recommends which employees should be dismissed, workers need a practical way to challenge inaccurate data and discriminatory patterns. Law No. 09-08 provides personal-data safeguards, but workplace AI raises issues extending beyond traditional data protection.

Possible reforms for Morocco

A future reform could define technological restructuring more precisely and require an employment-impact report for significant automation projects. Companies above a specified threshold could be required to disclose the expected number of jobs eliminated, transformed and created before implementation.

A sectoral retraining fund could be financed jointly by employers, public institutions and vocational training contributions. Banking, call centres, logistics, accounting and automotive manufacturing deserve particular attention because they combine rapid digitalisation with large workforces.

Collective bargaining also has a major role. The Confédération Générale des Entreprises du Maroc, representative unions, the employment ministry, OFPPT and institutions such as the Economic, Social and Environmental Council should negotiate transition standards before mass disputes emerge. A robust collective bargaining response to digital impact in Morocco is preferable to case-by-case litigation after jobs have already disappeared.

Conclusion: AI can transform work, but it cannot suspend the law

Moroccan labour law is not silent on technological dismissal. Articles 66 to 71 recognise technological restructuring and establish consultation, administrative control and selection safeguards. Articles 52 and 53 protect severance rights, while Article 41 provides compensation where dismissal is abusive.

Still, the law does not give a complete answer to every consequence of artificial intelligence. The absence of mature, published AI-specific case law creates uncertainty for employees and employers alike. That makes evidence, consultation and early legal advice even more important.

If your employer says that an algorithm has replaced your position, ask for facts rather than slogans. What tasks disappeared? What alternatives were studied? Was the labour inspector informed? Was prefectural or provincial authorisation obtained where required? How was your compensation calculated?

Do not wait until the 90-day period is almost over. A specialist in economic dismissal in Morocco can review the procedure, calculate entitlements and preserve your claim. Morocco has adapted its labour institutions to previous economic transformations. It can do so again—but employees, employers and social partners must prepare before automation becomes a source of avoidable injustice.

Frequently Asked Questions

Can my employer legally dismiss me because AI software replaces my job in Morocco?
Yes, a genuine technological restructuring may justify dismissal under Article 66 of the Moroccan Labour Code. However, the employer must prove the connection between the technology and the actual disappearance of the position, follow the applicable consultation process and obtain administrative authorisation where Articles 66 and 67 require it. AI is not a magic legal formula: if substantially the same job continues under another title, or if automation is used to target a protected employee, the dismissal may be challenged as abusive.
What economic dismissal compensation can I receive in Morocco?
Articles 52 and 53 provide 96 hours of salary per year for the first five years, 144 hours per year from the sixth to the tenth, 192 hours from the eleventh to the fifteenth and 240 hours beyond fifteen years. Notice pay, accrued annual leave and unpaid contractual benefits must be calculated separately. A collective agreement or negotiated social plan may provide more favourable sums, so employees should request a detailed written calculation before signing a settlement.
How long do I have to contest an abusive economic dismissal?
Article 65 of the Labour Code establishes a 90-day period beginning when the employee receives the dismissal decision. Informal negotiation with the employer or mediation by the labour inspector should not be assumed to suspend that period. The case is filed before the competent tribunal of first instance, where the social judge will first attempt conciliation before examining the merits.
Must my employer offer redeployment before dismissing me for technological reasons?
Article 66 requires the parties to examine measures capable of avoiding dismissals or reducing their adverse effects, including possible reassignment to other positions. This is an obligation to consider realistic alternatives rather than an absolute duty to create a non-existent job. If suitable vacancies existed and the employer cannot show that redeployment or reasonable training was genuinely considered, the employee will have a stronger argument before the social court.
Is a social plan compulsory when a Moroccan company restructures because of AI?
Morocco does not impose a French-style employment protection plan under that precise name. However, establishments ordinarily employing at least ten workers must comply with the consultation procedure in Article 66, and dismissals covered by Articles 66 and 67 require administrative authorisation. Training, voluntary departures and additional compensation are often negotiated with staff delegates or unions, especially in banking, telecommunications and large industrial companies.
How much does an employment lawyer cost in Morocco?
Fees are not fixed by a universal tariff and depend on the city, complexity and procedural stage. A relatively straightforward dismissal file may cost around MAD 3,000 to MAD 8,000, while contested litigation may cost MAD 8,000 to MAD 15,000 or more. Ask for a written fee agreement specifying any success fee, VAT, expert expenses and whether an appeal is included; workers with limited income should also ask about legal aid.
Can I receive funded training if automation eliminates my job?
OFPPT and the continuing vocational training system offer retraining and skills-development options, including programmes used by companies before restructuring. There is nevertheless no automatic legal entitlement guaranteeing every AI-displaced worker a fully funded course. Contact OFPPT, ANAPEC, the labour inspectorate and your sectoral union early, ideally before termination, and ask the employer in writing which training options were examined.
Does Moroccan case law protect workers dismissed because of artificial intelligence?
There is not yet a clearly established body of published Moroccan Court of Cassation case law devoted specifically to generative AI dismissals. Existing principles on proof of the dismissal ground, prohibited motives, collective procedure and administrative authorisation remain applicable. The social divisions of the tribunals of first instance can therefore reclassify a poorly documented technological dismissal as abusive even without an AI-specific precedent.
What is the difference between a valid economic dismissal and an abusive dismissal?
A valid economic or technological dismissal rests on a genuine ground and complies with consultation, authorisation and compensation requirements. An abusive dismissal occurs when the stated reason is false, insufficient, discriminatory or retaliatory, or when mandatory safeguards are disregarded. Article 41 allows damages equal to one and a half months of salary for each year or fraction of a year of service, capped at 36 months, in addition to other entitlements where legally due.
How should I prepare when my company announces AI-related redundancies?
Keep lawful copies of your contract, payslips, CNSS records, evaluations, leave balance and communications explaining the restructuring. Contact staff delegates or your union, request redeployment and training in writing, and do not sign a resignation, settlement or final receipt under pressure. Obtain legal advice quickly and preserve the 90-day court deadline even if negotiations are continuing.

Recommended lawyers

Speak with a lawyer specialized on these topics

Sofia Bousselham
9 years of experience

Sofia Bousselham

Laya Law FirmCasablanca

Avocate au barreau de Casablanca, Sofia Bousselham accompagne depuis plus de neuf ans entreprises et particuliers dans la sécurisation de leurs activités et la résolution de leurs litiges. Trilingue (français, arabe, anglais), elle intervient tant en conseil qu’en contentieux. Sa pratique se concentre sur le droit social, le droit des sociétés, le droit commercial, la propriété intellectuelle et la protection des données personnelles. À l'écoute et pragmatique, elle privilégie une approche personnalisée et stratégique, alliant rigueur juridique et compréhension des enjeux business de ses clients.

Labor LawBusiness LawIntellectual Property+13
French · Arabic · English
Direct contact only
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