NIE in Spain: What It Is and How to Get It
If you are planning to move to Spain, buy a property, work, or start a business on Spanish territory, the first legal term you will stumble upon is the NIE. This acronym often generates a great deal of confusion among foreign citizens, who frequently mistake it for a visa, a residence permit, or the physical identity card itself. Understanding exactly what this number is, what it is used for, and the precise procedure to obtain it without setbacks is the first essential step to ensuring a successful legal and administrative transition in Spain.
What is the NIE and What is its Legal Framework?
The NIE stands for Número de Identificación de Extranjero (Foreigner Identification Number). It is a personal, unique, and exclusive sequential number assigned to foreigners by the Dirección General de la Policía (General Directorate of the Police). Its alphanumeric structure never changes: it consists of an initial letter (X, Y, or Z), followed by 7 digits and an alphabetical verification code (another letter at the end).
It is fundamental to clarify that the NIE is not a residence permit or an identity document in itself. It is simply an administrative and tax registration number. A foreign citizen can have an assigned NIE without having authorization to reside or work in Spain.
The Regulatory Framework of Reference
The existence and regulation of the NIE is not arbitrary; it responds to a solid legal framework within Spanish Immigration Law (Derecho de Extranjería):
- Ley Orgánica 4/2000, de 11 de enero, on the rights and freedoms of foreigners in Spain and their social integration (commonly known as the Ley de Extranjería / Immigration Act).
- Real Decreto 557/2011, de 20 de abril, which approves the Regulation of Ley Orgánica 4/2000 (hereinafter, the Reglamento de Extranjería / Immigration Regulation). Specifically, Article 206 of this Regulation is what regulates the assignment of the Foreigner Identification Number in detail.
- Real Decreto 240/2007, de 16 de febrero, on entry, free movement, and residence in Spain of citizens of Member States of the European Union and of other States party to the Agreement on the European Economic Area. This text regulates the situation of EU citizens, who also receive an NIE when registering in the Registro Central de Extranjeros (Central Register of Foreigners) (the well-known "Certificado de Registro de Ciudadano de la Unión" or "green NIE").
According to the aforementioned Article 206 of the Reglamento de Extranjería, an NIE must be assigned to foreigners who have economic, professional, or social interests in Spain, either because a procedure is initiated to obtain a visa or authorization, or because they request it directly to carry out a specific transaction.
Types of NIE: Which One Do You Really Need?
Not all NIE applications serve the same purpose or carry the same rights. Primarily, we must distinguish between three concepts that are often confused:
1. Non-Resident NIE (or Temporary NIE)
This number is assigned to foreigners who are not going to reside in Spain (meaning they will spend less than 90 days per semester in the country) but need to identify themselves before the administration for economic, professional, or social reasons. The most common case is purchasing a property, accepting an inheritance, or opening a bank account. This procedure grants a white A4 paper sheet containing the assigned number. Historically, this paper had a validity of 3 months, but currently, the assigned number is for life, although the physical document may require updating for certain notary procedures.
2. Certificado de Registro de Ciudadano de la Unión (for EU citizens)
Citizens of the European Union, the European Economic Area (Iceland, Liechtenstein, and Norway), and Switzerland who plan to reside in Spain for a period exceeding 3 months are obliged to request their registration in the Registro Central de Extranjeros. Upon doing so, they are issued a green paper document (colloquially known as the "green NIE") containing their details, address, and assigned NIE. This document does not have a photo, so it must always be accompanied by a passport or national identity document from the country of origin.
3. TIE (Tarjeta de Identidad de Extranjero, for non-EU citizens)
This is where the greatest confusion lies. The NIE is the number (the abstract identification), while the TIE (Tarjeta de Identidad de Extranjero / Foreigner Identity Card) is the physical support (the plastic card with a photo and fingerprint) that proves a non-EU citizen has a residence permit or a long-term stay authorization in Spain. If you are a non-EU citizen (for example, from the United States, the United Kingdom, or Morocco) and you obtain a student visa or a work residence permit, the police will issue you a TIE, and your NIE number will be printed on that card.
For Which Procedures is it Mandatory to Have an NIE?
Daily and economic life in Spain is digitized and centralized around tax identification numbers (NIF/NIE). Without this number, a foreigner finds themselves in an "operational block." It is mandatory to:
- Buy or sell a property on Spanish territory.
- Purchase a vehicle.
- Open a bank account (although some banks allow non-resident accounts with a passport, actual day-to-day operations require an NIE in the short term).
- Incorporate a company or register as autónomo (self-employed worker).
- Sign an employment contract and register with the Social Security system.
- Set up basic utility services (electricity, water, fiber-optic internet).
- File and pay taxes before the Agencia Tributaria (Hacienda / Tax Agency).
- Enroll in official studies at universities or schools.
Substantive Requirements to Apply for an NIE
For the Oficina de Extranjería (Immigration Office) or the Comisaría de Policía (Police Station) to accept an NIE application for processing, the applicant must meet three substantive requirements:
- Not be in Spain in an irregular situation. If the applicant is physically in Spain, they must be within their authorized stay period (as a tourist, usually 90 days, or with a valid visa).
- Communicate the reasons for the request. It is not enough to simply "want to have an NIE." The economic, professional, or social cause that legitimizes the request must be documented and justified.
- Pay the corresponding fees before the resolution of the procedure.
Step-by-Step Guide to Getting Your NIE (Practical Procedure)
The process varies depending on whether you apply from outside Spain (through the Spanish Consulate) or directly within Spanish territory (at the Oficina de Extranjería or Comisaría de Policía). Below, we detail the standard process for doing it within Spain.
Step 1: Gather the Necessary Documentation
You must prepare a folder with the following documents (original and copy of each):
- Official Form EX-15: It must be completed in block capitals and signed by the applicant. In section 4, you must check the box "Número de Identificación de Extranjero (NIE)" and specify in detail the causes motivating the request.
- Full passport or identity document: Must be valid. A copy of all pages of the passport is required (including blank pages and those with entry stamps).
- Supporting documentation of the cause: This is the critical point. You must provide the document proving why you need the NIE. For example: a property deposit contract (contrato de arras), a university acceptance letter, a job offer, a company incorporation pre-contract signed before a notary, or an inheritance acceptance document.
- Proof of fee payment: Form 790 Code 012 (Modelo 790 Código 012).
Step 2: Request an Appointment (Cita Previa)
In Spain, in-person assistance for immigration procedures strictly requires a prior appointment (cita previa).
- Access the Sede Electrónica de las Administraciones Públicas (Government Public Administration portal).
- Select the province where you will carry out the procedure.
- In the drop-down menu for Police Station procedures, select "POLICIA-ASIGNACIÓN DE NIE" (if you are a non-EU citizen and only want the number) or "CERTIFICADO DE REGISTRO DE CIUDADANO DE LA UE" (if you are an EU citizen).
- Enter your personal details (passport) and select an available date and time.
Step 3: Pay the Administrative Fee
Before attending your appointment, you must download, fill out, and pay the corresponding fee.
- Access the Tasa 790 código 012 form on the National Police website.
- Select the corresponding option (for example, "Asignación de Número de Identificación de Extranjero (NIE) a instancia del interesado").
- The current amount for this fee is €9.84 for the basic assignment of a non-resident NIE (the exact amount may vary slightly with State Budget updates, so it is recommended to verify it when downloading the form). For the EU Registration Certificate, the fee is €12.00.
- Print the document and go to any collaborating bank to make the payment in cash or by account debit. Keep the copy stamped by the bank ("Ejemplar para la Administración").
Step 4: Attend the In-Person Appointment
Show up at the designated police station or office on the indicated day and time with all original documentation and copies. After verifying that everything is correct, the official will register your application.
Step 5: Document Collection
Depending on the office and the province, the non-resident NIE (white paper sheet) may be handed over at the time of the appointment, or you may be required to return to collect it after a few days (usually between 3 and 10 business days).
Practical Examples: How Much Does It Cost and How Is It Applied?
To realistically visualize the importance and costs associated with the NIE, we analyze two common scenarios:
Example 1: Property Purchase by a Non-Resident Foreigner
John, a British national, wants to purchase a holiday apartment in Alicante valued at €180,000.
- Need: To sign the public deed of sale before the Spanish notary and pay the Property Transfer Tax (Impuesto de Transmisiones Patrimoniales / ITP), John absolutely needs an NIE.
- Procedure: Since he does not reside in Spain, John requests an appointment for "Asignación de NIE" at the Alicante Police Station. He presents the contrato de arras showing the reservation payment for the apartment, his valid British passport, and proof of having paid the fee 790-012 for €9.84.
- Result: Within 5 days, the police hand him his NIE document. With this number, John can open a bank account in Spain to transfer the €180,000 for the purchase and formalize the signing before the notary without delays or tax penalties.
Example 2: EU Citizen Coming to Work in Spain
Amélie, a French national, has been hired by a multinational in Barcelona with a gross annual salary of €32,000. Her rental contract in the city amounts to €1,100 per month.
- Need: Being an EU citizen and exceeding the 3-month stay limit, Amélie must obtain the Certificado de Registro de Ciudadano de la Unión.
- Procedure: She requests a cita previa at the Barcelona Immigration Office. She provides her signed employment contract, her French passport, and proof of payment of the €12.00 fee.
- Result: At the same appointment, after verifying the validity of her employment contract, she is handed her "green NIE" (Registration Certificate). With this document, her company can correctly process her registration with Social Security and withhold the corresponding income tax (IRPF) on her salary of €32,000.
Mistakes You Must Avoid
The process of obtaining an NIE can become frustrating if major mistakes are made that lead to the rejection of the application. Pay special attention to these points:
- Failing to document the need for the NIE: It is useless to go to the appointment saying "I want the NIE just in case" or "to look for a job in the future." If you do not provide a physical document proving the real reason (a pre-contract, an inheritance, a study enrollment, etc.), your application will be rejected immediately.
- Attempting to apply for the NIE while in an irregular situation: If you have exceeded the 90-day tourist stay limit in the Schengen Area (or the validity of your visa), presenting yourself at a police station to request an NIE is a serious mistake, as you expose yourself to the opening of a sanctioning expulsion file for violating the Ley de Extranjería.
- Confusing the NIE with the TIE or a visa: Thinking that obtaining the white paper NIE sheet gives you the right to reside legally in Spain indefinitely is a very common mistake. The NIE only identifies you; if you are a non-EU citizen and want to live in the country, you must first process the corresponding residence authorization.
- Not bringing copies or bringing untranslated documents: All documentation issued abroad that you intend to provide to justify your application must be translated into Spanish (or the co-official language of the autonomous community) by a sworn translator (traductor jurado) authorized by the Ministry of Foreign Affairs, and duly apostilled or legalized.
Frequently Asked Questions (FAQ)
Does the NIE expire?
No. The Foreigner Identification Number (the alphanumeric code) is unique, personal, and for life. Once a number is assigned to you, it will never change, even if you spend years outside of Spain or if you change your legal status (for example, if you go from a student to a resident). What can expire is the physical document on which it is printed (the white paper sheet or the TIE card), but the number itself remains the same.
Can I apply for the NIE through a legal representative?
Yes, this is perfectly possible. If you are not in Spain, you can grant a power of attorney (poder notarial) of representation in favor of a lawyer or a registered administrative agent (gestor) in Spain. This power of attorney must expressly authorize the representative to request the assignment of the NIE on your behalf. The representative will attend the appointment in Spain providing the duly apostilled power of attorney, their own identification, and the documentation justifying your request.
How long does it take to get the NIE?
The timeframe varies substantially depending on the province and the time of year. Getting a cita previa in provinces with high demand from foreigners (such as Madrid, Barcelona, Alicante, or Málaga) can take several weeks. Once the in-person appointment is completed, the delivery of the non-resident document usually takes between 24 hours and 10 business days. If requested from abroad through a Spanish Consulate, the process can take between 2 and 4 weeks.
If I obtain Spanish nationality, do I keep my NIE?
No. The moment a foreigner acquires Spanish nationality, their NIE is extinguished and replaced by the DNI (Documento Nacional de Identidad / National Identity Document). Administratively, a procedure of "concordance" (concordancia) must be carried out before the National Police and the Tax Agency to link the old NIE with the new DNI, thus ensuring that all assets, bank accounts, and work history accumulated under the NIE are correctly transferred to the new Spanish identity.
In Summary
- The NIE is a personal, unique, and permanent identification number that the Spanish administration assigns to foreigners to carry out economic, professional, or social procedures.
- It is not equivalent to a residence permit nor does it authorize you to work on its own; it is a mere fiscal and administrative identification record.
- EU citizens who are going to reside for more than 3 months must apply for the EU Registration Certificate ("green NIE"), while non-EU citizens with residence obtain the physical TIE card.
- To apply for it, it is essential to document and justify the reason for the request, pay the corresponding fee (€9.84 or €12.00), and have a prior appointment at the Police Station or Immigration Office.
- Any foreign document provided for the procedure must be duly apostilled and translated by a sworn interpreter.
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.