Spain · Social Security number
Spanish Social Security number: how to get it
You need a Social Security number to work or use public healthcare. Request it online through Import@ss with your NIE and a selfie, or at a TGSS office.
Get reminded before your date
What it is
Your Social Security number (número de la Seguridad Social or número de afiliación) is a lifelong number that links you to the Spanish Social Security system. You need it to work, register as autónomo, and access public healthcare.
Do you need to do this yourself?
- Starting a job? Many employers request the number for you. Ask them first.
- Registering as autónomo, or your employer asks you to bring it? Request it yourself using this guide.
Before you start
You'll need:
- Your NIE (or a Spanish DNI). Adults applying online are identified with their DNI or NIE; a passport is only accepted for children. If you don't have a NIE yet, get it first.
- Your TIE, EU registration certificate or passport, to show who you are.
- Your contact details (mobile phone and email) and your home address in Spain.
- In person: form TA.1, filled in with "assignment of Social Security number" (asignación de número de la Seguridad Social) ticked.
Steps
- Choose how to apply:
- Online through Import@ss on the Social Security website. Without Cl@ve or a digital certificate: fill in the request in your name, take a selfie and attach a photo of your ID document; you don't need form TA.1. Social Security checks your identity before replying. With Cl@ve, a digital certificate or SMS access, you can request it directly.
- In person at a Social Security Treasury (TGSS) office, with an appointment, form TA.1 and your ID.
- Submit your request online or at your appointment.
- Receive your number. In person it's often issued at the appointment; online, Social Security replies once it has checked your identity.
Cost
Free.
Common pitfalls
- Don't confuse it with your NIE; they're different numbers.
- Children can be registered with a passport: a parent applies with form TA.1 and the family book or another document proving parental responsibility.
- Keep the document showing your number; employers, doctors and your gestor will ask for it.
When to ask a helper
If the online portal won't accept your ID, or you don't have a NIE yet and need to start work, ask someone who's done it recently.
Checked against:portal.seg-social.gob.es, revista.seg-social.es, seg-social.es
Spot a mistake? Let us know
Rules change and offices differ. If something here is wrong or out of date, tell us and we'll check it.
More guides for Spain
- NIE in Spain: how to get your foreigner number
- Empadronamiento in Spain: how to register on the padrón
- TIE in Spain: fingerprint appointment, documents, steps
- EU registration certificate in Spain: how to get it
- Public health card in Spain: how expats get one
- Spanish tax return (Renta) for expats: who files and how
8 more guides for Spain
- Register as autónomo in Spain: form 036 and RETA
- S1 form in Spain: healthcare for pensioners
- Beckham law: Spain's special tax regime for new arrivals
- Modelo 720: declaring assets abroad in Spain
- TIE renewal in Spain: renew your residence and card
- Exchange a UK driving licence in Spain: DGT steps
- EU driving licence in Spain: drive on it or exchange it
- Exchange a non-EU driving licence in Spain (canje)