If you are going to invest, work or move to Spain, the first procedure you will encounter is the NIE. It is often confused with a residence permit, but the Foreigner Identification Number is actually the key that opens any procedure on Spanish soil: without it, bureaucracy comes to a complete standstill. In this guide we explain what it is, what types exist, how to apply for it step by step – from Spain or from your country of origin – and why at Intlaw we recommend talking to a lawyer before starting the procedure, not after.
What is the NIE and why do you need it?
The NIE (Número de Identidad de Extranjero) is your tax and administrative identification code in Spain. It is the piece of data you will need for practically any transaction: opening a bank account, signing a rental contract, buying a home, registering as self-employed or starting to work as an employee. It is not a physical identity document — like the DNI or passport —, but just an alphanumeric number. Even if you obtain it, you will always have to show your original identity document to identify yourself.
NIE, NIF and TIE: they are not the same
Many clients arrive at our office confused by the acronyms. In reality, it is simpler than it seems:
● NIE and NIF: for a foreign citizen they are, for practical purposes, the same thing. It is called NIE when you identify yourself as a foreigner before the Police, and NIF (Tax Identification Number) when you use it to pay taxes or sign contracts. It is the same “coat” for different occasions.
● TIE: it is the physical card with a photograph, reserved for non-EU citizens. If you are a citizen of the European Union, you will receive the classic paper certificate instead. A practical example helps to see it clearly: imagine an entrepreneur who does not plan to reside in Spain, but wants to open a company or close commercial operations here. That person will first request a NIE (in their case, “white”, for non-residents).
When they later present themselves at the bank or sign the incorporation of the company before a notary, that same code will be registered as their NIF. While for a Spanish citizen the NIF coincides with the DNI number, for foreigners the NIF coincides with their own NIE. The regulation of the NIE and the right of residence in Spain is supported by Royal Decree 240/2007 (entry and residence of EU citizens), Organic Law 4/2000 (rights and freedoms of foreigners) and Order PRE/1490/2012 (economic and healthcare requirements of the green NIE).
White NIE or green NIE: which one corresponds to you?
Not all NIEs are the same. The correct option depends on your life project in Spain.
White NIE (for non-residents)
It is an A4 sheet, perfect for anyone who is going to carry out a one-off transaction: buying a holiday home, opening a current account or managing an inheritance. The assigned number is forever, but the physical certificate is only valid for 90 days for notarial procedures. If it expires before signing, a duplicate must be requested.
Green NIE / CUE (for residents)
It is mandatory if you are going to live in Spain for more than 183 days a year. In this case, the Administration requires specific proof of “self-sufficiency”, which is divided into two routes:
● If you have a job: you must present a Spanish employment contract or accredit registration as self-employed in the Social Security.
● If you are not going to work (students, retirees) you must prove sufficient funds through bank statements and have a full private medical insurance, without copayments or waiting periods, with coverage equivalent to public healthcare.
Documentation and requirements to apply for it
The form to be presented varies according to the type of NIE: the EX-15 model corresponds to the white NIE (non-residents, one-off operation), while the EX-18 model is the one used for the green NIE (certificate of residence). In both cases, the application is accompanied by:
● Valid passport or identity document (original and full copy).
● Proof of the reason for the application (employment contract, deed of sale, university admission letter, etc.).
● Proof of payment of the corresponding administrative fee.
An important nuance: the exact requirements may vary slightly depending on whether you are a citizen of the European Union (Italian, Romanian…) or not (for example, British after Brexit), so it is convenient to confirm your specific case before gathering the documentation.
How and where to apply for the NIE: step by step
From Spain
1. Request a prior appointment (cita previa) at the corresponding Police Station or Immigration Office.
2. Present the corresponding form (EX-15 or EX-18, depending on the type of NIE) together with the required documentation.
3. Pay the administrative fee.
4. Collect your NIE (at the moment or in the following days, depending on the office).
From your country of origin
If you have not yet traveled to Spain, you can start the same procedure at the Spanish Consulate or Embassy in your country of residence. It is an especially useful option if you want to have the NIE resolved before settling in.
The prior appointment: the real obstacle
Getting the NIE is not difficult because of the law, but because of practice. The first real obstacle is the prior appointment (the online reservation): in cities like Barcelona, slots are exhausted in a few minutes. Do not wait until the last moment. Between the search for an appointment and the preparation of documents, we recommend moving at least one month in advance regarding the date of your contract or deed.
Why talk to a lawyer before starting the procedure
Obtaining the NIE does not consist just of filling out forms. The role of a lawyer is to anticipate problems:
● Tax strategy: having a NIE makes you visible to the Tax Agency (Hacienda). We help you understand if – and what taxes, such as the IRNR for non-residents – you must pay, to avoid future penalties.
● Integral management: we take care of downloading the correct documentation – avoiding errors in the choice between EX-15 and EX-18 – and, above all, monitoring the system to get the prior appointment in the shortest possible time.
● Preventive verification: we check that your medical insurance or your bank statements exactly meet the requirements demanded by the Police, minimizing the risk of a rejection that would make you lose weeks.
Trusting professionals means transforming a bureaucratic labyrinth into a smooth process, allowing you to focus only on your investment or on your new stage in Spain.
Frequently asked questions
What is needed to have the NIE in Spain?
Completed EX-15 form, valid passport or identity document and a proof of the reason for the application (labor, economic, residence, etc.).
Who is entitled to the NIE?
Any foreign person who needs to carry out an official transaction in Spain – buying a property, working, studying, residing – can and must request it.
How much does it cost to get the NIE in Spain?
There is a mandatory administrative fee associated with the procedure. The amount may vary according to the case; we confirm it accurately in your consultation with our team.
How long does it take to obtain the NIE?
It depends on the route chosen and the office: in many cases it is delivered at the time of the appointment, although in others the period may extend for several days.
My white NIE is more than 90 days old, do I need a new one for the notarial signing?
The assigned number is unique and permanent, but notaries and banks usually require an updated certificate (duplicate) if the one you have was issued more than 90 days ago, to confirm that your non-resident status remains in force.
What medical insurance do I need for the green NIE?
It must be a policy without copayments and without waiting periods, with full coverage throughout Spain equivalent to that of the public health system.
Can I work remotely for a company in my country and apply for the green NIE?
Yes, although the procedure becomes more complicated: you will have to accredit the regularity of your contributions in your country of origin (for example, through the U1 form in the EU framework) or register as self-employed in Spain to guarantee your Social Security coverage.
Can I incorporate a company in Spain without having a personal NIE?
No. To incorporate a company or act as a director in Spain, the natural person must first obtain their own NIE, which will then serve to request the company’s NIF before the Tax Agency.
Ready to take the plunge? Intlaw is here to help
Spanish bureaucracy does not have to slow down your investment, work or relocation plans to Spain. At Intlaw we have offices in Barcelona, Madrid and Palma de Mallorca, and with dedicated international teams – including our desks for Italy, the United Kingdom and Central/Eastern Europe – who understand both the language and the legal culture of origin of each client. With the experience of a large firm and the close treatment of a boutique office, we accompany you from the first paper to the last signature. Do not let a failed prior appointment or a badly filled form slow down your project: contact our team of immigration lawyers and anticipate every step.
