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 9-digit lifetime identifier with Morocco’s national social-security fund, and it gates access to every benefit (sickness and maternity daily allowances, family allowances, pension, AMO health coverage). As an employee, your employer is legally required to declare you on day one via the DAMANCOM portal, which auto-issues the number. As an independent worker (TNS), you now register yourself since the 2021-2022 universalisation reform. As an employer starting a business, you apply for an affiliation number first and then declare each hire. This guide covers all three cases plus how to recover a lost number.

Adviser explaining paperwork to a client at an office desk
CNSS registration is the gate to every social right. Verify it in your first week, every month without a CNSS number is a month of lost contributions on your future pension. Photo: Mikhail Nilov via Pexels. Pexels licence.

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.

Business professionals reviewing an application form during a meeting
If your number hasn't appeared on macnss.ma after 15 days, ask your employer to confirm the DAMANCOM filing. An unfiled employee accrues zero pension rights, silently. Photo: RDNE Stock project via Pexels. Pexels licence.

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.
Professional individual signing legal documents at an office desk
Keep your CNSS number written somewhere safe. It is yours for life, transfers between employers automatically, and is the foundation of every social right you'll claim. Photo: Mikhail Nilov via Pexels. Pexels licence.

Looking for a CNSS-declared role?

Every formal Moroccan employer must declare you to CNSS. To filter for employers that run clean payroll, browse Morocco openings on Bayt.com, multinationals and larger SMEs are the safest bets. Confirm CNSS declaration in your contract before signing, not after the first month.

Further reading

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

← All guides