LugarliaOpen the guide

Step · ID & numbers

Obtain a NIE (foreigner identification number)

The NIE (Número de Identidad de Extranjero) is the personal, unique number that identifies a foreigner in all Spanish administrative, tax, work and social dealings; if you do not already have one, you request it from the police/foreigners' office with form EX-15 and a paid fee.

When
You have economic, professional or social ties to Spain (renting, working, buying, opening accounts, applying for residence) and do not yet have a NIE.
How long it takes
The police procedure is to be resolved within a maximum of five days from when the application enters the competent office (Policía Nacional sede). Waiting time for an appointment is not published.
Official page
Número de Identidad de Extranjero (NIE)
Last checked
26 Nov 2026

In plain words

The NIE (Número de Identidad de Extranjero) is the personal number that identifies a foreigner in Spanish offices, tax, work and social matters. If you don’t have one, you ask the police or foreigners' office for it with form EX-15 and a fee.

Why it matters: You are often asked for it before you have a residence card.

Remember: The police procedure is to be resolved within 5 days of the application entering the office. The wait for an appointment is not published.

Common questions

Who needs it?

You need a NIE when you have economic, professional or social ties to Spain, such as renting, working, buying, opening accounts or applying for residence, and don’t have one yet.

How is it different from “Obtain the TIE residence card”?

The NIE is your personal number: it identifies a foreigner in all Spanish administrative, tax, work and social dealings, and you are often asked for it before you have a residence card. The TIE is the plastic card that proves a non-EU foreigner’s legal residence, and it carries your NIE. You apply for the TIE in person within one month of arriving on a visa or of being granted a residence authorization.

How is it different from “Obtain a Spanish Social Security number (NUSS)”?

The NIE identifies a foreigner in all Spanish administrative, tax, work and social dealings, and you request it from the police or foreigners’ office. The NUSS identifies you with the Social Security system: your employer normally requests it when you start work, or you can request it yourself with your passport, NIE or DNI. Your US Social Security number is not used for Spanish Social Security.

How is it different from “Understand your Spanish tax ID (NIF) and when your NIE serves as one”?

The NIF is Spain’s tax identification number. For most foreign residents the NIE assigned to them is the number used as the NIF, so you give your NIE when a bank, employer, landlord or tax form asks for a NIF. Only people who legally have no NIE ask the tax agency to assign a separate NIF.

In the guide: the 5 steps, what to bring (5 items), and 2 Easy to miss lines, with every official source.

One Easy to miss, on us

The NIE application is made in person at an Oficina de Extranjería or police station; from outside Spain it goes through a Spanish consular office.

Official source

See the full stepsWhat a pass includes

Do these first