Payroll management Morocco comes down to one deadline: the nominative salary declaration (DNS) and payment of CNSS contributions are made on Damancom, the online portal of the CNSS (the national social security fund), before the 10th of the month following the payroll. The IR (income tax withheld at source) is paid over to the DGI, the tax administration, CIMR contributions follow the fund’s calendar where the company is a member, and form 9421 sums up the year by the end of February at the latest. This guide, up to date as of 2 November 2026, takes HR directors, finance directors and payroll managers of Moroccan companies through Damancom step by step, the monthly cycle, the closing and the checks.

In brief

Payroll management Morocco in five points:

  • Damancom: the CNSS portal for declaring salaries (DNS) and paying contributions online.
  • Deadline: DNS and payment before the 10th of the month following the payroll.
  • Login: two-factor authentication since July 2025, with a one-time code (OTP) or the Mon e-ID app.
  • Payment: online payment on the portal, direct debit or partner banks’ platforms.
  • Other deadlines: IR withheld at source paid to the DGI the following month, form 9421 by the end of February.

The payroll management Morocco calendar at a glance

WhenTaskBody
Around the 20th of the monthVariables cut-off (internal rule)Internal
End of monthCalculation, checks, transfers, payslipsInternal, bank
Before the 10th of the following monthDNS and payment of contributionsCNSS, via Damancom
Following month, as set by the CGIPayment of IR withheld at sourceDGI
According to the fund's calendarDeclaration and payment of supplementary contributionsCIMR
End of February at the latestAnnual declaration of wages and salaries (form 9421)DGI

The 10th is a short deadline: between month-end payroll and the DNS, you have about ten days. That is why the variables cut-off has to come before the end of the month, not after it. Technical incidents on Damancom also happen, so do not wait until the last day.

Who you deal with in payroll management Morocco

BodyScopeChannel
CNSSSocial benefits, AMO (compulsory health insurance), and collection of the vocational training taxDamancom: DNS (nominative salary declaration) and payment
DGISalary income tax (IR) withheld at source, annual declaration of wages and salariesDGI online filing and payment portal
CIMRSupplementary pension, for companies that join the schemeCIMR's own declarations and payments
Labour inspectorateCompliance with the Labour Code: minimum wage, working hours, payslipsOn-site inspections, registers

Depending on the company, you may also have top-up health insurers or mutual funds, staff loans and salary garnishments. Every line on the payslip therefore points to a third party that expects the right amount on a given date.

The monthly cycle in seven steps

1. Close the variables

Set a cut-off date, for instance the 20th or 22nd of the month, and stick to it: absences, leave, overtime, bonuses, sales commissions, advances, joiners and leavers. In manufacturing and call centres, where overtime and rotating schedules weigh heavily, having managers approve hours in the tool avoids re-keying time-clock files. Anything that arrives after the cut-off is carried over as an adjustment the following month.

2. Update employee records

New contracts, amendments, CNSS registration numbers, family situation (dependants reduce IR), CIMR membership and the rate chosen, bank details. An employee who has been hired but not registered in time makes the DNS incomplete.

3. Calculate

Gross pay, seniority bonuses and variable items; CNSS contributions within the 6,000 DH monthly ceiling for social benefits, AMO and family allowances on the full salary; CIMR contributions where applicable; professional expenses; net taxable income; IR according to the progressive scale of the General Tax Code (CGI); net pay after advances, loans and garnishments. Scales change with each finance act: keep a single, dated set of parameters and review it every January.

4. Check

Explain any change in the wage bill, recalculate a sample of unusual payslips by hand (mid-month joiner or leaver, leave, high overtime, final settlement) and make sure the headcount paid matches the headcount that will be declared to the CNSS.

5. Pay and distribute

Transfer order approved according to the signing authority, payslips sent to employees, preferably in electronic form that can be read on a mobile phone.

6. Declare and pay

Submit the DNS on Damancom and pay the contributions; declare and pay over the IR withheld to the DGI within the deadline set by the CGI; file the CIMR declarations. The login, filing and payment steps on Damancom are detailed below.

7. Close and archive

Post payroll to the accounts, reconcile the social security and tax liability accounts with the declarations and payments, then archive the month's file. A clean monthly close is what makes the annual declaration possible.

Damancom: declaring and paying CNSS contributions online

The full step-by-step (login, DNS, payment, penalties) is in our Damancom guide.

Damancom is the CNSS online filing and payment portal. It is the unavoidable step of payroll management Morocco: every registered employer files its nominative salary declaration there each month and pays its contributions, whatever its size. The current version, often called “Damancom 2”, also handles company registration and employee enrolment online, payment history and the download of certificates. An accounting firm can file on your behalf through proxy (mandataire) access.

Logging in to Damancom

Since July 2025, logging in requires two-factor authentication. After the Damancom username and password, you choose:

  • a one-time code (OTP), sent by SMS or email to the contact details registered on the portal;
  • Mon e-ID, the app that reads the electronic national ID card (or residence card) by NFC and confirms the login by scanning a QR code.

Make sure at least two people have active access and up-to-date contact details: a code sent to the phone of an absent colleague can block a deadline.

Declaring salaries: the steps

  1. Check the salary declaration slip (BDS, bordereau de déclaration des salaires) that the CNSS sends automatically on the 22nd of each month.
  2. For each employee, enter the registration number, the days worked (26 at most per month) and gross salary, then report joiners, leavers and contract suspensions.
  3. Choose how to file: the online form, suited to small teams, or a file in the CNSS standard format, generated by the payroll software.
  4. Check the totals against the payroll journal, validate the DNS and keep the filing receipt.

Paying contributions

Payment follows validation of the DNS, with the same deadline: before the 10th of the following month. There are three routes: online payment on the portal, direct debit authorised by the company, or electronic payment through partner banks’ platforms. For a company enrolled on Damancom, cheques and cash are no longer accepted. The amount paid covers the employee and employer shares of social benefits, family allowances and AMO (compulsory health insurance), plus the vocational training tax; the rates are set out in our guide to CNSS contributions in Morocco.

Example: what you pay on Damancom for a 10,000 DH salary

As an illustration, take an employee paid 10,000 DH gross a month, with the CNSS rates in force since 1 January 2024, unchanged in 2026.

LineBase and rateEmployee shareEmployer share
Social benefits (short and long term)6,000 DH capped; 4.48% employee, 8.98% employer268.80 DH538.80 DH
Family allowances10,000 DH; 6.40% employer-640.00 DH
AMO (including solidarity)10,000 DH; 2.26% employee, 4.11% employer226.00 DH411.00 DH
Vocational training tax10,000 DH; 1.60% employer-160.00 DH
Total paid on Damancom494.80 DH1,749.80 DH

That is 2,244.60 DH for this employee, excluding CIMR and work accident insurance, which are handled by other bodies. The move from gross to net, income tax included, is explained in our guide to the payslip in Morocco, and you can test your own cases with our free payroll simulators.

Late filing or incidents

A late declaration or payment triggers late-payment surcharges, calculated on the contributions due and per month of delay. The portal also has technical incidents, especially when login rules change: in July 2025, the CNSS exceptionally extended the deadline for June declarations. In payroll management Morocco, such extensions remain one-offs: do not count on them and file a few days before the 10th.

Checks that prevent penalties and reassessments

  • DNS vs payroll journal reconciliation: headcount, declared salaries, contributions. Any gap, however small, will surface sooner or later in a CNSS audit.
  • IR reconciliation between tax withheld on payslips and tax paid each month, then against form 9421 at year end.
  • Review of exempt allowances: every allowance kept out of the contribution base must rest on a rule and supporting documents.
  • Ceilings: capped and uncapped contributions clearly separated on high salaries.
  • CIMR: rate and base in line with the company's membership agreement.
  • Audit trail: any correction to a payslip after approval is dated and attributed to a named user.

Late declarations or payments trigger surcharges, but the heaviest cost is often the adjustments spread over several financial years when an audit takes place.

Organising payroll: in-house, outsourced or hybrid

Set-upSuited toWatch out for
In-house with softwareFrom a few dozen employees, many variablesPayroll skills to maintain, scales to keep up to date
Accounting firm or payroll bureauVery small businesses, organisations without an HR teamTime needed to send variables before the 10th
HybridGrowing SMEs, multi-site (Casablanca, Tangier, Agadir)Clear split of responsibilities between HR and the firm

To decide, our article on outsourcing payroll provides a complete grid.

What a tool should bring to payroll management Morocco

The right software shortens exactly the steps that overrun in your company. During a demo, ask for:

  • a live calculation of a real payslip with overtime, seniority bonus, CIMR and an advance;
  • generation of the DNS file for Damancom and of the IR payment statements;
  • form 9421 produced from the year's payrolls;
  • who updates the scales after the finance act, and how quickly;
  • approval of hours and absences by managers, flowing automatically into payroll.

To compare solutions, read our guide to payroll software in Morocco, and discover Socium's software for payroll management Morocco, which brings together payroll, time and absence, and employee records. Our guide to HRIS in Morocco widens the discussion to all HR processes.

Example: a 300-employee call centre

As an illustration, take a call centre in Rabat with 300 employees, rotating schedules, monthly performance bonuses and high staff turnover. Hours and bonuses used to arrive from a supervision spreadsheet on the 2nd of the following month, and the DNS was finished on the evening of the 9th. By bringing the variables cut-off forward to the 22nd, with supervisors approving hours in the tool and bonuses calculated from the month's indicators frozen on that date, payroll is checked before month end and the DNS goes out in the first days of the month. The many joiners and leavers no longer trigger cascading adjustments.

For the wider picture, see our guides to payroll management and payroll management in Africa.

For every payroll obligation in Morocco in one place, see our complete guide to payroll in Morocco.

Frequently asked questions on Payroll management Morocco

What is the CNSS deadline in payroll management Morocco?

The nominative salary declaration and payment of contributions are made on Damancom before the 10th of the month following the payroll.

What is Damancom?

The CNSS online portal where employers declare salaries (DNS), pay contributions, enrol employees and download their certificates.

How do I log in to Damancom?

With the Damancom username and password, then a second factor required since July 2025: a one-time code received by SMS or email, or confirmation through the Mon e-ID app.

How do I pay CNSS contributions on Damancom?

After validating the DNS, by online payment on the portal, by direct debit or through a partner bank’s platform, before the 10th of the following month.

What happens if I file late on Damancom?

Late-payment surcharges apply to the contributions due, per month of delay. A missing declaration also distorts employees’ entitlements and blocks the certificate of good standing.

Is CIMR membership compulsory?

No: the CIMR is a supplementary pension scheme that the company chooses to join. Once it has joined, contributions apply under the agreement and must be tracked every month.

When is form 9421 due?

The annual declaration of wages and salaries is due by the end of February of the following year at the latest. It lists, employee by employee, the pay and the IR withheld: you prepare it by closing every month properly.

Can payroll management Morocco be run on Excel?

For a handful of employees with no variables, yes. Once overtime, bonuses, joiners and leavers multiply, the short window before the 10th makes Excel risky.

Key takeaways

  • Payroll management Morocco revolves around a short deadline: DNS and CNSS contributions before the 10th of the following month.
  • Close the variables before month end to leave time for checks.
  • Reconcile the DNS, IR paid, CIMR and accounts every month; the February form 9421 follows from that work.
  • Choose your tool according to the steps that cost you the most time.

For supplementary pensions, see the CIMR website. To see your Moroccan payroll cycle run on your own data, 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.