How to get your Spanish Social Security number (NUSS)
In a hurry? Summarise this article with the AI of your choice:
In short: the NUSS (Número de la Seguridad Social) is your Spanish Social Security number, also called the NAF. Social Security uses it to identify you for life: you need it for your registration as an employee or self-employed worker, to access a retirement pension or other benefits, and for your regional health card.
It's assigned by the TGSS, Social Security's General Treasury, and the procedure is free. Anyone without one can apply, foreigners included, with an identity document (DNI, NIE or, in some cases, a passport) and the TA.1 application form. There are three ways: online on Importass, the Social Security portal; in person at an office; or through the employer that hires you, which must apply for it if you have none.
- Free
- Online, web or app
- Number on screen with Cl@ve
- Usually a few days without
Table of contents14
- Which route is yours?
- Online with Cl@ve or a certificate
- Online without electronic ID
- With only a passport
- Through your employer
- In person at a Social Security office (TGSS)
- The TA.1 form, box by box
- For a child, or through a representative
- Already have one? Find it, or get a copy
- If your application gets stuck
- What is the NUSS?
- Who needs a NUSS, and when?
- After your NUSS: alta, then your health card
- Frequently asked questions
Which route is yours?
Online with Cl@ve or a certificate
- Number on screen at the end
- Cl@ve, digital certificate or DNIe
- Web or app, in Spanish
- Open the official Importass application page, or the Importass app, and log in.
- Tap Solicitar NUSS, then "Tengo Cl@ve Permanente, Cl@ve Móvil, DNIe, Certificado Electrónico o Vía SMS".
- Fill in your ID, mobile, email and address.
- Your number shows on screen, with its document to download.
Good to know: the SMS option needs a Social Security number already. No Cl@ve or certificate yet? See our digital certificate guide.
Online without electronic ID
- Usually a few days
- NIE or DNI (a passport in some cases)
- A phone or a webcam
This procedure is for adults and emancipated minors. Before you start, complete and sign the TA.1 (box by box), and have an email address ready; if you give a mobile number, two universities' guides say it must be Spanish.
We went through its first steps on 25 November 2026, without sending anything. Here is what you'll see, step by step.
1. Tap "Solicitar NUSS".
2. Choose the "Ninguno de los anteriores" option (none of the above), then "Continuar".
3. Enter your email and confirm it. The receipt and every update come there.
4. Type your personal details as on your document, then its type (DNI, NIE or Pasaporte), number and expiry date.
5. Take a selfie holding the front of your document. No camera? "¿No puedes hacer fotos…?" opens a QR code for your phone.
6. Add both sides of your document, sharp, in JPG or PNG. NIE number but no card yet? Tick the box and add your passport.
Then come your contact details, your documents (the TA.1) and a code sent by email: enter it to submit your application. Keep the confirmation email: its reference lets you follow your application on Importass and add a document if asked.
Good to know: a civil servant handles the verification of your identity and of each application, so it isn't instant; Spain's Court of Audit found 93.9% of all applications submitted this way (for a number or any other procedure) settled in under five days. An emancipated minor adds the proof of emancipation.
With only a passport
- EU, EEA, Swiss: yes
- Ley 14/2013 permits: yes, for 6 months
- Interns: yes, once the NIE is applied for
- Others: NIE first, usually
With a Ley 14/2013 permit (digital nomads, highly qualified professionals, entrepreneurs, investors, researchers, intra-company transfers), your passport is enough to register for your first six months, while you have no NIE. Citizens of the European Union, the EEA and Switzerland give Social Security their NIE within three months of arriving. For everyone else, universities' guides disagree: our NIE guide explains how to obtain one.
The form then asks for the passport's cover and photo page, and a selfie holding it open.
Good to know: EU citizens who applied with a passport report being asked for a contract or pre-contract, and one student's application went through once the university enrolment form was added. Stuck? Add documents to your application on Importass, contact the TGSS on 901 50 20 50 or 91 541 02 91, go to an office, or ask your employer.
Through your employer
- Required if you have none
- You sign the TA.1
If a Spanish employer hires you and you have no Social Security number, it must apply for one, with your ID (DNI, foreigner card or, in some cases, a passport).
In person at a Social Security office (TGSS)
- Walk in, Monday to Friday, 9:00–14:00
- No appointment to book
- Or a video call, booked by phone
Bring the signed TA.1 and your ID: DNI, foreigner card or, for EU, EEA and Swiss citizens, your passport. An application submitted on paper goes to the TGSS office for your address: its provincial directorate (Dirección Provincial) or one of its local offices (Administración).
Good to know: the front desk helps you with the online procedure, but doesn't process applications itself, so don't count on leaving with your number.
The TA.1 form, box by box
The official form is on the Importass application page, under the documents to download, or as a PDF on the Social Security website. Its instructions: type it or write in capitals, with no corrections.
- Your surnames and first name, then your sex, date and place of birth, parents' names and nationality.
- Your document: tick DNI, foreigner card (then write your NIE) or passport (the TA.1 says EU, EEA and Swiss citizens only), and write its number. Leave 1.5 empty: you write your number there only when notifying a change to your details.
- Your address, then your email and mobile.
- Tick "Asignación número de Seguridad Social".
- Place, date and signature.
For a child, or through a representative
For a child, a parent or legal guardian applies, with:
- their own details, a selfie and their ID;
- the TA.1 with the child's details, and the child's DNI, NIE or passport;
- the family book ('Libro de Familia'), or a document proving parental authority or guardianship.
The procedure "Solicitar NUSS como apoderado" lets someone you authorize apply for you.
Already have one? Find it, or get a copy
You may already have a Social Security number if you've worked in Spain or had student insurance ('Seguro Escolar') there. Check before applying: it's one number for life.
- On Importass: request the Acreditación del Número de la Seguridad Social to retrieve your Social Security number. With electronic ID, it shows your number and a PDF. Without, you send your personal details, a selfie and a photo of your ID (the form accepts a passport).
- On your papers: an old payslip ('nómina'), an earlier employment contract or your 'vida laboral', your Social Security employment history.
What the NUSS document looks like
The PDF is a copy of the resolution that assigned your number. This example uses made-up details:
- Its title: "Resolución: asignación de número de Seguridad Social o número de afiliación".
- Your number.
- "DUPLICADO" on a copy you download later.
- Its electronic reference (CEA code): with it, the document's authenticity can be checked on the Social Security's e-office (Sede Electrónica).
If your name, document, date of birth or address is wrong on it, ask for a correction with the same TA.1, ticking "Variación de datos".
Assigned, but you can't see it?
If the email says your number is assigned but you can't log in to see it, ask for the Acreditación without electronic ID, as above.
If your application gets stuck
| What happens | What to do |
|---|---|
| The form asks for an NIE you don't have | EU, EEA or Swiss citizen: apply at an office with the TA.1 and your passport. Ley 14/2013 permit or internship: see above. Others: most need one first. |
| The TGSS asks for more documents | Add them to your application on Importass, with your reference and ID number. |
| Your number is assigned but you can't see it | Ask for the Acreditación without electronic ID. |
| You may already have a number | Check with the Acreditación. The 'Acreditación de no tener Número de la Seguridad Social' proves you've never been registered. |
| No answer after 45 days | The TGSS treats your application as granted. The time limit (45 days, Royal Decree 84/1996) can be paused while it waits for documents it requested. |
The TGSS commits to assigning a number within one working day once it has everything it needs.
What is the NUSS?
The NUSS, also called the NAF (Número de Afiliación), is the number Spain's Social Security uses to identify you, from your first registration as a worker to your pension and your health card.
Don't mix it up with three other numbers. Our guide to Spain's main documents shows how they fit together.
| What it is | |
|---|---|
| NUSS (NAF) | Your Social Security number: registration as a worker, pensions and benefits |
| NIE | Your identity number as a foreigner |
| TIE | Your foreigner card, with your NIE on it |
| Health card | Your region's card for public healthcare: it isn't your Social Security number |
Who needs a NUSS, and when?
Every employee or self-employed worker registered in Spain, and some people who aren't. Your situation decides when:
| Your situation | Your Social Security number: who applies, and when |
|---|---|
| Employee | Your employer, if you have none, before your first day |
| Self-employed worker (autónomo) | You, before you start |
| Intern, paid or not | Since 2024: the university, company or training centre, or you |
| Non-EU student on a study permit with a job (30 hours a week at most) | Your employer, before your first day |
| Digital nomad visa, employee | Your employer, before your registration (alta), which follows the permit. The consulates in New York, Houston and Toronto ask for proof of affiliation before the visa |
| Digital nomad visa, self-employed | You, as an autónomo |
| Digital nomad covered at home (certificate of coverage) | None needed for employment |
| Non-lucrative visa | None needed for the visa. You'll get one if you register an S1 or switch to a work permit |
| Pensioner with an S1 form | It comes on INSS's certificate when your S1 is registered |
| EU, EEA or Swiss citizen with a job | Your employer or you, with your passport if you have no NIE yet |
After your NUSS: alta, then your health card
Having a Social Security number doesn't register you as a worker: the registration ('alta') does.
- Employees: your employer files your registration (alta) before your first day, never more than 60 days ahead. If it doesn't, you can file it yourself, and the TGSS informs the Labour Inspectorate.
- Self-employed: you file your own alta before you start. Our Spain tax calendar shows an autónomo's registration and payment dates.
- With an employee work permit: you must be registered within three months of arriving; then you apply for your TIE within a month.
- Health card: your region's health system uses your Social Security number to issue it and give you access to public healthcare. Who's covered, and how: our guide to healthcare in Spain.
- Registered with an EU, EEA or Swiss passport? Give Social Security your NIE within three months of arriving, with the TA.1 (it also changes your details).
Frequently asked questions
How do I apply for a Social Security number in Spain?
Online on Importass, in person at a TGSS office, or through your employer. With Cl@ve, a digital certificate or a DNIe, the number shows on screen at the end. Without electronic ID, you send a selfie, photos of your ID and the TA.1 application form, and the answer comes by email.
What are the required documents?
Your ID and the TA.1 application form, completed and signed. The ID is your DNI or NIE, or in some cases a passport: EU, EEA and Swiss citizens, Ley 14/2013 permit holders for their first six months, and interns who have applied for their NIE. You also need an email address; if you give a mobile number, two universities' guides say it must be Spanish. The TGSS can ask for more: EU citizens who applied with a passport report being asked for a contract or pre-contract, and one student's application went through once the university enrolment form was added.
How long does it take to receive your Social Security number?
On screen at the end of the online application with electronic ID; usually a few days without. Without, a civil servant starts by verifying your identity, and the answer comes by email. The legal time limit is 45 days (Royal Decree 84/1996), which the TGSS can pause while it waits for documents it requested, and it treats no answer by then as a yes.
Can a foreigner get a Social Security number in Spain?
Yes. Foreigners apply the same way as Spanish citizens, with an NIE instead of a DNI, online or in person. Some can start with a passport: EU, EEA and Swiss citizens (who then give their NIE within three months of arriving), and Ley 14/2013 permit holders such as digital nomads (for their first six months).
Is the NUSS the same as the NIE?
No. The NIE is your identification number as a foreigner; the NUSS, your number with Social Security. You usually need the first to apply for the second, and the TA.1 has a box for each.
Can I work in Spain without a Social Security number?
Not as an employee or self-employed worker registered in Spain. You need the number before your registration ('alta'), and an employer files that before your first day: if you have none, it applies for your number first. Digital nomads who stay covered at home with a certificate of coverage need none.
What does a Spanish Social Security number look like?
Up to 12 digits: two for the province, a 1 (a 0 for numbers issued before March 1992), then nine more, as in 28 1234567890, the TGSS's own example.
Do you get a Social Security card in Spain?
You get a document: the resolution that assigns your number, which you can print. With electronic ID you can download a copy from Importass; without, you request one with a selfie and your ID. Your health card is a different card, issued by your region with your number.
Does it cost anything?
No. The procedure is free: Social Security doesn't charge for its services, your number included. Agencies that apply for you charge their own fees, and the TGSS's phone lines aren't free calls.
Can I get a Social Security number before I move to Spain?
Nothing official says whether you can. The application asks for your usual address, the TA.1 has no country in its address, and two universities that hire from abroad ask for a Spanish phone number. An employer that hires you can apply for it, but nothing official says whether that works before you arrive either.
Digital nomads: the Spanish consulates in New York, Houston and Toronto ask for proof of affiliation before the visa.
Do I get a new Social Security number when I change jobs or move?
No. Your Social Security number is permanent, yours for life whatever your job or address. If your personal details change, you notify it on the same TA.1.
I lost my Social Security document. How do I get a duplicate?
Request the 'Acreditación' of your number on Importass. With electronic ID, you download it at once. Without, you send your personal details, a selfie and a photo of your ID (the form accepts a passport). The copy is marked 'DUPLICADO'.
Is Importass in English?
No. The portal and its app are in Spanish only. The Social Security's official information website has pages in English, including the procedure for the number.
Do I need a Social Security number for retirement in Spain?
Not for a non-lucrative visa itself, but you need one to draw a Spanish pension. A pensioner who registers an S1 form from another EU or EEA country, Switzerland or the UK gets a certificate with a Social Security number from the INSS.