← Back to Blog

How to obtain the Social Security number in Spain

Aug 21, 2025

How to Obtain a Social Security Number in Spain

Obtaining a Social Security number in Spain is an essential procedure for anyone wishing to work or reside legally in the country. This number is necessary to access social services, make contributions, and manage labor rights. Below, we explain how to obtain it easily.

What is the Social Security number?

The Social Security number is a unique and non-transferable code that identifies each citizen in the Social Security system in Spain. This number allows access to benefits and services such as pensions, medical assistance, and unemployment subsidies.

Who needs a Social Security number?

Anyone who:
- Is going to work in Spain.
- Resides in Spain and wishes to access social services.
- Is a student and needs to undertake internships.

Steps to obtain the Social Security number

1. Gather the necessary documentation

To request the Social Security number, you will need to present certain documents. The most common are:
- Identity document: DNI, NIE, or passport.
- Application form: The TA.1 form, which you can obtain on the Social Security website or at the relevant offices.
- Proof of employment status: This can be a work contract or a job offer.

2. Application at the General Treasury of Social Security

Once you have the documentation, you must submit your application at the General Treasury of Social Security (TGSS). You can do this in the following ways:

  • In person: By going to the TGSS office closest to your place of residence. It is advisable to make an appointment in advance to avoid waiting.

  • Online: If you have a digital certificate or the Cl@ve system, you can submit your application through the electronic headquarters of Social Security.

3. Receive your Social Security number

Once the application is submitted, you will receive your Social Security number immediately if done in person. If you applied online, you will receive an email with your number within 24 to 48 hours.

Additional Tips

  • Verify your information: Ensure that all data is correct before submitting your application.
  • Consult if in doubt: If you encounter problems during the process, do not hesitate to contact the TGSS or seek legal advice.

Conclusion

Obtaining the Social Security number in Spain is a relatively straightforward process, but it is fundamental to enjoy your rights as a worker and resident. Make sure to follow all the steps correctly and have the necessary documentation to avoid inconveniences.

Written by:
Javier Dominguez
Expert immigration lawyer
Publication date: August 21, 2025

Find more information and carry out your procedures with InmiBot

We value your privacy

We use cookies to enhance your browsing experience, serve personalized ads or content, and analyze our traffic. By clicking 'Accept All', you consent to our use of cookies. Read our Cookie Policy.