What the number is and who applies
The número de la Seguridad Social (NUSS, also called the número de afiliación or NAF) is the number the Spanish social security system uses to identify you. It is personal and lifelong, so it stays the same when you change jobs, stop working or leave Spain and come back. You need it before your first alta, the registration that records you as working, and before you claim a pension or benefit. Your regional health service also uses it to register your health card.
You can request it at any time, with or without a job lined up. The main route is online, through Importass, and that is what this guide follows. The Seguridad Social's general information also describes applying in person at an office of the Tesorería General de la Seguridad Social (TGSS, its treasury), with the TA.1 form and your identity document, either where you live or where the employer is based. Check the office's appointment rules before you go.
Before you start: check you do not already have one
You may already have a NUSS without knowing it, for example if you have worked in Spain at any point or were covered by the Seguro Escolar (school insurance). If you are not sure, check before you apply, rather than submitting a duplicate request. Your number appears in your área personal on Importass, and the Acreditación del Número de la Seguridad Social service there can issue a report confirming it.
The number, the alta and healthcare are three different things
These are often treated as one step because they tend to happen around the same time. They are separate acts, handled by different people, and having the first does not give you the other two.
So a number on its own changes nothing about your rights: you can hold one without ever working in Spain, and without any public cover. The opposite mistake is assuming a job is registered because you have a number. Ask your employer to confirm the alta, and check your own status in your área personal on Importass.
Who applies, depending on your situation
Anyone who does not already have a número de la Seguridad Social can request one. Who actually does it, and what they need, depends on your situation.
You are starting a job in Spain
An employer hiring someone without a number has to request one, so ask before you apply. You can still apply yourself and hand the number over.
You are becoming self-employed (autónomo)
You handle this yourself. Request the number first, then file your own alta before you start your activity, no more than 60 calendar days ahead.
You are an adult applying for yourself
The standard route explained in the steps that follow. You can apply without a job offer.
You are an emancipated minor
Same route, plus the document proving your emancipation.
You are applying for a child
The application must be submitted by the mother, father or legal guardian, using the guardian's own identity and selfie. See the separate document list in the next step.
Documents you'll need
The Seguridad Social asks everyone for the same three things: your identity details, your contact details and your habitual address. Have those ready, along with the form below, before you open the portal.
Identity document
The Seguridad Social asks for your DNI or NIE. The TA.1 form also lists the foreigner's card (TIE) and a passport, but its instructions limit the passport option to EU, EEA and Swiss citizens, who must then supply their NIE within three months of entering Spain. If you are from anywhere else, plan on using your NIE.
Mobile number and email
A mobile phone number and an email address you can access during the process.
Habitual address
Your habitual address in Spain, including postcode.
Modelo TA.1
The official form for this request, which the portal page tells you to complete before you begin. It also covers affiliation and changes of data, so tick Asignación número de Seguridad Social. Its instructions ask for typed entries or capital letters, with no corrections or crossings out.
Camera
Only if you have no digital ID: a device with a camera, or a phone you can switch to via QR code.
If you are applying for a child, or are an emancipated minor
Applying for a child
The mother, father or legal guardian submits the request. They provide their own personal details, a selfie and a photo of their DNI, NIE or passport, the modelo TA.1 completed with the child's details, a photo of the child's DNI, NIE or passport, and a copy of the libro de familia (the Spanish family record book) or another document proving parental authority or guardianship.
Emancipated minors
You apply in your own name with everything listed above, and add the document proving your emancipation.
Choose how you will identify yourself
Open the trámite page and select Solicitar NUSS. The site then asks you to pick an identification method. If you have a digital ID you can also use the Importass mobile app, where Solicitar NUSS appears once you have signed in.
Open the Importass trámite page
SMS identification is not available to you here
The Seguridad Social can only identify you by SMS if you already have a NUSS, which is the thing you are applying for. If you do not have Cl@ve or a certificado digital, the selfie route is the correct one.
If a page fails to load or the process stops partway through, try again in a current version of Google Chrome or Microsoft Edge.
Do not have one yet?
A certificado digital or Cl@ve makes this trámite, and most other Spanish administration, considerably simpler. We can walk you through getting one.
Confirm your email and enter your details
Confirm your email
Enter your email address and select Confirmar correo. A confirmation code is sent to that address. Enter the code on the site to continue.
The justificante and any status updates go to this address, so use one you will keep access to.
Fill in your personal details
Complete every box, including the ones marked optional, and enter your details exactly as they appear on your identity document, because they are checked against official records.
- Tipo de identificación:
- select the document type you are using, for example NIE.
- Número de identificación:
- the document number exactly as it appears on the document.
- Segundo apellido:
- if you do not have a second surname, enter X.
- Fecha de caducidad:
- the expiry date of your document.
Prove your identity with a selfie and document photos
This step applies only if you selected Ninguno de los anteriores. If you identified with a digital ID, go on to step 6.
Take a selfie with your document
The portal asks for a live photo of you holding your identity document, showing the front of the document.
If your computer has a webcam you can take it there. If not, select Haz clic aquí under Hacer foto to get a QR code and take the photo on your phone instead.
Hold the document close enough to the camera that it is clearly readable and clearly yours.
Upload your identity document
Upload clear images of the document. JPG or PNG.
- DNI, NIE or TIE: the front in the first box and the back in the second.
- Passport, if you are using one: the front cover in the first box, and the inside page showing your photo and details in the second.
Check the images before you continue
Check the uploaded images before continuing. The portal will let you proceed with an unreadable image, and the request is then rejected later. Make sure nothing is blurred, cut off, dark or washed out by glare. If an image is wrong, use Eliminar y volver a subir.
Complete the request and submit it
The labels below are the ones the portal has used for this request. If a label differs when you get there, choose the closest match, because screens can change.
- Código postal:
- your postcode.
- Medio de comunicación:
- Correo for email, or SMS for phone.
- Prefijo:
- your country dialling prefix, without the + sign.
- Número de teléfono:
- your phone number.
- Categoría:
- Obtener número de Seguridad Social.
- Trámite:
- Obtener el número de Seguridad Social.
- Motivo de la solicitud:
- state briefly why you need it, for example that you need the number in order to start work.
Attach your TA.1
Under Documentos, attach your completed modelo TA.1 in the Solicitudes row and select Subir documento. If you are applying for a child, attach the additional documents you gathered earlier as well.
Review and submit
Check everything, then select Doy mi conformidad followed by Continuar. The request is not submitted until you have done both.
Download the justificante de presentación before closing the page. It confirms the request was received and lists everything you attached. Keep it.
Receiving your number, and what comes next
How the number reaches you depends on how you applied. If you identified with a digital ID, the official leaflet shows the assigned number on screen, with a document confirming it to download. If you used the selfie route, the reply goes to the contact details you gave in the request, so keep watching that email address and phone. Either way a resolution is issued once the number is assigned, and you can print it. The number then also appears in your área personal.
For questions about your specific situation, or about a request that has gone quiet, the Seguridad Social has an online queries service. Seguridad Social queries service
What to do once you have it
Getting the number is the first step. Which of these apply depends on your situation.
If you have a job, give the number to your employer as soon as you have it and ask them to confirm your alta. They file it before your start date, and no more than 60 calendar days ahead.
If you are becoming self-employed, file your own alta before you start your activity, within the same 60 calendar day window.
Check your healthcare right. On the Seguridad Social's Prestaciones site, under Asistencia sanitaria dentro de España, you can check whether the right is recognised and download the documento acreditativo del derecho a la asistencia sanitaria. It is issued only where the system confirms the right. Being registered as an employee or self-employed is a common basis, but a number alone is not.
Request the card. Take that document to your regional health service, normally through the health centre for your address, to request the tarjeta sanitaria individual. What else it asks for varies by region, so check locally first.
The number stays when the job ends
Your NUSS never lapses, and you do not apply again for a new job. An alta does end with the job, and that can change the basis of your healthcare entitlement, so check it again rather than assuming it continues.
Official sources
- Solicitar el Número de la Seguridad Social, Tesorería General de la Seguridad Social
- Official informative guide (Spanish)
- Modelo TA.1
Last verified: 4 August 2026. This guide reflects the official process at the date shown. Procedures, forms and portal screens can change.
Where we can help
The application itself is mostly form filling. What stalls people is everything around it: an identity document photo the system keeps rejecting, a TA.1 filled in incorrectly, applying for a child without the right proof of guardianship, or a request that goes quiet with no way to chase it.
If you would rather not handle those, we prepare the forms, submit on your behalf and follow it through with you.
See our social security number service
Related guides
- Eligibility
- Documents
- Identification
- Importass
- TA.1 form
- Submit
- Your number
You have everything you need to request your NUSS
You have worked through every step of the procedure. The request itself is submitted on the Importass portal, and the number comes back to you there.
What you completed
- Eligibility confirmed
- Documents gathered
- Identification method chosen
- Request submitted on Importass
Hand something over instead
EnterSpain and vetted local providers can take these off your list.
Social security registration
Your social security number is what lets an employer register you, lets you set up as autónomo, and opens public healthcare.
Family healthcare registration
Register a spouse, child or dependent relative on your public healthcare cover.
Talk to an advisor
Book a call if you would rather have someone check your forms before you file them.
This guide is general information, not legal advice. Requirements differ between offices and change over time, so confirm the details with the relevant institution before you rely on them. EnterSpain is a relocation consultancy and is not a certified legal practice.