Get your Social Security Number (NSS) for the first time without hassle
If you are starting your first formal job in Mexico, using the IMSS for the first time, or need to register as a taxpayer, you are probably asking yourself: “How do I get my Social Security number (NSS)?” The answer is simple: you can do this online, for free, in a few minutes.
The NSS is essential for you to have access to healthcare, social security and employment registration in Mexico. It works as your personal identifier with the IMSS (Mexican Social Security Institute) and will be used throughout your entire working life. That is why getting this number is the first step to regularize your situation and secure your rights.
In this article, you will see how to generate your NSS step by step, what is needed to complete the procedure, and why it is important to keep this number safe.
Who needs to get an NSS?
All Mexican citizens who are going to:
- Start a formal job
- Be registered with the IMSS as beneficiaries
- Make contributions to the social security system
- Apply for employment or medical benefits
If you have never worked formally or have never been linked to the IMSS, you probably do not have an NSS yet. But don’t worry: this number can be generated automatically through the official IMSS website.
What is needed to get your NSS
Before starting the process, you need to have on hand:
- Your CURP (Clave Única de Registro de Población)
- A valid personal email address
- Internet access (computer or cell phone)
With these details, the process takes less than five minutes.
How to get your Social Security number online
Step-by-step on the IMSS website
- Go to: https://serviciosdigitales.imss.gob.mx
- Click on the option “Asignación o localización del NSS”
- Enter your CURP and the requested email address
- Enter the verification code shown on the screen
- Click “Continuar”
The system will automatically generate your Social Security number. This number will be shown on the screen and also sent to the email address you provided. Keep this number very safe, as it will be required for all your activities related to the IMSS and your work history.
Can I get my NSS through my cell phone?
Yes! You can also do this procedure through the official IMSS app: IMSS Digital, available for Android and iOS.
In the app, follow these steps:
- Download and open IMSS Digital
- Go to “Trámites y Servicios”
- Select “Asignación del NSS”
- Enter the same details requested on the website
- Confirm and receive your number
The app works just as efficiently as the website. The difference is that it lets you access other features, such as clinic lookup, appointments, and personal registration data.
What if I already have an NSS?
If you have had a previous employment relationship or have already registered with the IMSS, the system will not generate a new number. Instead, it will find the number that already exists. The NSS is unique, personal and non-transferable. You cannot have two different registrations.
If you don’t remember your previous number, this same process can be used to recover it. Just follow the same steps on the website or app. The system will automatically find the number and show it on the screen.
Tips for keeping your number safe
After getting your NSS, save this number:
- In a notebook or personal planner
- In a digital file on your cell phone or email
- Print the document generated on the IMSS website
You will use this number in employment contracts, IMSS registrations, tax returns and official documents. Losing it or forgetting it can cause delays and rework, so keep this information always accessible.
Is the NSS free?
Yes. The NSS generation service is completely free. Do not accept charges or offers from third parties. Everything is done directly on the official IMSS portal or app.
Generating the number on your own avoids fraud, protects your data and ensures you have full control over your information.
❓ FAQ — Frequently Asked Questions
1. Who can obtain a Seguro Social number (NSS)?
Any Mexican citizen who does not yet have an NSS and needs to register with the IMSS or for a new job.
2. Do I have to pay to obtain an NSS?
No. The service is free through the official IMSS website and app.
3. What if I already have an NSS and don't remember it?
The system will automatically locate your previous number, provided your details are correct.
4. Can the NSS be issued with physical documents?
Yes, but the most practical method is digital. Even so, the process can be completed in person with an official identification document.
5. What is the difference between obtaining an NSS and looking one up?
"Obtaining" an NSS means generating the number for the first time. "Looking up" means you already have the number and want to recover it.

