NIE: what it is, how to get it, and why you need it
The NIE (Numero de Identidad de Extranjero — Foreigner Identity Number) is your entry key to the Spanish system. Without it, you do not exist. You cannot buy property, sign a mortgage, open a bank account, or carry out any legal or financial transaction. Spain demands it for everything but does not make it easy to get.
What it is
The NIE is a unique number starting with X, Y, or Z, followed by seven digits and a letter. It functions like the DNI (Documento Nacional de Identidad) for Spanish citizens: it is your tax ID and your legal identifier for any economic transaction.
It is not a residence permit. You can have a NIE without being a resident of Spain. Most foreigners buying property in Spain as non-residents need a NIE precisely without having residency.
Why you need it to buy property
Without a NIE you cannot:
- Sign a property deed (escritura de compraventa) before a notary
- Apply for a mortgage at any Spanish bank
- Open a bank account (required for the mortgage)
- Pay taxes (transfer tax / ITP, property tax / IBI, capital gains / plusvalia)
- Set up utilities (electricity, water, gas)
- Take out insurance linked to the mortgage
Everything else depends on this one piece of paperwork. Without the NIE, the purchase process does not start.
How to get it
There are two routes:
In Spain (in person)
- Book an appointment (cita previa) at the foreigners' office (oficina de extranjeria) or the relevant police station. Appointments are booked online at sede.administracionespublicas.gob.es. In Madrid and Barcelona, slots fill up within minutes.
- Fill in form EX-15 (NIE application form).
- Submit documentation: original passport plus a copy, the EX-15 form, proof of the reason for requesting the NIE (for a property purchase, a letter of intent or a pre-contract is enough), and proof of payment of the fee (modelo 790, code 012 — currently around 12 euros).
- Collect your NIE at the same office, usually within a few days to a couple of weeks.
From abroad (at the Spanish consulate)
- Book an appointment at the Spanish consulate in your country.
- Submit the same documentation as in Spain: passport, EX-15 form, justification, and fee payment.
- Processing times are longer: typically 2 to 6 weeks, depending on the consulate.
You can also grant a power of attorney (poder notarial) to someone in Spain — typically a lawyer (abogado) — to handle the process on your behalf. This is common among buyers who cannot travel.
Common problems
Getting an appointment. In Madrid and Barcelona, extranjeria appointments sell out in minutes. The system was built for a demand it outgrew years ago. There are websites and bots that alert you when slots open, but many buyers find the process frustrating.
Proving economic purpose. To be issued a NIE, you need to justify the reason. Buying property is sufficient, but you need a supporting document — a pre-contract (precontrato), a letter from the seller, or a reservation agreement.
Validity. The NIE number itself does not expire, but the paper certificate may have a limited validity. Some banks and notaries require a certificate issued within the last 3 months. Confirm with your bank before the signing date.
NIE and bank account
To get a mortgage you need a Spanish bank account. To open the account, you need a NIE. Some banks will open an account with proof that the NIE is being processed (justificante de solicitud). Others require the final number. There is no unified standard — each bank decides.
Practical advice: get your NIE at least 2-3 months before you need to sign anything. Rushing this step always ends badly.
For EU citizens
If you are an EU citizen and plan to reside in Spain, instead of a standalone NIE you will need the EU Citizen Registration Certificate (Certificado de Registro de Ciudadano de la UE — the green card), which includes your NIE. The process is slightly different, but the result is the same: a tax identification number that lets you operate in Spain.