NIE (Número de Identidad de Extranjero)

NIE (Número de Identidad de Extranjero)

NIE (Número de Identidad de Extranjero) — The NIE (Número de Identidad de Extranjero) is a unique identification number assigned to every foreigner who has financial, professional, or legal dealings in Spain. Think of it as your Spanish tax and ID number — without it, you cannot buy property, open a bank account, start a business, or even sign a phone contract.

The NIE is arguably the single most important document for any foreigner in Spain. It is a sequential number starting with X, Y, or Z followed by seven digits and a control letter (e.g., X-1234567-A). It stays with you for life and does not expire, although the physical certificate or card on which it appears may have an expiry date.

Who Needs an NIE?

Every foreigner who engages in any legal, financial, or administrative transaction in Spain needs an NIE. This includes:

  • Anyone buying or selling property in Spain
  • Anyone opening a Spanish bank account
  • Anyone taking up employment or self-employment (autónomo)
  • Anyone paying taxes in Spain (income tax, property tax, capital gains)
  • Anyone inheriting assets located in Spain
  • Anyone signing a rental contract as a tenant or landlord
  • Anyone setting up utilities (electricity, water, internet)

How to Get an NIE — Two Routes

Route 1: From inside Spain. Apply at a National Police station with a Cuerpo Nacional de Policía Extranjería office. You need to book a cita previa (appointment) online through the Sede Electrónica. The appointment system can be frustrating — slots fill quickly, especially in popular expat areas like the Costa del Sol, Costa Blanca, and Barcelona. Bring your passport, completed EX-15 form, a reason for needing the NIE (e.g., property purchase contract), and proof of payment of the Tasa 012 fee (currently around €12).

Route 2: From outside Spain. Apply at the Spanish Consulate in your home country. Processing times vary widely — UK consulates currently take 4 to 8 weeks, while US consulates can take up to 12 weeks. You can also appoint a legal representative in Spain (via a notarised power of attorney) to apply on your behalf.

Key Facts About the NIE

  • The NIE number itself never expires — it is yours for life
  • The white certificate (Certificado de NIE) may have a 3-month validity for some purposes
  • EU citizens who become residents swap the NIE certificate for a green Certificado de Registro de Ciudadano UE
  • Non-EU residents receive a TIE card that includes their NIE number
  • You can hold an NIE without being a tax resident — they are separate concepts
  • An NIE is NOT a residence permit — it is purely an identification number
  • The fee for the NIE application (Tasa 012) is approximately €12 in 2026

Common Mistakes with the NIE

The most common mistake is confusing the NIE with a residence permit. Having an NIE does not give you the right to live in Spain — it simply means the Spanish authorities have assigned you an identification number. Another frequent issue is letting the NIE certificate expire before completing a property purchase. While the number remains valid, some notaries insist on a certificate issued within the last three months. Plan ahead and, where possible, appoint a lawyer to handle the application so you avoid appointment bottlenecks.

Related Legal Terms


Need Help with NIE?

Our bilingual legal team assists expats across Spain with every aspect of nie. We handle the paperwork, liaise with Spanish authorities on your behalf, and make sure nothing falls through the cracks.

This entry is part of our Legal Encyclopedia for Expats in Spain. Browse the full A-Z guide for more terms.

Disclaimer: This information is provided for general guidance purposes only and does not constitute personalised tax or legal advice. Each case must be assessed individually according to the client’s specific circumstances. It is essential to consult a qualified specialist before taking any action or making any decision.

Legal Notice: The content on this page is provided for general informational and educational purposes only. It does not constitute legal advice and should not be relied upon as such. No action should be taken based solely on this content without first seeking independent professional legal counsel. Each case requires individual assessment based on its specific circumstances. CostaLuz Lawyers accepts no liability for actions taken or not taken based on this content.

For how this number is actually used for tax purposes — and how it relates to your NIF and Modelo 030 — see our guide to NIE vs NIF vs Modelo 030.

This content has been prepared with the assistance of artificial intelligence and reviewed by María Luisa de Castro, a lawyer specialising in Real Estate Law and founder of CostaLuz Lawyers.

The information provided is general and indicative in nature. It should not be used as the sole basis for making professional, legal or investment decisions, and CostaLuz Lawyers assumes no responsibility for decisions taken solely on the basis of this content.

We always recommend personalised review by a qualified professional. For most of our services, initial personalised guidance is free of charge. Get in touch.