Payroll software Morocco employers run in-house, or the payroll services company they outsource to, must apply in 2026 the 6,000 DH CNSS ceiling to social benefits only (4.48% employee share), AMO with no ceiling (2.26% employee, 4.11% employer), the income tax (IR) scale in force since 2025 (40,000 DH exempt band, 37% top rate) and the 600 DH reduction per dependant from the 2026 finance act. Either way, the nominative salary declaration (DNS) must reach Damancom before the 10th of the following month, and the 9421 statement by the end of February. This guide, up to date as of 27 November 2026, covers those parameters, what the 2027 finance bill would change, the files to produce, a selection grid, a side-by-side comparison of payroll services in Morocco against in-house software, an overview of the Moroccan and international payroll software on the market, the questions to ask in a demo and the pitfalls that prove expensive.
In brief
- Calculation: CNSS capped at 6,000 DH, AMO and family allowances on the full salary, IR on the 2025 scale unchanged in 2026, two-rate professional expenses, 600 DH per dependant.
- Filings: Damancom DNS and CNSS payment before the 10th, IR to the DGI, 9421 statement by end February, CIMR if the company is a member.
- Selection: seven criteria, including regulatory monitoring and a native DNS file.
- Alternative: payroll services from a payroll company in Morocco, or software combined with an accounting firm. The employer stays liable for the filings either way.
- Implementation: six to ten weeks for an SME, parallel run included.
- 2027: the 2027 finance bill would raise the exempt IR band to 60,000 DH and move to a single 45% professional expenses deduction; not yet published in the Official Bulletin as of 27 November 2026.
What payroll software Morocco companies need must calculate: the current parameters
Moroccan payroll combines capped and uncapped contributions, a progressive annual tax brought down to a monthly figure, and allowances that change with each finance act. Here are the parameters a tool should apply without you having to enter them.
| Item | Rule to configure | What most often goes wrong |
|---|---|---|
| CNSS social benefits (short and long term) | Contributions calculated up to a ceiling of 6,000 DH of monthly salary; employee share of 4.48% | Ceiling forgotten on high salaries, or wrongly applied to the other branches |
| Family allowances | 6.40% paid by the employer, on the full salary, with no ceiling | Capped by mistake |
| AMO (compulsory health insurance) | 2.26% employee and 4.11% employer (including the solidarity contribution), no ceiling | Old employer rate still in use |
| Vocational training tax | 1.60% employer, collected with CNSS contributions | Left out of the employer cost |
| Professional expenses (IR) | 35% if annual gross taxable income does not exceed 78,000 DH, 25% above that, with the deduction capped at 35,000 DH a year | A single rate applied to everyone |
| IR scale | Since 1 January 2025, the exempt band has been raised to 40,000 DH a year and the top marginal rate cut to 37%; scale unchanged by the 2026 finance act | Old scale still active |
| Family responsibilities | Since 1 January 2026 (2026 finance act), reduction of 600 DH per dependant, capped at 3,600 DH a year | Old amount, or number of dependants not updated |
| CIMR | Supplementary pension, if the company has joined: chosen rate, base, deductibility | Employee and employer rates swapped |
These figures are those published at the time of writing. The real test is not whether a vendor knows them today, but whether it updates them without you having to remind it.
An example to test any tool
As an illustration, take a manager earning 10,000 DH gross a month. On the employee side, CNSS is calculated on 6,000 DH only (268.80 DH) and AMO on 10,000 DH (226 DH), giving 494.80 DH of social deductions before IR. On the employer side, you must add family allowances (640 DH), AMO (411 DH), the vocational training tax (160 DH) and the capped social benefits, excluding work accident insurance, which depends on your policy. Enter this case during the demo: a tool that does not show these exact amounts is not ready for your payroll.
What changes on 1 January 2027: the income tax reform
As of 27 November 2026, the 2027 finance bill was adopted at first reading by the House of Representatives on 14 November 2026 and is still before the House of Councillors. It has not yet been published in the Official Bulletin, and its figures may still move. It opens a reform of income tax spread over several years, with the first step planned for 1 January 2027.
- Exempt band: the threshold would rise from 40,000 to 60,000 DH of annual net taxable income, in the order of 5,000 DH a month.
- Scale: the bands announced for 2027 are 10% from 60,001 to 80,000 DH, 20% from 80,001 to 100,000 DH, 34% from 100,001 to 180,000 DH and 37% above that, with the top rate then stepping down to 2030.
- Professional expenses: the flat deduction would become a single 45% of gross taxable income instead of today’s 35% and 25% rates, with the 35,000 DH annual cap unchanged.
- Dependants: the bill does not revisit the 600 DH per dependant reduction, capped at 3,600 DH a year, introduced by the 2026 finance act.
- CNSS: no change to the ceiling or the rates has been announced for 2027 at this date.
This is the real test of regulatory monitoring, and it applies equally to payroll software Morocco companies run themselves and to an outsourced payroll services provider. Ask three questions before January: how soon the new scale is delivered once the law is published, how the first 2027 payroll is handled if publication is late, and whether IR can be recalculated retroactively on a month already closed. Until the law is published, the 2025 scale, unchanged in 2026, is the one to apply.
The files payroll software Morocco teams rely on must produce
Calculation is not enough. Compliance depends on what comes out of the tool and goes to the authorities.
- The nominative salary declaration (DNS) for Damancom, the CNSS online platform, with contributions declared and paid before the 10th of the following month. Insist on an importable file, not a table to re-key on the CNSS portal.
- IR withheld at source, paid to the DGI (the tax authority) through its online filing and payment portal (SIMPL). The tool must provide the summary statement per employee and per month.
- The 9421 statement, the annual declaration of wages and salaries, to be filed by the end of February at the latest. It is prepared from the year’s cumulative totals: if they are wrong in January, they are still wrong in February.
- CIMR returns for member companies.
- The payroll register, payslips and certificates (salary, employment, final settlement), dated and archived.
Damancom: what the software must prepare
Damancom is the CNSS portal where the company files the DNS and pays its contributions. The portal accepts online entry or a file in the CNSS standard format: good software generates that file from the approved payroll (registration numbers, days worked, gross salaries, joiners and leavers), so all that is left is to upload it and pay. The login, filing and payment steps are detailed in our guide to Damancom: filing and paying CNSS contributions online, and set in the wider monthly cycle in our guide to payroll management in Morocco.
The 2026 payslip in Morocco
Each month the software issues a payslip with the mandatory items, contributions line by line, IR and net pay, using up-to-date 2026 parameters. The mandatory items and a full example are in our guide to the payslip in Morocco.
A selection grid in seven criteria
| Criterion | What to check | Warning sign |
|---|---|---|
| Moroccan payroll engine | CNSS ceiling, AMO, 2025 IR scale, two-rate professional expenses, CIMR | “We’ll configure it together” |
| Statutory outputs | Damancom DNS, IR statement, 9421, CIMR | Generic Excel export only |
| Regulatory monitoring | Who updates, how soon after the finance act, with what impact notice | Updates billed extra or left to you |
| Link with time and absences | Overtime, leave and absences fed in without re-keying | Manual import of a time-clock file |
| Back pay and adjustments | Retroactive back pay, IR recalculation, year-end adjustment | Back pay entered as a manual bonus |
| Data and access | Role-based rights, change log, hosting, compliance with loi 09-08 (the personal data law) | A single shared account |
| Multi-company and multi-country | One payroll rule set per country, consolidated costs | Morocco treated as a copy of another country |
Payroll services in Morocco: software, a payroll company, or both?
Payroll services in Morocco — payroll outsourcing, in the words most buyers use — means handing the monthly payroll run to an outside provider: a payroll company, an accounting firm, or the payroll desk of a larger advisory practice. You send the variables, the provider calculates the payslips, prepares the Damancom DNS and the IR statement, and returns the files. The alternative is payroll software Morocco employers operate themselves, with or without an adviser reviewing the output. Both are legitimate; they fail in different places, and the comparison below is where the real differences sit.
| Approach | For whom | Limit in Morocco |
|---|---|---|
| In-house spreadsheet | Fewer than ten employees, stable payroll | IR scale and ceilings to maintain yourself, DNS re-keyed, no audit trail |
| Payroll company or accounting firm (payroll services) | SMEs with no in-house payroll skills | Variables sent by email, tight timing before the 10th, little visibility on costs |
| International software | Subsidiaries of groups that already have it | Damancom and IR localisation often partial, distant support |
| HRIS with native Moroccan payroll | SMEs and groups that want payroll, time and HR connected | Requires a proper data migration project |
A firm and software are not mutually exclusive: many companies keep their chartered accountant for review and use payroll software Morocco vendors provide to produce the payslips. Our article on outsourcing payroll discusses this trade-off.
Software, payroll services company or hybrid: the five things that really differ
| What you are comparing | In-house payroll software | Payroll services company | Hybrid: software in-house, firm reviewing |
|---|---|---|---|
| Cost structure | A recurring subscription, usually per employee and per month, plus a one-off implementation; the cost moves with headcount, not with payroll complexity | A fee per payslip or a monthly retainer, often with extras for year-end work, mid-month leavers and back pay; the cost moves with activity | Both, but the firm’s scope is narrowed to review and year-end, which is where its expertise is worth most |
| Legal responsibility | The employer calculates and files; the vendor is liable for the tool, not for your declarations | The provider calculates and often files on your behalf, but the employer remains the party answerable to the CNSS and the DGI; late surcharges are claimed from the employer | Unchanged: the employer answers for the filings. The contract should say who bears a surcharge caused by the other party |
| Lead times | You control the calendar and can close payroll late in the month; the constraint is the Damancom deadline on the 10th | The provider sets a cut-off for variables, often a week or more before the end of the month, to hold the same deadline for all its clients | You keep the late cut-off; the review happens after the run, before filing |
| Dependency | On the vendor’s regulatory monitoring and on having someone in-house who understands payroll | On one firm, and often on one person within it; absences and staff turnover there become your problem | Split: the calculation stays with you, the expertise is bought where you need it |
| Reversibility | High if the data is yours and exportable: employee records, year-to-date totals, leave balances | The weak point. Ask upfront how you get back the payroll history, the cumulative totals and the filed DNS files, in what format and at what cost | High, since the data never left your system |
Read that table before reading any price list. For a company of fewer than twenty employees with a simple payroll, payroll services in Morocco often win on effort. Above that, or as soon as overtime, shift premiums and multiple sites enter the picture, the monthly exchange of variables by email becomes the bottleneck, and payroll software Morocco teams operate themselves usually wins on lead times and on reversibility.
What payroll services in Morocco usually cover
- Monthly calculation of payslips from the variables you send, with the CNSS ceiling, AMO, IR and any CIMR scheme applied.
- Preparation, and often filing, of the DNS on Damancom, plus payment instructions before the 10th.
- The IR statement for the DGI and the annual 9421 statement.
- Entry and exit paperwork: CNSS registration, employment certificates, final settlements.
- Sometimes a payroll help desk for employee questions, and an annual review of pay items.
What is rarely included, and worth asking about explicitly: time and attendance collection, leave balances, an employee portal for payslips, and a dated audit trail of who changed what. Those are software functions, and their absence is the usual reason companies that outsource still end up buying payroll software Morocco vendors sell alongside.
What drives the cost of payroll services in Morocco
We do not publish price ranges, and you should distrust any that are quoted without a scope. What you can compare is the structure: whether the fee is per payslip or a flat retainer; whether year-end work, the 9421 statement, back pay and mid-month leavers are included or billed separately; whether a minimum monthly volume applies; what a payslip correction after filing costs; and what the exit fee is for retrieving your historical data. Ask for the same scope from every provider and from every payroll software Morocco vendor, over three years rather than one, and compare totals rather than headline rates.
Choosing a payroll company in Morocco
If you hand payroll to a provider of payroll services, ask the same questions as you would a software vendor, plus four more: who files the DNS on Damancom, and with what proxy access; who bears the late surcharges when the delay is theirs; how early they need the variables to meet the 10th; and how you get back the payroll history and year-to-date totals if you change provider. Also insist on read access to payslips and statements, so you do not depend on emailed files. Whatever the set-up, the employer remains responsible for its declarations.
Moroccan payroll software or an international suite: how to tell them apart
Moroccan payroll software is a tool whose engine applies the capped CNSS, AMO, the IR scale and the Damancom DNS natively, without adaptation. The market has several families, which you should compare on local compliance first.
- Moroccan vendors, such as OJRA (NSE), built around CNSS, IR and the 9421 statement: local compliance is their core business; the HR scope beyond payroll is worth checking.
- International suites, such as Sage or Cegid, long established: robust, but the depth of the Damancom and IR localisation and the closeness of support deserve a hard look.
- Recent SaaS tools and HRIS with native Moroccan payroll, which connect payroll to time, absences and the employee record: judge them on the real depth of the Moroccan engine, not the interface.
None of these names is “the best” in absolute terms: the right choice depends on your size, your modules and your tolerance for re-keying. Take the seven-criteria grid above and have each candidate calculate a real payslip. That is how payroll software Morocco buyers should judge a tool — on compliant outputs and regulatory monitoring, not on a sales deck.
Questions to ask in a demo
- Calculate the 10,000 DH gross payslip above in front of us, then one at 5,500 DH: are the CNSS, AMO and IR amounts correct?
- Show the DNS file generated for Damancom and what is still done by hand.
- How was the IR scale change of 1 January 2025 rolled out to your customers, and how quickly?
- How do you handle three months of back pay and its effect on IR?
- How is the 9421 statement produced, and from which cumulative totals?
- How do you migrate the year’s cumulative totals if we switch tools mid-year?
- Does overtime approved by managers reach payroll without an intermediate file?
- Who can see salaries, and where is the record of each change?
The most expensive pitfalls
The 6,000 DH ceiling applied incorrectly
Applying the ceiling to AMO or family allowances under-declares contributions; forgetting it on social benefits over-declares them. Either way, the difference repeats on every payslip and every DNS until the audit.
An IR scale stuck in 2024
A failed update of the exempt band or the top marginal rate distorts every employee’s net pay. Insist on a dated release note for each finance act.
Re-keying between payslip and Damancom
Every re-keying creates a possible gap between what is paid and what is declared. The file must come from the approved payroll, not from a separate spreadsheet.
Overtime entered by hand
In manufacturing, retail and call centres, overtime premiums and rotating schedules account for a large share of variables. A time and attendance module connected to payroll removes this risk.
Implementing payroll software Morocco: steps and realistic timelines
- Scoping (one week): companies, collective agreements, pay items, CIMR membership, payroll calendar.
- Data migration (one to two weeks): employee records, CNSS numbers, year-to-date totals, leave balances.
- Configuration and testing (two weeks): pay items, checks on a dozen sample payslips.
- Parallel payroll (one month): line-by-line comparison of payslips and the DNS with the old system.
- Go-live: preferably in January, or otherwise with a rigorous migration of cumulative totals for the 9421 statement.
Allow six to ten weeks for a single-site SME, longer for several companies. If you are also comparing full HR suites, our guide to HRIS in Morocco extends the grid to the other HR modules.
For the wider picture, see our guides to payroll software and payroll software in Africa.
For every payroll obligation in Morocco in one place, see our complete guide to payroll in Morocco.
Frequently asked questions on Payroll software Morocco
What is Moroccan payroll software?
It is software whose engine applies the Moroccan rules natively — the 6,000 DH CNSS ceiling, AMO, the IR scale, two-rate professional expenses — and produces the DNS for Damancom and the 9421 statement, with no manual configuration on your part.
What is the best payroll software in Morocco?
There is no single best tool. Compare native Moroccan vendors and international suites on the seven-criteria grid, and have each one calculate a real payslip: the tool that shows the right CNSS, AMO and IR amounts and produces the Damancom file without re-keying is the right one for you.
Can free payroll software Morocco offers be enough?
For a few employees, a free tool or a spreadsheet can calculate a payslip. It will not update the IR scale, produce the DNS or keep a record of changes. The hidden cost is the time spent and the risk of late-payment penalties.
Which payroll software Morocco option suits an SME with 50 employees?
An online tool with native Moroccan payroll, Damancom DNS, absence management and an employee portal for payslips. Multi-company features are only useful if you have several entities.
Payroll software or payroll services in Morocco: which to choose?
Payroll software Morocco teams run in-house keeps control and data with you; a payroll company takes the calculation off your hands, but you remain responsible for the declarations. Many SMEs combine both: software in-house, review by the accounting firm.
What are payroll services in Morocco?
Payroll services in Morocco means outsourcing the monthly payroll run to a payroll company or an accounting firm: you send the variables, the provider calculates the payslips, prepares the Damancom DNS and the IR statement, and often files on your behalf under a proxy access. It is a service contract, not a transfer of liability.
How much do payroll services in Morocco cost?
Providers price either per payslip or as a monthly retainer, and the headline rate rarely includes everything. Compare the scope instead: year-end and the 9421 statement, back pay, mid-month leavers, corrections after filing, any minimum volume, and the fee to retrieve your historical data on exit. Compare over three years, against the subscription of a payroll software Morocco vendor for the same scope.
Is payroll outsourcing in Morocco allowed, and who is liable?
Outsourcing the calculation and the filing is common practice. The employer nevertheless remains the party answerable to the CNSS and the DGI: late-filing surcharges are claimed from the company, not from its provider. The contract should state who bears a surcharge caused by the provider’s own delay.
How do you choose a payroll company in Morocco?
Use the same seven-criteria grid as for software, then add the four provider-specific questions: who files on Damancom and under what access, who bears late surcharges, how early the variables are needed to meet the 10th, and how you get your payroll history back if you leave. Ask for read access to payslips and statements rather than emailed files.
Can you move from a payroll services company back to in-house software?
Yes, and the point to settle before signing is reversibility. You need the employee records, the year-to-date cumulative totals, the leave balances and the filed DNS files, in a usable format. Mid-year moves are possible but the cumulative totals must be migrated rigorously, because the 9421 statement is built from them; a January switch is simpler.
How does payroll software connect to Damancom?
It generates the DNS in the CNSS standard format, which you upload to Damancom after logging in with two-factor authentication; payment then follows on the portal, by direct debit or through your bank, before the 10th.
Which payroll parameters change in 2026 in Morocco?
The 2026 finance act raises the reduction for family responsibilities to 600 DH per dependant, capped at 3,600 DH a year; the 2025 IR scale and CNSS rates are unchanged.
Do you have to join the CIMR to use payroll software?
No. Joining the CIMR is the company’s choice. The software simply has to handle it if you are a member, with the rate you selected.
How long does it take to switch payroll software in Morocco?
Six to ten weeks for an SME, including parallel payroll. The critical point is migrating the annual cumulative totals.
How do you manage subsidiaries in Morocco and sub-Saharan Africa?
You need a rules engine per country and cost consolidation at group level. Rules differ widely from one country to another; for Morocco, rates are set out in our guide to CNSS contributions in Morocco.
Key takeaways
- Good payroll software Morocco businesses can trust applies the 6,000 DH CNSS ceiling to social benefits only, and AMO and family allowances to the full salary.
- The 2025 IR scale, the two-rate professional expenses deduction and the reduction for family responsibilities raised in 2026 must be up to date without any action on your part.
- Insist on the Damancom DNS, the IR statement and the 9421 statement being produced by the tool.
- Test a worked example in the demo and run a parallel payroll before switching over.
- Connect working time to payroll to stop re-keying overtime.
- Whether you buy payroll software Morocco teams run in-house or payroll services from a provider, the employer remains answerable to the CNSS and the DGI for the filings.
- Settle reversibility before you sign: who returns the payroll history, the year-to-date totals and the filed DNS files, in what format and at what cost.
- Ask your vendor or provider now for its delivery date for the 2027 finance act scale; that answer separates a maintained payroll software Morocco product from a spreadsheet.
To check a payslip before choosing your tool, use our free payroll simulators or our guide to net salary calculation in Morocco.
Socium offers payroll software Morocco teams use within a full HRIS: Moroccan payroll, time and absences, approval workflows, a digital HR vault and an employee mobile app. Book a demo: we will calculate a real payslip and its accompanying declaration with you, within 24 hours.
Source on deductions: PwC Worldwide Tax Summaries, Morocco.
Want to go further?
See how Socium transforms HR and payroll practices across 12 African countries.