How to Obtain a Social Security Number in Madrid

Home » Moving to Spain » Immigration Information » NIE/TIE/Empadronamiento/Social Security » How to Obtain a Social Security Number in Madrid

The information below has been collected by the Citylife team via intense research in collaboration with Proyecto Océano, one of Madrid’s most known legal associations. Please keep in mind that we are not directly related to any legal or government departments and the information may be subject to change.

[Pincha aquí para la versión española]

Before going into detail about how to apply for your Affiliation Number (Spanish Social Security Number), make sure you understand what documents you really need to live, study or work legally in Spain. Therefore we recommend you start by reading the main article and follow the instructions there.

What is the Affiliation Number?

It is a unique and personal identification number that identifies the citizen in everything that has to do with Social Security. It is obtained only once in life. This number will be the one used by any company to register a person in the Spanish social security system once they start working for a company (non-European foreigners must also obtain the corresponding work authorization in advance) or if they start their own business.

The Social Security Number becomes an Affiliation Number at the moment in which the citizen begins a work activity that includes him / her in the Social Security System.

Where should I apply?

There are two ways:

  1. You can obtain it in person at the Social Security Administration, without prior appointment. In the Provincial Directorate of the Treasury of Social Security that corresponds to you according to your address in Spain. To see which one corresponds to you, click here.
  2.  You can also get it online, if you have a digital certificate. Click here!

What documents will I need to process it?

It can be obtained with a passport if you are a European citizen or with the TIE (foreigners Identity Card) if you are not the EU or equivalent.

You must also fill in the TA1 model to contribute in the application!

Are you having difficulties to obtain your Spanish Social Security Number?

Don’t worry, we have you covered. To support you, we created a brand called MTS Relocation Spain, a specialized provider in relocation and legal topics such as NIE, TIE as well as the Spanish Social Security Number. Get in touch with MTS now for a free quote!

Do you have other legal questions/topics you need assistance with?

Please fill out the form below and your query will be sent to us as well as to our friends at Proyecto Océano, one of Madrid’s most known legal associations, who are also here to help you out! Please note: By sending the form below, you automatically agree that we can forward your data to Proyecto Océano as well as MTS Relocation Spain.

    First Name / Nombre

    Last Name / Apellido

    Nationality / Nacionalidad

    Estimated Date of Arrival in Madrid (DD.MM.YYYY) / Fecha Estimada de Llegada

    Duration of Stay in Spain (in months) / Duración de estancia (en meses)

    Your Email / Tu correo electrónico

    Current Residence? / Lugar actual de Residencia

    What city in Spain will you move to? / A qué ciudad en España te vas a mudar?

    What will you do in Spain? / Que vas a a hacer en España?

    Are you moving to Spain alone or with your family? / Te mudas a España solo o con tu familia?

    Do you have family already living in Spain? / Tienes familia ya viviendo en España?

    Additional Comments & Questions / Comentario adicionales y preguntas

    He leído y acepto la Política de Privacidad / I have read and accept the the Privacy Statement!


    Hi all, my name is Joachim and I am one of the founder of Citylife Madrid. It's my pleasure to help you guys get oriented in Madrid. I moved here in 2010 for one year, fell in love with the city and never left since then. When it comes to blogging I mainly write about topics related to getting settled in Madrid, from banking, transportation and how to find the perfect place to live to legal topics like how to get your NIE/TIE & Empadronamiento. I am also organizing the Madrid Student Welcome Day every year together with the city council of Madrid. Don't hesitate to get in touch with me via whatsapp under +34622565583, happy to help whereever I can. Saludos and see you around in this beautiful city!

    Related Articles

    1 Comment. Leave new

    • Can i apply for SSN even if i am not working , i have already got my TIE and is valid for 5 years as i am married to spanish , so in my case can i apply for SSN even if i am not working?


    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Fill out this field
    Fill out this field
    Please enter a valid email address.
    You need to agree with the terms to proceed

    Need any help?