BeenThere Expats
Last verified 7 Oct 2026For everyone
Share: WhatsApp Email

Get reminded before your date

We'll email you 7 days and the day before. No account needed. Every email has a link to stop. See privacy.

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

  1. 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.
  2. Submit your request online or at your appointment.
  3. 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.

Please don't include personal details or document numbers.

More guides for Spain

An unhandled error has occurred. Reload ✕

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.