sellLive In Spaincalendar_todayAugust 20, 2026schedule5 min read

How to Get a Social Security Number in Spain: 2026 Guide

Moving to Spain for work, freelancing, or an internship is an exciting journey, but navigating Spanish bureaucracy can quickly feel overwhelming. Without a Spanish Social Security Number (Número de la Seguridad Social or NUSS), no employer can legally issue you an employment contract (contrato de trabajo), and you will be unable to access public healthcare, claim sick leave, or build up your pension.

Whether you are an expat taking up a new job, a student transitioning into a work placement, a digital nomad, or a freelancer setting up shop, this comprehensive Spain social security number guide covers everything you need to know about how to get a social security number in Spain. We’ll walk through the application requirements, online and in-person procedures, and Form TA1 Spain guide steps for 2026.

What is the Spanish Social Security Number (NUSS) and Why Do You Need It?

The Número de la Seguridad Social (NUSS) is a unique 12-digit permanent identifier assigned by the Tesorería General de la Seguridad Social (TGSS). It links foreign residents and Spanish nationals to the national social security framework. It is allocated for life: once issued, your NUSS remains the same regardless of job changes or regional moves.

Social Security Number (NUSS) vs. Affiliation Number (NAF)

A common point of confusion for expats is the difference between NUSS and NAF:

  1. Número de la Seguridad Social (NUSS): The initial, passive identification number assigned to an individual upon request or registration.
  2. Número de Afiliación (NAF): The exact same 12-digit number once it becomes active through your first employment registration (alta).

While older payroll software might refer to it as NAF, both terms represent the exact same identifier.

Who Needs a Social Security Number in Spain?

You are legally required to apply for Numero de Seguridad Social Spain if you fall into any of the following categories:

  1. Employees: Anyone signing a local employment contract with a Spanish employer.
  2. Freelancers (Autónomos): Individuals registering under the Régimen Especial de Trabajadores Autónomos (RETA).
  3. Company Directors: Directors of a Sociedad Limitada (SL) registering as an autónomo societario.
  4. Students & Interns: Following regulations confirmed under Real Decreto-ley 2/2023, all paid and unpaid university or Erasmus+ interns must hold a NUSS and be declared to the TGSS.
  5. Dependents & EU Pensioners: EU retirees transferring healthcare rights via an S1 form or dependents accessing public healthcare.

Note for Expats: Do not confuse your NUSS with your NIE or NIF. Your NIE is your administrative and tax identification number, while your NUSS governs your social protection, healthcare, and labor rights. Learn more in our guide on How to Get an NIE Number in Spain.

Requirements & Documents Needed to Apply

To file a successful application, you must gather a core set of supporting documentation.

1. Passport / TIE Card & NIE Number

A valid foreign passport (data page) or EU national ID card is required. Furthermore, your Spanish Foreigner Identification Number (NIE) is mandatory. Applications filed using only a passport number without a valid NIE in the system will be automatically rejected by the TGSS.

2. Form TA.1 (Solicitud de Afiliación/Número de Seguridad Social)

The official application document issued by the TGSS. This form records your personal details, tax residence address in Spain, and the official purpose of your request.

3. Proof of Purpose

You must prove why you require a Spain social security number for expats. Acceptable proof includes:

  1. A signed pre-employment contract (precontrato) or job offer.
  2. An internship agreement (Convenio de Prácticas) signed by the university, student, and host company.
  3. Documentation proving your intent to register as self-employed.

4. Empadronamiento Certificate (Town Hall Registration)

While not strictly required by every province for the initial NUSS assignment, having a recent certificate of empadronamiento (padrón) helps verify your fiscal address in Spain and speeds up regional processing.

Step-by-Step Guide: How to Apply for Your Social Security Number

There are three primary pathways to obtain your NUSS. Choose the option that best fits your administrative status in Spain.

Application MethodPrerequisitesProcessing TimeEase of Process
Option 1: Import@ss OnlineNIE, Passport, Spanish Mobile Number or Digital Certificate / Cl@veInstant to 3 Working DaysVery Easy (Recommended)
Option 2: In-Person TGSS OfficePrior Appointment (Cita Previa), Form TA.1, Physical ID & DocumentsSame-Day to 10 DaysModerate (Queue Dependent)
Option 3: Employer/Host FilingNIE, Passport, Job Offer or Internship Agreement1 Working DayEasiest (Handled by HR)

Option 1: Applying Online via the Import@ss Portal (Fastest Method)

Getting a social security number Spain online is the most efficient method. The TGSS Import@ss portal allows you to submit requests using a Digital Certificate, Cl@ve PIN, or simple SMS verification.

  1. Visit the official Import@ss portal (via Sede Electrónica de la Seguridad Social).
  2. Navigate to Trámites $\rightarrow$ Números de la Seguridad Social y afiliación $\rightarrow$ Solicitar número de la Seguridad Social.
  3. Log in using your Digital Certificate, Cl@ve, or select Vía SMS (requires your NIE, date of birth, and a registered mobile number).
  4. Fill in your personal details exactly as they appear on your NIE certificate.
  5. Upload clear scans (PDF/JPG under 5 MB) of your passport, NIE, and job offer / Convenio de Prácticas.
  6. Submit the application and save your official receipt (justificante). Your NUSS is typically issued within 1 to 3 working days.

Need help navigating government portals? Check our detailed Spain Digital Certificate Guide to streamline all your administrative paperwork in Spain.

Option 2: Applying In-Person at a TGSS Office

If you do not have an electronic ID or the online portal flags a data mismatch, you can apply at a local Centro de Atención e Información de la Seguridad Social (CAISS).

  1. Book a cita previa (prior appointment) on the Sede Electrónica de la Seguridad Social under Afiliación e inscripción.
  2. Gather original copies and photocopies of your passport, NIE, completed Form TA.1, and proof of purpose (job offer or internship agreement).
  3. Attend your appointment at the designated CAISS office. In most cases, the clerk will process your file and hand you your official NUSS paper on the spot.

Option 3: Having Your Employer Register You

If you are entering Spain on an employment contract or starting an internship, your host company’s HR or gestoría can request the number on your behalf using Sistema RED. You simply provide them with your NIE certificate, passport scan, and signed contract. The HR department submits the request digitally and usually receives the assigned NUSS within 24 hours.

How to Fill Out Form TA.1 (Step-by-Step Breakdown)

The Form TA.1 (Solicitud de Afiliación/Número de Seguridad Social) is the standardized form used for all manual or uploaded NUSS requests. Complete the form in Spanish using the following section-by-section guide:

  1. Section 1 (Datos del Solicitante): Enter your personal details. Under Tipo de documento, tick NIE and write your number clearly. Write your surnames and given name exactly as printed on your official NIE document. Include your date of birth, nationality, country of birth, and parents' names.
  2. Section 2 (Domicilio del Solicitante): Provide your current address in Spain. The postal code is crucial because it assigns your file to the correct regional branch of the TGSS.
  3. Section 3 (Datos a Efectos de Notificación): Enter your Spanish email address and mobile phone number. Tick the box authorizing electronic communications to receive quick updates.
  4. Section 4 (Solicita): Check the box marked Asignación de número de la Seguridad Social.
  5. Warning: Do not tick "Afiliación" if you are simply requesting your initial number. Only tick this if an employer is simultaneously registering your employment start date.
  6. Signature: Add the city, date, and your original handwritten signature at the bottom.

Next Steps After Getting Your NUSS

Securing your NUSS is an essential milestone, but it is only the first step toward full integration into the Spanish social system.

Setting up a business or working freelance? Read our full breakdown on How to Register as an Autónomo in Spain.

1. Registering for Public Healthcare (Tarjeta Sanitaria / TSI)

Your NUSS registers you in the social security system, but to visit a doctor or hospital, you need an individual health card (TSI - Tarjeta Sanitaria Individual). Take your NUSS, NIE, empadronamiento certificate, and passport to your local health center (Centro de Salud) to register and be assigned a primary care physician (médico de familia).

Unsure about health coverage options? Read our guide on Public vs Private Healthcare in Spain.

2. Registering as Self-Employed (Autónomo Setup)

If you are a freelancer or contractor, your NUSS enables you to complete your dual-registration with the tax agency (Agencia Tributaria) and the social security RETA regime using Modelo TA0521.

3. Downloading Your Employment History (Informe de Vida Laboral)

Once you begin working or complete an internship, all your social security contributions are recorded in your official Vida Laboral report. You can download this document anytime from the Import@ss portal to prove your total work experience and contribution history in Spain.

Common Pitfalls and How to Avoid Them

  1. Applying with a Passport Number instead of a NIE: The TGSS system matches identity data against Extranjería databases. Submitting Form TA.1 without an issued NIE results in immediate automated rejection.
  2. Name Discrepancies: Ensure your names on Form TA.1 match your NIE certificate character-for-character. Adding hyphens or rearranging compound surnames triggers manual review queues, delaying processing by weeks.
  3. Assuming an A1 Certificate Replaces the NUSS: European posted workers or Erasmus students carrying an A1 Portable Document often think they don't need a NUSS. The A1 document only prevents double social contribution payments; it does not replace the required Spanish NUSS registration.
  4. Requesting Duplicate Numbers: A Spanish social security number is issued once for life. If you previously held a NUSS during an internship or past residency, do not apply for a new one. Use the Import@ss portal option "Consultar mi número de la Seguridad Social" to retrieve your existing number.
  5. Assuming Students Don't Need a NUSS: Under current labor regulations, even unpaid university interns must have a active NUSS on day one of their placement. Check your rights and options in our guide on Can I Work with a Student Visa in Spain?.


Conclusion & Next Steps

Obtaining your Spanish Social Security Number (NUSS) is one of the most critical legal milestones when moving to Spain. It serves as the bridge between your foreign resident status and your full access to Spain's working rights, public healthcare network, and social benefits. By preparing your NIE, verifying your Form TA.1 details, and selecting the right application channel—whether online through the Import@ss portal or directly through your employer—you can complete the process efficiently and avoid unnecessary administrative delays.

Need help securing your NUSS or setting up your freelance status in Spain? Our legal team can handle all the bureaucracy for you. [Get Legal Support / Book a Consultation]


Sources:

https://piktalent.com/blog/spain-social-security-erasmus-internships-2026

https://www.gestoraz.com/en/article/everything-you-need-to-know-about-the-nuss-number-in-spain

support_agentNEED A HAND?

Turn this guide into your action plan

Our immigration specialists can tailor the steps in this article to your exact situation. Book a free call and get moving.

Want to check eligiblity?
Find out if you qualify before applying. (15min free meeting)
Book a Consultation Chat on WhatsApp