Chapter II - How to Get a NIE in Spain
Step-by-Step Guide for Expats
If you are planning to live, work, or invest in Spain, one of the first things you will need is a NIE.
Many expats hear about it before arriving, but the process can feel confusing. What exactly is a NIE? Do you need it before moving? How do you get it in Madrid?
In this guide, we explain what the NIE is, why you need it, and how to obtain it step by step.
What is a NIE?
The Número de Identidad de Extranjero (NIE) is an identification number assigned to foreigners in Spain.
It is used by the Spanish administration to identify non-Spanish citizens in official procedures.
The NIE itself is not a residence permit. It is simply an identification number used for administrative purposes.
Once assigned, your NIE never changes and will be used in all official processes in Spain.
Why do you need a NIE?
You will need a NIE for many everyday activities in Spain.
For example:
• opening a bank account
• signing a rental contract
• paying taxes
• buying property
• starting a job
• setting up utilities
• many administrative procedures
Because of this, obtaining your NIE is often one of the first administrative steps for expats in Spain.
NIE vs residency: what’s the difference?
This is one of the most common points of confusion.
The NIE is simply an identification number.
Residency permits, on the other hand, allow you to legally live in Spain.
In many cases, your NIE will appear on your residence card, but the number itself can also be assigned without residency, for example when buying property or making investments.
How to get a NIE in Spain
There are two main ways to obtain a NIE.
Option 1: Apply in Spain
You can apply for your NIE at the immigration office or police station.
The process usually involves:
Step 1: Book a cita previa
You must schedule an appointment with the immigration office.
Step 2: Prepare your documents
Typically required documents include:
• completed application form (EX-15)
• passport and copy
• explanation of why you need a NIE
• payment of the administrative fee
Step 3: Attend the appointment
During the appointment, the officer will review your documents and process the application.
In some cases, the NIE may be issued the same day.
Option 2: Apply at a Spanish consulate abroad
In certain situations, you can apply for a NIE through a Spanish consulate in your home country.
Processing times vary depending on the consulate.
How long does it take?
Processing times depend on the city and appointment availability.
In Madrid, the biggest delay is usually finding an available appointment rather than the processing itself.
Once the application is accepted, the NIE number is often issued quickly.
Common problems expats face
Many foreigners encounter difficulties such as:
• not knowing which appointment type to book
• missing required documents
• confusion between NIE and residency processes
• limited appointment availability
Preparing the correct documentation in advance can help avoid delays.
How Xpatramit can help
Understanding Spanish administrative procedures can be challenging, especially when you are new to the system.
At Xpatramit, we help expats navigate the paperwork required to live in Spain — from obtaining a NIE to completing residency procedures.
If you need help preparing documents or booking appointments, we can guide you through the process step by step.
→ Contact us to get started.