Immigration & residency

How to get an NIE number in Spain: step-by-step guide

By the AbogadoAI editorial team · Updated 18 July 2026 · 11 min read

Moving to Spain to enjoy its sunny climate, rich culture, and relaxed lifestyle is a dream for thousands of expats every year. However, navigating the Spanish administrative system can quickly turn that dream into a bureaucratic maze, and your very first hurdle will be obtaining an NIE number. This unique identification number is the master key to life in Spain, required for everything from signing a rental agreement to opening a bank account or starting a job. This comprehensive, step-by-step guide will demystify the process, explain the legal framework, and provide you with a clear roadmap to securing your Spanish NIE.

What is an NIE Number and Why Do You Need It?

The acronym NIE stands for Número de Identidad de Extranjero [Foreigner Identification Number]. It is a personal, unique, and exclusive sequential number assigned by the Spanish Ministry of the Interior to non-Spanish citizens.

It is crucial to understand that an NIE is not a residency permit, nor does it grant you the legal right to reside or work in Spain. It is simply an administrative identification number. Under Spanish law, you can hold an NIE as a non-resident (for temporary financial or professional transactions) or as a resident (as part of your formal residency registration).

The requirement and issuance of the NIE are strictly regulated under Spanish law. The primary legal pillars governing this process are:

Under these laws, any foreigner who develops economic, professional, or social interests in Spain is legally obligated to apply for an NIE.

Who Needs an NIE and Which Type Do You Need?

There are two distinct scenarios under which you can apply for an NIE, and understanding the difference is vital for your application process.

1. Non-Resident NIE (NIE de No Residente)

This is for individuals who do not intend to live in Spain for more than 90 days in a 180-day period but need to conduct legal or financial transactions within the country.

2. Resident NIE (Certificado de Registro de Ciudadano de la Unión or TIE)

If you plan to live, work, or study in Spain for more than 90 days, you must register as a resident.

Step-by-Step Guide to Getting Your NIE in Spain

Getting your NIE requires preparation, patience, and strict adherence to administrative protocols. Here is the step-by-step process for applying within Spain.

Step 1: Book an Appointment (Cita Previa)

You cannot simply walk into an immigration office and ask for an NIE; you must book an appointment online beforehand.

  1. Go to the official government portal: Sede Electrónica de las Administraciones Públicas.
  2. Select the province where you are staying or plan to buy property (e.g., Malaga, Madrid, Barcelona).
  3. Under the office dropdown, select CNP (Cuerpo Nacional de Policía [National Police Force]) or Oficina de Extranjería [Immigration Office].
  4. Select the procedure: For non-residents, choose Policía-Asignación de NIE. For EU residents, choose Policía-Certificado de Registro de Ciudadano de la UE.
  5. Enter your passport details, fill in your personal information, and select an available date and time. Tip: Appointment slots are highly competitive and often released at specific times (usually Monday mornings at 8:00 AM or 9:00 AM).

Step 2: Prepare the Required Documentation

Spanish civil servants are notoriously strict about paperwork. Ensure you have the original and at least one photocopy of every single document:

Step 3: Pay the Government Fee (Tasa)

You must pay the administrative tax using Form 790-012.

  1. Download and fill out the Form 790-012 online.
  2. Select the box for Asignación de Número de Identidad de Extranjero (NIE) a instancia del interesado.
  3. The current fee for a non-resident NIE is €9.84 (the fee for an EU registry certificate is €12.00).
  4. Print the form (it generates three copies: one for the bank, one for the administration, and one for you).
  5. Take the printed form to any bank in Spain (Banco Santander, BBVA, Caixabank, etc.). You can pay in cash or via an ATM if you have a Spanish bank account. The bank will stamp the form as proof of payment. Do not lose this stamped receipt.

Step 4: Attend Your Appointment

Arrive at the designated police station or immigration office 15 minutes before your scheduled time.

  1. Present your appointment confirmation sheet at the entrance.
  2. When your number is called, present your dossier of documents to the official.
  3. If everything is in order, they will process your application.
  4. Depending on the province, you may be handed your NIE certificate on the spot, or you may be asked to return to collect it 24 to 48 hours later.

Concrete Examples of the NIE Process

To help visualize how this works in practice, let us look at two common scenarios for expats.

Example 1: Anna (Non-EU Citizen buying a holiday home)

Anna is a British citizen who wants to purchase a holiday apartment in Alicante for €150,000. She does not plan to live in Spain for more than 90 days a year, so she needs a non-resident NIE.

Example 2: Marcus (German Citizen moving for work)

Marcus is a German software engineer who has accepted a job offer in Barcelona. Because he is an EU citizen moving permanently, he needs to register as a resident.

Common Mistakes to Avoid

Even a minor error can result in your application being rejected, forcing you to start the booking process all over again. Avoid these common pitfalls:

Frequently Asked Questions (FAQs)

Can I apply for an NIE from my home country?

Yes. You can apply for a non-resident NIE through the Spanish Consulate in your country of residence. You must book an appointment at the consulate, present the same documents (Form EX-15, passport, justification, and consulate fee), and the consulate will forward your application to the police in Spain. The process can take anywhere from 2 to 6 weeks, and the certificate will be emailed to you.

Does the NIE number expire?

No. The NIE number itself is assigned to you for life and will never change or expire. However, the physical white paper certificate (Certificado de NIE) issued to non-residents is only valid for administrative purposes for 3 months from the date of issue. After this period, the number is still yours, but you may need to request a new printed copy if a notary or bank requests a "current" certificate.

Can someone else apply for my NIE on my behalf?

Yes, you can authorize a third party (such as a lawyer, a gestor, or a representative) to apply for your NIE. To do this, you must grant them a formal power of attorney (poder notarial) specifically authorizing them to request the NIE on your behalf, along with a notarized copy of your passport.

What is the difference between an NIE, a TIE, and an Empadronamiento?

These three terms are often confused by expats:

In Summary

General legal information, not personalised legal advice. For your specific situation, ask your question for free at AbogadoAI — answers grounded in Spanish law (BOE), in English.

Have a specific legal question?

Ask AbogadoAI and get an answer based on Spanish law (BOE), with sources — in English.

Ask for free

This is general information, not legal advice. Verify on the BOE or consult a lawyer for your specific case.