Time and attendance software Morocco has to meet three requirements at once: count hours according to the Moroccan Labour Code, comply with law 09-08 on personal data, and send accurate variables to payroll, ready for CNSS (national social security fund) declarations on Damancom, its online portal. The stakes are high in manufacturing in Tangier or Kenitra, in call centres in Casablanca and Rabat, in retail and in services where teams rotate across several time slots. Here are the rules to configure, the sensitive issue of biometrics and a method for choosing.
What the Moroccan Labour Code requires of time tracking
The Labour Code (law no. 65-99) sets normal working time, in its article 184, at 2,288 hours a year or 44 hours a week in non-agricultural activities, and at 2,496 hours a year in agricultural activities. The law allows this annual total to be spread according to the company's needs, provided the daily limits and the prescribed procedure are respected.
Article 201 sets overtime premiums in non-agricultural activities:
| Time of day | Working day | Weekly rest day |
|---|---|---|
| Between 6 am and 9 pm | 25% | 50% |
| Between 9 pm and 6 am | 50% | 100% |
Collective agreements and company agreements may be more favourable. For your tool, this means: separating day and night periods precisely, recognising each employee's weekly rest day (which is not always Sunday in a call centre or a continuous-operation factory), handling annualised hours if you use them, and taking public holidays into account, including religious holidays with variable dates.
Why time tracking weighs on payroll and declarations
Overtime and lateness change gross pay, and therefore the base for CNSS and AMO (compulsory health insurance) contributions, IR (income tax) and, where applicable, the CIMR (supplementary pension). A time-tracking error ends up in that month's Damancom declaration. Time tracking is therefore not only a matter of discipline: it is the first step in payroll compliance.
Biometrics: CNDP authorisation
Many Moroccan companies have installed fingerprint or facial-recognition clocks. Yet biometric data are personal data covered by law no. 09-08. The Commission nationale de contrôle de la protection des données à caractère personnel (CNDP), Morocco's data protection authority, states in its practical guidance that installing a biometric system requires an application for authorisation, with a description of the system, an undertaking to comply with its deliberation no. 478-2013 and a template information notice for employees.
The CNDP accepts biometrics for controlling access to sensitive sites, provided you can show that other methods are not reliable enough. For simply tracking working hours, ask yourself whether it is proportionate: a badge, a QR code or mobile clock-in meet the need without exposing the company. If you keep biometrics, check that the authorisation exists and that the information notice has been handed out.
Which method for which environment?
| Environment | Suitable method | Watch point |
|---|---|---|
| Factory, logistics hub, shift work | QR terminal or badge at every entrance, schedules by team | Night shifts spanning two days |
| Call centre | Clock-in at start and end of shift, breaks tracked | Staggered rest days, night periods |
| Branch or store network | QR terminal on a tablet at each point of sale | Different hours from one city to another |
| Sales reps, technicians, building sites | Mobile app with GPS and geofencing | Informing employees about location tracking |
| Managers and support functions | Timesheets or fixed-days arrangement depending on the contract | Manager approval |
A selection grid for time and attendance software Morocco
| Criterion | What to check |
|---|---|
| Moroccan rules | Day, night and weekly rest premiums, annualised hours, public holidays |
| Schedules and teams | Cycles, rotations, individual rest days |
| Anti-fraud | Dynamic QR code, geofencing, correction history |
| Data protection | Limited collection, employee information, an alternative to biometrics |
| Approval | Overtime approved by the manager before payment |
| Payroll link | Variables sent to payroll without an export, ready for Damancom |
| Mobility | Lightweight app, clock-in possible even with a weak connection |
Socium Time, Socium's time and attendance software for Morocco, combines a QR terminal, GPS mobile clock-in with geofencing and approved timesheets, without biometrics, and sends hours to Socium's Moroccan payroll.
Example: a call centre with 250 agents in Casablanca
As an illustration, take a call centre serving European clients from 8 am to 11 pm, seven days a week. Agents work in three shifts, with rotating rest days. Until now, start of shift has been recorded on a fingerprint clock and overtime entered by supervisors in a spreadsheet.
An internal audit reveals two problems: CNDP authorisation for the clock was never requested, and hours worked after 9 pm are paid at the daytime premium. Switching to clock-in by dynamic QR code, to individual schedules that carry each agent's rest day, and to automatic calculation of time slots resolves both points. Supervisors approve every week, and the variables go to payroll without a spreadsheet.
Questions to ask in a time and attendance software Morocco demo
- Configure an overtime hour at 10 pm on a rest day: which premium do you apply?
- How do you handle an agent whose weekly rest day falls on a Tuesday?
- Show me a night shift that starts on one day and ends the next.
- How do you apply annualised working time?
- Who can correct a clock-in, and is the correction logged?
- What data do you collect, and do you provide a template information notice for employees?
- Do the variables go to payroll without an intermediate file?
Rolling out time and attendance software Morocco in six steps
- Map (one week): sites, teams, schedules, rest days, existing systems.
- Audit what is in place: if a biometric clock is installed, check the CNDP authorisation or prepare the transition.
- Write the rules (one to two weeks): schedules, tolerances, premiums, approval workflow, update of the internal rules.
- Inform employees and staff delegates with a written notice.
- Pilot on one site for a month, then compare payroll line by line.
- Extend site by site, starting with those that generate the most overtime.
For a company of 150 to 800 employees, allow two to three months in general.
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.
- Automatically paying every hour clocked beyond the schedule.
- Keeping an Excel bridge between time tracking and payroll.
Track every month: missing and corrected clock-ins by site, overtime by team and by time slot, repeated lateness, approval time and payslip complaints. For the next stage of the process, read our guide to payroll management in Morocco and our article on time and attendance software in Senegal (in French), useful for groups present in West Africa.
Frequently asked questions
Can time and attendance software Morocco use fingerprints?
Only after applying for authorisation from the CNDP under law 09-08, with employees informed beforehand. For tracking working hours, less intrusive alternatives exist.
What is the legal working time in Morocco?
2,288 hours a year or 44 hours a week in non-agricultural activities (article 184 of the Labour Code).
How is overtime paid?
At a 25% premium 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).
Which time and attendance software Morocco suits a call centre?
A tool that handles individual schedules, staggered rest days, night periods 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 requires CNDP authorisation; badges, QR codes and mobile clock-in cover most needs.
- Reliable time and attendance software Morocco handles schedules, nights and rest days, and feeds payroll without re-keying.
Would you like to see QR and GPS clock-in applied to your Moroccan sites? Book a personalised demo: we reply within 24 hours.
Want to go further?
See how Socium transforms HR and payroll practices across 12 African countries.