How to Get Your NIE in Spain (And Why It's More Complicated Than Anyone Tells You)
Getting your NIE in Spain is harder than anyone tells you. Here's what you actually need to know — documents, appointments, and the mistakes to avoid.

Nobody warns you about the NIE. Not really.
Maybe you read a few articles before your move, or heard it mentioned in passing, "You'll need an NIE". It sounds like the kind of admin you knock off on a Tuesday afternoon. A quick online form, or at most, a trip to an office staffed by people who are delighted to help you begin your exciting new life in Spain.
I moved to Palma, Mallorca, in 2021. I would like to report that this is exactly what happened. I would like to. But I cannot.
By the time I finally had my NIE, I had spent weeks chasing appointments, primarily on a website not updated since 2002. Sitting in multiple waiting rooms followed, and ended with me leaving an appointment completely empty-handed because a single word was missing from one of my documents. One word. Not a paragraph or a page, just one word on a health insurance certificate. New appointment required. Grande cerveza required.
So let me try to help.
What is an NIE, and why do you actually need one?
NIE stands for Número de Identificación de Extranjero, which translates roughly as "the number without which you cannot do anything." It's a tax identification number for foreigners in Spain, and it underpins almost every significant thing you'll want to do here.
Without one, you can't:
- Buy a property
- Open a bank account with most banks
- Sign an employment contract
- Register a car
- Set up as autónomo (self-employed)
- Get a mobile phone contract in your name
That last one might sound trivial, but I assure you that standing in a phone shop being told you can't get a SIM card because you don't have a number that you can't get because you haven't done the other things yet is a very particular kind of misery. It's your entry ticket to functioning adult life in Spain. Get it early, get it right, and don't assume it'll be fine.
Two different things people call "the NIE"
This causes a lot of confusion, so worth getting clear on upfront.
The NIE is just a number. A string of letters and digits that identifies you in the Spanish tax and administrative system. Getting the number is one process.
If you're planning to live in Spain long-term (more than three months), you also need to register as a resident. That's a separate process that gets you a green certificate (Certificado de Registro) or, more recently, a TIE card (Tarjeta de Identidad de Extranjero). Both confirm your right to reside in Spain and include your NIE number.
A lot of guides online conflate these two things. They're related, but they're not the same appointment, form, or queue. In the interest of your sanity, I'd recommend treating them as two entirely separate projects.
For most expats moving to Spain, you'll want both. Which one you need first depends on what you're trying to do.
How to get your NIE
There are a few routes, and which one makes sense depends on your situation.
Option 1: Apply before you leave
If you're still in the UK or Ireland, you can apply for an NIE at the Spanish Consulate in your home country. The process is more controlled than applying in Spain; the queues tend to be shorter, and you can get it sorted before you arrive. If you have the option, this is genuinely worth doing. It is, I think, the closest thing to a clean solution that exists in this entire process.
Option 2: Apply in Spain at a Foreigners' Office (Oficina de Extranjería)
Once you're in Spain, NIE applications are handled by the Foreigners' Office, which operates under the National Police. You need an appointment. You cannot just turn up, any more than you can simply show up at a restaurant that is fully booked and expect a table. In this case, the restaurant has about four tables and a mile-long queue.
Getting an appointment is, for many people, the hardest part. Demand is high in popular expat areas, slots disappear within minutes of being released, and the booking system, as I alluded to earlier, is not what I would describe as a jewel in the crown of modern UX design. If you're in Malaga, Alicante, Palma, or anywhere else where significant numbers of people have had the audacity to also move abroad, expect to be refreshing the appointments page with an intensity usually reserved for concert tickets.
Option 3: Use a gestor or lawyer
Honestly? For most people, this is the right call. A good gestor can book the appointment for you, check your documents in advance, attend with you or in some cases on your behalf, and make sure nothing collapses at the last minute because of a missing word. Given how much time the DIY route can cost you, the fee is almost always worth it.
The documents you need
This is where people come unstuck. The exact requirements can vary depending on where you're applying and your individual circumstances (why a gestor or lawyer can be worth it), but the core documents are:
- Completed EX-15 form (the NIE application form)
- Valid passport, plus a photocopy of the photo page
- Proof of the reason you need the NIE — more on this in a moment
- Payment of the tax fee (Modelo 790 Código 012), which you pay at a bank before your appointment
The proof of reason is the one that catches people out. Spain requires you to demonstrate why you need an NIE. Accepted reasons include a property purchase (bring the draft contract), employment (bring a job offer letter), or plans to register as autónomo. The documentation needs to match the reason you've stated on the form, and it needs to contain certain specific wording.
My mistake was that my health insurance certificate didn't contain a specific word. I had the right document; it simply lacked a word that the officer needed to see before they could process my application. And I'd bought my health insurance from a company used by many expats! The document was not wrong, fraudulent, or missing anything that would have caused any reasonable person to pause. And yet, new appointment needed, two more weeks of waiting.
A few things I wish someone had told me
Photocopies matter more than you'd think. Bring photocopies of everything, not just the originals. Officers often keep the copies. Having to run to a print shop mid-appointment is not ideal and if your Spanish is 'un poco', getting what you want will likely be more stressful than it needs to be.
Get your documents checked before you go. If you're using a letter or contract as your proof of reason, have a gestor or lawyer look at it first and confirm it meets the specific wording requirements. Do not assume. Assumptions are not compatible with this process.
The online appointment system is a special kind of challenge. Set an alert if you can. Check early in the morning. Some people use agencies to book appointments on their behalf, which is entirely legal and, if you are struggling, absolutely worth considering.
Bring more than you think you need. More copies, more supporting documents, more everything. The worst outcome is leaving empty-handed because you had 99% of what was required. I know this because I lived it.
Your NIE never changes. Once you have it, it's yours permanently. It stays the same whether you leave Spain and come back, switch jobs, or move regions. Keep the original document somewhere you will actually be able to find it, which in my experience means somewhere more organised than "the drawer of mystery cables, pens and stationery."
After you have your NIE
If you're staying in Spain long-term, your next step is residency registration. EU citizens apply for the green Certificado de Registro. Non-EU citizens, including British nationals post-Brexit, apply for a TIE card. The process, documentation, and timelines differ, so it's worth getting specific advice for your situation rather than assuming the same approach applies.
Your NIE will come up in almost every administrative process you go through in Spain. Tax returns, property transactions, vehicle registration, opening certain accounts. It's the thread that runs through all of it. Keep a copy somewhere accessible, I get asked for, and give it, every time I have a 'signed for' delivery.
Want some help?
The honest truth is that the NIE process is manageable if you know what you're doing, but it is very easy to waste a significant amount of time if you don't. A good gestor or immigration lawyer can handle the whole thing clearly and efficiently, and the peace of mind is usually worth it.
If you're looking for English-speaking gestors or immigration lawyers near you, browse the Your Mate Pat directory. Free to use, and every professional listed speaks English. Unlike, in my experience, the appointments system.