$ The Money Abroad
Home / Taxes / How to Get NIE
Spain

How to Get NIE in Spain

Last updated:

The NIE (Numero de Identificacion de Extranjero) is a tax identification number assigned to every foreigner in Spain. You need it to open a bank account, sign a rental contract, start working, or do almost anything official. It is not a residency permit. It is just a number. But without it, nothing moves.

What is an NIE?

A unique ID number (format: X-1234567-A) assigned by the Spanish National Police. It stays with you for life and never changes. Every foreigner who interacts with Spanish bureaucracy needs one, whether you're buying property, getting a job, or just signing a phone contract.

Common confusion: NIE is not the same as a TIE (the physical residency card for non-EU residents) or an NIF (your tax ID, which for foreigners equals your NIE number). The NIE is the number itself. The TIE is the plastic card. The NIF is how the tax office refers to you.

When do you need it?

Short answer: almost immediately after arriving. Here's what's blocked without an NIE:

  • Opening a Spanish bank account
  • Signing a rental contract
  • Starting employment or freelance work
  • Registering for Social Security
  • Buying or selling property
  • Setting up utilities (electricity, internet)
  • Paying taxes or applying for Beckham Law
  • Buying a car

Get it as early as possible. Every week you delay creates a domino effect blocking everything else.

How to get NIE: step by step

Step 1: Book an appointment (Cita Previa)

You cannot walk in without an appointment. Book through the official portal: sede.administracionespublicas.gob.es.

  1. Select your province
  2. Select the procedure: "Certificados UE" (EU citizens) or "Asignacion de NIE" (non-EU)
  3. Enter your passport details
  4. Pick an available date

Slots go fast in Barcelona and Madrid. New slots usually appear on Monday mornings around 8am. Select "Cualquier oficina" (any office) to see more options. Expect a 2-4 week wait in big cities.

Do not use third-party booking sites that charge fees. The government portal is free.

Step 2: Prepare your documents

Document Details
Form EX-15Filled out in Spanish, signed. Bring two copies.
PassportOriginal + photocopy of the bio page. Must be valid.
Justification letterWhy you need the NIE: job offer, property purchase contract, rental agreement, etc. "I might need it" is not enough.
Modelo 790 (Codigo 012)Fee payment receipt. Must be paid at a bank before your appointment.
Passport photos1-2 recent photos. Some offices require them, some don't. Bring them anyway.

Bring originals AND photocopies of everything. There is no photocopier at the police station. One missing document means rebooking and waiting another 2-4 weeks.

Step 3: Pay the fee

Fill in Modelo 790 Codigo 012 on the National Police website, print it, and pay at any Spanish bank. The fee is approximately €12. You cannot pay at the police station.

Step 4: Attend your appointment

Go to the designated police station (Comisaria de Policia) or Foreigners Office (Oficina de Extranjeria). Submit your documents. Some offices issue the NIE on the spot. Others take 1-3 weeks and mail it or let you pick it up.

Getting NIE from abroad

If you're not in Spain yet, you can apply at a Spanish consulate or embassy in your country. Same documents, plus proof of residence in the consular area. Processing takes 15-45 days, longer than applying in Spain.

You can also send someone to apply on your behalf in Spain with an apostilled notarized power of attorney (poder notarial). Useful if you're buying property and need the NIE before arriving.

How long does it take?

Step Timeframe
Appointment wait1-4 weeks (longer in Barcelona/Madrid)
Processing after submissionSame day to 3 weeks
Via consulate abroad15-45 days

Since 2024, if the administration doesn't respond within 20 working days, your application is considered automatically approved (positive administrative silence).

Common mistakes

  1. Not booking the appointment. Walk-ins are not accepted.
  2. Using scam booking sites. Only use the official government portal. It's free.
  3. Forgetting photocopies. No copier at the police station. Bring copies of everything.
  4. Vague justification. You need a specific reason with supporting documents (contract, job offer).
  5. Not paying the fee before the appointment. Modelo 790 must be paid at a bank beforehand. They don't take cash at the office.
  6. Wrong procedure selected. EU citizens pick "Certificados UE", non-EU pick "Asignacion de NIE". Wrong selection means wasted trip.
  7. Thinking NIE = residency. The NIE is just an ID number. It does not authorize you to live or work in Spain.

Tips for getting an appointment faster

  • Check the booking portal Monday mornings around 8am when new slots appear
  • Try smaller cities near you. Girona, Tarragona, or Toledo often have slots when Barcelona and Madrid are full
  • Select "Cualquier oficina" to see all available offices
  • Try different browsers and clear cookies if the site gives errors

What to do after you get your NIE

The NIE unlocks everything else. Once you have it, move through these steps:

  1. Empadronamiento (padron): register your address at your local town hall (ayuntamiento). Required for most next steps.
  2. Open a bank account: take your NIE, passport, and proof of address to any Spanish bank.
  3. Register with Social Security: needed before you can start working, whether employed or autonomo.
  4. Apply for Beckham Law (if eligible): you have 6 months from your Social Security registration. See our Beckham Law guide for details.

Bottom line

The NIE process is straightforward but unforgiving. Book your cita previa early, bring every document with photocopies, and pay Modelo 790 at a bank before your appointment. The whole thing costs €12 and takes 1-3 weeks. Do it first, because nothing else in Spain moves without it.

Frequently asked questions

What is the difference between NIE, TIE, and NIF?

NIE is your foreigner identification number, valid for life. TIE is a physical biometric ID card issued to non-EU residents with permits of 6+ months (it displays your NIE on the card). NIF is your tax identification number, which for foreigners is simply your NIE used in the tax system.

Can I get an NIE without being in Spain?

Yes. You can apply at a Spanish consulate or embassy in your country. The process takes longer (15-45 days vs 1-3 weeks) and you need proof of residence in the consular area. You can also send a representative with an apostilled power of attorney.

How much does an NIE cost?

The official fee is approximately €12 (Modelo 790 Codigo 012). If you hire a gestor to handle the process, expect to pay €80-200 on top.

Do I need an NIE to open a bank account in Spain?

Yes. Most Spanish banks require an NIE to open an account. Some banks (like Openbank or N26) let non-residents open accounts, but for a full Spanish bank account you need the NIE.