Spain Social Security Number for Foreigners: How to Get It

You need a Spanish Social Security number (NUSS) to register with Social Security for the first time when you start working. An employer must register a new hire who is not yet affiliated, an autónomo must request affiliation personally, and you can request the number online at any time.

On this page
  1. Do you need a Spanish Social Security number? Short answer: once you plan to work
  2. Who requests it: your employer, you or Social Security?
  3. How to request it online
  4. How to request it on paper with the TA.1 form
  5. NUSS, NIE and SIP card: what is what
  6. Step by step
  7. Common questions

If you are about to start a job in Spain, you need a Social Security number (NUSS) before your first registration, and your employer is the one who has to request your registration when you are not yet affiliated. With no number yet, you can request one online at any time or on paper with the TA.1 form. This page is not about your health card, which is covered in our SIP card guide, or about your ID number, which is explained in NIE vs TIE.

Do you need a Spanish Social Security number? Short answer: once you plan to work

You need the number to register with Social Security for the first time when you start work, and to claim pensions, subsidies and benefits. For contributory benefits, foreigners who reside or are legally in Spain are covered when they carry out their activity in Spain. The same number is also called the affiliation number (NAF).

Seguridad Social page titled Solicitar el Número de la Seguridad Social, explaining what the NUSS is and who it is for
The official page where you apply for the number online. Screenshot taken on 2 November 2026. Source: Seguridad Social, Solicitar el Número de la Seguridad Social (opens in a new tab), captured 2 November 2026

Before you apply, check whether you already have one. You may have a number if you have ever worked or were covered by the school insurance (Seguro Escolar), and you can look it up in your personal area on the Social Security site. If you need proof, the same site offers a PDF report that certifies the number.

The number also matters for health care, because the regional health system uses it to register your health card. If you are a pensioner with an approved S1, the certificate you receive carries your Spanish number; the S1 guide walks through that route.

Who requests it: your employer, you or Social Security?

The rule differs between an employee and an autónomo, so pick your case below.

If you will be an employee

Your employer must request your affiliation when you are not yet affiliated, and the request has to be made before you start work. That request must state your Social Security number, so if you have none, request it first and pass it on.

Los empresarios están obligados a solicitar la afiliación al sistema de la Seguridad Social de quienes, no estando afiliados, ingresen a su servicio, en los términos y condiciones regulados en este capítulo.

Employers are obliged to request affiliation to the Social Security system of those who join their service without being affiliated, under the terms and conditions regulated in this chapter.

BOE · Real Decreto 84/1996, art. 24.1

If your employer does not do it, you can ask the provincial office of the Social Security treasury directly, at any time after the employer’s failure has been established. If your job needs a work permit, the work permit guide covers the employer’s steps.

If you will be an autónomo

Nobody registers you here: a self-employed worker who is not yet affiliated has to request affiliation personally, and again before the activity starts. Our autónomo registration guide takes you through the rest. Because affiliation is single across all regimes, you keep the same registration if you later move from one regime to another.

If you have no job yet

Request the number whenever it suits you, since you can request it online at any time. We recommend doing it before you sign a contract, because your employer’s request has to state the number.

If you are an EU, EEA or Swiss citizen, or a child

On the TA.1 form a passport is accepted only for EU/EEA/Swiss citizens, who must provide a NIE within 3 months of entering Spain. Other applicants hand in a DNI or a foreigner’s card. For a child, a parent or legal guardian submits the request.

BOE consolidated text of the Social Security affiliation regulation, article 24, on employers and the affiliation of new hires who are not yet affiliated
Article 24 puts the duty to register a new hire on the employer. Screenshot taken on 2 November 2026. Source: BOE, Real Decreto 84/1996, art. 24 (consolidated text) (opens in a new tab), captured 2 November 2026

How to request it online

For most newcomers the online request is the quickest route, and you can do it at any time. Here is how it runs.

  1. Gather your DNI or NIE details, a mobile phone number, an email and your usual address.
  2. Open the Social Security page for requesting the number and start the request; it is meant for anyone who has no number assigned yet.
  3. Identify yourself. Without a NUSS you cannot identify yourself by SMS, and without Cl@ve or a digital certificate you send a copy of both sides of your DNI/NIE and a selfie. If you want the faster route, our digital certificate and Cl@ve guide covers how to get one.
  4. Finish the request. The number becomes your affiliation number the moment an employment relationship begins.

Checked November 2026.

Seguridad Social page section listing the details to have ready for a NUSS request and the route without electronic identification
What the page asks for, and the route without Cl@ve. Screenshot taken on 2 November 2026. Source: Seguridad Social, Solicitar el Número de la Seguridad Social, what you need (opens in a new tab), captured 2 November 2026

How to request it on paper with the TA.1 form

Paper is the alternative to the online route, and it runs on the TA.1, the official request for affiliation, assignment of a Social Security number and changes of data.

Fill it in and hand it in with your ID document, which is a DNI, a foreigner’s card or a passport. A person without a number requests it from the provincial office of the Social Security treasury before applying for affiliation and registration, showing the identification document that applies to a foreigner.

For a job, the affiliation request goes to the provincial office where your employer is based or, for a self-employed worker, where the establishment is located or, failing that, where the worker lives. For a child, complete the TA.1 with the child’s details.

The form states a legal maximum of forty-five days from the date the request enters the register of the provincial office. Start well before your first day of work, because the request has to be made before you begin.

First page of the official TA.1 form for affiliation to Social Security, assignment of a number and change of data
The first page of the TA.1 form. Downloaded on 2 November 2026. Source: Tesorería General de la Seguridad Social, modelo TA.1 (first page) (opens in a new tab), captured 2 November 2026

NUSS, NIE and SIP card: what is what

These three are easy to mix up, but they do different jobs.

Item What it does
NUSS Identifies you for Social Security
NIE The identity number you give when you apply, written on the request as your document number
Health card The regional health system uses your NUSS to register it

The number does not expire. It is a single number assigned to each worker, for life and valid across the national territory.

a cada trabajador se asignará su mismo número de la Seguridad Social, que tendrá carácter vitalicio y válido para todo el territorio del Estado

Each worker will be assigned the same Social Security number, which will be for life and valid throughout the national territory.

BOE · Real Decreto 84/1996, art. 34.2

Once you have the number, add it to your paperwork list in the moving checklist. For the next steps with health care, see the SIP card guide, the guide to registering with a GP and the convenio especial guide.

BOE consolidated text of the Social Security affiliation regulation, article 34, saying the Social Security number is for life and valid in all of Spain
Article 34 says the number is for life and valid across Spain. Screenshot taken on 2 November 2026. Source: BOE, Real Decreto 84/1996, art. 34 (consolidated text) (opens in a new tab), captured 2 November 2026

↑ Contents

Step by step

  1. Check whether you already have a numberLook in your personal area on the Social Security site, because you may have one from earlier work or school insurance.
  2. Gather your detailsHave your DNI or NIE details, a mobile phone number, an email and your usual address ready.
  3. Request the number onlineUse the online request at any time; without Cl@ve or a digital certificate, send a copy of both sides of your DNI/NIE and a selfie.
  4. Or file the TA.1 formHand in the TA.1 form with your ID document at the provincial office of the Social Security treasury.
  5. Give the number to your employerThe affiliation request has to state your number, so pass it on before you start work.

Not confirmed: Where to hand in a paper request in Valencia and whether you need an appointment: the pages read name no Valencia office, so check the Social Security site before you go. Whether a remote worker employed by a company abroad needs a number: the sources tie the number to starting work in Spain.

Next step

Have a Spanish document you cannot read? Our paid paperwork check explains it in plain English before you sign or pay.

Get a paperwork check

Common questions

Do I need a NIE before I can request a Social Security number?

The online request asks for your DNI or NIE details. On the TA.1 form a passport is accepted only for EU/EEA/Swiss citizens, who then have to provide a NIE within 3 months of entering Spain.

How do I find out whether I already have a number?

You may have one if you have ever worked or were covered by the school insurance (Seguro Escolar). Look it up in your personal area on the Social Security site and download the PDF report that proves it.

What if my employer does not register me?

You can ask the provincial office of the Social Security treasury directly for your affiliation and initial registration, at any time after the employer's failure has been established.

Can I request a number for my child?

A parent or legal guardian submits the request for a minor, with the TA.1 form completed with the child's details.

Does my number change if I move from employee to autónomo?

It stays the same. Affiliation is single across all regimes, even when you change from one regime to another, and the number is for life.

How long does a paper request take?

The TA.1 form gives a legal maximum of forty-five days from the date the request enters the register of the provincial office.

Sources and reader comments

Official legal texts (BOE, DOGV, government portals):

Show 2 more sources

Comments (0)

Be the first to ask about this topic.

    General information checked against the sources listed above, not legal advice for your situation. Rules and office practice change; confirm with the immigration office or a licensed adviser before you act. See how guides are checked.

    Spotted an error? Report it.