How to Get a Social Security Number in Spain

Summary (TLDR):
The Spanish social security number, or NSS, is a personal identification number that connects you to Spain’s Social Security system. You need it to work, freelance, do certain internships, access public healthcare, and register your employment activity in Spain.
This guide explains who needs an NSS, what documents are required, and how to apply for it at a Social Security office.
If you are planning to do an internship or have a job in Spain, you will need a número de seguridad social (NSS) or a social security number. But you must be asking, what is this number used for and how can I get it?
Well, you are in the right place. Keep reading to find out everything you need to know about the Spanish social security number.
EXTRA: If you need help with this or any other legal topic, you can contact our Legal Team and hire their services (5% Discount with the Premium Card).
What is a social security number?
Let’s begin with the whole social security system.
A social security system is where a government guarantees economic security to its citizens and residents. Its objective is to provide protection against situations of illness, disability, unemployment, old age, accidents at work, maternity or loss of the family’s means of support.
A social security number (SSN) is a personal and unique number dedicated to you as an employee and taxpayer for life. It is the number that connects you to the entire system. It consists of 12 digits and never changes. Once assigned, it is yours permanently.
Any citizen or worker whether employed by another person or self-employed who does not have a SSN may request one.
You will need to give this number to your employer and you will need it if you are planning to work as an autónomo/a or a freelancer. It is necessary to have it especially if you need to access public healthcare and social security. The government and employers use this number to track your pension, welfare (if you are eligible), and other labor activities such as parental leave.
Healthcare is one of the biggest advantages of being in the social security system, and your employer covers the necessary fee for your basic care. In most regions, general doctor visits and emergency care are free at public clinics and hospitals. Once you have your SSN, you will need to register at your local health centre (Centro de Salud) to get your health card (Tarjeta Sanitaria), which gives you access to healthcare.
Dental care and surgeries are usually not covered by the system and you may have to pay out of pocket, unless you have a healthcare plan that covers that.
Who needs a Spanish social security number?
Anyone who legally resides in the Spanish territories can apply as long as you belong to one of the following categories:
- Employees working for a company or another person
- Self-employed workers (autónomo)
- Working partners in associated work co-operatives
- Students who are doing a professional internship and are on the company’s payroll
- Civil Servants or Military Personnel
How can I get a Spanish social security number?
The process is relatively easy and there are now two ways to do it: online or in person.
Option 1: Online (recommended)
The easiest and most convenient option is to apply through the Import@ss portal on the official Social Security website. You can do this with or without a Spanish digital certificate. You will need to upload your completed TA.1 form and photos of your identity document. Once processed, your number is issued electronically. This option is increasingly common and avoids having to travel to an office.
Apply online through Import@ss
Option 2: In person
You can go to any social security office called Tesorería de la Seguridad Social (Treasury of Social Security) in your area. We recommend booking an appointment (cita previa) in advance as some offices require it, especially in Barcelona where demand is high. You need to have the necessary documents (see below) with you and present them when asked.
The process should not take more than half an hour, even though legally they say it may take up to 45 days. It almost never takes that long and you should have your SSN before you leave.
A few things to know before you go:
- Some offices will not issue the number without a Spanish phone number. Make sure you have one before your visit
- The TA.1 form is only available in Spanish. If you are not confident with Spanish, bring a translation or a Spanish-speaking friend
- Bring a signed employment or internship contract if you have one, as some offices may ask for it
Required documents
The documents you need depend on your nationality.
EU, EEA or Swiss citizens:
- Passport or national ID card from your home country
- Application form TA.1 (click here to download the TA1 form). You can complete it electronically and print it, or request one at the office
- Note: you may be asked for your NIE later to validate the application. To avoid having to fill the form again, we recommend getting your NIE first
Non-EU citizens:
- Passport plus documentation of your legal status in Spain, either your TIE or a valid residence/work visa
- Application form TA.1 (click here to download the TA1 form)
For everyone:
- Internship or work contract signed by both the company and the school if you are here on a student visa and are doing an internship
- Volante de padron proving that you are a registered citizen of your district (optional but recommended)
- Any other documents that support your case, such as a house contract or job offer
Once you have submitted everything, you should receive your SSN on the same day if applying in person, or within a few days if applying online.
EXTRA: If you need help with this or any other legal topic, you can contact our Legal Team and hire their services (5% Discount with the Premium Card).
.












