You have found a flat in Alicante and the landlord asks for your NIE. The notary wants it before you sign for a house. The bank will not open your account without it. The NIE number in Spain turns up everywhere, and for newcomers it feels like a gate with no obvious key. It is simpler than it looks.
What is the NIE number in Spain?
The NIE stands for Número de Identidad de Extranjero, the foreigner's identity number. It is a personal, unique number, and it works as your tax number (NIF) with the Agencia Tributaria, the tax office. You use it to sign a job contract, open a bank account, pay tax, buy or rent a home and deal with social security.
It is not a residence permit. Many people mix up the two, because for EU citizens the number appears on the paper that proves you are registered as a resident: the certificado de registro de ciudadano de la Unión. The certificate says where you live and since when. The number identifies you. You can hold a NIE without being resident, and that is exactly what happens to people who buy a holiday home.
Do you need an NIE as an EU citizen?
If you move to Spain, yes, you will end up with one, and the easiest route is to get it as part of your residence registration. If you spend less than three months in the country without doing any economic activity, the tax agency says you do not have to have one.
In practice, the moment you want to do something that involves money, such as buying property, signing a long lease, starting a job or opening an account, someone will ask for it. Banks ask EU citizens for the NIE as well as the passport or ID card. So the real question is not "do I need one?" but "do I get it now, or with my residence certificate?".
Which is the better route, a standalone NIE or the residence certificate?
If you are settling in Spain, go straight for the residence registration, which is explained in our guide to the EU residence certificate in Spain. The certificate you receive carries your NIE, so there is no point in doing the paperwork twice. You pay one fee of €12. If you already hold an NIE when you register, the certificate shows that same number: do not ask for a new one, and tell the official that you already have one.
If you need the number first, for example to sign a purchase contract before you arrive, apply for it alone. The form is the EX-15, Solicitud de Número de Identidad de Extranjero y Certificados, and you tick the NIE box. Always download the current version from the ministry site: older copies are still around and some quote outdated legislation.
How do you apply for a standalone NIE?
- Fill in and sign the EX-15 form, giving the reason: economic, professional, social or other interest in Spain.
- Pay the fee with form 790, code 012, line "assignment of NIE at the request of the person concerned". The fee is €9.84. You can pay at a bank, a savings bank or a credit cooperative.
- Gather your documents: the original and a copy of your full passport or national ID card, proof of the reason (a purchase agreement, a job offer, a contract) and the payment receipt. If someone files the application for you, they need a power of attorney that explicitly allows it.
- Submit the application. In Spain, in person or through a legal representative, at an Oficina de Extranjería or a police station, by appointment. From abroad, at the Spanish consulate that covers your place of residence.
- Collect the number and keep it safe. It will follow you through every office.
The time it takes depends on appointment availability and on the office or consulate. The ministry does not publish a standard delay, so ask when you book.
Where will you use your NIE number in Spain?
Almost everywhere that has to do with money or the state. Expect to quote it for:
- a job contract and your registration with the Seguridad Social, the social security system;
- a bank account, a mortgage or a loan;
- the tax office: your annual income tax return, VAT if you are self-employed, and any property purchase;
- rental contracts, electricity and water accounts, and often a mobile phone contract;
- your online identity, since Cl@ve and the free electronic certificate both start from the NIE;
- the notary when you buy a home, where it is indispensable. Our guide to buying property in Spain explains the other steps.
Write it down somewhere other than your phone. You will be asked for it far more often than you expect, usually at the least convenient moment.
What happens if you lose your NIE paper?
The number itself does not disappear. It belongs to you in the tax and immigration records. If you lose the certificate, go back to the foreigners' office that issued it and ask how to recover the number and a copy of the document; the procedure can vary from office to office. Do not apply for a new number. The official line is that the NIE is unique and valid for life, and a second one is a good way to confuse the tax agency and your bank.
What are the common pitfalls with the NIE number in Spain?
- Thinking the NIE gives you residence. It does not. Past three months of stay, register as a resident.
- Asking for a second number. The NIE is unique and valid for life. If you had one years ago, find the old paper or ask the office to look it up.
- Using an old form. The current EX-15 cites Royal Decree 1155/2024. Photocopies of older versions circulate. Spanish consulates publish the form too (the copy on the Lyon consulate's site, for instance, is the current version), so download it from an official site rather than from a blog or an agency.
- Applying while in an irregular situation. The ministry only assigns an NIE to people who are not in an irregular situation in Spain and who give a reason.
- The provisional "M" number. If you must complete a tax operation before you have an NIE, the tax agency can issue a provisional NIF starting with M through form 030. For someone who is entitled to an NIE, this number is temporary, in principle for three months.
What about the Canary and Balearic Islands?
The procedure is national. On Tenerife, Gran Canaria, Mallorca or Ibiza you go to the foreigners' office of your island or province, or to the police, exactly as on the mainland. You will find that the appointment backlog differs from one island to another.
NIE for Swiss, Norwegian and Icelandic citizens
Citizens of the EU, the EEA and Switzerland present an ID card or a passport. The residence procedure is the same one. British citizens are in a different position since Brexit: they can ask for an NIE like any foreigner with interests in Spain, but to settle they follow the general regime for non-EU nationals, and the NIE is then issued with their residence authorisation. See moving to Spain from the UK.
Once the number is in your hands, the next step is the town hall: read how the padrón and Cl@ve work.
One last practical point for buyers: ask your notary, your bank and your landlord early which of them need the number and in what form. If you are a couple buying together, each of you needs your own NIE. Requesting it a few weeks before a signing date leaves room for the appointment backlog, which the ministry does not publish and which varies by office.