Home › Guides › How to get a NIE
Spain — how to get your NIE foreigner identification number
Questions · The NIE Number

How to get your NIE in Spain

The NIE is the foreigner identification and tax number that unlocks almost every legal and financial transaction in Spain — from buying a home to opening a bank account. Here is what it is, why you need it, and how to apply, whether you are already in Spain or still abroad.

If you are planning to move to Spain, buy a property here, take a job, or simply set up your finances, one acronym will follow you everywhere: the NIE. It is one of the first things many newcomers need, and one of the most misunderstood. This guide explains what the NIE actually is, why so many transactions depend on it, how it differs from the TIE residence card, and the two main routes to obtaining one — in Spain or at a consulate abroad. The tone throughout is cautious: procedures, forms and fees are set by the authorities and can change, so treat this as general orientation rather than a guarantee of how any particular office will handle your case.

Lola Jurado, immigration lawyer

"The NIE is the small number that unlocks almost everything else in Spain — the bank account, the property, the contract of employment. Whether you apply from abroad or once you are here, secure it early, because so much of your setup simply waits on it."

— Lola Jurado · Immigration lawyer, Ilustre Colegio de Abogados de Málaga (nº 10907)

What the NIE actually is

NIE stands for Número de Identidad de Extranjero — literally, "Foreigner Identity Number". It is a personal, unique and permanent number that the Spanish authorities assign to non-Spanish nationals for identification and tax purposes. In everyday terms, it is the number that identifies you within the Spanish administrative and fiscal system, in much the same way a national identity number identifies a Spanish citizen.

The number itself usually takes the form of a letter, seven digits and a final check letter (for example, X-1234567-A). Once assigned, it stays with you: it does not expire, and you should not be issued a new one on a later visit. That permanence is important, because the same NIE will appear on your tax filings, your property deeds, your employment records and your bank paperwork for as long as you deal with Spain.

A frequent source of confusion is the relationship between the NIE and residency. Holding a NIE does not, by itself, make you a resident of Spain or grant any right to live here. It is simply an identifying number. Whether you are a tourist buying a holiday flat, a retiree applying for a visa, or an employee relocating permanently, you may all end up with a NIE — but the legal status behind it can be completely different.

Why you need a NIE

The NIE matters because Spanish law and practice require it for a wide range of legal and financial acts. Without one, many everyday transactions simply cannot be completed. The most common reasons foreigners need a NIE include:

In practice, the NIE is the key that opens the door to almost any formal transaction in Spain. Trying to proceed without one usually means the transaction stalls until you obtain it.

Because of this, sorting out the NIE early is one of the most useful things a newcomer can do. If you are relocating, it is also worth understanding the related step of registering your address at the town hall — see our guide to the empadronamiento in Spain, which often runs in parallel with getting settled.

NIE number versus TIE card

One of the most common mix-ups is between the NIE and the TIE, and getting the distinction right saves a great deal of confusion. Put simply:

So the TIE effectively contains your NIE, but the two are not the same thing. A non-resident who buys a holiday home may only ever need the NIE number, evidenced by a simple certificate, and never obtain a TIE. By contrast, a non-EU national who has been granted residency — under a visa, for example — will typically be required to obtain the TIE card, which then becomes their proof of legal residence.

Because this distinction trips up so many people, we have written a dedicated comparison. If you are unsure which one applies to your situation, read our guide on TIE versus NIE in Spain before you book any appointment, so you request the right thing.

The white NIE certificate

When you obtain a NIE without an accompanying residence card, what you generally receive is a certificate on white paper — commonly called the "white NIE" or the certificado de NIE. It states your name, your assigned NIE number and the date and reason it was issued. This document is not a residency card, does not carry a photograph, and is not, on its own, evidence of any right to reside.

For many non-residents, that white certificate is all they need. It is enough to identify them for a property purchase, a tax filing or a bank formality. It is sensible to keep the original safe and to make copies, because you may be asked to present it repeatedly. Note that some certificates carry a validity period for certain administrative purposes even though the underlying NIE number itself is permanent — a nuance worth checking if an office queries the age of your document.

Residents, on the other hand, generally move beyond the white certificate to the TIE card described above, which serves both as identification and as proof of their residence status. Which document you should aim for depends entirely on your circumstances, and this is exactly the kind of point worth confirming before you start.

Applying in Spain: police station or Extranjería

If you are already in Spain, the NIE is usually processed at a Policía Nacional station with an immigration desk or at an Oficina de Extranjería (foreigners' office). The general shape of the process is as follows, though details vary by province and office:

Assuming the file is complete, the NIE certificate may be issued at the appointment or shortly afterwards, depending on the office. It is worth arriving early with every document, plus copies, because a missing paper can mean starting the appointment process again.

Applying at a Spanish consulate abroad

You do not have to be in Spain to obtain a NIE. Many people apply before they travel, at the Spanish consulate covering their place of residence in their home country. This can be a practical route, especially if you want the number ready for a property purchase or a visa step and prefer not to chase appointments once you arrive.

The consular process broadly mirrors the one in Spain — an application form, proof of identity through your passport, and a justified reason for needing the NIE — but each consulate sets its own appointment system, document list and payment method, and processing times vary considerably. Some consulates are quick; others have long waits. Because the requirements differ from post to post, the essential step is to check the specific instructions of the consulate that serves you rather than assuming they match another country's.

A practical point: whichever route you choose, the aim is the same permanent NIE number. If you obtain it abroad, you should not need to apply again once you reach Spain — you carry the same number with you. Keep the original documentation safe for later transactions.

Documents you will typically need

While the exact list depends on the office or consulate and your reason for applying, most NIE applications call for a similar core set of documents. Preparing these in advance, with photocopies, is the single most effective way to avoid a wasted appointment:

If someone is applying on your behalf, a properly drafted power of attorney is generally required, and the formalities around that should be checked carefully in advance.

Common problems: the cita and the "motivo"

Two obstacles come up again and again, and being aware of them helps you plan realistically.

Getting a cita previa. Appointment slots for NIE and immigration procedures can be genuinely hard to secure in busy provinces, with availability appearing and disappearing quickly. Applicants sometimes spend days checking the system before a slot opens. There is no magic solution, but persistence, checking at different times, and being flexible about location within the permitted options all help. This bottleneck is often the most frustrating part of the whole process.

Justifying the "motivo". The authorities want to see a genuine reason for the NIE, and an application without a clearly documented purpose can be rejected. A vague "I might buy something one day" is weaker than a concrete purchase contract, job offer or business document. Framing and evidencing the reason correctly is where applications most often go wrong.

Most refused or delayed NIE applications fail not on the number itself but on the appointment or the justification — the two things worth getting right before you turn up.

These friction points are precisely why some applicants prefer to have the paperwork prepared and the reason properly evidenced before they attend, rather than improvising at the counter.

After you have your NIE

Once your NIE is assigned, keep the certificate or card safe and treat the number as permanent. You will quote it constantly — on tax forms, at the bank, on contracts and deeds — so store a scan somewhere secure and reliable. If you later become a resident, remember that the number carries over even if the document evidencing it changes from a white certificate to a TIE card.

It is also worth thinking about the NIE as one piece of a larger settling-in sequence. Depending on your plans, it commonly sits alongside registering your address at the town hall and, for residents, obtaining the TIE. Reading the related guides on TIE versus NIE and the empadronamiento will give you a clearer map of how these steps fit together.

Because rules, fees and appointment systems change, and because the right route depends on your specific situation and status, it is sensible to confirm the current requirements for your case before acting. If you would like your NIE handled correctly the first time, we are happy to help.

Frequently asked questions

Does having a NIE mean I am a resident of Spain?

No. The NIE is only an identifying number. It does not grant residency or the right to live in Spain — legal status depends on your visa or authorisation, not on holding a NIE.

Is the NIE the same as the TIE?

No. The NIE is a number; the TIE is a physical residence card that displays your NIE. Non-residents often hold only a NIE certificate and never obtain a TIE. See our TIE versus NIE guide for the full comparison.

Can I get my NIE before moving to Spain?

Yes. You can apply at the Spanish consulate covering your home area. The requirements and timescales vary by consulate, so check that consulate's own instructions.

Does the NIE expire?

The NIE number itself is permanent and stays with you. However, some certificates may carry a validity period for particular administrative uses, so an office may query the age of the document.

General information, not legal or immigration advice. Procedures, forms (such as the EX-15 and the 790-012 fee) and appointment systems are set by the Spanish authorities and change; confirm the current requirements for your circumstances before acting.

Free initial enquiry

Get help with your NIE application

Tell us your situation and a Málaga Bar–registered lawyer will reply within 24 hours — in confidence.

✓ Thank you. We'll review your enquiry and reply within 24 hours.

Confidential · No obligation · Reply within 24 hours

Get your NIE right the first time

Book a private consultation and we'll confirm the right route and paperwork for your situation.

iMessage WhatsApp