Time and attendance software Morocco employers use must count hours against the 44-hour legal week (2,288 hours a year outside agriculture), apply overtime premiums of 25%, 50% or 100% depending on the hour and the rest day (article 201 of the Labour Code), and pass them to that month's payroll. A biometric time clock requires prior authorisation from the CNDP, the data protection authority, under law 09-08: a badge, a QR code or a mobile app linked to the cloud avoids that step. Up to date as of 4 November 2026.
When you search for a solution in Morocco, you mostly find sellers of fingerprint or face-recognition clocks. Yet the hardware only records an arrival time: the value lies in the calculation rules, data compliance and the link with payroll. This guide compares the two approaches, details the CNDP rule and shows, with figures, what a miscounted hour costs.
In short
- Standard working time is 44 hours a week or 2,288 hours a year outside agriculture, and 2,496 hours a year in agriculture (article 184).
- Overtime: +25% from 6 am to 9 pm, +50% from 9 pm to 6 am; +50% and +100% on the weekly rest day (article 201).
- It is paid with that month's salary (article 198): time records must be approved before payroll closes.
- A biometric clock requires CNDP authorisation, an employee information notice and a compliance undertaking.
- A mobile app or a QR kiosk linked to the cloud covers most needs, including remote sites.
- A non-compliant premium exposes the employer to a fine of 300 to 500 DH per employee, capped at 20,000 DH (article 203).
The rules time and attendance software Morocco must apply
| Rule | Figure | Labour Code article |
|---|---|---|
| Standard time outside agriculture | 2,288 h a year or 44 h a week | 184 |
| Daily maximum when hours are spread over the year | 10 h a day | 184 |
| Successive shifts | 8 h a day per shift, one break of up to one hour | 188 |
| Overtime under annualisation | From the 10th hour of the day or the 2,289th hour of the year | 199 |
| Premium on a working day | 25% (6 am-9 pm), 50% (9 pm-6 am) | 201 |
| Premium on the weekly rest day | 50% (6 am-9 pm), 100% (9 pm-6 am) | 201 |
| Overtime payment | In a single payment with the salary | 198 |
| Penalty | 300 to 500 DH per employee, 20,000 DH maximum | 203 |
In agriculture, the bands shift by one hour: 25% from 5 am to 8 pm and 50% from 8 pm to 5 am. Use of overtime is governed by decree no. 2-04-570 of 29 December 2004. Collective agreements and company agreements may be more favourable.
Hardware clock or cloud time and attendance software Morocco: the comparison
| Criterion | Biometric clock with PC software | Badge or QR kiosk linked to the cloud | Mobile app (GPS, geofencing) |
|---|---|---|---|
| CNDP formality | Prior authorisation, information notice, undertaking | Declaration of the processing | Declaration, information on location |
| Hardware | One terminal per entrance, maintenance | Tablet or reader per site | None, the employee's phone |
| Remote sites, construction, sales staff | Not covered | One point per site | Covered |
| Anti-fraud | Strong but intrusive | Dynamic QR, optional photo | Geofencing, server timestamp |
| Moroccan rules (bands, rest days) | Depends on the bundled software, often a raw export | Calculated in the software | Calculated in the software |
| Payroll link | Excel export to rework | Variables sent to payroll | Variables sent to payroll |
| Multi-site consolidation | Terminal-by-terminal collection | Real time | Real time |
What a time clock does not do
A time clock records an in and out time. It does not know that a given operator's rest day is Tuesday, that the 10 pm hour must carry a 50% premium rather than 25%, or that the manager must approve before payment. If the software supplied with the terminal only exports data, these rules are redone in a spreadsheet every month. You can keep existing terminals if they are compatible: what matters is that the calculation happens in time and attendance software Morocco rules are built into.
Biometrics: CNDP authorisation
Biometric data is personal data subject to law no. 09-08. The CNDP (national commission for the protection of personal data) states in its practical guides that installing a biometric device requires an authorisation request, accompanied by:
- a description of the device;
- an undertaking to comply with its deliberation no. 478-2013;
- a template information notice for employees.
The CNDP accepts biometrics to control access to sensitive sites, provided the employer shows that other methods are not reliable enough. For simple time tracking, proportionality is at stake: a badge, a QR code or mobile clocking meets the need without exposing the company. If you keep biometrics, check that the authorisation exists and that the information notice has been given.
Overtime: from time records to payroll
Overtime changes gross pay, and therefore the base for CNSS and AMO contributions, income tax and, where applicable, the CIMR pension. It is also part of the seniority bonus base (article 353). A time-tracking error therefore ends up in the month's Damancom return. The calculation is detailed in our guide to overtime pay in Morocco, and all obligations in our guide to payroll in Morocco.
Worked example: an operator on the minimum wage
Take, as an illustration, an operator paid the 2026 SMIG of 17.92 DH an hour who works 16 overtime hours in the month, some at night and some on the weekly rest day.
| Overtime | Premium | Premium hourly rate | Amount |
|---|---|---|---|
| 6 h on a working day, 6 am-9 pm | 25% | 22.40 DH | 134.40 DH |
| 4 h on a working day, 9 pm-6 am | 50% | 26.88 DH | 107.52 DH |
| 4 h on the rest day, 6 am-9 pm | 50% | 26.88 DH | 107.52 DH |
| 2 h on the rest day, 9 pm-6 am | 100% | 35.84 DH | 71.68 DH |
| Total | 421.12 DH |
A tool that applies 25% to everything would pay only 16 × 22.40 = 358.40 DH, or 62.72 DH less per operator per month. Across 200 operators, the gap exceeds 12,500 DH a month, before any fine under article 203 after an inspection. To test a salary, use our payroll simulators.
Which method for which environment?
| Environment | Suitable method | Watch point |
|---|---|---|
| Factory, logistics hub, shift work | QR kiosk or badge at each entrance, schedules by team | Night shifts spanning two days, 8 h per shift |
| Call centre | Clock-in and clock-out, tracked breaks | Staggered rest days, night bands |
| Branch or store network | QR kiosk on a tablet per outlet | Different hours by city |
| Sales staff, technicians, sites | Mobile app with GPS and geofencing | Inform employees about location tracking |
| Managers and support functions | Timesheets or flat-rate arrangement per contract | Manager approval |
How to choose time and attendance software Morocco: the grid
| Criterion | What to check |
|---|---|
| Moroccan rules | Day, night and rest-day premiums, annualisation, shifts, public holidays |
| Schedules and teams | Cycles, rotations, individual rest days |
| Clocking methods | Mobile, QR, badge, reuse of compatible existing terminals |
| Anti-fraud | Dynamic QR code, geofencing, correction history |
| Data protection | Limited collection, employee information, alternative to biometrics, known hosting |
| Approval | Overtime approved by the manager before payment |
| Payroll link | Variables sent to payroll without export, ready for Damancom |
| Mobility | Lightweight app, clocking even on a weak connection |
Socium Time combines a QR kiosk, GPS mobile clocking with geofencing and approved timesheets, without biometrics, and sends hours to Socium's Moroccan payroll. To place time tracking within your wider tools, read our guide to HR software in Morocco.
Example: a 250-operator call centre in Casablanca
Take, as an illustration, a call centre serving European clients from 8 am to 11 pm, seven days a week. Operators work in three shifts with rotating rest days. Until now, clock-in has been recorded by a fingerprint clock and overtime entered by supervisors in a spreadsheet.
An internal audit finds two problems: CNDP authorisation for the clock was never requested, and hours worked after 9 pm are paid at the daytime premium. Moving to dynamic QR clocking, individual schedules carrying each operator's rest day and automatic time-band calculation fixes both. Supervisors approve weekly, and variables go to payroll without a spreadsheet.
Questions to ask in a demo of time and attendance software Morocco
- Set up an overtime hour at 10 pm on a rest day: which premium do you apply?
- How do you handle an operator whose weekly rest day is Tuesday?
- Show me a night shift that starts one day and ends the next.
- How do you apply annualised working time?
- Can you reuse our current terminals, and without biometrics?
- Who can correct a time record, and is the correction logged?
- What data do you collect, and do you provide a template information notice?
- Do variables go to payroll without an intermediate file?
Rolling out time and attendance software Morocco in 6 steps
- Map (one week): sites, teams, schedules, rest days, existing devices.
- Audit what exists: if a biometric clock is in place, check the CNDP authorisation or plan the transition.
- Write the rules (one to two weeks): hours, tolerances, premiums, approval chain, update of internal rules.
- Inform employees and staff delegates in writing.
- Pilot on one site for a month, then compare payroll line by line.
- Roll out site by site, starting with those generating the most overtime.
For a company of 150 to 800 employees, allow two to three months.
Common pitfalls and indicators
- Keeping a biometric clock without authorisation or an information notice.
- Treating Sunday as the only rest day when schedules move it.
- Forgetting public holidays, including religious holidays with variable dates (see public holidays in Morocco in 2026).
- Automatically paying every hour clocked beyond the schedule, without approval.
- Keeping an Excel bridge between time tracking and payroll.
Track every month: missing and corrected records by site, overtime by team and time band, repeated lateness, approval lead time, payslip complaints. For the next steps, read our guides to payroll management in Morocco, leave in Morocco and time and attendance software in Senegal, useful for groups present in West Africa.
For an overview, see also our guides to time and attendance software and time and attendance software in Africa.
FAQ: time and attendance software Morocco
Is a biometric time clock legal in Morocco?
Yes, but only after CNDP authorisation under law 09-08, with prior information to employees. For time tracking, less intrusive alternatives exist.
What is the difference between a time clock and time and attendance software?
The clock records the time; the software applies the rules (bands, rest days, annualisation), handles approval and sends variables to payroll. A mobile app can replace the clock.
What is the legal working week in Morocco?
2,288 hours a year or 44 hours a week in non-agricultural activities, 2,496 hours a year in agriculture (article 184).
How is overtime paid in Morocco?
25% between 6 am and 9 pm and 50% between 9 pm and 6 am on a working day; 50% and 100% on the weekly rest day (article 201).
When must overtime be paid?
In a single payment with the salary due for the period (article 198). Time records must therefore be approved before payroll closes.
Can time and attendance software Morocco teams use run on mobile?
Yes: app clocking with GPS and geofencing for field teams, or a QR kiosk on a tablet for sites. Employees must be informed about location tracking.
Can we keep our existing time clocks?
Often, if they are compatible with the software. Check the CNDP authorisation for biometric models, or switch them to badge mode.
Which time and attendance software Morocco call centres should choose?
A tool that handles individual schedules, staggered rest days, night bands and breaks, with supervisor approval.
Key takeaways
- The reference is 44 hours a week or 2,288 hours a year outside agriculture, with premiums set by article 201.
- Biometrics require CNDP authorisation; badge, QR code and mobile cover most needs.
- The value of time and attendance software Morocco employers choose lies in calculating bands and rest days and in the direct link with payroll.
Want to see QR and GPS clocking applied to your Moroccan sites? Book a personalised demo: reply within 24 hours.
Want to go further?
See how Socium transforms HR and payroll practices across 12 African countries.