The paid leave calculation Morocco employers must run rests on one rule: after six months of continuous service with the same employer, an employee earns one and a half days of effective work per month of service, two days if under eighteen (article 231 of the Labour Code, loi n° 65-99). The entitlement rises by one and a half days per complete five-year period, capped at thirty days (article 232). The allowance equals the pay the employee would have received at work (articles 249 and 250). Up to date as of 4 December 2026; this guide is not legal advice.
In short
- Entitlement opens after six months of continuous service (article 231).
- 1.5 days per month of service, so 18 days over twelve months; 2 days before eighteen.
- + 1.5 days per five-year period, capped at 30 days (article 232).
- One month of work = 26 effective working days, or 191 hours outside agriculture (article 238).
- Rest days and public holidays extend the leave instead of being deducted (articles 235 and 236).
- The allowance is paid no later than the day before departure (article 259).
Entitlement table by length of service
| Employee | Effective working days for 12 months of service |
|---|---|
| Under 18 | 24 |
| Under 5 years of service | 18 |
| 5 years | 19.5 |
| 10 years | 21 |
| 15 years | 22.5 |
| 20 years | 24 |
| 25 years | 25.5 |
| 30 years | 27 |
| 40 years and above | 30 (legal ceiling) |
These are minimums: article 231 expressly preserves more favourable terms in the contract, the collective agreement or established practice. For the wider picture, see our page on leave management in Morocco; this page covers the arithmetic only.
The paid leave calculation Morocco method in six steps
- Confirm the six months of continuous service (article 231).
- Count months as article 238 defines them, not by the calendar.
- Apply 1.5 days per month, 2 days before eighteen.
- Add 1.5 days per five-year period, continuous or not.
- Deduct days taken, excluding public holidays and sickness (article 235).
- Price the allowance on the pay maintained (article 249).
What one month of work is worth: 26 days or 191 hours
This is the step spreadsheets get wrong. Article 238 sets two equivalences: a month of work equals twenty-six effective working days, and any period of work, continuous or not, of 191 hours outside agriculture or 208 hours in agriculture also counts as a month. A part-time or seasonal worker therefore accumulates hours up to the threshold, with no calendar month involved.
Periods that count as effective work
Article 239 lists them: the previous year's annual leave, the dismissal notice period, suspensions covered by points 1 to 5 of article 32 — medically certified illness, maternity, temporary incapacity after a work accident — plus unemployment, authorised absences of up to ten days a year, and temporary closure for force majeure. Strike action falls under point 6 and is not on the list.
Counting days, reference period and scheduling
The entitlement is expressed in effective working days: days other than the weekly rest day, paid feast days and public holidays not worked (article 236). Two consequences for the paid leave calculation Morocco payroll teams run: a rest day falling inside a leave period consumes no balance, and article 235 requires the leave to be extended by as many days as it contains paid feast days and public holidays, sickness following the same rule. The calendar matters as much as the formula: see the public holidays in Morocco in 2027 before settling a calculation over a festive month.
The Code imposes no reference period: the annual leave period runs over the whole year (article 244). Employers therefore set their own, usually the calendar year, and record it. The order of departures must be communicated at least thirty days in advance and entered in a register kept available to the labour inspectorate (article 246).
The leave allowance and its base
During leave, the employee receives an allowance equivalent to the pay they would have received had they been at work (article 249), covering salary and its accessories, whether material or in kind (article 250). There is no twelfth and no one-tenth rule: pay is simply maintained. Article 258 refers the detailed method to arrêté n° 344-05 of 9 February 2005, published in Bulletin officiel n° 5540 of 5 July 2007.
Variable pay, commissions and work accidents
For commercial travellers and sales representatives, article 264 uses a different base: the average pay received over the twelve months preceding the leave, excluding expense reimbursements. After a work accident, daily benefits stay out of the base and the leave is deferred until the injury has stabilised (article 265).
That leaves the daily divisor in any paid leave calculation Morocco payroll must produce. The Code sets a month of work at 26 days for the entitlement (article 238) but names no divisor for the allowance; payroll practice divides monthly pay by 26. Put that rule in writing: we were unable to consult the text of arrêté n° 344-05 online.
Two worked examples of paid leave calculation Morocco
The salaries below are fictional; only the rules quoted come from the texts.
Example 1 — take an employee paid 7,800 dirhams gross a month, hired on 1 March, three years of service, no leave taken by 31 December.
- Months of service from 1 March to 31 December: 10.
- Days accrued: 10 × 1.5 = 15 days, with no seniority increase.
- Daily base: 7,800 / 26 = 300 dirhams.
- Allowance for the 15 days: 4,500 dirhams gross.
If twelve of those days are taken in August and two public holidays fall inside them, the employee returns two days later with the balance unchanged (article 235).
Example 2 — take an employee with twelve years of service, 11,000 dirhams of base pay and a monthly bonus of 1,300 dirhams, an accessory to salary under article 250.
- Annual entitlement: 18 + (2 five-year periods × 1.5) = 21 days.
- Reference pay: 11,000 + 1,300 = 12,300 dirhams.
- Daily base: 12,300 / 26 = 473.08 dirhams.
- Allowance for 21 days: 9,934.62 dirhams gross.
If the contract ends on 10 June of the following year with nothing taken, January to June count as six months — any month started counts as a whole month (article 251) — so 9 days and 4,257.69 dirhams gross. For the payslip line, see the Morocco payslip.
Splitting, carry-over and waiver
Leave may, by agreement between both parties, be split or carried over across two consecutive years, with an entry in the register (article 240). Splitting may not bring the leave below twelve working days including two weekly rest days. Beyond that, no carry-over is provided for.
Article 242 closes the door on buy-outs: any agreement waiving the right to leave in advance is void, even against a compensatory indemnity. An employee in post does not sell their leave. On a fixed-term contract, the leave must be taken before the contract expires (article 233), and leave never merges with the notice period (article 243).
The compensatory indemnity on termination
An employee with at least six months of continuous service whose contract ends before all leave has been taken — or that of the two previous years — receives a compensatory indemnity (article 251), owed whatever the reason for termination (article 254). Below six months, article 252 takes over: from one month of work as defined in article 238, it is worth one and a half days per whole month, two before eighteen.
The seniority increase is assessed at the date of departure on leave or, where the contract gives rise to a compensatory indemnity, at the date the contract expires (article 234). Payment is made with the final salary (article 260) and the employee holds a first-rank privilege over these sums (article 261). These lines appear in the Morocco final settlement.
Special cases in the paid leave calculation Morocco
- Joining mid-year: the right opens after six months, but accrual runs from the first month.
- Part-time: count in hours, against the 191-hour threshold (article 238).
- Absences: treated as effective work up to ten days a year where authorised (article 239).
- Sickness: certified sick leave counts as continuous service and as effective work (articles 237 and 239).
- Intermittent work: twenty-six discontinuous effective working days open, each year, an indemnity of one and a half days' pay (article 253).
- Prorating the seniority increase: the Code is silent; settle it in writing.
Penalties and what payroll must produce
Refusing the leave or indemnity provided for by articles 231, 232, 235, 239 and 240, failing to pay those indemnities, and employing a worker during their leave are punishable by a fine of 300 to 500 dirhams, applied as many times as there are employees concerned, without exceeding 20,000 dirhams in total (article 268). The real exposure remains the back-pay claim.
Every payroll close must therefore produce an accrual counter per employee in effective working days, an up-to-date seniority tier, the leave register, the allowance line with its daily base on the payslip, and a balance that can be called up at any moment. Across Casablanca, Tangier and provincial sites, a spreadsheet rarely holds all five.
Socium's payroll software compliant with Moroccan regulations replays this paid leave calculation Morocco employers owe at every close, with requests filed from the lightweight employee mobile app built for 3G. The articles quoted appear in the Labour Code published by the Ministry of Justice, read section by section in our guide to the Moroccan Labour Code.
Frequently asked questions
How many days of paid leave in Morocco?
One and a half effective working days per month of service, so 18 days over twelve months; two days per month before eighteen (article 231).
How do you calculate the leave allowance?
It equals the pay the employee would have received at work, accessories included (articles 249 and 250). Payroll practice divides monthly pay by 26.
How do you run a paid leave calculation Morocco over a partial year?
Multiply the months of service by 1.5 days. A month is 26 effective working days or 191 hours outside agriculture (article 238).
After how long do you qualify for paid leave in Morocco?
After six months of continuous service with the same employer (article 231). From one month of work, a compensatory indemnity is owed on termination (article 252).
How many extra days for length of service?
One and a half more days per complete five-year period, without exceeding thirty days (article 232).
Do public holidays count against paid leave?
No: they are not effective working days (article 236) and they extend the leave accordingly (article 235).
What happens to the leave balance on resignation?
It is paid as a compensatory indemnity whatever the reason (article 254), with the final salary (article 260).
Can leave be carried over or split in Morocco?
Yes, by agreement, over two consecutive years; splitting may not bring the leave below twelve working days (article 240).
Key takeaways
- 1.5 effective working days per month of service, 2 days before eighteen.
- + 1.5 days per five-year period, capped at 30 days.
- One month of work = 26 effective working days or 191 hours outside agriculture.
- Public holidays and sickness extend the leave instead of being deducted.
- Allowance = pay maintained, accessories included.
- Compensatory indemnity owed whatever the reason, any month started counting as a whole one.
- A reliable paid leave calculation Morocco is checked employee by employee.
Want to secure your paid leave calculation Morocco on every payslip? Book a Socium demo with a Moroccan payroll specialist.
Want to go further?
See how Socium transforms HR and payroll practices across 12 African countries.