Get a NIE (Número de Identidad de Extranjero) in Spain
The NIE is your permanent foreigner identification number in Spain — a letter, seven digits, and a letter, used in every administrative procedure.
It is a number, not a card. The TIE is the physical residence card issued separately after a residence permit is granted.
Estimated time
Varies — no published Comisaría General de Extranjería y Fronteras service-level commitment found
Cost
Set by Ministerial Order; paid via tasa modelo 790 código 012
What You Need
Tap to check off items as you gather them
Additional Items
- One recent passport-style photograph (consular intake points often request this; specific format varies)
- If you cannot appear in person: a notarised power of attorney (poder notarial), if the intake point accepts representation
- Sworn translations (traductor jurado) for any supporting document not already in Spanish
Step-by-Step
- 1
Choose the right NIE acquisition path
- Consular route: you are outside Spain and need the NIE before arriving (typical for property buyers, investors, or pre-residence freelancers). Apply at the Spanish consulate with jurisdiction over your country of residence.
- In-Spain route: you are already in Spain on a short-stay basis and need a NIE for an economic, professional, or social reason. Apply at an Oficina de Extranjería or Comisaría de Policía Nacional.
- Automatic-assignment route (de oficio): you are starting a residence, work, study, family-reunification, or asylum procedure. Do not file a separate NIE application — the Dirección General de la Policía will assign the number as part of that procedure.
💡 Tip: If you also need the physical residence card after your residence permit is granted, see the Spain Tarjeta de Identidad de Extranjero (TIE) guide. Slug: tarjeta-identidad-extranjero.
- 2
Book your appointment (cita previa)
Cita previa
- Consular route: book through the Spanish consulate's own appointment system. Each Oficina Consular runs its own booking page and publishes its own document checklist.
- In-Spain route: book through icp.administracionelectronica.gob.es — the Cita Previa Cuerpo Nacional de Policía portal. Select your province and the NIE-related procedure (Asignación de NIE).
- 3
Prepare your application file
- Download the EX-15 form from the Sede Electrónica del Cuerpo Nacional de Policía and complete it in Spanish.
- Generate the modelo 790 código 012 fee form on the same Sede Electrónica.
- Pay the tasa at any collaborating bank or by online banking; keep the stamped receipt.
- Gather the supporting evidence for the reason you stated on the EX-15 — contract, escritura, employer letter, or equivalent.
- Translate any non-Spanish supporting document through a traductor jurado, and apostille or legalise it where the consulate or Comisaría requires.
💡 Tip: The wrong modelo 790 código is the single most common cause of fee-credit failures. Double-check that you generated código 012 and not a similar-looking code such as 062.
- 4
Submit your application in person
- Consular route: present the file at the Spanish Oficina Consular. The consulate forwards the application to the Comisaría General de Extranjería y Fronteras in Madrid.
- In-Spain route: present the file at the Oficina de Extranjería or Comisaría de Policía where you booked the appointment.
- Bring originals of the passport, EX-15, fee receipt, and the supporting evidence. Carry photocopies of every passport page.
💬 Say:
Vengo a solicitar la asignación de NIE.
"I am here to apply for assignment of a NIE."
📋 Use when: On arrival at the consular or Comisaría intake counter
- 5
Collect the NIE assignment certificate
- Consular route: the consulate notifies you when the certificate arrives back from the Comisaría General de Extranjería y Fronteras. You collect it at the consulate.
- In-Spain route: the Comisaría or Oficina de Extranjería typically issues the certificate the same day or after a short notice; the intake desk tells you when to return.
- If you applied at a Spanish consulate abroad, expect to receive your NIE as a single A4 paper sheet — no card, no plastic, no photo. The page lists your NIE number (a letter X, Y, or Z, then seven digits, then a final letter), your name, and your nationality. Spanish banks and notaries routinely photocopy this sheet and may ask for an updated copy if it is more than three months old, even though the NIE itself never expires.
💡 Tip: Photograph and scan the certificate the moment you receive it. It is a single A4 sheet, easy to lose, and you will reach for it again every time you sign a Spanish lease, open an account, or register with the Hacienda.
What Could Go Wrong
Confirm you are eligible: Applying as an economic-interests case while present in Spain irregularly
Recovery: The Policía Nacional explicitly excludes applicants in irregular situation from the economic-interests path. Resolve immigration status first, or apply from outside Spain through a consulate.
Justify your reasons: Reasons stated on the EX-15 are vague or unsupported
Recovery: Bring concrete documentation that matches the reason — a signed contract, escritura, employer letter, or business registration. Generic statements like 'plan to invest' without paperwork are routinely rejected.
Pay the fee: Wrong modelo 790 código used (012 vs 062 are not interchangeable)
Recovery: The fee will not credit. Request a refund at the Unidad de Documentación where the application was filed, regenerate the form with código 012, and pay again.
Receive the certificate: Spanish bank or notary refuses the certificate as too old
Recovery: Even though the NIE itself does not expire, banks and notaries routinely require a copy not more than three months old. Request a fresh copy at any Comisaría or Oficina de Extranjería before opening a Spanish bank account, signing a property deed, or starting a new job.
Costs
| Fee | Amount | Payment | Notes |
|---|
After This Process
- → Open a Spanish bank account — most banks ask for a NIE certificate not older than three months.
- → Register on the padrón at your town's Ayuntamiento once you have a Spanish address (see the padrón empadronamiento guide).
- → If your stay will exceed six months under a residence authorisation, apply for the TIE physical card after the permit is granted (see the tarjeta-identidad-extranjero guide).
Sources
- Policía Nacional — Ciudadanos extranjeros (NIE) (policia.es ↗)
- Policía Nacional — Extranjería (portada) (policia.es ↗)
- Policía Nacional — Ciudadanos comunitarios (policia.es ↗)
- Cita Previa Cuerpo Nacional de Policía (icp.administracionelectronica.gob.es ↗)
- BOE — Real Decreto 1155/2024 (current Reglamento of LO 4/2000) (boe.es ↗)
Was this helpful?
More in Spain
- Get Your Spanish TIE (Tarjeta de Identidad de Extranjero) After Residence Authorization
- Canje de Permiso de Conducir Extranjero (DGT) — Foreign Driving Licence Exchange in Spain
- Open a Spanish Resident Bank Account at Santander, CaixaBank, or Bankinter
- Register on the Padrón (Empadronamiento) at Your Spanish Ayuntamiento
6 sources cited last accessed 2026-05-10
T1 official portal · T2 embassy/consulate · T3 news · T4 community — higher tier wins on conflict. methodology →
- T1Cuerpo Nacional de Policía (Ministerio del Interior) 2026-05-10
The NIE is the personal identifier of the foreigner, único y exclusivo, de carácter secuencial, and must appear on every document issued or processed for that person, except visas. Three eligibility categories: foreigners who initiate a non-visa authorisation procedure to remain in Spain; foreigners against whom an administrative file has been opened under immigration regulations; and foreigners who relate to Spain por sus intereses económicos, profesionales o sociales, who must request the number themselves and must not be in Spain in irregular situation. Where the foreigner is outside Spanish territory at the time of the request, application is made to the Comisaría General de Extranjería y Fronteras through the Spanish Oficinas Consulares.
policia.es - T1Cuerpo Nacional de Policía (Ministerio del Interior) 2026-05-10
The Policía Nacional FAQ confirms the fee is paid through tasa modelo 790 código 012 (Reconocimientos, autorizaciones y concursos), authorised by articles 44 to 49 of Ley Orgánica 4/2000 and set by Ministerial Order. There is no familia numerosa exemption from this fee. Refunds for fees paid in error are requested at the Unidad de Documentación where the original application was filed. Cita previa for in-Spain procedures is booked through icp.administracionelectronica.gob.es.
policia.es - T1Cuerpo Nacional de Policía (Ministerio del Interior) 2026-05-10
EU, EEA, and Swiss citizens receive their NIE through the Certificado de registro de ciudadano de la Unión procedure under Real Decreto 240/2007. Non-EU family members of EU citizens follow the Tarjeta de residencia de familiar de ciudadano de la Unión route, also under RD 240/2007, with a five-year validity. In both routes, the NIE is assigned as part of the registration; no separate NIE-only application is needed.
policia.es - T1Boletín Oficial del Estado (Agencia Estatal) 2026-05-10
Real Decreto 1155/2024 of 19 November is the current Reglamento of Ley Orgánica 4/2000 and has been in force since 20 May 2025. The previous Real Decreto 557/2011 was repealed with effect from 20 May 2025 by the sole repealing provision of RD 1155/2024.
boe.es - T1Boletín Oficial del Estado (Agencia Estatal) 2026-05-10
The BOE consolidated record of Real Decreto 557/2011 carries the derogation notice confirming that RD 557/2011 was derogada, con efectos de 20 de mayo de 2025, por la disposición derogatoria única del Real Decreto 1155/2024.
boe.es - T1Cuerpo Nacional de Policía — Cita Previa Extranjería 2026-05-10
Cita Previa Cuerpo Nacional de Policía is the official appointment portal for in-Spain immigration procedures, including Asignación de NIE. Province and procedure are selected at the start of the booking flow.
icp.administracionelectronica.gob.es