Skip to content

Guide

The Spanish social security number: what the TGSS actually issues

By Covered Abroad Research Desk · Last verified July 2026

Spain's social security number comes from the Tesorería General de la Seguridad Social. Per the TGSS: anyone starting work that brings them into the system must request affiliation — a one-time administrative act recognising your inclusion — using form TA.1 ('Solicitud de Afiliación/Número de Seguridad Social'), or directly online through the Sede Electrónica with a digital certificate. The TGSS assigns each citizen a Número de Seguridad Social identifying them in all dealings with the system.

Affiliation and the number, per the TGSS

The TGSS page defines the act: affiliation is an administrative act by which the Tesorería General de la Seguridad Social recognises the inclusion in the system of a person carrying out, for the first time, an activity that brings them within its scope — it is obligatory for those included, and done once for life. Alongside it, the TGSS assigns a Número de Seguridad Social to each citizen to identify them in their relations with the system — the number employers ask for before the first contract is signed.

Source: Seguridad Social (TGSS) — Afiliación y Número de la Seguridad Social, read 10 September 2026.

How to request it

Two official routes on the same page: the paper-form route — modelo TA.1, «Solicitud de Afiliación/Número de Seguridad Social» — and the online route: with a digital certificate you can process the request directly through the Asignación de número de Seguridad Social service of the Sede Electrónica. For a new arrival the practical sequencing is NIE first (Spanish systems key on it), then the NUSS before day one of work — and import@ss, the TGSS's portal, is where the number lives afterwards.

Source: TGSS — formas de practicar la afiliación, read 10 September 2026.

60-second check

Not sure the policy you have meets your destination's written rule? Run it through the policy check now, before you build the rest of the file around it.

Check my policy

Number vs NIE vs TIE — the Spanish ID trio

Keep the identifiers apart: the NIE is your general foreigner ID number (police-issued, on everything); the TIE is the residence card; the NUSS is the social-security system's own identifier — the one your employer, your contributions record and eventually your Spanish pension hang off. Health-system access for workers follows affiliation; for non-working residents the routes in our Spanish healthcare registration guide apply.

Source: TGSS — Afiliación de trabajadores, read 10 September 2026.

Get the moving-paperwork checklist

The month-by-month timeline so the insurance certificate is ready before your appointment, not after.

We’ll also alert you if the rules change. Unsubscribe anytime. See our privacy policy.

Get a certificate that meets the published rule

Tell us your destination, visa, and who’s moving. Our team reviews it against the current requirement and calls you with a quote — no obligation.

Cover underwritten by Regency Assurance · every rule on this site cited and dated · a person calls back within one business day.

Before you request a quote: cover is worldwide but excludes treatment in the United States, and pre-existing conditions are not covered — including conditions you did not know about. We say this up front so a quote is worth your time.

Common questions

How do I get a social security number in Spain?

Request it from the TGSS — form TA.1, or online via the Sede Electrónica's number-assignment service with a digital certificate. It's obligatory before starting an activity that brings you into the system, and it's assigned once.

Do I need a NIE before the NUSS?

In practice yes — Spanish administration keys on the NIE, and the TA.1 identifies you with it. NIE, then NUSS, then the job contract is the working order.

Is the NUSS the same as the NIE?

No — the NIE identifies you to Spain generally; the NUSS identifies you to the social security system specifically. You'll end up holding both.

Does the NUSS expire?

No — affiliation is a one-time act and the number identifies you for life; jobs and contribution episodes attach to it over the years.

Keep reading