Getting a CNSS registration number

How to obtain a CNSS (Moroccan social-security) registration number — whether you are an employee, an employer or an independent worker.

Read: 4 min · Category: Social protection · Updated: 2026-04-18 · Reviewed: 2026-04-18

Your CNSS registration number is a lifetime personal identifier with Morocco’s national social-security fund. It gates access to every benefit (sickness / maternity daily allowances, family allowances, pension, AMO). Here is who triggers it and how.

Who needs a number

  • Private-sector employees — registered automatically on your employer’s first declaration.
  • Independent workers (TNS) — traders, artisans, liberal professions, farmers — since the 2021-2022 universalisation reform, you register personally.
  • Employers — a separate employer affiliation with its own affiliation number.

Case 1 — You are hired as an employee

The employer is responsible. They must declare you to CNSS by the day you start, through the online DAMANCOM employer portal.

Check a week later:

  1. Log in to macnss.ma with your national ID (CIN).
  2. Under “Mon immatriculation” — your 9-digit number should appear.
  3. If it hasn’t after 15 days, ask your employer to confirm the DAMANCOM filing; chase if needed.

Keep that number — it stays with you across employers.

Case 2 — You are a non-salaried worker (TNS)

Since the social-protection universalisation, TNS register directly.

  1. Go to cnss.ma — non-salaried-worker section.
  2. Identify your category (liberal profession, trader, artisan, farmer…) — contribution rate and flat basis depend on it.
  3. Prepare the file — CIN, proof of activity (business licence, trade register, professional card), bank details.
  4. File the request online or at a CNSS office.
  5. Pay the contribution on your category’s schedule.

After registration, your number and AMO card are issued; benefits are available after the regulatory waiting period.

Case 3 — You are an employer (new business)

  1. Employer affiliation — submit an affiliation file (articles, trade register, tax ID, bank details) at your local CNSS office.
  2. Once you have the affiliation number, open a damancom.ma account.
  3. Declare each employee on hire; employees without a CNSS number are auto-registered on first declaration.
  4. Pay monthly contributions by SEPA direct debit or bank transfer.

Recovering a lost number

  • Check an old payslip — the number must appear.
  • Log in to macnss.ma with your CIN.
  • Visit a CNSS office with your CIN.

Further reading

Rates and procedures change — check the latest version on the cited official source.

← All guides