How to get an NIE number in Spain: step-by-step guide
Moving to Spain to enjoy its sunny climate, rich culture, and relaxed lifestyle is a dream for thousands of expats every year. However, navigating the Spanish administrative system can quickly turn that dream into a bureaucratic maze, and your very first hurdle will be obtaining an NIE number. This unique identification number is the master key to life in Spain, required for everything from signing a rental agreement to opening a bank account or starting a job. This comprehensive, step-by-step guide will demystify the process, explain the legal framework, and provide you with a clear roadmap to securing your Spanish NIE.
What is an NIE Number and Why Do You Need It?
The acronym NIE stands for Número de Identidad de Extranjero [Foreigner Identification Number]. It is a personal, unique, and exclusive sequential number assigned by the Spanish Ministry of the Interior to non-Spanish citizens.
It is crucial to understand that an NIE is not a residency permit, nor does it grant you the legal right to reside or work in Spain. It is simply an administrative identification number. Under Spanish law, you can hold an NIE as a non-resident (for temporary financial or professional transactions) or as a resident (as part of your formal residency registration).
The Legal Framework
The requirement and issuance of the NIE are strictly regulated under Spanish law. The primary legal pillars governing this process are:
- The Spanish Immigration Act (Ley Orgánica 4/2000, de 11 de enero, sobre derechos y libertades de los extranjeros en España y su integración social): Specifically, Article 34.2 establishes that foreigners who have economic, professional, or social relations with Spain must be provided with an identification number for administrative purposes.
- The Immigration Regulation (Real Decreto 557/2011, de 20 de abril): Article 206 details the exact procedure, competent authorities, and requirements for assigning the NIE.
- EU Free Movement Rules (Real Decreto 240/2007, de 16 de febrero): This royal decree transposes EU Directive 2004/38/EC, regulating the entry, free movement, and residence in Spain of citizens of member states of the European Union and the European Economic Area (EEA).
Under these laws, any foreigner who develops economic, professional, or social interests in Spain is legally obligated to apply for an NIE.
Who Needs an NIE and Which Type Do You Need?
There are two distinct scenarios under which you can apply for an NIE, and understanding the difference is vital for your application process.
1. Non-Resident NIE (NIE de No Residente)
This is for individuals who do not intend to live in Spain for more than 90 days in a 180-day period but need to conduct legal or financial transactions within the country.
- Who needs it: People buying a holiday home, inheriting Spanish assets, accepting a remote job from a company with Spanish connections, or setting up a business without living in Spain.
- Format: A white A4 paper certificate (Certificado de NIE). It does not expire, although the physical certificate itself is sometimes requested to be "fresh" (issued within the last 3 months) by certain conservative institutions like banks or notaries.
2. Resident NIE (Certificado de Registro de Ciudadano de la Unión or TIE)
If you plan to live, work, or study in Spain for more than 90 days, you must register as a resident.
- For EU/EEA/Swiss Citizens: You must apply for the Certificado de Registro de Ciudadano de la Unión [Green EU Registry Certificate]. This green paper card contains your name, address, date of registration, and your NIE.
- For Non-EU Citizens: You must obtain a visa before entering Spain. Once in the country, you will apply for your Tarjeta de Identidad de Extranjero [Foreigner Identity Card or TIE], which is a physical plastic photo ID card that contains your pre-assigned NIE.
Step-by-Step Guide to Getting Your NIE in Spain
Getting your NIE requires preparation, patience, and strict adherence to administrative protocols. Here is the step-by-step process for applying within Spain.
Step 1: Book an Appointment (Cita Previa)
You cannot simply walk into an immigration office and ask for an NIE; you must book an appointment online beforehand.
- Go to the official government portal: Sede Electrónica de las Administraciones Públicas.
- Select the province where you are staying or plan to buy property (e.g., Malaga, Madrid, Barcelona).
- Under the office dropdown, select CNP (Cuerpo Nacional de Policía [National Police Force]) or Oficina de Extranjería [Immigration Office].
- Select the procedure: For non-residents, choose Policía-Asignación de NIE. For EU residents, choose Policía-Certificado de Registro de Ciudadano de la UE.
- Enter your passport details, fill in your personal information, and select an available date and time. Tip: Appointment slots are highly competitive and often released at specific times (usually Monday mornings at 8:00 AM or 9:00 AM).
Step 2: Prepare the Required Documentation
Spanish civil servants are notoriously strict about paperwork. Ensure you have the original and at least one photocopy of every single document:
- The Application Form (EX-15 or EX-18):
- Use Form EX-15 if you are applying for a non-resident NIE.
- Use Form EX-18 if you are an EU citizen registering as a resident.
- Note: These forms must be filled out in Spanish.
- Valid Passport or ID Card: Your passport must have at least 6 months of validity remaining. Bring a complete photocopy of all pages (or just the photo page for EU citizens using national ID cards).
- Proof of Legal Entry (for Non-EU citizens): A entry stamp in your passport, or a Declaración de Entrada [Declaration of Entry] if you entered Spain via another Schengen country.
- Justification of Economic, Professional, or Social Interest: This is the most critical document. You must prove why you need the NIE.
- For property purchase: A copy of the arras [pre-reservation contract] or a letter from a notary.
- For a job offer: A draft employment contract.
- For opening a business: A business plan or company incorporation documents.
- For study: An acceptance letter from an accredited Spanish educational institution.
- The Paid Tax Form (Modelo 790 Código 012): You must pay a government administrative fee before your appointment (see Step 3).
Step 3: Pay the Government Fee (Tasa)
You must pay the administrative tax using Form 790-012.
- Download and fill out the Form 790-012 online.
- Select the box for Asignación de Número de Identidad de Extranjero (NIE) a instancia del interesado.
- The current fee for a non-resident NIE is €9.84 (the fee for an EU registry certificate is €12.00).
- Print the form (it generates three copies: one for the bank, one for the administration, and one for you).
- Take the printed form to any bank in Spain (Banco Santander, BBVA, Caixabank, etc.). You can pay in cash or via an ATM if you have a Spanish bank account. The bank will stamp the form as proof of payment. Do not lose this stamped receipt.
Step 4: Attend Your Appointment
Arrive at the designated police station or immigration office 15 minutes before your scheduled time.
- Present your appointment confirmation sheet at the entrance.
- When your number is called, present your dossier of documents to the official.
- If everything is in order, they will process your application.
- Depending on the province, you may be handed your NIE certificate on the spot, or you may be asked to return to collect it 24 to 48 hours later.
Concrete Examples of the NIE Process
To help visualize how this works in practice, let us look at two common scenarios for expats.
Example 1: Anna (Non-EU Citizen buying a holiday home)
Anna is a British citizen who wants to purchase a holiday apartment in Alicante for €150,000. She does not plan to live in Spain for more than 90 days a year, so she needs a non-resident NIE.
- Her Justification: Her real estate agent and notary provide her with a signed contrato de arras [deposit agreement] for the apartment.
- Her Form: She fills out Form EX-15, checking the box for "Non-Resident" and "Economic Reasons."
- Her Fee: She pays €9.84 using Form 790-012 at a local bank.
- Her Outcome: She attends her appointment at the Alicante National Police station, presents her British passport, deposit contract, and paid tax form. She is handed her white A4 NIE certificate 2 hours later, allowing her to finalize the property deed (escritura) at the notary.
Example 2: Marcus (German Citizen moving for work)
Marcus is a German software engineer who has accepted a job offer in Barcelona. Because he is an EU citizen moving permanently, he needs to register as a resident.
- His Justification: His new Spanish employer provides him with a signed employment contract.
- His Form: He fills out Form EX-18 for EU registration.
- His Fee: He pays €12.00 using Form 790-012.
- His Outcome: He books an appointment for Certificado de Registro de Ciudadano de la UE in Barcelona. He brings his German ID card, his Spanish employment contract, and proof of his local town hall registration (empadronamiento). At the appointment, he is immediately issued his green paper card, which contains his permanent NIE.
Common Mistakes to Avoid
Even a minor error can result in your application being rejected, forcing you to start the booking process all over again. Avoid these common pitfalls:
- Not bringing photocopies: Spanish administrative offices will not make photocopies for you. If you do not have a photocopy of your passport, application form, and supporting documents, you will be turned away.
- *Failing to pay the tax before the appointment: You cannot pay the Form 790-012* tax at the police station. It must be paid at a bank beforehand. If your appointment is early in the morning, make sure you pay the tax the day before.
- Using an expired passport: Your passport must be valid. If it is close to expiring, renew it before applying for your NIE, as your NIE will be permanently linked to your passport number in the database.
- Inadequate justification of interest: Simply stating "I want an NIE to open a bank account" is often rejected by police stations, as banks are legally allowed to open non-resident accounts without an NIE (though many refuse to do so). You must provide concrete proof of a transaction, such as a property contract, a vehicle purchase agreement, or a work contract.
Frequently Asked Questions (FAQs)
Can I apply for an NIE from my home country?
Yes. You can apply for a non-resident NIE through the Spanish Consulate in your country of residence. You must book an appointment at the consulate, present the same documents (Form EX-15, passport, justification, and consulate fee), and the consulate will forward your application to the police in Spain. The process can take anywhere from 2 to 6 weeks, and the certificate will be emailed to you.
Does the NIE number expire?
No. The NIE number itself is assigned to you for life and will never change or expire. However, the physical white paper certificate (Certificado de NIE) issued to non-residents is only valid for administrative purposes for 3 months from the date of issue. After this period, the number is still yours, but you may need to request a new printed copy if a notary or bank requests a "current" certificate.
Can someone else apply for my NIE on my behalf?
Yes, you can authorize a third party (such as a lawyer, a gestor, or a representative) to apply for your NIE. To do this, you must grant them a formal power of attorney (poder notarial) specifically authorizing them to request the NIE on your behalf, along with a notarized copy of your passport.
What is the difference between an NIE, a TIE, and an Empadronamiento?
These three terms are often confused by expats:
- NIE: The identification number itself (e.g., Y1234567-Z).
- TIE: The physical plastic residency card issued to non-EU residents containing their photo, address, and NIE.
- Empadronamiento: The registration of your home address with the local town hall (ayuntamiento). It proves where you live, but it is not an identity document or a residency permit.
In Summary
- The NIE is a mandatory tax and administrative identification number for all foreigners dealing with Spain.
- Non-residents apply using Form EX-15 for economic or professional reasons.
- EU residents use Form EX-18 to get their green residency card containing their NIE.
- You must pay the government fee of €9.84 (non-resident) or €12.00 (resident) at a bank prior to your appointment.
- Always bring original documents plus photocopies, and ensure you have a legally valid justification for your application.
General legal information, not personalised legal advice. For your specific situation, ask your question for free at AbogadoAI — answers grounded in Spanish law (BOE), in English.
Have a specific legal question?
Ask AbogadoAI and get an answer based on Spanish law (BOE), with sources — in English.
Ask for freeThis is general information, not legal advice. Verify on the BOE or consult a lawyer for your specific case.