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

RuleFigureLabour Code article
Standard time outside agriculture2,288 h a year or 44 h a week184
Daily maximum when hours are spread over the year10 h a day184
Successive shifts8 h a day per shift, one break of up to one hour188
Overtime under annualisationFrom the 10th hour of the day or the 2,289th hour of the year199
Premium on a working day25% (6 am-9 pm), 50% (9 pm-6 am)201
Premium on the weekly rest day50% (6 am-9 pm), 100% (9 pm-6 am)201
Overtime paymentIn a single payment with the salary198
Penalty300 to 500 DH per employee, 20,000 DH maximum203

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

CriterionBiometric clock with PC softwareBadge or QR kiosk linked to the cloudMobile app (GPS, geofencing)
CNDP formalityPrior authorisation, information notice, undertakingDeclaration of the processingDeclaration, information on location
HardwareOne terminal per entrance, maintenanceTablet or reader per siteNone, the employee's phone
Remote sites, construction, sales staffNot coveredOne point per siteCovered
Anti-fraudStrong but intrusiveDynamic QR, optional photoGeofencing, server timestamp
Moroccan rules (bands, rest days)Depends on the bundled software, often a raw exportCalculated in the softwareCalculated in the software
Payroll linkExcel export to reworkVariables sent to payrollVariables sent to payroll
Multi-site consolidationTerminal-by-terminal collectionReal timeReal 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:

  1. a description of the device;
  2. an undertaking to comply with its deliberation no. 478-2013;
  3. 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.

OvertimePremiumPremium hourly rateAmount
6 h on a working day, 6 am-9 pm25%22.40 DH134.40 DH
4 h on a working day, 9 pm-6 am50%26.88 DH107.52 DH
4 h on the rest day, 6 am-9 pm50%26.88 DH107.52 DH
2 h on the rest day, 9 pm-6 am100%35.84 DH71.68 DH
Total421.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?

EnvironmentSuitable methodWatch point
Factory, logistics hub, shift workQR kiosk or badge at each entrance, schedules by teamNight shifts spanning two days, 8 h per shift
Call centreClock-in and clock-out, tracked breaksStaggered rest days, night bands
Branch or store networkQR kiosk on a tablet per outletDifferent hours by city
Sales staff, technicians, sitesMobile app with GPS and geofencingInform employees about location tracking
Managers and support functionsTimesheets or flat-rate arrangement per contractManager approval

How to choose time and attendance software Morocco: the grid

CriterionWhat to check
Moroccan rulesDay, night and rest-day premiums, annualisation, shifts, public holidays
Schedules and teamsCycles, rotations, individual rest days
Clocking methodsMobile, QR, badge, reuse of compatible existing terminals
Anti-fraudDynamic QR code, geofencing, correction history
Data protectionLimited collection, employee information, alternative to biometrics, known hosting
ApprovalOvertime approved by the manager before payment
Payroll linkVariables sent to payroll without export, ready for Damancom
MobilityLightweight 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

  1. Set up an overtime hour at 10 pm on a rest day: which premium do you apply?
  2. How do you handle an operator whose weekly rest day is Tuesday?
  3. Show me a night shift that starts one day and ends the next.
  4. How do you apply annualised working time?
  5. Can you reuse our current terminals, and without biometrics?
  6. Who can correct a time record, and is the correction logged?
  7. What data do you collect, and do you provide a template information notice?
  8. Do variables go to payroll without an intermediate file?

Rolling out time and attendance software Morocco in 6 steps

  1. Map (one week): sites, teams, schedules, rest days, existing devices.
  2. Audit what exists: if a biometric clock is in place, check the CNDP authorisation or plan the transition.
  3. Write the rules (one to two weeks): hours, tolerances, premiums, approval chain, update of internal rules.
  4. Inform employees and staff delegates in writing.
  5. Pilot on one site for a month, then compare payroll line by line.
  6. 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.