If you are buying property in Spain — or planning to — one of the first things you will need is a NIE number. Without it, you cannot sign contracts, open a bank account, pay taxes or complete the purchase at the notary. Yet many international buyers don't find out about the NIE until they are already deep into the buying process, causing delays and frustration.
This guide explains exactly what the NIE is, why you need it, and how to obtain it — whether you are in Spain or not.
What Is a NIE Number?
The NIE (Número de Identificación de Extranjero) is a personal tax identification number issued by the Spanish government to foreign nationals. The format is a letter, followed by seven digits, followed by another letter — for example: X-1234567-Z.
It is the equivalent of a national ID number for foreign individuals, and it is required for virtually every official act in Spain that has a financial or legal dimension.
Why Do You Need a NIE to Buy Property in Spain?
The NIE is mandatory for:
- Signing any official contract in Spain, including property purchase agreements
- Opening a Spanish bank account (required for the purchase)
- Paying taxes — ITP, VAT, stamp duty, annual non-resident income tax
- Signing the public deed of sale at the notary
- Registering the property in your name at the Land Registry
- Setting up direct debits for utilities and community fees
Without a NIE, your purchase cannot legally complete. This is not negotiable.
Need a NIE number for a property purchase on the Costa del Sol? We handle the full application process — including by power of attorney if you are not in Spain.
Contact Us About Your NIEHow to Get a NIE in Spain: Three Routes
Route 1 — Apply in Person in Spain
You can apply for a NIE in person at a Foreigner's Office (Oficina de Extranjería) or a designated police station (Comisaría de Policía Nacional) in Spain. On the Costa del Sol, the main offices are in Málaga and Marbella.
What you need:
- Completed form EX-15 (available from the police website)
- Original passport + photocopy of all pages
- Proof of the reason you need the NIE (e.g. a property purchase contract, a letter from your lawyer)
- Payment of the fee (currently around €12, payable at a Spanish bank before the appointment)
- Two passport-sized photographs (some offices require these)
You must book an appointment in advance online (cita previa). Appointments at popular offices can be scarce, especially in summer. Your lawyer can advise on the best office and earliest available slots.
Route 2 — Apply at a Spanish Consulate in Your Home Country
If you are not yet in Spain, you can apply for a NIE at the Spanish consulate in your home country. Requirements are similar to the in-Spain application, but processing times and appointment availability vary significantly by consulate.
This route is often slower and more bureaucratic than applying in Spain, but it is useful if you want to have your NIE before you travel.
Route 3 — Apply by Power of Attorney (Recommended)
The most efficient route for international buyers is to grant a power of attorney (poder notarial) to their Spanish lawyer, who then applies for the NIE on their behalf. This means you do not need to attend a police station at all — your lawyer handles everything.
We use this route routinely for our clients who are based abroad or who prefer not to deal with Spanish bureaucracy directly.
How Long Does It Take?
Processing times vary:
- In person in Spain (with appointment): typically issued on the same day or within a few days
- Via consulate abroad: 2–8 weeks depending on the consulate
- Via power of attorney through a lawyer: typically 1–3 weeks
Bear in mind that without a NIE you cannot open a Spanish bank account, and without a bank account you cannot transfer the funds for your purchase. Always start the NIE process early — before you make an offer if possible.
Does a NIE Number Expire?
The NIE itself does not expire — it is your permanent identification number in Spain for life. However, the physical certificate issued when you apply does have a validity period (usually 3 months). If your purchase takes longer than expected, you may need to renew the certificate, but the number remains the same.
NIE vs NIF vs DNI: What Is the Difference?
- NIE — Número de Identificación de Extranjero: tax ID for foreign nationals in Spain
- NIF — Número de Identificación Fiscal: the tax number used on invoices and tax returns. For foreigners, the NIE serves as the NIF.
- DNI — Documento Nacional de Identidad: the national ID number for Spanish citizens. Not applicable to foreign nationals.
Common Mistakes When Getting a NIE
- Leaving it too late and delaying the entire purchase
- Going to the wrong office or booking the wrong type of appointment
- Providing incomplete documentation and being turned away
- Not having a valid justification document (proof of why you need the NIE)
We handle NIE applications as a standard part of our property purchase service, ensuring the process is done correctly and quickly, with no unnecessary delays to your purchase.
About to buy property on the Costa del Sol? We handle your NIE application, bank account, contracts, taxes and the full legal process in English. First consultation is free.
Get a Free Consultation 💬 WhatsApp Jacob