When moving to Spain, starting work, or setting up your own business, one of the first pieces of paperwork you’ll need is a Spanish social security number. This number — known as the Número de Afiliación a la Seguridad Social — officially links you to the country’s healthcare and employment systems, making it essential for anyone earning money or contributing to the system.
Below we explain exactly what a Spanish social security number is, who needs one, and how to apply — both online and in person — using the latest 2025 process through Spain’s Import@ss digital platform.
What is a Spanish social security number?
The social security number, often called the Número de Afiliación or Número de la Seguridad Social, is your personal identifier for all dealings with the Spanish social security system. It’s sometimes also referred to as NUSS (Número de Usuario de la Seguridad Social) or NAF (Número de Afiliación). Regardless of the name used, they all refer to the same permanent number — once issued, it’s yours for life.
Along with your NIE number, this is one of the most important identification codes in Spain.
Why you need one
Your social security number allows you to access a wide range of benefits and services, including:
Without one, you can’t legally work, pay contributions, or register as self-employed (autónomo).
Who needs to apply
Anyone carrying out any kind of work or professional activity in Spain needs a social security number, including:
If you’re being hired by a company, your employer will normally apply on your behalf. However, if you’re self-employed, starting a business, or applying for your first job, you’ll need to apply yourself.
How to apply for a Spanish social security number (2025 process)
There are now two main ways to apply — online via the Import@ss portal or in person at a social security office.
1. Applying online (recommended)
The easiest and fastest method is through the official Import@ss portal. You can access it with a digital certificate, Cl@ve PIN, or permanent Cl@ve credentials.
Steps to apply online:
Applications are usually processed within 24 hours. Your assigned number will appear in your Import@ss profile, where you can download an official certificate confirming your registration.
2. Applying in person
If you prefer, or if you don’t yet have digital credentials, you can apply at your nearest Social Security office (Tesorería General de la Seguridad Social).
To apply in person, you’ll need to:
Your number is typically issued during the appointment. Note that not all staff speak English, so it may help to take a Spanish-speaking friend or colleague with you.
After receiving your number
Once issued, your social security number stays with you for life — it never changes and doesn’t need to be renewed. You’ll use it for everything from healthcare access to employment and tax filings. Keep a copy of your official certificate in your records, as many employers and banks will request it during onboarding or account setup.
Need affordable private health insurance in Spain? Registering for social security is only one step toward full healthcare access. Many expats prefer private cover for faster appointments, English-speaking doctors and guaranteed residency compliance. Explore Affordable Sanitas Health Insurance in Spain — tailored for expats, students, and self-employed professionals.
Sources
Import@ss Official Portal | TA-1 Form | Social Security Office Directory
Updated: March 25, 2025 CET