travail16 min read

Idmaj Contract in Morocco: Employer Duties, Employee Rights, and What Draft Law 51.25 Changes

By Salma Tazi

Legal Editor — Family Law

Published on Updated on
Idmaj Contract in Morocco: Employer Duties, Employee Rights, and What Draft Law 51.25 Changes

What the Idmaj contract really is in Morocco

The Idmaj contract in Morocco is often described casually as an internship. That shortcut is misleading. In practice, it is an employment integration scheme designed to help first-time job seekers enter the labor market through a structured placement with an employer, under the supervision of ANAPEC, the National Agency for the Promotion of Employment and Skills. In other words, it is not a simple academic internship and it is not, at least in its original legal design, an ordinary open-ended employment contract either. It sits somewhere in between, with its own rules, its own tax incentives, and its own litigation risks.

The legal architecture of the scheme does not rest on a single standalone statute. It is built from several layers: the annual Finance Laws that grant tax and social contribution incentives, ANAPEC model agreements and circulars, ministerial guidance from the department in charge of employment, and, when disputes arise, the interpretive framework of the Moroccan Labour Code, Law No. 65-99. That is why one recurring mistake, both among employers and beneficiaries, is to assume that because the contract is called an “integration” contract, the Labour Code does not matter. It does matter, sometimes directly, sometimes by analogy, and very often through judicial reclassification.

I have seen this confusion many times in practice. A young civil engineer from Fez once came to consultation after signing what he thought was a valid Idmaj placement with a small engineering office. The employer expected to benefit from the Idmaj ANAPEC Morocco tax exemptions. The problem was basic but fatal: the graduate had not completed his registration with ANAPEC before signature. Concretely, that administrative step is not cosmetic. Without it, the employer may lose the expected exemptions, and the relationship can quickly become a classic labor dispute with CNSS exposure.

It also helps to separate Idmaj from other public schemes. Tahfiz is generally discussed in connection with incentives to stimulate employment, while Moukawalati concerns entrepreneurship and business creation support. Idmaj, by contrast, is focused on professional insertion through a company-hosted work placement. The distinction matters because companies often mix up the conditions, especially regarding duration, tax treatment, and the role of ANAPEC.

Origin and policy logic of the Idmaj scheme

The philosophy behind Idmaj is straightforward: reduce the gap between diplomas and employability. Morocco has long faced a structural challenge familiar to many families in Casablanca, Rabat, Fez, Marrakech, and Tangier: a graduate leaves university or vocational training, but the first stable job does not come easily. The program was created to encourage employers, especially SMEs, to take a chance on inexperienced candidates by lowering the cost of recruitment during an initial integration period.

That policy goal explains the incentives. The State supports the scheme through tax relief and, in practice, through mechanisms linked to social protection contributions. But the logic is not to create a permanent low-cost workforce. Attention, however: this is precisely where abuse appears. Some employers use successive Idmaj placements to fill permanent positions without ever moving to a proper CDI. Moroccan labor courts have become increasingly sensitive to that practice.

Who can benefit from an Idmaj contract?

Eligibility generally concerns graduates of higher education or vocational training who are first-time job seekers and duly registered with ANAPEC. The exact categories and documentary requirements depend on the regulatory framework and ANAPEC procedures in force at the time of filing. In practical terms, the candidate must usually provide proof of qualification, national identity documents, and evidence of registration as a job seeker.

From the employer side, the company must also satisfy formal conditions. It must use the approved contractual documentation, comply with the filing procedure, and respect the operational rules of the scheme. The point is simple: the contract Idmaj ANAPEC Maroc is not activated just because two parties sign a paper privately. The administrative ecosystem matters.

The central role of ANAPEC

ANAPEC is not a passive observer. It is the institutional pivot of the system. It validates eligibility, receives the contract file, follows the placement, and serves as the gateway to the fiscal and social incentives attached to Idmaj. For that reason, one of the first questions I ask in any dispute is this: Was the contract deposited with ANAPEC before the placement actually started? If the answer is no, the employer is already standing on fragile ground.

For readers who want to compare Idmaj with related labor law issues, it can be useful to read also droits des stagiaires au Maroc and contrat de travail et requalification au Maroc.

Duration of the Idmaj contract and renewal limits

The question of duration is one of the most litigated points in practice. Broadly speaking, the standard approach has long been a 12-month initial period, with the possibility of one renewal, bringing the total maximum to 24 months. That is the working rule most practitioners, ANAPEC officers, and labor inspectors apply in the field for higher education graduates. Some profiles and earlier administrative formulas have generated confusion, but the key principle is stable: the scheme is not meant to be renewed indefinitely.

This matters because many employers wrongly treat Idmaj like a flexible rolling arrangement. It is not. Once the legal or regulatory ceiling is reached, maintaining the worker in the same conditions without moving to a proper employment contract creates a serious reclassification risk. In clear terms, the labor court may conclude that the person was in reality a normal employee and award the consequences that follow from that finding.

Initial duration and practical documentation

In day-to-day practice, the safest approach is to document every stage carefully: the original contract, the start date, the host department, the designated supervisor, and any renewal by written amendment signed before the expiry of the first period. This may sound administrative, but it becomes decisive in litigation. Moroccan labor judges attach great weight to written proof, and the absence of a dated renewal often works against the employer.

Attention, this is a trap I see constantly. A company assumes that because the beneficiary continued working after month twelve, the renewal is “understood.” It is not. Silence is not good enough when the company later wants to argue that the relationship remained an integration placement rather than a standard employment relationship.

Why renewal cannot go on forever

The rationale is obvious. If a person has occupied the same workstation, under the same supervision, on the same schedule, for two years, the argument that the company is still merely “testing” professional integration becomes much weaker. Courts look at economic reality. If the need is permanent, the position should normally be filled by a permanent employee.

The editorial brief mentions draft law 51.25 as a pending reform intended to tighten this framework. At the time of writing, the prudent legal position is this: the draft must be treated as pending until its final text is adopted and published in the Bulletin Officiel. That said, the announced direction is clear—stricter control of renewals, a firmer duration cap, and stronger pressure toward CDI conversion at the end of the insertion period.

Salary under an Idmaj contract: allowance, SMIG, and market reality

The issue of pay is another area where words matter. Under the classic Idmaj design, the beneficiary receives an allowance linked to the integration scheme rather than an ordinary salary in the strict labor-law sense. In practice, market actors often refer to it as salary because it is paid monthly and corresponds to actual work performed. That linguistic shortcut, however, should not hide the legal nuance.

The editorial framework refers to examples such as 1,600 MAD per month for certain qualification levels and 2,000 MAD per month for higher profiles such as Bac+5. These figures are often used as practical benchmarks in discussion of the scheme. Employers may also choose to add a top-up. But once the relationship looks and functions like ordinary salaried work, the question of the SMIG becomes unavoidable.

Decree No. 2-04-426 of 29 December 2004 governs the interprofessional minimum wage framework in Morocco. Whenever the factual relationship is recharacterized as ordinary employment, the comparison with the applicable SMIG becomes central.

In other words, an employer cannot hide behind the Idmaj label forever if the person works full-time, under fixed hours, with hierarchical instructions, and performs ordinary productive tasks of the company. In such a case, labor judges may compare what was paid with what should have been paid under ordinary labor law rules and order wage arrears.

Who pays what?

There is often confusion between the State support mechanism and the employer’s own financial obligation. Depending on the applicable arrangement and ANAPEC process, the employer benefits from a favorable fiscal and social framework, but that does not mean every sum paid is outside the normal legal universe. If the company pays a complementary amount above the supported allowance, that top-up may fall under ordinary tax and social rules.

I remember a dispute before the labor court in Casablanca involving a small service company that believed the Idmaj allowance was, by definition, a net amount free of all questions. The company paid a monthly top-up in cash without proper payroll treatment. When the relationship soured, that “informal generosity” became evidence against it. The court looked not only at the amount paid, but at the way the work was organized and supervised.

What employers often forget to pay

What is frequently forgotten is not always the principal monthly allowance itself. More often, employers overlook peripheral obligations: rest days, leave accrual in situations where the labor relationship is effectively salaried, reimbursement of certain work expenses, or proper payroll records when a top-up exists. This is why the search term salary minimum contrat Idmaj Maroc is not merely academic. It points to a recurring tension between the scheme’s administrative design and the reality of work on the ground.

The draft law 51.25 is expected, according to the current reform narrative, to improve the financial attractiveness and legal clarity of the scheme, including the possible revaluation of supported amounts. But again, until publication in final form, caution is essential.

Employee rights under an Idmaj contract: what is actually guaranteed?

Many young graduates accept an Idmaj placement under intense family and financial pressure. They often believe they have no real rights because they are “just under ANAPEC.” That is false. The scope of protection may differ from a standard employee under a classic CDI, but the beneficiary is not outside the law.

CNSS affiliation and compulsory health coverage

The most practical right is CNSS affiliation and access to AMO, compulsory health insurance, from the beginning of the placement where the scheme conditions require it. This point is crucial. A worker who falls ill or suffers an accident quickly discovers whether the employer took the formalities seriously.

The editorial brief refers to article 396 of the Moroccan Labour Code in connection with trainees and social protection. More broadly, the legal environment of labor protection, workplace safety, and social insurance cannot be switched off by contractual vocabulary. The trend in Moroccan practice is clear: if the person is integrated into the company’s organization and contributes through regular work, the protective logic of labor and social law follows.

I handled a file in Rabat where the employer argued that the beneficiary was “not a salaried employee” and therefore did not need CNSS affiliation. The facts were poor for the defense: fixed daily schedule, workstation in the company, direct reporting line, regular monthly payment, and ordinary office tasks identical to those of permanent staff. The judge was not persuaded by the label. That is the hidden danger in the expression contrat Idmaj CNSS affiliation: for the employer, it is not an option; for the beneficiary, it is often the first sign of whether the file is compliant.

Weekly rest, leave, and overtime

Does an Idmaj beneficiary have rights to rest and leave? In real life, yes, and courts increasingly examine these issues through the lens of actual subordination and working conditions. If the placement operates exactly like salaried work, weekly rest and paid leave rights may be recognized proportionally. The same applies to overtime discussions where the factual record supports a standard employment relationship.

This is where many beneficiaries hesitate to complain. They fear being told, “You are lucky to have an opportunity at all.” But opportunity does not cancel legal protection. A company cannot impose unlimited hours simply because a placement is subsidized.

Training and ANAPEC follow-up

The scheme’s stated purpose is insertion through experience and skill development. That means the beneficiary should not be used merely as cheap labor without any meaningful supervision. In theory and in proper practice, there should be a training dimension, a host structure, and a designated reference person. If there is no support, no supervision, and no learning pathway, the employer weakens its own position if litigation later arises.

Certificate of work and attestation of experience

One right that employers refuse far too often is the end-of-placement certificate. Under article 724 of Law No. 65-99, the employer must deliver a work certificate stating the hiring date, end date, and positions held.

Article 724 of the Moroccan Labour Code: the employer must deliver a certificate of work to the employee upon termination, indicating the date of entry, the date of exit, and the positions occupied.

Even when the employer insists the relationship was only an insertion contract, refusing an attestation of professional experience is risky and often unjustified. Practically, the beneficiary should first send a formal written notice by registered mail with acknowledgment of receipt. If the refusal continues, the labor inspector can be seized, and if necessary the tribunal du travail can order delivery, sometimes under a daily penalty payment.

Employer obligations under the Idmaj scheme

The obligations employeur contrat Idmaj are more substantial than many SMEs realize. The employer must not only host the beneficiary; it must also comply with the administrative framework that gives the scheme its legality and its tax advantages.

Signature and filing formalities

As a rule of practice, the Idmaj contract is signed in multiple originals for the employer, the beneficiary, and ANAPEC. The contract should be deposited with ANAPEC before the placement begins. This timing is not a formality in the trivial sense. It conditions access to the associated incentives and helps establish the legal nature of the relationship.

If the file is deposited late, or never deposited at all, the employer may lose the benefit of the scheme and face a much harder time defending against reclassification. Concretely, when a CNSS audit or labor dispute starts, the first documents requested are often the ANAPEC filing receipt, the signed contract, and supporting attendance records.

Designation of a tutor or supervisor

ANAPEC model practice requires a host supervisor, often called a tutor, to guide the beneficiary. Some employers treat this as symbolic. It is not. The absence of any identified supervisor suggests there was no structured integration pathway at all, only an ordinary labor need filled at reduced cost. That is precisely the narrative a claimant’s lawyer will develop before the labor court.

Preserving evidence: attendance sheets and internal records

One practical recommendation I repeat constantly: keep monthly signed attendance sheets and internal follow-up records. During a CNSS control, these documents are indispensable. A textile employer in Tangier once consulted us after a redressement linked to several undeclared or badly documented insertion placements. The company had almost no contemporaneous records. The financial exposure was immediate and serious.

Sanctions for non-compliance

The sanctions are not theoretical. They include loss of tax advantages, CNSS reassessment, and judicial requalification of the relationship into a CDI with all financial consequences attached: wage adjustments, possible dismissal compensation, notice issues, and unpaid social contributions. This is why employers should also review resources such as licenciement abusif au Maroc : droits et recours and, where needed, consult an avocat droit du travail Casablanca, avocat droit du travail Rabat, or avocat droit du travail Tanger depending on where the work is performed.

Tax advantages for employers: the real economic calculation

The attraction of Idmaj lies largely in its cost structure. The employer may benefit from tax exemptions and a favorable treatment of employer contributions linked to the integration placement, while the beneficiary may benefit from an exemption from income tax on the supported allowance under the applicable Finance Law provisions.

Income tax exemption for the beneficiary

The editorial brief correctly highlights one of the scheme’s flagship incentives: the allowance paid under the Idmaj framework is generally treated favorably for tax purposes, with IR exemption during the eligible period, subject of course to compliance with the conditions of the program. This is one reason employers and graduates both seek the ANAPEC route rather than a direct ordinary hire at the outset.

Employer-side savings on social charges

For the employer, the concrete advantage often lies in the reduction or assumption of certain employer-side social charges during the eligible period. In practical terms, for a monthly supported amount around 2,000 MAD, the avoided employer cost can represent roughly 400 to 600 MAD per month, depending on the exact contribution treatment and payroll structure. For a small Moroccan company, that is not negligible.

But attention toutefois: the benefit is conditional. If the employer pays additional remuneration outside the supported framework, that extra amount may be subject to the normal tax and CNSS regime. This is where accounting discipline matters. Informal supplements paid in cash are one of the fastest ways to turn a supposedly advantageous scheme into a tax and labor dispute.

Why the filing date is economically decisive

I insist on this because many employers discover it too late: if the contract is not filed properly with ANAPEC before the start of the placement, the economic model collapses. The company may think it hired at reduced cost, but after control it can lose the exemptions and still owe ordinary contributions. In some files, that retrospective adjustment is more expensive than having hired under a regular contract from the beginning.

Termination of an Idmaj contract: rights, compensation, and traps

The question rupture contrat Idmaj indemnité is one of the most searched for a reason: people assume that every end of contract triggers severance. Under the standard legal conception of Idmaj, the answer is no, not automatically. Since the scheme is not originally framed as an ordinary employment contract, the end of the placement does not, by itself, generate the same dismissal compensation as a terminated CDI.

That said, this is only half the story. If the factual conditions show a genuine salaried relationship, the labor court may requalify the Idmaj contract as a CDI. Once that happens, the financial consequences change dramatically.

Termination at the employer’s initiative

If the employer ends the relationship early, the first question is whether the termination follows the specific framework of the placement and whether ANAPEC was informed where required. The second question is more dangerous: did the employer in fact terminate a disguised ordinary employment relationship? If yes, the claimant may seek salary arrears, notice compensation, damages for abusive dismissal, and social contribution adjustments.

Articles 51 and following of the Moroccan Labour Code govern the effects of termination of an employment contract, including notice and dismissal consequences in the ordinary labor law framework.

The brief mentions article 52 in relation to dismissal compensation. In litigation, the exact article invoked will depend on the nature of the claim and the way the court characterizes the relationship. What matters for readers is the practical point: once reclassification occurs, the employer may be exposed to the full package of labor law consequences.

Termination at the beneficiary’s initiative

A beneficiary can also leave. In principle, if the person resigns from the integration placement, classic severance logic does not apply. But again, if the facts reveal a disguised standard job and the resignation was effectively forced by unlawful conditions—non-payment, lack of CNSS, abusive hours—the legal analysis becomes more complex. This is why legal advice is useful before taking a definitive step.

Judicial reclassification into CDI

This is the heart of most serious disputes. Moroccan courts, including labor chambers in Casablanca and other major jurisdictions, examine the classic markers of subordination: fixed schedule, fixed workplace, hierarchical control, regular remuneration, and integration into the company’s normal activity. If these markers are present, the court may conclude that the contract was, in substance, a normal employment relationship from the outset or from a certain point onward.

That means the employer may owe SMIG-based salary adjustments, statutory termination compensation where applicable, and CNSS arrears. For readers interested in the procedural side, see also saisir le tribunal du travail au Maroc : guide pratique.

As a practical warning, if you are a beneficiary and your daily reality is identical to that of a permanent employee, do not rely only on verbal assurances. Preserve evidence: messages, schedules, attendance records, task lists, and proof of payment. In many labor cases, the outcome turns on the quality of the factual file.

Converting an Idmaj contract into a CDI

Under the current mainstream understanding of the scheme, contrat Idmaj transformation CDI is encouraged, but not automatically mandatory in every case under the existing framework. This nuance is often lost in public discussion. The purpose of Idmaj is insertion into stable employment, but the current regime has not always imposed a universal obligation to hire permanently at the end of the placement.

How conversion works in practice

Concretely, conversion requires a new open-ended employment contract, proper declaration to the CNSS as a permanent employee under the ordinary regime, and closure or updating of the ANAPEC file. Employers should also decide whether they recognize prior seniority. It is wise to mention this expressly in writing. A short confirmation letter stating whether previous service counts toward seniority can prevent later conflict.

I recall a Marrakech accounting firm that had kept five so-called Idmaj trainees rotating through similar functions over roughly three years by using disguised renewals and administrative reshuffling. The CNSS reassessment reportedly reached around 180,000 MAD. That figure gets attention very quickly, especially in a SME environment.

The likely impact of draft law 51.25

According to the reform direction described in the brief, draft law 51.25 would move from simple encouragement toward a stronger obligation to offer a CDI at the end of the maximum insertion period, at least for certain employers or above a proposed workforce threshold. Here, honesty matters: until the final text is enacted and published, any threshold or precise transitional rule must be treated with caution. Readers should verify the final version in the Bulletin Officiel or with counsel.

Still, the policy message is already clear. The State no longer wants Idmaj to function as a substitute for permanent recruitment. Employers using the scheme repeatedly for the same structural role should anticipate stricter scrutiny.

Disputes and the competent labor court in Morocco

When an Idmaj dispute turns judicial, the competent court is generally the labor court section of the court of first instance where the work was performed. The brief refers to article 532 of the Labour Code on territorial competence, and this is indeed the practical reference point in labor litigation.

Article 532 of Law No. 65-99: the competent court is generally that of the place where the work is performed.

Before going to court: labor inspection

Before filing a case, it is strongly advisable to contact the inspection du travail at the relevant provincial delegation of the Ministry in charge of Employment. This step is free and sometimes surprisingly effective, especially in disputes over certificates, unpaid sums, or CNSS-related formalities. Many employees avoid it out of mistrust or fear of retaliation. Yet in practice, a well-drafted complaint can push an employer to regularize the situation without full litigation. Readers may also consult inspection du travail Maroc : comment saisir ?.

Prescription periods and urgency

The brief mentions a two-year limitation period for salary claims and three years for certain civil liability claims. In practice, limitation issues should be assessed carefully based on the exact legal basis of the action. What matters most for readers is not to wait. Delay is one of the main reasons good cases become hard cases.

Procedure and cost

The procedure usually starts with a written claim, followed by an attempt at conciliation, then hearings on the merits if no settlement is reached. For a relatively straightforward Idmaj case before the labor court, legal fees often range between 3,000 and 8,000 MAD, depending on the city, the lawyer, and the complexity of the file. Beneficiaries with limited means may seek legal aid through the judicial assistance office attached to the court.

If your matter is local to a major city, specialized assistance may be useful from an avocat droit du travail Marrakech or an avocat droit du travail Fès, especially where reclassification and CNSS issues overlap.

What draft law 51.25 could change concretely

The news angle of this article is the announced reform under draft law 51.25. At the time of writing, the essential caution must be repeated: the text is still in the adoption process and should be checked in its final published version before any operational decision is made. That said, the reform trajectory described by policymakers and sector commentary points in a consistent direction.

Stricter duration control and anti-abuse measures

First, the reform is expected to reinforce the ceiling on duration and make repeated renewals harder or impossible beyond the statutory maximum. This directly addresses a widespread abuse: using insertion contracts repeatedly for permanent needs.

More pressure to move toward CDI

Second, the draft is expected to strengthen the employer’s duty to consider or propose CDI conversion once the insertion period ends, especially in companies of a certain size. If adopted in this form, this would be a major shift. It would move Idmaj closer to a genuine bridge to stable employment rather than a standalone low-cost staffing tool.

Social protection and coherence with broader reforms

Third, the reform should be read alongside the broader dynamic of social protection generalization under Framework Law No. 09-21. Morocco is moving toward a more coherent coverage system. In that larger context, leaving insertion beneficiaries in a gray zone is increasingly difficult to justify.

For employers, the practical advice is simple: review existing Idmaj files now. Verify duration, ANAPEC registration, CNSS status, supervision records, and the business need behind each position. If the role is structurally permanent, prepare a lawful transition rather than waiting for a dispute or control.

Practical recap: what to remember depending on your situation

If you are an Idmaj beneficiary

Check five things immediately. First, were you registered with ANAPEC before signing? Second, are you properly affiliated with CNSS and covered by AMO? Third, what is the exact duration of your contract and has any renewal been made in writing? Fourth, do you have a named supervisor or tutor? Fifth, will the employer issue an experience certificate or work certificate at the end?

If you are denied CNSS, kept beyond the legal maximum without regularization, refused an attestation, or treated exactly like a permanent employee while being paid only as an insertion beneficiary, those are warning signs. In that case, legal advice is worth seeking early.

If you are an employer

Do not treat Idmaj as an informal HR shortcut. File the contract with ANAPEC before the start date. Keep signed attendance sheets. Appoint a real supervisor. Respect the maximum duration. If the need is permanent, prepare a CDI. The short-term savings of misuse can turn into a long-term CNSS and labor law problem.

When should you speak to a labor lawyer?

Speak to counsel if there is a dispute over CNSS affiliation, repeated renewals, alleged underpayment compared with ordinary salaried work, refusal to issue a certificate, or threatened litigation before the labor court. The earlier the file is reviewed, the more options usually remain open.

For official information, readers should consult ANAPEC, the CNSS portal, the Ministry in charge of Employment, and the Bulletin Officiel for the final version of any legislative reform. That final point matters. Too much online content speaks of draft law 51.25 as if it were already fully in force. A serious legal analysis must distinguish between current law and announced reform.

In one sentence, here is the practical truth: the Idmaj contract in Morocco can be a useful bridge into employment, but only if both employer and beneficiary respect the ANAPEC framework, the social protection rules, and the limits that separate a lawful insertion placement from a disguised permanent job.

Frequently Asked Questions

What is the maximum duration of an Idmaj contract in Morocco, and can it be renewed indefinitely?
No. In practice, the Idmaj contract is generally limited to 24 months in total: an initial 12-month period with one possible renewal of 12 additional months. Beyond that point, continued use of the same beneficiary under the scheme becomes highly risky and may be treated as irregular by labor inspectors and courts. If the worker remains in the same post under ordinary subordination, the labor court can reclassify the relationship as a CDI, with consequences such as CNSS arrears, wage adjustments, and termination compensation where applicable. Draft law 51.25 is expected to tighten this cap even further and reinforce the obligation to move toward permanent hiring.
Is an Idmaj beneficiary entitled to CNSS and AMO coverage?
Yes. CNSS affiliation and AMO coverage should be in place from the start of a compliant Idmaj placement, subject to the scheme’s administrative conditions. Some employers still wrongly argue that an insertion beneficiary is not a real worker for social protection purposes, but that position is increasingly difficult to defend in Morocco. If the employer fails to affiliate the beneficiary, the latter can alert the CNSS, contact the labor inspector, and, if needed, bring a claim before the labor court. In cases where the factual working conditions are identical to ordinary employment, the risk of judicial reclassification becomes even stronger.
Is there a termination indemnity when an Idmaj contract ends?
Not automatically under the standard legal design of the Idmaj scheme. Because the contract is not originally structured as a classic employment contract, its normal expiry does not, by itself, trigger statutory dismissal compensation in the same way as a CDI. However, if the actual working conditions reveal a genuine salaried relationship—fixed hours, fixed workplace, direct hierarchical control, regular monthly remuneration—the labor court may reclassify the contract as a CDI. In that event, the employer may owe notice-related sums, dismissal compensation, and unpaid social contributions under the Labour Code framework.
What concrete tax advantages does an employer obtain by recruiting through Idmaj?
The main benefits are twofold. First, the beneficiary’s supported allowance generally benefits from favorable income tax treatment, often with IR exemption under the applicable Finance Law rules. Second, the employer may benefit from relief regarding employer-side social charges linked to the placement, which can represent roughly 400 to 600 MAD per month saved for a 2,000 MAD supported amount, depending on the payroll configuration. These advantages are conditional on strict compliance with ANAPEC filing formalities before the placement starts. If the employer pays an additional salary top-up, that extra portion may still be subject to ordinary tax and CNSS rules.
How can an Idmaj contract be converted into a CDI in Morocco?
The conversion requires a new open-ended employment contract signed by both parties. The employer must then regularize the worker’s status with the CNSS as a permanent employee under the ordinary contribution regime and close or update the ANAPEC file accordingly. It is also advisable to state clearly whether the previous Idmaj period counts toward seniority, because that issue can later become contentious. Under the current framework, CDI conversion is encouraged rather than universally mandatory, but draft law 51.25 may impose a stronger obligation on certain employers once finally adopted.
What should I do if my employer refuses to give me a work certificate at the end of my Idmaj contract?
Start with a formal written demand sent by registered mail with acknowledgment of receipt. Under article 724 of the Moroccan Labour Code, the employer must issue a work certificate stating the date of hiring, the date of departure, and the positions occupied. If the employer still refuses, you can contact the labor inspector at the competent provincial delegation, which is a free and often effective step. If that does not solve the issue, the labor court can be asked to order the employer to deliver the document, sometimes under a daily financial penalty.
Can an employer use several Idmaj contracts in a row with different beneficiaries for the same position?
There is no simple one-line prohibition that solves the issue automatically, but the practice is increasingly scrutinized. If a company repeatedly fills the same operational role with successive Idmaj beneficiaries, that often reveals a permanent labor need that should normally be covered by a CDI. ANAPEC, labor inspectors, and courts may view such repetition as an abuse of the scheme, especially if the job content never changes. Draft law 51.25 is expected to regulate this more strictly and expose employers to stronger sanctions where Idmaj is used as a substitute for permanent hiring.
Which court is competent for an Idmaj dispute in Morocco?
The competent court is generally the labor section of the Court of First Instance in the place where the work was performed, in line with article 532 of the Labour Code. Before going to court, it is usually wise to attempt conciliation through the labor inspector, because that step is free and can resolve some disputes quickly. If judicial proceedings become necessary, the claimant files a written petition and the court usually begins with a conciliation attempt before examining the merits. Beneficiaries with limited financial means may apply for legal aid through the judicial assistance office attached to the court.
Is the Idmaj contract governed by the Moroccan Labour Code?
Not entirely in the same way as a standard employment contract, but the Labour Code remains highly relevant. The Idmaj scheme is a specific insertion mechanism built around ANAPEC agreements, Finance Law incentives, and administrative rules, so it is not identical to a classic CDI or CDD. However, many Labour Code protections become applicable by analogy, by express reference, or through judicial reclassification when the factual relationship is one of ordinary subordination. That is why employers should never assume that using the word “Idmaj” places the relationship outside Moroccan labor law.

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+6
French · Arabic · English
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.

Corporate LawIntellectual PropertyCommercial law+14
French · Arabic · English
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+2
French · Arabic · English