
This 9-character code (the letter X, Y or Z depending on the year it was issued, then 7 digits followed by another letter) is issued to foreigners and is required to identify yourself in Spain and it will stay the same for your whole life. If you make several stays in the land of Cervantes, you will keep using this same number.
To put it simply, it works as your Spanish ID card (but you must always carry the ID document of your home country) until you obtain Spanish nationality, if you eventually apply for it.
On that day you will get a DNI, the Documento Nacional de Identidad (the Spanish national identity document), and you can forget about the NIE!
The COVID-19 pandemic shook up the rules and moved the lines in many areas. Spain realised that red tape, and especially getting a NIE, made it harder for entrepreneurs and investors to access its market.
The restrictions caused by the virus revealed how much the country depends on tourism, and the government reacted. About time! This new practice has its roots in the so-called start-up law (the law promoting the ecosystem of emerging companies), published on 22 December 2022.
An agreement between the General Council of Notaries and the tax agency (Agencia Estatal de Administración Tributaria) now allows notaries to request a tax number (the NIF, Número de Identificación Fiscal) on a temporary basis, without the applicant having to be present.

Fine, but what does it change for you? This tax number lets you do without a NIE for a while. You can complete your purchase without being held up by this formality.
Let's look at the NIF for a moment. The Número de Identificación Fiscal (tax identification number) is required for every individual and, of course, every legal entity (a company or an association, for example) to be identified for tax purposes. For an individual, it is the same as the NIE. Phew! That is why these two acronyms often come up together.
So, in the case we are looking at, how does it work?
It is quite simple and, above all, for a property purchase the notary takes care of it. Once you have this NIF, you have 3 months to get your NIE and regularise your situation. When you finally hold the holy grail, the earlier NIF stops being valid.
So don't panic if you don't have your NIE yet or don't have an appointment to get one.
All that is left is to pay your ITP on time. Another acronym?!
ITP is the property transfer tax (Impuesto sobre Transmisiones Patrimoniales), and it must be paid within 30 days of the purchase. You can find more information about ITP on our website.
Note that Alveo Search can help you get your NIE or use this option with the notary.
Now let's move on to the practical side.
Why might you need a NIE and how do you get one? Who issues it? Which documents do you need? Feeling a headache coming on? Don't panic, here is what you need to remember! For more details, read our practical guide.
Any foreign national, whether from the EU or not. Non-EU nationals who move to Spain receive it with their residence permit, and non-EU buyers who do not live in Spain can also apply for one. It is not required before the age of 14.
Informally, people say there are 2 types of NIE in Spain: the white one and the green one.
It is compulsory for EU citizens who want to stay in Spain for more than 90 days (retirees, workers, long-term students).

Almost everything except a trip of less than 3 months. For that, your usual travel documents are enough. A few examples show why you will need it once in Spain. You will need it to:
There are several ways to get your NIE. From your home country:
In every case, you will be asked for the reason for your application and a number of documents. We have listed them below, and you can also find them in our practical guide.
The authorities provide a guide to filling in the form that makes everything clear and helps you avoid mistakes.

Note that processing times have grown longer since the pandemic. They used to be quite short (5 to 8 working days). Now expect around 2 weeks for the Spanish police (Dirección General de la Policía) to issue your document. And you may still get a nasty surprise: it is not unusual to read about people who waited several months. Patience is key when you handle this kind of procedure yourself.
Our advice? If you are planning a purchase, get in touch. You can do so right here: our team of specialists will be happy to help.
By email or by post, depending on where you apply. In Spain, practice varies from one police station to another, so ask at your appointment.
Take a look at our practical guide to the NIE. It covers everything you need to know, point by point, and has just been updated. It includes a directory of consulates and embassies and contacts for law firms.
If you are interested in buying property in Spain, contact us to talk about your project. We can give you all the information you need and would be happy to help you make it happen.
Book a call online Request a callback

Thomas Rouer is the founder of Alveo Search and the CEO of the Alveo group. Based in Spain for almost ten years, he develops property services designed for the specific needs of foreign buyers.
His expertise covers every aspect of buying property in Spain: understanding the market, searching for and selecting properties, negotiation, financing, paperwork, tax and securing the purchase process.