Foreigner ID Number Application
/ What is this form?
The NIE (Número de Identificación de Extranjero) is the official identification number assigned to foreign nationals in Spain. It is an alphanumeric code (format: X-1234567-A) that uniquely identifies you in all interactions with Spanish public administrations, tax authorities, and legal entities.
The NIE is required for virtually any significant legal or economic activity in Spain: signing an employment contract, opening a Spanish bank account, purchasing property, registering a vehicle, filing tax returns, or enrolling at a university. Without it, you cannot legally work or engage in financial transactions in Spain.
The NIE itself is just a number — you receive a certificate (certificado de NIE) which is not a photo ID. For actual identification purposes, you still use your passport or national ID card. EU citizens who plan to stay more than 3 months must also register in the Registro Central de Extranjeros and receive a certificate of EU-citizen registration.
/ Who needs this form?
/ What you need before you start
/ Step-by-step guide
/ Key fields explained
| Field | What to enter | Common mistake |
|---|---|---|
| Nombre y apellidos (Full name) | Your full legal name exactly as it appears in your passport, in the format: First name / First surname / Second surname. | Using the wrong order — Spanish format lists apellidos (surnames) separately. Enter exactly as in your passport. |
| Motivo de la solicitud (Reason for application) | The specific reason you need the NIE: trabajo (work), compraventa (property purchase), estudios (study), etc. | Choosing a vague reason — be as specific as possible and match it to your supporting document. |
| Número de pasaporte (Passport number) | The number from the data page of your passport. | Using the machine-readable zone (MRZ) number instead of the passport number in the field. |
| Domicilio en España (Address in Spain) | Your current or intended address in Spain — a hotel, rental, or confirmed address. | Leaving this blank or using a foreign address — you must have a Spanish contact address. |
| Tasa 790-012 (Tax fee) | The concept code is 012. Pay at any Spanish bank before your appointment and bring the stamped receipt. | Going to the appointment without the stamped receipt — the police cannot process the application without it. |
/ Common mistakes to avoid
/ Frequently asked questions
If your documentation is complete, the NIE certificate is usually issued the same day as your appointment at the police station, within a few hours. Some offices take a few days.
No. The NIE is just an identification number. A residence permit (autorización de residencia) is a separate document that grants the right to live in Spain. Many people have an NIE but not a residence permit (e.g. property owners who are not residents).
The NIE number itself is permanent and never changes. However, the certificate issued may state a validity period — you can always request a new certificate with the same number.
In some cases, you can apply through the Spanish consulate in your home country. However, many consulates have limited NIE appointment availability, and it is often easier to apply once you are in Spain.
The NIE is for foreign nationals. The NIF (Número de Identificación Fiscal) is for Spanish citizens (it is the same as their DNI number). Both serve as the tax identification number — the NIE functions as the NIF for foreigners.