Essential legal documentation

NIE & Social Security in Spain — essential steps for international students and interns.

The NIE (Número de Identificación de Extranjero) and Social Security number are two fundamental documents every foreigner in Spain needs for banking, employment, healthcare, and tax purposes.

The NIE is Spain's foreigner identification number, required for banking, employment, and tax registration. Non-EU citizens get it as part of their TIE card; EU citizens apply via form EX-15 with a €12 fee. The Social Security number (Número de Afiliación) is mandatory for paid internships and public healthcare access.

  • Erasmus+ partner since 2009
  • 50,000+ students placed
  • Reply within 2 business days
By Spain Internship Editorial Team · Editorial team

Published January 2024 · Updated August 2026

Our service

What we handle for you

  • Curated host-company shortlist matched to your profile
  • Learning Agreement & Erasmus+ paperwork end-to-end
  • Visa, NIE and insurance orientation
  • Accommodation guidance in every host city
  • Local coordinator from day one to evaluation
  • Mid-term and final reports for your university
On this page

The NIE — Número de Identificación de Extranjero — is the unique tax and identification number that Spain assigns to every foreigner who lives, works, or studies in the country. It functions as Spain's equivalent of a national ID number for non-citizens: without it, you cannot open a Spanish bank account, sign a lease, register for employment, or complete most administrative procedures. EU citizens who plan to stay more than three months must apply within that window; non-EU citizens on a student visa receive a TIE card (Tarjeta de Identidad de Extranjero) which incorporates their NIE.

Applying for a NIE requires an in-person appointment — the cita previa — at either a Policía Nacional station or an Oficina de Extranjeros. In major cities such as Madrid and Barcelona, these appointments can be fully booked for several weeks, so you should start the process as soon as you arrive in Spain. For the appointment itself, you'll need form EX-15 (or EX-18 for EU citizens), your original passport and a photocopy, two passport-sized photos, proof of the reason for your stay (internship letter, university enrolment, or rental contract), and a Form 790 Code 12 bank receipt for the ~€12 fee.

The Social Security number (Número de Afiliación a la Seguridad Social) is a separate document from the NIE but requires it as a prerequisite. It is mandatory for any paid internship or employment and is what gives you access to Spain's public healthcare system, unemployment insurance, and pension system. In paid internship placements, the host company normally files for your Social Security affiliation before your first working day. For unpaid internships under a Training Agreement, the Social Security number is generally not required.

What the NIE is and who needs it

Every foreigner in Spain — regardless of whether they are an EU citizen, student, worker, or property owner — needs a NIE for almost any interaction with the Spanish state or financial system. The NIE itself is a letter followed by seven digits and a check letter (e.g. X-1234567-Z). It does not expire as a number, but if it is linked to a temporary residence permit (as it is for non-EU citizens holding a TIE), the permit must be renewed when the visa period ends. EU citizens receive a standalone NIE certificate; non-EU citizens receive a TIE biometric card that carries the NIE.

  • Unique identification number assigned to all foreigners living or working in Spain
  • EU citizens must apply within three months of arrival using form EX-18; fee ~€12
  • Non-EU citizens receive a TIE card (includes NIE) when their student visa is processed
  • Required for opening a bank account, signing a rental contract, and registering for tax
  • Needed for employment or internship registration and accessing public healthcare
  • NIE does not expire but must be renewed if linked to a temporary residence permit (TIE)

How to apply for your NIE in Spain (2026)

  • Book a cita previa online at the Oficina de Extranjeros or Policía Nacional — book well in advance in major cities like Madrid and Barcelona
  • Complete application form EX-15 (EU residents use EX-18), available on the Spanish government portal sede.administracionespublicas.gob.es
  • Bring original passport and photocopy, two passport-sized photos, and proof of purpose (internship offer, university letter, or rental contract)
  • Pay the €12 fee via Form 790 Code 12 at any Spanish bank before your appointment
  • Attend your appointment in person at the designated Policía Nacional or Extranjería office
  • NIE typically issued within 2–3 weeks; processing times vary by region and season

What the Social Security number is and who needs it

The Social Security number (Número de Afiliación) is Spain's system for tracking contributions to the public social insurance fund. Every person who works or earns income in Spain — whether employed, self-employed, or interning in a paid placement — must be registered. In practice, for paid internships, the host company submits Form TA.1 to the Tesorería General de la Seguridad Social before the intern starts work. The number is permanent and does not need to be renewed. However, you cannot apply for it without first having your NIE, making the NIE the first step in this chain of documentation.

  • Social Security Number (Número de Afiliación) required for paid internships and public healthcare access
  • Employers apply on behalf of employees via Form TA.1; self-employed individuals apply independently
  • Grants access to unemployment benefits, pensions, and disability support when conditions are met
  • NIE is a prerequisite — obtain your NIE before starting the Social Security application
  • Submit Form TA.1 online (with Cl@ve PIN or digital certificate) or in person at a Tesorería General office
  • The Social Security number is permanent and does not require renewal

The cita previa reality — how to actually book one

In theory the cita previa system is simple: go to the sede electrónica of the Policía Nacional, pick your province, pick 'Asignación de NIE' or 'Policía — Toma de huellas (Expedición de tarjeta)' for TIE, choose a slot. In practice, in Madrid, Barcelona, Valencia, Málaga, and Alicante — the five provinces where 80% of our students end up — the appointment portal is fully booked out weeks in advance and new slots trickle in unpredictably as cancellations release. The trick is knowing when to look, which office to book, and how to avoid the third-party 'cita mafia' resellers that charge €30–€80 for a slot that is legally free.

New slots release most reliably around 8:00 and 20:00 on weekdays, plus a smaller batch on Sunday evenings. If your city's Policía Nacional office is fully booked, look at satellite offices in the same province — for example, Getafe or Alcalá de Henares for Madrid province, Sabadell or Terrassa for Barcelona province. A slot 40 km away is usually faster than waiting a month for the city-centre office. Never pay a reseller: many of the slots they sell are auto-cancelled by the system when it detects bot booking, leaving you both out of pocket and without an appointment.

  • Book at sede.administracionespublicas.gob.es — never through third-party 'gestoría' websites unless they're formally licensed
  • Refresh at 8:00 and 20:00 weekdays and Sunday evenings — these are the reliable release windows
  • Consider satellite Policía Nacional offices in the same province if the city centre is fully booked
  • Book two months out for TIE in Madrid, Barcelona, Valencia, Málaga; two to three weeks for smaller provinces
  • The Ministry has been rolling out a lottery-style 'cita masiva' system since 2024 — check your province's Extranjería page for extraordinary drops
  • Never pay for a cita — the appointment is free and reseller slots are often auto-cancelled by anti-bot filters

Fees and forms — 2026 reference table

Every NIE, TIE, and Social Security procedure has a specific form code and, where applicable, a specific Modelo 790 tax code. Filing the wrong form or paying the wrong 790 code is a common reason for being turned away at the counter — the officer will not process the file even if all your other documents are correct. Fees are updated annually by the Ministry of Interior; the amounts below reflect the 2026 tariff.

  • EX-15 (NIE application for non-EU citizens abroad, or first-time in Spain) — Modelo 790 código 012, €9.84
  • EX-18 (EU Citizen Registration Certificate) — Modelo 790 código 012, €12.00
  • EX-17 (TIE application for non-EU on stays over 180 days) — Modelo 790 código 012, €16.08
  • EX-17 duplicado (TIE lost, stolen, or damaged) — Modelo 790 código 012, €22.31 with denuncia
  • TA.1 (Social Security number — Número de Afiliación) — free of charge
  • TA.2/S (alta as an employee/paid intern) — filed by the employer, free of charge
  • Modelo 145 (IRPF withholding declaration) — filed with your first employer, free of charge
  • Empadronamiento (padrón registration at town hall) — free in most municipalities, or ~€3 for a certified certificate

What the Social Security number is and who needs it

The Social Security number (Número de Afiliación, also written NUSS) is Spain's system for tracking contributions to the public social insurance fund. Every person who works or earns income in Spain — whether employed, self-employed, or interning in a paid placement — must be registered. Since Royal Decree-Law 2/2023, even unpaid interns whose placement is covered by a Training Agreement (convenio de cooperación educativa) must be affiliated to Social Security under a reduced-contribution regime, though the contribution is paid by the host company or educational institution, not by the intern.

For paid internships, the host company submits Form TA.1 to the Tesorería General de la Seguridad Social to request the NUSS if you don't already have one, then Form TA.2/S to declare the alta (start of activity) before your first working day. The number is permanent and does not need to be renewed. However, you cannot apply for it without first having your NIE, making the NIE the first step in this chain of documentation. Failure to register an intern before day one exposes the host company to fines starting at €7,500 per unregistered intern, so this is a step companies take seriously.

  • Social Security Number (Número de Afiliación / NUSS) required for paid internships, paid employment, and public healthcare access
  • Since 2023, also required for unpaid interns under a Training Agreement — contribution paid by host or university
  • Employers apply on behalf of employees via Form TA.1; self-employed individuals apply independently
  • Grants access to public healthcare, unemployment benefits, pensions, and disability support when contribution thresholds are met
  • NIE is a prerequisite — obtain your NIE before starting the Social Security application
  • Submit Form TA.1 online (with Cl@ve PIN or digital certificate) or in person at a Tesorería General office
  • The Social Security number is permanent and does not require renewal, even if you leave and return to Spain years later

After you have your NIE — first-week banking, phone, and padrón

The NIE unlocks the rest of your setup in Spain, and the smart move is to sequence the next steps in the right order so each one supports the next. The padrón (municipal registration) is often the second document you'll need, because most Spanish banks now require it to open a full resident account. Some challenger banks (N26, Revolut, BBVA's Blue account) will open with just a passport and NIE, but you'll hit friction later — for example, when you want to receive a paid internship stipend via SEPA transfer or to sign a rental contract in your own name.

Phone contracts and utilities are the third layer. Prepaid SIMs are available at any tobacconist with just your passport, but a monthly contract with data — which is normally cheaper than prepaid over three months — requires NIE and a Spanish IBAN. Landlords, gyms, coworking spaces, and even public library cards will ask for the NIE + padrón combination. Getting these three documents (NIE, padrón, Spanish bank account) sorted in your first two weeks removes 90% of the administrative friction of your stay.

  • Register at the town hall (empadronamiento) as soon as you have a signed rental contract or hosted-family declaration
  • Open a Spanish bank account with NIE + padrón — BBVA, Santander, CaixaBank, and ING accept international students
  • Sign up for a mobile contract with Movistar, Vodafone, Orange, or Yoigo — you'll need NIE and a Spanish IBAN
  • Register for the Sistema Nacional de Salud with your Social Security number to get a public health card (TSI)
  • Keep certified copies of all three documents; you'll need them again for TIE renewal and any future long-stay visa
  • Set up Cl@ve PIN with your NIE to access online government services without waiting rooms

How Spain Internship helps you

  • Guidance on all required documentation and appointment scheduling for your NIE application
  • Support for both EU (EX-18) and non-EU (EX-15 / TIE) citizens with tailored checklists
  • Accommodation assistance to help you establish a proof-of-address document for your appointment
  • Integrated visa, insurance, and NIE support — all coordinated by the same multilingual team
  • Placements available in Madrid, Barcelona, Valencia, Seville, Malaga, and Bilbao
  • Direct escalation channel with local gestorías for edge cases (missing padrón, urgent stipend registration)

Frequently asked

Questions, answered.

Quick answers to what students, parents and partners ask most often. Don't see your question? Ask our team.

Cite this guide

Referencing this page in an article, thesis, or AI answer? Please use:

Spain Internship Editorial Team, Spain Internship. "NIE & Social Security in Spain — essential steps for international students and interns.." 2026. https://spain-internship.com/nie-social-security-spain

Next step

Ready to take the next step?

Tell us about your goals and we'll reply within two business days with a tailored proposal.