Getting an NIE in Spain (and Why You'll Need It Twice)
In Spain, until you have an NIE, you are, legally speaking, a rumour. You can't buy a property. You can't open most bank accounts. In some places you can't even buy a SIM card without a small clerical crisis. You are, as I put it in the book, "solvent, motivated and metaphysically absent."
The NIE is the number that makes you exist. Here's what it is, who needs one, how to get it in 2026, and why so many people end up applying for things twice.
What you actually need to know
- The NIE (Número de Identidad de Extranjero) is your foreigner identity number in Spain. It's a number, not a card, and it's yours for life.
- You need one to buy property, work, open a bank account, pay taxes, buy a car and much more.
- Moving to Spain on a visa? Your NIE is normally assigned during the process and printed on your TIE residence card.
- Only need the number? Apply with form EX-15, either at a Spanish consulate or at a National Police office in Spain.
- The 2026 fee is €9.84, paid at a bank with form 790, code 012.
What is an NIE?
The NIE is the identification number Spain gives to foreigners. It's used for almost every official, financial and tax procedure, the same way Spaniards use their DNI number.
Three things that confuse everyone:
| Term | What it is | Who has it |
|---|---|---|
| NIE | Your foreigner identity number (it starts with X, Y or Z) | Every foreigner with dealings in Spain |
| TIE | The physical residence card for non-EU residents. Your NIE is printed on it | Non-EU residents living in Spain more than 6 months |
| DNI / NIF | The Spanish national ID and tax number | Spanish citizens (for foreigners, the NIE works as the tax number) |
The full comparison: NIE vs TIE card: what's the difference?
Who needs an NIE?
You need one if you plan to:
- Live in Spain (you'll get it through your residence process)
- Buy or sell property in Spain, even as a non-resident
- Work or register as self-employed (autónomo)
- Open a resident bank account
- Buy a car, inherit, or sign certain contracts
- Pay taxes in Spain
Two routes: through residency, or the number on its own
Route 1: you're moving to Spain on a visa. If you're coming on a non-lucrative, digital nomad or other long-stay visa, your NIE is normally assigned as part of the process. After you arrive, you apply for your TIE card, and your NIE is printed on it. You don't usually need a separate NIE application. You'll find the residence steps in Surviving Spanish bureaucracy.
Route 2: you only need the number. If you're buying property, inheriting or doing business in Spain without moving here, you apply for an NIE certificate: a document confirming your number.
This is where "needing it twice" comes from. Plenty of people get an NIE certificate to buy a flat, then move to Spain later and go through the TIE process too. Same number, two procedures, twice the photocopies.
How to get an NIE certificate, step by step
Option A: at a Spanish consulate in your home country
- Contact the consulate that covers where you live, and book an appointment.
- Complete form EX-15 (the official NIE application form).
- Bring your passport, copies, the form and proof of why you need an NIE.
- Pay the consular fee.
- Wait for the certificate, which usually takes a few weeks.
Option B: at a National Police office in Spain
- Book a cita previa on the government's appointment website. Choose your province, then the procedure "POLICIA-ASIGNACIÓN DE N.I.E." (the exact wording varies a little by province).
- Fill in form EX-15.
- Pay the fee: download form 790, code 012, choose the NIE assignment option, print it, and pay €9.84 at a bank. Keep the stamped copy.
- Attend the appointment with your documents.
- Collect your certificate. Many offices issue it the same day. Others ask you to come back.
Option C: through a representative A lawyer or gestor can often apply on your behalf with a power of attorney. If you're buying property from abroad, this is often the simplest option.
The documents checklist
- Form EX-15, completed and signed (bring 2 copies)
- Passport, plus a copy of the photo page (some offices want every page)
- Form 790 code 012, stamped by the bank as proof of payment
- Proof of the reason you need an NIE: for example a property reservation contract, an inheritance document, an employment offer, or a letter from a notary or bank
- Passport photo, if your office asks for one
- Proof of address, if requested
About the fee: as I describe in the book, you don't pay it at the office. You download a form, choose the right code (there are several, they're not interchangeable, and nobody tells you which until you've paid the wrong one), print it, take it to a physical bank, pay, and get it stamped. "The stamp is the point. The stamp is what you are actually buying."
NIE fees and timelines (2026)
| Item | Cost / time |
|---|---|
| NIE assignment fee (form 790, code 012) | €9.84 |
| First TIE card (if you're becoming resident) | €16.08 |
| Waiting for a police appointment | Days to many weeks, depending on the city |
| NIE certificate at the police | Often the same day |
| NIE certificate at a consulate | Usually a few weeks |
| Gestor or lawyer to handle it for you | Varies; often worth it if you're abroad |
The hardest part: getting the appointment
The NIE itself is simple. The appointment is not. In big cities, the government booking system often shows "No hay citas disponibles" (no appointments available) for days or weeks.
What helps:
- Check often, at different times of day. Slots appear when people cancel and when offices release new days.
- Consider another office in your province, if the system lets you choose.
- Use a gestor or lawyer who books appointments as part of their service.
- Don't pay strangers for appointments. Appointments are free, and resold slots on WhatsApp or Telegram are a risk.
The full survival guide: How to get a cita previa in Spain (and survive it).
Common mistakes
- Paying the wrong fee code. Check the 790 012 form carefully, and choose the NIE assignment option.
- No proof of reason. Many offices refuse applications without a document showing why you need an NIE.
- Booking the wrong procedure. Fingerprints for a TIE and NIE assignment are different appointments.
- One copy of everything. Bring two.
- Applying for a separate NIE when you're already moving on a visa. You usually don't need to: your residence process assigns it.
FAQ
What is an NIE number in Spain?
The NIE (Número de Identidad de Extranjero) is the identification number Spain gives to foreigners. You need it for most official, financial and tax procedures, and it stays the same for life.
How much does an NIE cost in 2026?
The NIE assignment fee is €9.84, paid at a bank using form 790 code 012. Consulates may charge their own fee, and gestors or lawyers charge for their service.
How long does it take to get an NIE?
At a police office in Spain, the certificate is often issued the same day as your appointment, but getting the appointment can take weeks. At a consulate, it usually takes a few weeks.
Can I get an NIE from outside Spain?
Yes. You can apply at the Spanish consulate that covers where you live, or through a representative in Spain with a power of attorney.
Is the NIE the same as the TIE?
No. The NIE is your number. The TIE is the physical residence card for non-EU residents, and your NIE is printed on it.
Does an NIE expire?
The number itself doesn't expire. Some offices may ask for a recently issued NIE certificate for certain procedures.
What form do I need for an NIE?
Form EX-15 to apply for the NIE, plus form 790 code 012 to pay the fee.
This post is adapted from Chapter 12, "A Foreigner's Guide to Spanish Property Injustice", of Spain Is Broken… And I'm Never Leaving: 32 funny, honest chapters on life in Spain, the paperwork, and why nobody ever leaves. Get the book on Amazon
Related guide: Surviving Spanish bureaucracy Related reading: Empadronamiento: the paperwork that unlocks everything · How to get a cita previa in Spain
Sources
- National Police (NIE, forms EX-15 and 790 code 012): https://www.policia.es/
- Government appointment booking (cita previa): https://sede.