Getting an NIE for Employment or Study: Practical Overview
The NIE is the fundamental identification number for any foreigner planning to work or study in Spain. This extensive guide details the application process for 2026, distinguishing between EU and non-EU citizens, explaining how to fill out the EX-15 and 790 forms, and navigating the often-complex appointment system.
Disclosure: This post may contain affiliate links. We may earn a commission at no extra cost to you if you make a purchase through these links. Read full disclosure.
What Exactly Is the NIE Number
Before diving into the paperwork, it is vital to understand what the NIE is and, equally importantly, what it is not.
The NIE is a unique, personal, and exclusive alphanumeric code assigned to foreigners who, for economic, professional, or social reasons, are connected with Spain.
- Format: It typically consists of an initial letter (X, Y, or Z), followed by seven digits, and a final verification letter (e.g., Y-1234567-R).
- Permanence: This number is yours for life. If you leave Spain and return ten years later, you will reactivate the same NIE. It never expires, even if the physical document containing it does.
- Purpose: It serves as your tax identification number (NIF – Número de Identificación Fiscal) for all financial transactions.
The Great Confusion: NIE vs TIE
The most common mistake newcomers make is confusing the NIE (the number) with the TIE (the card).
- The NIE: Is just a number. It can appear on a piece of white A4 paper (for EU citizens or non-residents) or on a visa stamp. It proves you exist in the tax system, but it does not prove you have a right to reside in Spain.
- The TIE: (Tarjeta de Identidad de Extranjero) is a physical plastic card. It contains your photo, your NIE, your address, and your residency type. It proves you live in Spain legally.
If you are a non-EU student or worker staying for more than six months, you will technically “have” an NIE (printed on your visa), but your actual mission is to apply for the TIE card. We will cover this distinction in detail later, but for now, remember: the NIE is the digital identity; the TIE is the physical proof of residency. For a deeper dive into the physical card process, refer to our guide on How to Get the TIE Card in Spain: Fingerprints, Fees, and Pickup.

Who Needs an NIE for Work or Study
The requirement for an NIE is universal, but the urgency and the path to getting it depend on your nationality and your plans.
EU/EEA/Swiss Citizens
If you hold a passport from the European Union, you have the right to live and work in Spain. However, if you plan to stay longer than three months, you are required to register in the Central Register of Foreign Nationals (Registro Central de Extranjeros).
- For Work: You cannot legally be added to the Social Security system or the payroll without an NIE. While some employers might let you start with just a passport number on a temporary basis, this causes tax headaches immediately.
- For Study: If your course is over 3 months, you must register.
Non-EU Citizens (Third-Country Nationals)
For citizens of the UK, USA, Canada, etc., the NIE is inextricably linked to your immigration status.
- For Work: You cannot apply for a work visa without an NIE being generated during the process. Usually, the immigration office assigns the number automatically when they approve your work authorization.
- For Study: Your student visa will have the NIE stamped on it. You do not need to apply for the number separately; you already have it. Your task is to register it with the police to get your card.
Routes to Obtaining the NIE
You have two primary options for where to apply. The choice depends on your timeline and your current location.
Option A: Applying from Abroad (Consular Route)
You can apply for an NIE at the Spanish Consulate or Embassy in your home country.
- Best For: Individuals who need the number before they arrive (e.g., to buy property, open a bank account to transfer funds, or sign a pre-contract).
- The Process: You contact the nearest Spanish consulate. Some require appointments; others accept mail-in applications.
- The Outcome: You receive an A4 certificate with your NIE via email or post.
- Limitation: This NIE is often marked as “Non-Resident.” It is valid for transacting business but does not count as residency. If you later move to Spain to work, you will have to “activate” your residency status with the police, though the number remains the same.
Option B: Applying in Spain (Police Station Route)
You apply at a Comisaría de Policía Nacional or an Oficina de Extranjería (Immigration Office) after you arrive.
- Best For: EU citizens moving for work/study, or those who need to finalize their residency immediately.
- The Process: Requires booking a notorious Cita Previa (appointment), showing up with documents, and going to a bank to pay a tax.
- The Outcome: You usually walk out with the number on a paper certificate the same day (or return a few days later to pick it up).
The Paperwork: Forms EX-15 and EX-18
Spanish bureaucracy runs on specific form numbers. Using the wrong form is the fastest way to get rejected.
Form EX-15: The Non-Resident / Temporary Request
This form is used when you are applying for the NIE number only, without applying for residency.
- Who uses it:
- People applying from a Consulate abroad.
- Non-EU citizens who need an NIE to buy a house or open a bank account but don’t plan to live in Spain yet.
- EU citizens staying less than 3 months who need to sign a specific contract.
Form EX-18: The EU Residency Certificate
This form is for EU citizens who are moving to Spain to live, work, or study for more than 3 months.
- The “Green Card”: When you submit the EX-18, you are applying for the Certificado de Registro de Ciudadano de la Unión. This is a small green paper card (or credit card sized paper) that acts as your residency proof and contains your NIE.
- Crucial Difference: If you are an EU citizen planning to work, do not use EX-15. Go straight for EX-18. It kills two birds with one stone: you get the NIE and the legal residency registration in one appointment.
Step-by-Step: The Application Process for Workers
Let’s walk through the specific workflow for someone arriving in Spain with a job offer or an intent to find work.
Step 1: The Appointment (Cita Previa)
This is often the hardest part. You cannot walk into a police station. You must book online via the government portal (Sede Electrónica).
- Access the official website.
- Select your province (e.g., Madrid, Barcelona).
- Select the procedure:
- For EU Citizens: Policía – Certificado de Registro de Ciudadano de la Unión.
- For Non-EU (if just needing NIE assignment): Policía – Asignación de NIE.
- Enter your personal details.
- Check for availability. If it says “No appointments available,” you must check back daily, usually at 8:00 AM or 9:00 AM.
Step 2: Preparing the Documentation
For an EU citizen applying for the EX-18 (Green NIE) based on employment, you need:
- Form EX-18: Filled and signed (Duplicate).
- Passport: Original and a full copy.
- Proof of Employment:
- Pre-contract: A signed document from the employer stating they intend to hire you.
- Contract: A registered employment contract.
- Vida Laboral: If you have already started working (which is rare without the NIE, but possible), a social security record.
- Social Security Number: Sometimes requested. You can get this before the NIE in some cases. Learn how in Getting a Spanish Social Security Number for Work: Steps.
For a Non-EU citizen applying for an NIE via EX-15 (for administrative reasons):
- Form EX-15: Filled and signed.
- Passport: Original and full copy (all pages).
- Proof of Reason: A notary letter stating you are buying a house, or a company letter stating why you need the number.
Step 3: The Tax Form (Modelo 790-012)
You cannot pay the administrative fee at the police station. You must generate a tax form, go to a bank (or ATM), pay it, and bring the receipt.
- Form: Modelo 790 Código 012.
- Selection:
- For EX-18 (EU Residency): Check the box “Certificado de registro de residente comunitario o Tarjeta de residencia…” (Approx €12).
- For EX-15 (NIE Assignment): Check the box “Asignación de Número de Identidad de Extranjero (NIE) a instancia del interesado” (Approx €9.84).
- Payment: Download the PDF, print it, walk into any major bank (BBVA, Santander, CaixaBank), pay cash or card, and get the form stamped.
Step 4: The Interview
On the day, bring everything.
- Appointment confirmation.
- EX form (2 copies).
- Passport + Copy.
- Tax Form 790 (stamped paid).
- Supporting documents (Job offer/Study letter).
If everything is correct, the officer will process it.
- EU Route: You often get the green card immediately.
- Non-EU/Consular Route: You may have to return in a few days to pick up the white certificate.
Specifics for Students
The path for students is slightly different because their “NIE” usually comes attached to their visa, but they still have administrative hurdles.
Non-EU Students (Visa Holders)
If you applied for a long-term student visa (Type D) in your home country:
- Check your Visa: Look at the stamp in your passport. You should see a field labeled “NIE” with the X/Y/Z number.
- You Have It: You do not need to apply for an NIE. You already have it.
- The Next Step: Your obligation is to apply for the TIE (physical card) within 30 days of arrival. This involves fingerprints. The NIE on your visa is what you use for your university enrollment and housing contracts until the card arrives.
EU Students
EU students do not get a visa. Therefore, they must apply for the NIE/Residency (EX-18) once they arrive if studying for >3 months.
- Requirements:
- Matriculation letter from the university.
- Health Insurance: Must have a comprehensive private policy or a European Health Insurance Card (EHIC) that covers the entire stay.
- Proof of Funds: Bank statements or a declaration of sufficient resources.
This process essentially registers you as a resident student. Without it, you cannot legally complete internships that require social security registration.
Common Pitfalls and Troubleshooting
Even with preparation, things can go wrong. Here are the most frequent issues and how to solve them.
1. The “Catch-22” of Bank Accounts
Banks ask for an NIE to open an account. The employer asks for a bank account to pay you. The immigration office asks for proof of employment (which needs a bank account) to give you the NIE.
- Solution: Open a “Non-Resident” bank account using just your passport first. Once you get your NIE, you can convert it to a resident account. Alternatively, use digital banks that are more flexible with passport-only onboarding for the first 90 days. For a detailed walkthrough of this, see Opening a Bank Account in Spain: Step-by-Step for Foreigners.
2. The Appointment Black Market
In major cities, free appointments vanish instantly due to automated bots.
- Solution: Check the website at random times, not just 8 AM. Look for appointments in smaller towns within your province (e.g., if you are in Barcelona, try Badalona or Sant Cugat). Or, as a last resort, hire a Gestor (administrative agent) who often has professional access to booking slots.
3. Name Mismatches
Spanish systems struggle with middle names or compound surnames typical in the UK or US.
- Solution: Ensure your NIE application matches your passport exactly. If your passport says “John Albert Smith,” do not write just “John Smith” on the EX-15. If the NIE is issued with a name that doesn’t match the passport, banks will refuse to link them.
4. Expired Certificates
If you obtained a “temporary” NIE (white paper) years ago and lost it, or if it says “valid for 3 months”:
- The Number is Valid: The number never expires. You do not need a new number.
- The Paper Expired: You need to request a “Duplicate” or a certificate of residency. The process is similar to the initial application but select “Duplicate” on the forms.
Filling the EX-15: A Quick Reference
Since the EX-15 is the most common form for the initial number assignment, here is a quick translation of key fields.
Section 1: Datos del Extranjero (Your Details)
- Pasaporte: Passport Number.
- 1er Apellido: First Surname (e.g., Smith).
- 2º Apellido: Second Surname (Leave blank if you don’t have one; do not put your middle name here).
- Nombre: First and Middle Names (e.g., John Albert).
- Estado Civil: S (Single), C (Married), Viudo (Widowed), Divorciado (Divorced).
Section 2: Datos del Representante
- Leave blank if applying yourself.
Section 3: Domicilio a efectos de notificaciones
- This is where they send mail. It does not have to be your home; it can be a friend’s house or a lawyer’s office, but you must have access to the mailbox.
Section 4: Motivos (Reasons)
- Check Por intereses económicos (Economic interests – e.g., working/banking) or Por intereses profesionales.
- Specify exactly why: “Opening bank account for salary” or “Employment contract.”
Comparison Table: NIE Application Paths
| Feature | EU Citizen (Working) | Non-EU Citizen (Visa Holder) | Non-EU (Buying Property/No Visa) |
| Form Required | EX-18 (Green Card) | None (NIE is on Visa) | EX-15 (White Paper) |
| Apply Location | Police Station in Spain | Consulate (Home Country) | Consulate or Police Station |
| Residency Right | Yes (Implicit) | Yes (via Visa/TIE) | No (Administrative only) |
| Tax Form | 790-012 (~€12) | Included in Visa Fee | 790-012 (~€9.84) |
| Processing Time | Often Same Day | 1-2 Months (Visa timeline) | 1-3 Weeks |
After You Get the NIE
Once you hold that paper with the number starting with X, Y, or Z, the doors open.
- Activate Social Security: Now you can link your NIE to your Social Security number to start working.
- Open a Bank Account: Provide the number to your bank to unlock full features.
- Register on the Padrón: You can now register your address with the Town Hall using your NIE, which is often required for the next step (TIE card). Learn more in Spanish Bureaucracy for Daily Life: Padrón, IDs, and Local Services.
- Tax Agency (Hacienda): For freelancers or property buyers, you must register the NIE with Hacienda using Form 030 to start your fiscal life.
Conclusion
Obtaining an NIE is a rite of passage for every expat in Spain. It is the moment you transition from a tourist to a participant in Spanish society. While the appointment system can be frustrating and the forms confusing, the process is logical once you understand the underlying rules.
Remember: The NIE is your permanent digital identity. Treat the certificate like gold, make digital copies, and memorize the number. It will be the most used piece of information during your time in Spain, requested for everything from signing a lease to signing for a package.
With your NIE in hand, you are ready to tackle the next challenges of Spanish life, such as finding the perfect apartment or navigating the job market. For tips on the latter, check our article on Finding a Job in Spain: CV, Interviews, and Networking.
References
Primary sources (official)
- Ministry of Interior (Extranjería Forms): https://www.inclusion.gob.es/web/migraciones/modelos-generales
- Sede Electrónica (Cita Previa Appointments): https://icp.administracionelectronica.gob.es/icpplus/index.html
- National Police (NIE Documentation): https://www.policia.es/_es/extranjeria_ciudadano_nie.php
- Model 790-012 Tax Form: https://sede.policia.gob.es/Tasa790_012/
Other helpful sources
- Citizens Advice Bureau Spain (Bureaucracy Help): https://www.citizensadvice.org.es/
- European Commission (EU Residency Rights in Spain): https://europa.eu/youreurope/citizens/residence/documents-formalities/registering-residence/index_en.htm
Disclaimer
The information provided in this article is for educational and informational purposes only and does not constitute legal or immigration advice. Procedures for obtaining an NIE, appointment availability, and document requirements in Spain are subject to frequent changes by the Ministry of Interior and local police stations. We recommend consulting with a qualified ‘gestor’ or immigration lawyer to assist with your specific application.