The NIE (Número de Identidad de Extranjero) is Spain's foreigner identification number — a unique fiscal and civil identity number assigned to all non-EU residents in Spain. As an international student arriving in Spain, your NIE is one of the most important things you will need in your first weeks. Without it, you cannot open a bank account, sign a rental contract, register with the health system, or work legally. This guide explains what the NIE is, how it is assigned to student visa holders through the TIE card process, when you might need a standalone NIE certificate, and how to get one if you need it urgently.
What is the NIE Number?
The NIE (Número de Identidad de Extranjero) is a unique personal identification number issued to all non-EU nationals who have a legally relevant relationship with Spain — whether as residents, workers, property owners, or students. It is equivalent in function to a national ID number for administrative, fiscal, and civil purposes.
The format is: a letter, 7 digits, and another letter — for example X1234567B. Once assigned, your NIE stays with you permanently — if you leave Spain and return years later, you keep the same number.
NIE vs TIE: What's the Difference?
These two are related but distinct: the NIE is the number; the TIE (Tarjeta de Identidad de Extranjero) is the physical identity card that contains your NIE, biometric data, photograph, and visa conditions. When you apply for your TIE card at the extranjería, you are also being assigned your NIE (if you don't already have one). The TIE card is the card; the NIE is the number printed on it.
How Student Visa Holders Get Their NIE
For student visa holders, the standard route to obtaining your NIE is through the TIE card application, which must be made within 30 days of arriving in Spain.
- Register on the municipal census (empadronamiento) at the local ayuntamiento — you need proof of your Spanish address (rental contract or landlord declaration) and your passport with visa
- Complete form EX-17 (application for the TIE card)
- Pay the Tasa 790 código 012 fee at a designated Spanish bank (approximately €16) — you receive a receipt (justificante)
- Book an appointment (cita previa) at the local Oficina de Extranjería through the sede electronica immigration portal
- Attend your appointment with: EX-17 form, passport and visa, empadronamiento certificate, tasa receipt, 2 passport photographs, and TIE card fee receipt
At your extranjería appointment, your biometric data (fingerprints and photograph) are taken, and your NIE is assigned. The physical TIE card is issued within 3–6 weeks, but your NIE number is given to you at or shortly after the appointment.
When You Need a Standalone NIE Certificate Urgently
Some situations require you to have your NIE number before your TIE card is issued or before you have completed the full TIE application process:
- Signing a rental contract — most Spanish landlords and property agencies ask for the NIE before completing the contract
- Opening a bank account — Spanish banks require NIE for resident accounts (some international banks like Wise or Revolut do not require NIE)
- Starting employment — your employer needs your NIE to register you with Social Security
- Buying a second-hand vehicle, paying utilities deposits, or other fiscal transactions
In these cases, you can apply for a standalone NIE certificate (asignación de NIE) at a police station (comisaría de policía) or the extranjería without going through the full TIE process. This gives you a certificate confirming your assigned NIE number that can be used immediately.
Standalone NIE Application Process
To get a standalone NIE certificate at a police station:
- Download and complete form EX-15 (Solicitud de Número de Identidad de Extranjero)
- Gather supporting documents: your passport with valid visa, justification for needing the NIE urgently (e.g., rental contract offer), and 1 passport photograph
- Pay the Tasa 790 código 12 fee at a Spanish bank (approximately €10–€12)
- Book an appointment at the comisaría or extranjería through the cita previa system
- Attend the appointment — your NIE certificate is typically issued at the appointment or collected shortly afterwards
Availability of standalone NIE appointments varies significantly by city — in Madrid and Barcelona, citas previas for NIE can be difficult to obtain quickly. In smaller cities, appointments are often available within days.
Using Your NIE: Common Scenarios
Bank Accounts
Major Spanish banks (Banco Santander, BBVA, CaixaBank) require NIE to open a resident account. If you need a bank account immediately on arrival and your NIE isn't yet available, international digital banks (Wise, Revolut, N26) allow account opening without NIE and work well for day-to-day spending in Spain. Transfer your day-to-day banking to a Spanish bank once your NIE/TIE is in hand.
Rental Contracts
A landlord asking for your NIE on a rental contract is standard practice. If your TIE appointment is imminent, most landlords will accept a copy of your visa with confirmation of your pending NIE application. Alternatively, get a standalone NIE certificate first (see above) to provide to the landlord.
Employment
Your Spanish employer is legally required to register you with the Social Security system, which requires your NIE. This process cannot be completed without it, so obtaining your NIE (either through the TIE or standalone certificate) before starting work is essential.
Common NIE Application Problems
- Cita previa system full: The appointment booking system for the extranjería (and for standalone NIE at police stations) can have very limited availability, especially in September when thousands of students are arriving simultaneously. Book your cita previa as soon as you have your Spanish address confirmed — even before you arrive in Spain if the system allows.
- Wrong form: EX-17 is for the TIE card; EX-15 is for the standalone NIE certificate. Using the wrong form creates delays.
- Incomplete tasa payment: The tax payment must be made at a designated bank (not online in most cases), and the specific código must match the application type. Check the current códigos at sede.administraciones.gob.es.
- Empadronamiento not yet processed: Some extranjería offices require your empadronamiento certificate before processing the TIE — register at the ayuntamiento on your first or second day in Spain.
Frequently Asked Questions
Need expert help with your Spain student visa? Our immigration specialists at My Spanish Student Visa handle your full application end to end. See our pricing or start your application today.