The NIE Number —
Your ID for Life in Spain
Spain's Número de Identidad de Extranjero is your permanent foreign identification number. Here's what it is, when student visa holders receive it, what it looks like, and every situation you will need it for during your time in Spain.
What Is the NIE Number and What Does It Look Like?
The NIE (Número de Identidad de Extranjero) is Spain's unique national identification number for non-EU foreigners. Every foreign national who lives, works, studies, or has significant financial dealings in Spain is assigned one. Think of it as your national insurance number, tax reference, and resident ID number combined into a single permanent identifier.
The Format of a Spanish NIE Number
A Spanish NIE always follows the same format: a letter prefix (X, Y, or Z), followed by 7 digits, followed by a single check-digit letter. It is permanent — once assigned, it stays with you for your entire time in Spain, regardless of visa renewals or status changes.
- → Starts with X, Y, or Z
- → Followed by 7 numbers
- → Ends with a single control letter
- → Permanent — does not change with visa renewal
- → Printed on your TIE card once issued
When Does a Spain Student Visa Holder Get Their NIE?
The answer is simpler than most people expect — and in the vast majority of cases, you don't need to do anything extra to get it.
✓ Standard Route — TIE Card Process
If you have a Spain long-stay student visa (tipo D), your NIE is assigned automatically during your TIE card application at the Oficina de Extranjería. You attend this appointment within 30 days of arriving in Spain. Your NIE may appear on the appointment receipt (resguardo) and is printed on your TIE card when it is issued — typically 4–8 weeks after your appointment. You do not need to apply for it separately.
⚠ Exception — If You Need It Before Your TIE
If you need your NIE number before your TIE appointment — for example to open a bank account urgently on arrival — you can apply for a standalone NIE certificate using form EX-15 at the Policía Nacional. This gives you the number itself, though not the TIE card. Speak with our team if this situation applies to you.
The NIE Timeline for Student Visa Holders
Arrive in Spain
Your long-stay student visa (tipo D) allows you to enter Spain. From the date you arrive, you have 30 days to apply for your TIE card.
Complete Empadronamiento
Register your address at the local ayuntamiento. You need the empadronamiento certificate before you can book your TIE appointment at the Oficina de Extranjería.
Attend TIE Appointment
At your TIE appointment, your NIE is assigned. It may appear on your appointment receipt (resguardo) that day. You use this number immediately for any urgent administrative tasks.
Receive TIE Card (with NIE printed)
4–8 weeks after your appointment, your physical TIE card is ready to collect. Your NIE number is printed on the card. From this point, you present your TIE card as your Spanish ID in virtually all situations.
Every Situation You'll Need Your NIE Number in Spain
Your NIE will be asked for constantly during your time in Spain. Here is every major situation where you will need it.
Opening a Bank Account
Spanish banks require your NIE or TIE card to open any account. Most students need this quickly to pay accommodation deposits and manage living costs.
Healthcare Registration
Registering with a Spanish GP (médico de cabecera) for public healthcare requires your NIE and empadronamiento certificate.
Rental Contracts
Most landlords and letting agencies require your NIE to formally register you as the tenant on a Spanish rental contract.
Working Part-Time
If your student visa includes work rights (up to 30 hours per week), employers need your NIE for payroll and social security contributions.
Phone & Utility Contracts
Post-pay mobile contracts and registering utilities in your name in Spain typically requires your NIE number.
Visa Renewal
When renewing your student authorisation, your NIE is the key identifier that links your current record to your renewal application.
Tax Matters
If you earn income in Spain, your NIE is your Spanish tax identification number — the equivalent of a NI number (UK) or SSN (USA).
Large Purchases
Purchasing a vehicle or making significant transactions in Spain requires your NIE. Notaries and registries use it for all formal dealings.
University Records
Spanish universities often record your NIE in your student file once you are a resident — particularly important for official transcripts and degree certificates.