Skip to main content
How to Get Your Social Security Number in Spain (2026)
May 28, 2026 at 10:00 AM
Social Security - office admin

Your new employer in Spain has asked for your Social Security number. You do not have one. This guide walks you through exactly how to get your Número de Afiliación a la Seguridad Social in Spain.

What Is the Spanish Social Security Number?

The NAF is a unique lifetime identifier assigned by the TGSS. You need it to be legally employed, register as autónomo, access public healthcare, and build pension contributions. Your employer cannot legally register you without this number.

Required Documents

EU Citizens

  • Valid passport or national ID (original + photocopy)
  • NIE verde / CUE
  • Completed form TA.1

Non-EU Citizens

  • Valid passport (original + photocopy)
  • TIE card or valid work visa
  • Completed TA.1 form

Where to Apply in Madrid

  • Paseo de la Castellana, 34 — Monday to Friday, 9:00 AM to 2:00 PM
  • Gran Vía, 32
  • Agustín de Foxá, 2–4

Can I Apply Online?

Yes — with a certificado digital or Cl@ve PIN via sede.seg-social.gob.es. Select Afiliación — Alta en el Sistema.

How Long Does It Take?

In person with all documents: same day. Online: 2 to 5 working days.

Need Help?

I help expats in Madrid get sorted quickly. Get in touch.