Morocco Contractor Rules — Comprehensive Guide for Employers
Verified by legal experts in Morocco — Back to Country Guide

Contractor rules guide: Morocco (2026)

Key rules for engaging independent contractors in the UAE — including legal classification, contract requirements, tax obligations, and misclassification risks.

RemotePass makes hiring in the Morocco simple. We handle compliance, contracts, and payroll. You focus on building your business.
Verified by Morocco legal experts
Quick Reference
Legal framework
Civil Transactions Law
Contract type
Service agreement
Tax obligation
None (0% income tax)
Work permit
Required for residents
Payment terms
Per contract
LEGAL FRAMEWORK
Civil Transactions Law
CONTRACT TYPE
Service agreement
TAX OBLIGATION
None (0% income tax)
WORK PERMIT
Required for residents

Morocco has become an increasingly popular destination for remote talent, particularly in tech, creative services, and business process roles. For foreign companies looking to engage Moroccan contractors, the country’s legal framework offers a workable path, but it comes with specific rules you need to understand before you sign anything. Get them wrong, and you could be looking at unexpected tax liabilities, backdated social contributions, and a contractor relationship that a Moroccan court recharacterizes as employment.

How contractor engagement works in morocco

Foreign companies can engage Moroccan contractors without establishing a local entity. The contractor typically invoices the foreign client directly, handles their own tax filings, and operates as an independent business. In practice, the most common structure is the auto-entrepreneur regime, which was introduced to simplify self-employment registration and bring more of the informal economy into compliance.

That said, the fact that a contractor has registered as an auto-entrepreneur doesn’t automatically protect you as the engaging company. Moroccan law looks at the substance of the relationship, not just its label. How you structure the engagement, how much control you exercise, and how financially dependent the contractor is on your company all factor into how authorities assess the arrangement.

What to establish upfront

Before work begins, it’s worth getting a few things in order. Ask to see the contractor’s registration documentation. Make sure a written service agreement is in place that specifies deliverables, timelines, and fees, but not working hours, methods, or tools. And confirm that the contractor is either working with other clients or is positioned to do so. Each of these details matters when it comes to demonstrating genuine independence.

The auto-entrepreneur structure

The auto-entrepreneur regime is Morocco’s primary self-employment structure. Registration is straightforward, and the regime comes with simplified tax and accounting obligations, which is why it’s become the default for independent professionals across a range of sectors.

There are annual revenue thresholds that determine whether a contractor can stay within the regime. For service providers, the ceiling is MAD 200,000 per year. For commercial or industrial activity, it’s MAD 500,000. These aren’t hard cut-offs after a single year: a contractor who exceeds the applicable threshold for two consecutive years must transition to a more complex legal structure, either a sole proprietorship or a société à responsabilité limitée (SARL).

This matters for you as a client because a contractor who’s scaling up their income may eventually need to restructure. It doesn’t change your legal exposure directly, but it’s worth being aware of when you’re planning a longer-term engagement.

The 80,000 mad threshold rule

This is the rule that tends to catch foreign companies off guard. Under Moroccan tax law, if an auto-entrepreneur earns more than MAD 80,000 from a single client in a given year, the amount above that threshold triggers a 30% withholding tax obligation for the client company.

In other words, if you pay a Moroccan contractor MAD 120,000 in a year, you’re responsible for withholding 30% on the MAD 40,000 that exceeds the threshold. That’s a MAD 12,000 tax liability that sits with you, not with the contractor.

This has two practical implications. First, it creates direct financial exposure for high-value engagements. Second, it adds compliance complexity: you need to track cumulative payments per contractor per year and apply the withholding correctly when the threshold is crossed. For companies paying through informal or ad hoc arrangements without tracking annual totals, it’s easy to miss this. The Direction Générale des Impôts (DGI) is actively auditing these relationships in 2026.

Misclassification risk: the subordination test

Beyond the withholding tax question, there’s a more fundamental legal risk: misclassification. Morocco’s Labour Code uses a subordination test, known as the lien de subordination, to determine whether a working relationship is employment or genuine self-employment.

The test looks at a cluster of factors rather than any single element. Indicators that point toward an employment relationship include:

  • The worker follows a fixed schedule set by the client
  • The worker works exclusively for one client
  • The client provides the tools, equipment, or systems the worker uses
  • The client directs how and when the work is carried out, not just what the outcome should be
  • There’s ongoing supervision rather than project-based delivery

No single factor is automatically decisive, but exclusivity combined with regular hours and use of company resources is a strong signal. Courts and labor inspectors look at the full picture.

The DGI and Caisse Nationale de Sécurité Sociale (CNSS) are paying particular attention to tech and remote work arrangements in 2026, where the practical realities of day-to-day collaboration can blur the lines between contractor and employee. If your contractor attends daily standups, uses your company’s tools, and doesn’t have any other clients, that profile is drawing scrutiny.

Retroactive liability and enforcement

If a contractor engagement is reclassified as employment, the financial consequences land on the client. Morocco’s enforcement framework means retroactive liability can include:

  • Backdated CNSS social security contributions for the full duration of the relationship
  • Back payment of employment benefits the worker would have been entitled to, including paid leave and seniority bonuses
  • Penalties and interest on unpaid contributions

These costs aren’t capped and can compound significantly for long-running engagements. A contractor relationship that’s been running for two or three years under circumstances that suggest subordination could generate a substantial retroactive bill.

The enforcement environment has tightened. The DGI and CNSS are cross-referencing auto-entrepreneur registration data with payment records and conducting audits of companies engaging self-employed workers, particularly in tech and professional services sectors. This isn’t a theoretical risk. It’s one that companies operating in Morocco are actively navigating in 2026.

Safer alternatives: cor and EOR

If you want to engage talent in Morocco without taking on misclassification risk directly, there are two structured alternatives worth understanding.

A Contractor of Record (CoR) is a third-party entity that formally engages the contractor on your behalf. The CoR handles the contractual relationship, tax compliance, and the 80,000 MAD threshold tracking. You get the flexibility of a contractor arrangement, but the compliance infrastructure sits with a local entity that knows Moroccan law. A Contractor of Record arrangement is particularly useful when you’re working with a single contractor at significant volume or when the nature of the work creates subordination risk.

If your needs are closer to full-time employment, with consistent hours, integrated work, and a long-term engagement, an Employer of Record (EOR) is the more appropriate structure. An EOR employs the worker in Morocco on your behalf, handling all local payroll, CNSS contributions, benefits, and compliance. You direct the work; the EOR manages the employment relationship and legal obligations. For companies that need more clarity on how this model works, the RemotePass guide to what an employer of record is is a useful starting point.

If you’re comparing providers, RemotePass offers EOR services across Morocco and the wider MENA region, with the local knowledge to navigate both structures correctly.

Conclusion

Engaging contractors in Morocco is entirely feasible, but it requires you to understand the rules that govern the relationship. The auto-entrepreneur regime provides a legitimate framework for self-employment, and many Moroccan professionals operate successfully within it. What creates exposure for foreign companies is treating a contractor engagement like an employment relationship in practice while calling it something different on paper.

Keep an eye on your annual payment totals, structure agreements around outcomes rather than hours, and make sure the contractor has genuine independence. If the engagement doesn’t fit cleanly within those parameters, a CoR or EOR arrangement gives you a compliant path forward without sacrificing access to Moroccan talent.

Want to see how RemotePass handles contractor and employee engagement in Morocco? Book a demo to talk through your specific situation.

Engage contractors in the morocco — compliantly

RemotePass handles contractor classification, contracts, and payments — so you can engage talent in the Morocco without misclassification risk.

Talk to an ExpertNo commitment required

Need help with global hiring and compliance?

RemotePass makes it easy to hire, pay, and manage your global team, compliantly and at scale.

By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.