Procesli

Obtaining a Social Security Number in Barcelona (2026)

Verified on:

Cost

Free

Free procedure

Time at office

30 minutes at the appointment

Estimated time

Immediate online

Quick summary

How to get the Social Security Affiliation Number (NAF) in Barcelona. Free procedure, online or in person at the General Treasury.

Required documents

  • DNI, NIE or passport

    Valid original identity document.

0
Free procedure €0.00
€0.00
€0.00

: 2026

Step by step

  • 1

    Online procedure (recommended)

    Go to official site

    Log in with Cl@ve or digital certificate to the Social Security Electronic Office.

    !

    Expert tip

    "If you already have a Cl@ve, the process is immediate and can be done from home."

  • 2

    In person with prior appointment

    Go to official site

    Book an appointment at the General Treasury of Social Security in Barcelona.

    !

    Expert tip

    "Always bring your DNI or NIE original document."

Offices and service points - Barcelona

General Treasury of Social Security — Barcelona

Monday to Friday: 09:00 - 14:00

Frequently asked questions

Is the NAF the same as the NIF?
No. The NAF (Affiliation Number) is unique to Social Security and used for contributions. The NIF is the tax identification number (your DNI or NIE). They are different documents.
When do I need the NAF?
When you start working, if you register as self-employed, or when you need access to Social Security benefits.

Official sources and useful links

This guide is for informational purposes only. Always check the official source for current information.