A software company in Lisbon hired a Moroccan backend developer directly as an independent contractor for eighteen months, paying a flat monthly retainer with no mention of leave anywhere in the agreement. When the developer asked for two weeks off in August, the company assumed it was a courtesy request. Legally, it was closer to nothing at all. An independent contractor in Morocco has no statutory right to paid leave, because that right only exists inside an employment relationship.
Under Morocco's labor code (Law 65-99), an employee accrues 1.5 working days of paid leave per month of service, which adds up to 18 working days a year after twelve months, with a seniority bonus that can raise the total to 30 days. This right applies only to someone under an actual employment contract. An independent contractor working under a services agreement, the kind most Moroccan freelancers use, sits outside this protection entirely.
Who actually qualifies for paid leave under Moroccan law
Morocco's labor code reserves paid leave for employees under a fixed-term or open-ended employment contract, once they have completed six months of continuous service with the same employer (Article 231). That six-month clock keeps running through medical leave, workplace accidents, or maternity leave. It does not reset because someone was out sick.
A freelancer invoicing under a service agreement, governed by the Code of Obligations and Contracts rather than the labor code, is not covered. Nothing requires them to set aside paid time off, and if they stop working, they stop billing. This is one of the more common blind spots for foreign companies used to hiring contractors in markets with different default protections.
Article 231 of Morocco's labor code (Law 65-99) grants every employee 1.5 working days of paid annual leave per month of service after six months of continuous employment with the same employer, amounting to 18 working days per year for an adult employee (source: Law 65-99, Code du Travail).
How much annual leave does an employee earn
The legal formula is straightforward: 1.5 working days per month of service for adult employees, 2 days per month for employees under 18. A full month of service is defined as 26 days of actual work, roughly 191 hours in most non-agricultural activities (Article 238).
On top of that base, a seniority bonus adds 1.5 extra days for every full five-year period of service with the same employer (Article 232), whether continuous or not. The combined total is capped at 30 working days a year, no matter how long someone has been employed.
| Seniority | Base (12 months) | Seniority bonus | Total |
|---|---|---|---|
| Under 5 years | 18 days | 0 | 18 days |
| 5 to 9 years | 18 days | +1.5 days | 19.5 days |
| 10 to 14 years | 18 days | +3 days | 21 days |
| 15 to 19 years | 18 days | +4.5 days | 22.5 days |
| 20 to 24 years | 18 days | +6 days | 24 days |
| 25 years and up | 18 days | +7.5 days | 25.5 days (capped at 30) |
Take a support engineer employed through an umbrella company for eight years. Their base entitlement is 18 days, plus one full five-year bracket, adding 1.5 days. That puts them at 19.5 working days a year, and if a public holiday falls during their leave period, the leave is automatically extended to cover it (Article 235).
Can leave be split into multiple periods?
Yes, by agreement between employer and employee, but with a firm floor: the continuous portion of the leave cannot be shorter than 12 working days, weekends included (Article 240). An employee with 18 days could take 12 days in summer and 6 days at year end, but not three separate blocks of 6 days without the employer's explicit agreement. Leave can also be carried over and combined across two consecutive years, again by mutual agreement.
Direct contractor, umbrella company, or EOR: who gets paid leave
This is where structure matters more than most foreign employers expect. A consultant working through an umbrella company like WEEPO signs an employment contract governed by the labor code. They accrue paid leave like any employee, and the umbrella company pays out the leave allowance the day before it starts (Article 259). That entitlement carries over across successive client missions too, since the umbrella company, not the end client, remains the legal employer throughout.
A self-employed contractor has none of that. If they take a week off, they earn nothing for that week unless they built their own buffer into their day rate. Plenty of Moroccan freelancers do exactly that, padding their rate to self-fund time off, but it is a workaround, not a right.
| Structure | Contract type | Paid leave? | Who pays it |
|---|---|---|---|
| Direct freelance hire | Service agreement (DOC) | No | Nobody |
| Umbrella company | Employment contract (labor code) | Yes, 1.5 days/month | Umbrella company |
| Employer of Record | Employment contract (labor code) | Yes, 1.5 days/month | Legal employer (EOR) |
For a foreign company hiring a Moroccan developer or designer on an ongoing, near-exclusive basis, treating them as a pure contractor to avoid leave and CNSS obligations carries its own risk. Fixed hours, a single client, and day-to-day direction are exactly the signals Moroccan authorities look at when reclassifying a contractor as a de facto employee, with back pay and social contributions due retroactively. An Employer of Record removes that ambiguity: leave, CNSS, and tax withholding are handled under an actual employment contract, without the company opening a local entity.
A contract with a Moroccan freelancer should also spell out invoicing currency and payment method, MAD, EUR, or USD, bank transfer, Wise, or Payoneer, since Morocco's foreign exchange rules shape how a self-employed contractor can legally receive and convert payments from abroad. Leaving this vague creates friction later, and it is a separate problem from paid leave, but the two questions tend to surface in the same contract review.
What happens to unused leave when the contract ends
If employment ends before an employee has used all their accrued leave, the employer owes a compensatory leave payment (Article 251). Every month of work counts as a full month for this calculation, even a partial one. The reverse is not allowed either. An employer can never have an employee work during their annual leave period, not even for another company, not even unpaid (Article 262).
Fixed-term contracts carry a stricter rule: the employee must take their full annual leave before the contract expires (Article 233). A well-run umbrella company tracks this balance month by month, specifically to avoid a last-minute scramble when a fixed-term or open-ended contract is about to end.
Other statutory leave types worth planning for
Annual leave is not the only protected time off under Moroccan labor law. Employees also get three paid days at the birth of a child, reimbursed to the employer by CNSS (Articles 269 to 270), plus paid leave for family events: two paid days for the employee's own wedding, one paid day for the death of a spouse, child, or parent, provided they are paid monthly (Article 276).
Sick leave runs on different rules entirely. It must be reported to the employer within 48 hours, backed by a medical certificate past 4 days of absence, and is not paid by the employer beyond what CNSS covers. Past 180 consecutive days of sick leave within a 365-day window, the employer can treat the employee as having resigned, outside of workplace accidents or occupational illness (Article 272).
Maternity leave runs 14 weeks, extended to 22 weeks for documented medical complications (Article 152), with an absolute ban on dismissal during pregnancy and the weeks following childbirth (Article 159). None of these protections extend to an independent contractor, which matters in particular for companies hiring Moroccan women on a freelance basis who may later need maternity-related job security.
A collective bargaining agreement or internal company policy can always grant more generous terms than these legal minimums, never less. That interacts directly with public holidays too: a holiday that falls on a working day inside a leave period never eats into the employee's leave balance.
What this means before you sign the contract
Eighteen days a year does not sound like much on its own. Stack it over five or ten years, add the seniority bonus, and factor in guaranteed pay during absence, and the gap between an employment contract and a service agreement becomes hard to ignore. Whether you are structuring a long-term hire or deciding how to bring on a Moroccan contractor without building your own entity, compare what a plain services agreement actually leaves out against what an umbrella company or Employer of Record arrangement guarantees from day one.
