Good HR software Morocco-based employers can rely on does far more than print payslips: it turns the provisions of the Labour Code into calculation rules, prepares the Damancom social security returns, protects staff data under the supervision of the CNDP and digitises processes that are still largely paper-based in many companies, from Casablanca to Tangier and Agadir. This guide is written for HR directors, finance directors and managing directors who want to compare solutions against a precise grid rather than on the strength of a sales demo alone.

What the Labour Code requires from your HR software Morocco solution

Law No. 65-99 forming the Labour Code (Code du travail, available on the Ministry of Justice's Adala legal portal), enacted by Dahir No. 1-03-194 of 11 September 2003, contains numerical rules that the tool must apply without approximation.

Working time and overtime

In non-agricultural activities, normal working time is set at 2,288 hours per year or 44 hours per week (Article 184), and it may be spread over the year according to the company's needs. Overtime carries a premium of 25% between 6 a.m. and 9 p.m. and 50% between 9 p.m. and 6 a.m. in non-agricultural activities, with higher premiums on the weekly rest day (Article 201). The software therefore needs to know the time at which each hour was worked, not just a total, and must handle annualised working time when the company uses it.

Paid leave

After six months of continuous service, employees are entitled to one and a half days of leave (counted in working days) per month of service, and two days for employees under eighteen (Article 231), with additional leave based on seniority (Article 232). Balances, seniority entitlements and holiday pay must be calculated automatically: this is one of the first things employees dispute.

Payslips and the payroll ledger

The employer hands over a payslip when the salary is paid (Article 370) and keeps a payroll ledger, the livre de paye (Article 371). An important point for digitisation: this ledger can be replaced by a computer system deemed equivalent by the labour inspector (Article 372), and it must be kept for at least two years after it is closed (Article 373). Your tool must therefore produce a payroll register that can be consulted and is properly archived.

Internal rules

Any employer with at least ten regular employees must draw up internal rules (règlement intérieur) submitted for approval to the labour authority (Article 138). The software does not write these rules, but it should let you distribute them and keep a record that each employee has read them.

Returns and deductions to cover

  • CNSS and AMO: the monthly salary return and payment of contributions to the national social security fund (CNSS) and compulsory health insurance (AMO) go through the Damancom portal. The software should generate the return file directly from the validated payroll, including the month's joiners and leavers.
  • Vocational training tax: levied on the payroll, it is paid alongside social contributions.
  • Income tax (IR): withheld at source according to the scale in the finance act, with deductions for dependants and professional expenses, then declared to the Direction générale des impôts, the tax authority.
  • CIMR: for companies that belong to this supplementary pension scheme, contributions must be calculated at the chosen rate and declared.

Rates, ceilings and scales change regularly: insist that the vendor keeps them up to date and preserves the history for back-pay adjustments. The calculation details are covered in our article on payroll software in Morocco and in our guide to payroll management in Morocco.

Personal data: Law 09-08 and the CNDP

Law No. 09-08 of 18 February 2009 governs the processing of personal data, under the oversight of the national data protection commission (Commission nationale de contrôle de la protection des données à caractère personnel). Personnel files, payroll, video surveillance and above all biometric time clocks are subject to prior formalities with the CNDP. When choosing a tool, this means you should:

  • know where the data is hosted and whether it is transferred outside Morocco;
  • have role-based access rights and a log of who consulted what;
  • be able to respond to an employee's request for access or correction;
  • where possible, prefer mobile or badge-based time tracking to biometrics, which is harder to justify.

Digitise processes, not just payroll

In many Moroccan companies, payroll has long been computerised, but the processes that feed it remain on paper: leave requests signed by hand, employment certificates drafted one by one, expense claims sent as email attachments. Modern HR software Morocco teams adopt digitises these flows:

ProcessBeforeWith an HR tool
Leave requestPaper form, balance checked by handMobile request, up-to-date balance, one-click manager approval
CertificatesDrafted by HR, several days' delayGenerated automatically, signed and placed in the employee's digital vault
OvertimeAttendance sheets re-keyedTime tracking linked to payroll, premiums calculated by time slot
RecruitmentCVs by email, scattered exchangesCentralised applications, shared assessments
Annual reviewsWord templates never consolidatedTracked campaigns, results linked to pay rises

Industrial companies and call centres, numerous in Casablanca, Rabat, Fez and the industrial acceleration zones, have specific time-tracking needs: see our guide to time and attendance software in Morocco.

A criteria grid to compare HR software Morocco offers

CriterionWhat to checkWeight
ComplianceOvertime by time slot, leave and seniority, IR, CNSS, AMO, CIMR, Damancom fileHigh
UpdatesFinance act changes applied by the vendor, guaranteed lead timeHigh
ProcessesApproval workflows, employee requests, automatic certificatesHigh
DataHosting, roles, audit log, help with CNDP formalitiesHigh
MobileEmployee app for field teams and sites away from head officeMedium
Multi-countrySubsidiaries in West or Central Africa managed in the same toolDepends on your group

Questions to ask during the demo

  1. Calculate a payslip with overtime worked partly after 9 p.m. and a worked rest day: which premiums are applied?
  2. Show me the leave calculation for an employee with nine years' seniority, then generate the month's Damancom file.
  3. How is the payroll register archived and presented to the labour inspectorate?
  4. Who updates the income tax scale after the finance act, and by what date?
  5. Where is our data hosted, and what information do you provide for our CNDP declaration?
  6. How do we export all our data if we change tools?

Implementation: a realistic timeline

Take, as an example, a company with 150 employees in Casablanca and a factory in Kenitra. Allow two weeks to migrate the data (contracts, CNSS numbers, leave balances, year-to-date totals), two weeks of configuration (establishments, pay items, schedules, approval circuits), one month of parallel payroll with line-by-line reconciliation, then opening online requests to employees. The expected gain can be estimated with our ROI simulator.

Frequently asked questions

Can HR software Morocco employers use replace the paper payroll ledger?

Yes: Article 372 of the Labour Code allows the payroll ledger to be replaced by a computer system deemed equivalent by the labour inspectorate. The tool must then guarantee that registers are archived and can be consulted.

Does the software need to handle annualised working time?

If your company spreads the 2,288 annual hours unevenly, yes: the overtime calculation changes in that case, and the tool must apply it automatically.

Which HR software Morocco option suits an SME with 30 employees?

An online tool covering compliant payroll, leave, documents and employee requests is enough to start with. Recruitment and performance reviews can be switched on later, without changing tools.

Do you have to declare your HR software to the CNDP?

It is not the software that is declared but the processing of staff data that you carry out. Check the applicable formalities with the CNDP, particularly if you use biometrics.

Key takeaways

  • HR software Morocco employers choose must apply the Labour Code rules: working time, premiums by time slot, leave, payroll ledger.
  • Damancom, IR, AMO and CIMR must be produced from the validated payroll, with no re-keying.
  • Law 09-08 requires you to control hosting, access rights and CNDP formalities.
  • The main gain comes from digitising the processes that feed payroll.

To see these criteria in practice, discover Socium's HR software Morocco offer, which combines compliant payroll, leave, workflows and a mobile app, then book a personalised demo within 24 hours.

Want to go further?

See how Socium transforms HR and payroll practices across 12 African countries.