The NIE (Número de Identificación de Extranjero) is the foreigner identification number in Spain. It is the first document you will need for any financial or legal transaction in the country: buying property, opening a bank account, signing contracts, connecting utilities, and paying taxes.
You cannot buy property in Spain without a NIE, so the application belongs at the start of the search rather than after you have chosen from the listings. This guide explains what it is, who needs one, how to get it, and the most common mistakes people make when applying.
What Is the NIE?
The NIE is a unique personal number assigned by the Spanish National Police to every foreigner with economic, professional, or social ties to Spain. It follows the format: letter (X, Y, or Z) + 7 digits + control letter. For example: X1234567A.
Key facts:
The NIE is just a number — not a document, not a visa. It does not grant the right to live or work in Spain. The NIE is assigned once and is valid for life. Your number never changes, even if you leave Spain and return years later. The NIE functions as your tax identification number (NIF) in Spain — the equivalent of a tax ID.
Who Needs a NIE?
A NIE is required for any foreigner who plans to:
- Buy or sell property
- Open a bank account
- Sign an employment contract or start a business
- Connect electricity, water, or internet
- Pay taxes (IBI, Modelo 210)
- Take out insurance
- Buy or register a vehicle
- Receive an inheritance in Spain
- Apply for a residence permit
Even if you do not plan to live in Spain and are buying property as a non-resident, a NIE is mandatory — for a new build bought off-plan as much as for a resale.
NIE vs TIE vs Certificado de Registro
These terms are often confused. Here is the difference:
| Document | What it is | For whom |
|---|---|---|
| NIE | Foreigner identification number | All foreigners (EU and non-EU) |
| TIE (Tarjeta de Identidad de Extranjero) | Physical residence card with your NIE printed on it | Non-EU citizens with a residence permit |
| Certificado de Registro | Green certificate of EU citizen registration | EU citizens living in Spain for more than 3 months |
When buying property as a non-resident, you only need the NIE — a paper certificate with your number.
How Do You Get the NIE? Three Ways
Option 1. In Spain — in person
The fastest option if you are already in the country.
Where to apply: Oficina de Extranjería (foreigners office) or National Police station in the province where you plan to complete your transaction.
Steps:
- Book an appointment (cita previa). Via the official website: sede.administracionespublicas.gob.es. Select the province and the police service for NIE assignment (the exact name of the service varies by province).
- Complete form EX-15. The form must be filled in Spanish. In the reason section (motivos), state: "Compra de inmueble" (property purchase) or another economic reason. Download the form from the police website.
- Pay the fee. Form 790, code 012. The fee is €9.84 (checked November 2026). Fill in the form on sede.policia.gob.es and pay in cash at a Spanish bank — you do not need an account there — or by direct debit from a Spanish bank account (National Police).
- Attend your appointment with the required documents.
- Receive your NIE. By law, a decision is due within 5 business days.
Required documents:
- Completed form EX-15 (original + copy)
- Passport (original + copy of all data pages)
- Paid form 790, code 012 (with proof of payment)
- Document confirming the reason for your request: preliminary purchase contract, letter from estate agency, bank confirmation
- For non-EU citizens: visa or proof of legal entry
Tip: The appointment booking (cita previa) is the main bottleneck. Book it as soon as you start looking at properties.
Option 2. At a Spanish consulate abroad
Suitable if you want to obtain your NIE before travelling to Spain.
Steps:
- Find the Spanish consulate responsible for your place of residence and book an appointment.
- Complete form EX-15.
- Prepare the documents (same as for applying in Spain).
- Pay the consular fee (the consulate sets the amount in local currency and the payment method).
- Submit the documents in person.
Processing time: depends on the consulate — check its website for current information.
Important: The NIE certificate does not expire — the number is yours for life, whether you applied at a consulate or in Spain. The 3-month validity you may read about applies to a different document, the certificado de no residente (non-resident certificate).
Option 3. Through a representative with power of attorney
If you cannot travel to Spain in person, you can delegate the NIE application to a lawyer or other representative.
What you need:
- Notarial power of attorney (poder notarial) issued in your country, apostilled (Hague Convention) and with a sworn translation into Spanish unless it is bilingual. You can also sign it before a Spanish consul.
- Send the power of attorney and a copy of your passport to your representative in Spain.
- The representative submits the application on your behalf.
Cost: The NIE itself costs the €9.84 government fee. The power of attorney, apostille and any translation are paid separately; the amounts depend on your country and the notary.
Tip: This option is especially convenient if you are also having a lawyer handle property due diligence and transaction support — the power of attorney can cover both the NIE application and the notary signing.
How Much Does the NIE Cost?
| Item | Cost |
|---|---|
| Government fee (tasa 790-012) | €9.84 (checked November 2026) |
| Consular fee (if applying abroad) | Varies by country |
| Power of attorney, apostille, translation (if via representative) | Depends on your country and the notary |
In the overall deal the NIE is a rounding error — the real 10–13% of purchase costs are broken down in our buying costs guide.
How Long Does It Take?
| Application method | Processing time |
|---|---|
| In Spain in person | Up to 5 business days (by law) |
| At a consulate | Depends on the consulate |
| Through a representative | Up to 5 business days (by law) |
The main delay is not the processing itself, but booking the appointment. By law (Article 205.4 of Royal Decree 1155/2024), the decision must be made within 5 business days of submission; if none is issued in that time, the application is deemed rejected.
Common Mistakes When Applying
Incorrectly completed form EX-15. Name and surname must match your passport exactly. The form must be in Spanish. Date of birth in DD/MM/YYYY format.
Unpaid fee. Form 790 must be paid before your appointment — in cash at a bank or by direct debit from a Spanish bank account — and brought with proof of payment.
Expired passport. Your passport must be valid. If it expires within the next few months, renew it before applying.
Reason not stated. The application must state why you need a NIE (for example, buying property) — Article 205 of RD 1155/2024 requires it. The required documents are listed by the National Police, and for applications from abroad by the consulate.


