Fast Answer:The NIE (Número de Identidad de Extranjero) is a unique tax identification number assigned to all foreigners in Spain. You need it to buy property, open a bank account, pay taxes, sign contracts or start a business. It is not a residence permit.
You can apply at a police station in Spain (Cita Previa appointment) or at the Spanish consulate in your home country. Processing takes 1–3 weeks in Spain. Our immigration lawyers can obtain your NIE on your behalf with a power of attorney.
What Is a NIE in Spain?
NIE stands for Número de Identidad de Extranjero (Foreigner Identity Number). It is an administrative identification number that Spain assigns to every foreign national who interacts with Spanish authorities for legal, tax or financial purposes.
The NIE serves the same function as the Spanish DNI (Documento Nacional de Identidad) for Spanish citizens — it allows the tax office, banks, notaries, the Land Registry and other institutions to identify you in their systems. The format is a letter (X, Y or Z), followed by 7 digits and a check letter (e.g., X-1234567-A).
Important distinction: A NIE is purely an identification number. It does not grant any right to reside or work in Spain. EU citizens who register for residency receive their NIE as part of the Certificado de Registro. Non-EU nationals receive it when their residence permit (TIE card) is issued, but many need a NIE before that stage — for example, to complete a property purchase.
“CostaLuz Lawyers made the whole process stress-free. Professional, responsive, and truly expert in Spanish law for foreigners.”
— Verified Google Review
Read more reviews →Who Needs a NIE in Spain?
You need a NIE for virtually any official transaction in Spain:
- Buying or selling property — required at the notary for the deed (escritura)
- Opening a bank account — all Spanish banks require a NIE for non-residents
- Signing a rental contract — landlords and agencies require it
- Paying taxes — income tax, property tax (IBI), capital gains tax, non-resident tax
- Registering a vehicle — at the DGT (Dirección General de Tráfico)
- Starting a business — company incorporation, autónomo registration
- Connecting utilities — electricity, water, internet contracts
- Inheritance matters — accepting an inheritance in Spain requires a NIE
- Getting married in Spain — the Civil Registry requires it
Even if you do not live in Spain, you need a NIE if you own property, have tax obligations or conduct any official business here.
How to Apply for a NIE in Spain (In-Country)
If you are already in Spain, the process is as follows:
Step 1: Book a Cita Previa Appointment
You must book an appointment (cita previa) through the Spanish government’s online system at sede.administracionespublicas.gob.es. Select your province, then choose the procedure “Policía — Certificados UE” (for EU citizens) or “Policía — Expedición de Número de Identidad de Extranjero (NIE)” for non-EU nationals.
Availability warning: Appointments in popular areas (Malaga, Marbella, Barcelona, Madrid) can be booked weeks in advance. Check daily as slots are released in batches. Some provinces still accept walk-ins, but this is increasingly rare in 2026.
Step 2: Prepare Your Documents
- Completed EX-15 form (Solicitud de Número de Identidad de Extranjero) — available online from the Ministerio de Inclusión
- Original passport + photocopy of the photo page
- Justification of why you need the NIE (property purchase contract, job offer, bank letter, etc.)
- Proof of payment of Tasa 012 — approximately €12 in 2026, paid at a bank using Modelo 790 Código 012
- Passport-sized photo (some offices require it, others do not)
Step 3: Attend the Appointment
Bring all originals and copies. The officer will review your documents, stamp your application and issue a NIE certificate (certificado de asignación de NIE). In most cases, you receive the number on the same day or within 1–3 working days. The certificate is a simple white paper document — there is no plastic card for a standalone NIE.
How to Apply for a NIE from Abroad (At the Consulate)
If you are not yet in Spain, you can apply at the Spanish consulate in your country of residence. The process varies by consulate but generally requires:
- Completed EX-15 form
- Valid passport + copy
- Justification for the NIE (property purchase commitment, etc.)
- Consular fee (varies, typically €9–€12)
- Some consulates require an appointment; others accept postal applications
Processing time at consulates is typically 2–6 weeks, though some (notably London and New York) can take longer due to demand. Many of our clients prefer to grant us a power of attorney (poder notarial) so we can obtain the NIE in Spain on their behalf — this is especially common for property buyers who want the NIE ready before they travel.
NIE via Power of Attorney (Representante)
Spanish law allows a legal representative to apply for a NIE on your behalf. This requires a specific power of attorney (poder especial) authorising the representative to act in your name for the NIE application. The power of attorney must be:
- Notarised in your home country
- Apostilled (Hague Apostille) if your country is a signatory
- Translated into Spanish by a sworn translator if not originally in Spanish
This is the fastest and most convenient option if you are buying property and need the NIE urgently but cannot travel to Spain or wait for a consulate appointment. Our team handles this regularly for UK, US and international clients.
NIE vs. TIE vs. Residency: Understanding the Difference
| Document | What It Is | Who Gets It | Grants Residency? |
|---|---|---|---|
| NIE | Tax identification number | Any foreigner with a legal need | No |
| Certificado de Registro UE | EU residency registration (includes NIE) | EU/EEA/Swiss citizens | Yes (EU right) |
| TIE Card | Physical ID card with NIE + permit type | Non-EU residents with permits >6 months | Yes |
| Visa | Entry authorisation | Non-EU nationals before arrival | Depends on type |
For a full overview of all residency routes, see our Immigration to Spain Guide.
Common Problems When Getting a NIE
No Appointments Available
This is the single most common complaint. The online cita previa system releases slots unpredictably, and high-demand areas sell out within minutes. Strategies: check the system daily between 8:00–09:00 AM Spanish time, try smaller towns near your location (e.g., Estepona instead of Malaga), or use a legal representative who can attend on your behalf.
Documents Rejected at the Appointment
Officers at different offices interpret “justification” requirements differently. Some accept a simple property search letter; others demand a signed purchase contract. Bring the strongest justification you have. If you are buying property, a reservation contract (contrato de arras) or a notarised letter from your lawyer confirming the transaction is usually sufficient.
NIE Certificate Lost or Expired
The NIE number itself never expires — it is yours for life. However, the paper certificate (certificado) has a validity period of 3 months for certain transactions (notably notarial acts). If your certificate has expired, you can request a duplicate by booking a new appointment. The number remains the same.
Confusion Between NIE and Tax Number (NIF)
Since 2019, the Agencia Tributaria (tax office) requires foreigners to activate their NIE as a NIF (Número de Identificación Fiscal) before it can be used for tax purposes. This is done at the local tax office (Delegación de Hacienda) and requires a separate appointment. If your bank or notary says your NIE is “not active,” this is usually the issue.
Frequently Asked Questions
How long does it take to get a NIE in Spain?
In person in Spain: the number is usually issued the same day or within 1–3 working days after the appointment. The bottleneck is getting the appointment itself, which can take 1–4 weeks depending on location. At a consulate abroad: 2–6 weeks from submission.
Does a NIE expire?
The number itself is permanent. The paper certificate has a 3-month validity for notarial use. You can always request a new certificate with the same number.
Can I get a NIE online?
No. As of 2026, there is no fully online process for obtaining a NIE. You must attend in person (or send a legal representative) at a police station or consulate. The appointment booking is online, but the application itself requires physical presence.
Do I need a NIE to rent a flat in Spain?
Technically, a passport is sufficient to sign a short-term rental. However, most landlords and agencies for long-term rentals (12+ months) require a NIE. You will also need it to register utilities in your name and for the empadronamiento at the town hall.
Can my lawyer get a NIE for me?
Yes. With a notarised, apostilled and translated power of attorney, your lawyer can attend the appointment and obtain the NIE on your behalf. This is standard practice for international property buyers. Contact us to arrange this.
What is the difference between a NIE and a green certificate?
The “green certificate” (certificado verde) is the EU Registration Certificate (Certificado de Registro de Ciudadano de la Unión), which EU citizens receive when they register for residency. It is an A4 paper with a green border that includes your NIE number. It proves both your identity (NIE) and your right to reside in Spain.
I already have a NIE from years ago. Is it still valid?
Yes. Your NIE number is assigned for life and does not change. However, you may need a fresh certificate (certificado de asignación) if the original is older than 3 months and you need it for a notarial act. The number itself remains valid.
Next Steps
If you need a NIE for a property purchase, business registration or any other purpose in Spain, our immigration team can help. We handle the application directly — including via power of attorney for clients who are not yet in Spain.
Read our client reviews on Google — rated 4.9/5 by clients across the UK, US and Europe.
Need Legal Help in Spain?
Talk to our expert team — we’ve helped thousands of expats navigate Spanish law.
Free initial consultation · No obligation · Response within 24 hours
Related Immigration & Residency Guides
- Immigration to Spain — Complete Guide
- Non-Lucrative Visa Spain
- Digital Nomad Visa Spain
- Family Reunification Spain
- Arraigo Social Spain
- Immigration Lawyers in Spain
Need Legal Help in Spain?
Talk to our expert team — we’ve helped thousands of expats navigate Spanish law.
We respond within 24 hours
Free initial consultation · No obligation · Response within 24 hours
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.
After the NIE, the driving licence is usually next: converting a UK licence to a Spanish one.
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.
