Skip to main content
WEEPO Maroc

Freelance · EOR · Umbrella Company

Freelance Service Agreements in Morocco: Essential Clauses (2026)

A quote is not a contract. This guide covers the essential clauses of a freelance service agreement in Morocco, price, IP ownership, termination, and jurisdiction, along with the exact legal basis under Moroccan law.

Published on 13 July 20268 min readBy admin
Summarize with

Open this article in your preferred AI assistant for a summary or focused questions.

Freelance Service Agreements in Morocco: Essential Clauses (2026)

A surprising number of foreign companies hire a Moroccan freelancer on the strength of a two-line email and a PayPal invoice. It works, until a deliverable gets disputed, a payment sits unpaid for two months, or a company assumes it owns code that, legally, still belongs to the freelancer. A written service agreement is not paperwork reserved for large contracts. It is what turns a fragile email exchange into something you can actually enforce.

In Morocco, a freelance service agreement between an independent contractor and a client falls under the Code of Obligations and Contracts (DOC, articles 723 to 780), not the labor code. It is a contract for services, not an employment contract, and it should fix scope, price, deadlines, IP ownership, and termination terms before work starts.

Why an invoice or a quote is not a contract

A quote sets a price and a rough scope, but it almost never spells out exact deliverables, revision rounds, or what happens if the client changes direction halfway through. Plenty of foreign companies working with Moroccan freelancers only realize the gap when a dispute lands: the quote never mentioned late payment penalties, and nobody agreed on who owns the source files if the relationship ends abruptly.

A separate service agreement closes that gap. It turns the loose intentions in a quote into enforceable obligations, clauses that actually hold up in front of a Moroccan commercial court. Without one, a dispute usually gets settled informally, for lack of solid proof, and informal settlements rarely favor the independent contractor.

Under the Code of Obligations and Contracts, a valid contract requires agreement on subject matter, price, and cause. A vague quote does not always prove that agreement existed if the two sides later disagree on what was actually in scope.

What law actually governs a freelance contract in Morocco?

A freelancer or self-employed contractor is not an employee. Their agreement with a client sits under Moroccan civil and commercial law, specifically the section of the DOC covering louage d'ouvrage and louage de services (articles 723 to 780). Morocco's labor code, with articles 16 to 20 on fixed-term and open-ended employment contracts, does not apply here. Those articles govern an employer-employee relationship, not an independent contractor billing for a project.

This is exactly where umbrella company arrangements change the picture. A consultant working through WEEPO's umbrella structure signs two separate documents: a commercial services agreement between WEEPO and the client, and an employment contract between WEEPO and the consultant, this time genuinely governed by the labor code and its provisions on temporary work (articles 495 to 502), which is the legal foundation for umbrella employment in Morocco. A self-employed freelancer signs only one document: the agreement with their direct client.

For a foreign company, that distinction matters more than it looks. Hiring a Moroccan freelancer directly under a simple service agreement, with no local employment relationship, avoids the misclassification risk that comes with treating a contractor like a de facto employee (fixed hours, exclusivity, ongoing subordination). Push too far into those signals and Moroccan authorities can requalify the relationship as employment after the fact, with back pay and social contributions due.

The clauses that actually protect both sides

A solid service agreement does not need twenty pages. Six clauses cover most of the disputes that come up between Moroccan freelancers and their clients.

ClauseWhat it protectsRisk if missing
Scope of workDefines exactly what gets deliveredDisputes over what counts as included
Price and payment termsDay rate or fixed fee, deposits, payment deadlinesLate payments with no clear recourse
Term and terminationEnd date, notice period, early exit conditionsA project that drags on, or an abrupt cutoff
Intellectual propertyWho owns the code, designs, or copy deliveredClient reusing work without acquired rights
ConfidentialityProtects client data and trade secretsSensitive information leaking with no penalty
Liability and penaltiesLiability cap, late delivery penaltiesDisproportionate financial exposure over one mistake

Price, deposits, and payment terms

Take Yassine, a freelance developer in Rabat billing a client in Lyon at 1,800 MAD a day. Without a deposit clause, he delivered six weeks of work before asking for a first payment, and waited twenty days for a reply. A simple split, 30% on signature, 40% at the midpoint, 30% on final delivery, would have capped his exposure at a few unpaid days instead of six full weeks.

Intellectual property and confidentiality

Without an explicit clause, who actually owns a deliverable can stay ambiguous under Moroccan law. Spell out that ownership transfers to the client on full payment, not before. Add a confidentiality clause whenever a contractor touches sensitive client data: databases, proprietary code, financial information.

Governing law and jurisdiction

For a Moroccan freelancer billing a client in France, Spain, or the UAE, the jurisdiction clause is not a technicality. Leave it out, and a dispute can end up in front of a foreign court, with the travel and legal costs that implies. Fatima-Zahra, an umbrella company consultant billing a client based in Dubai, added a clause naming Casablanca's commercial courts and Moroccan law as the reference. If a deliverable is ever disputed, she already knows where and how it gets resolved, no surprises three months in.

Direct contract or Employer of Record: the agreement plays a different role

Hiring a Moroccan freelancer directly means the company signs a commercial service agreement with an independent contractor, full stop. There is no employment relationship, no payroll obligation in Morocco, and no CNSS contribution to manage, but also no protection against misclassification if the working relationship starts looking like employment (fixed schedule, sole client, ongoing subordination).

Going through an Employer of Record changes the structure entirely. WEEPO becomes the legal employer in Morocco: it signs the employment contract with the talent, handles payroll, CNSS, and tax withholding, while the foreign company simply directs the day-to-day work under a services agreement with WEEPO. For companies hiring developers, designers, or support staff on an ongoing, exclusive basis, this is usually the safer structure, not the freelance agreement described above.

Currency and payment method clauses

A contract with a Moroccan freelancer should also name the invoicing currency and the payment rail, MAD, EUR, or USD, bank transfer, Wise, or Payoneer, since Morocco's foreign exchange rules affect how a self-employed contractor can legally receive and convert payments from abroad. Leaving this vague creates friction later: a client paying in EUR to an account that expects MAD invoices can trigger avoidable delays on both sides.

Electronic signatures: what changed by 2026

Does a contract signed over email, with a scanned signature, actually hold up in Morocco? Yes, under conditions. Law 53-05 on electronic legal data exchange (Dahir n° 1-07-129) established the principle that electronic and paper documents carry equal legal weight, starting in 2007. Part of that framework has since been replaced by Law 43-20 on trust services for electronic transactions, which now more precisely governs certification providers and qualified signatures.

For an everyday freelance contract, keep three habits: a dated document, clear identification of both parties, and a preserved copy of the exchange (email thread or e-signature platform) that proves the signed file was not altered afterward. What holds up in a dispute is not the scanned signature itself, it is the ability to prove who signed and that nothing changed since.

Building a contract without starting from scratch

Already using a quote template? The scope, price, and timeline structure carries over almost directly into a contract, once you add the intellectual property, confidentiality, and termination clauses a quote usually skips. WEEPO's quote template is a reasonable starting point for framing scope and price before turning them into binding clauses.

Once a project goes beyond a few thousand MAD or involves a recurring client, get the contract reviewed once by a Moroccan business lawyer. A one-time legal review costs far less than weeks of unpaid work or a contested IP claim after delivery. And if the arrangement looks more like ongoing employment than a project, that is the moment to look at an Employer of Record instead of stretching a freelance agreement past what it was built for.

Before any dispute reaches a Casablanca commercial court, most contracts benefit from a short mediation or good-faith negotiation clause: a fixed window, ten to fifteen business days, to resolve disagreements directly before either side escalates. It costs nothing to include, and in practice it resolves a good share of scope or payment disputes before they turn into legal fees for anyone.

A two-page contract, reviewed once, costs less than six weeks of unpaid work. Start with the basics: scope, price, payment terms, IP ownership. Add termination and liability clauses as soon as a project moves past a few thousand MAD, and pick the right structure for the relationship, whether that is a direct self-employed agreement or an umbrella company setup.

freelance contract moroccoservice agreementemployer of recordindependent contractorumbrella company

FAQ

Is a quote legally the same as a contract in Morocco?

No. A quote sets a price and rough scope but almost never includes intellectual property, termination, or late payment penalty clauses. In a dispute, a separate service agreement, even a short one, gives far stronger proof in front of a Moroccan commercial court.

Does a Moroccan freelance contract need to be notarized?

No. For a standard service agreement between a freelancer and a client, a privately signed agreement is enough. Notarization applies to other acts, like real estate sales. Keep a dated copy signed by both parties as your primary proof.

What if a client refuses to sign a written agreement?

Treat that refusal as a warning sign. Offer a short, two-page agreement rather than a twenty-page document that might scare a smaller client off. If they still refuse, get written confirmation, even by email, of scope, price, and deadlines before starting the work.

Does the contract change between a direct freelance hire and an Employer of Record setup?

Yes. Hiring directly means signing a commercial service agreement governed by the Code of Obligations and Contracts, with no employment relationship. Through an EOR, WEEPO signs the employment contract with the talent under the labor code, while the foreign company signs a separate services agreement with WEEPO.

Is an electronic signature valid for a freelance contract in Morocco in 2026?

Yes, under conditions. Law 43-20 on electronic trust services, which builds on the earlier Law 53-05, recognizes electronic documents as long as signatories can be identified and the file's integrity is preserved. Keep the full exchange, not just the final signed PDF.

Another question? Contact us

View all posts

Need to go further?

Simulate your net pay under umbrella company or compare statuses in Morocco.