Chapter II.
What is the NIE?
The NIE — Número de Identidad de Extranjero — is Spain's tax-and-administrative identifier for non-citizens. It's a unique 9-character code (one letter, seven digits, one letter) issued by the Ministerio del Interior and used by every Spanish institution that needs to identify you: the bank, the landlord, the tax authority, the phone company, the notary.
The NIE itself is just a number. It's printed on a slip of paper called the Resolución de asignación de NIE (the NIE assignment letter). When you become a Spanish resident, that number gets attached to a physical card — the TIE — but the underlying identifier is the NIE for life.
Don't confuse it with: the DNI (the ID number Spanish citizens get), the TIE (the physical residency card foreign residents get), or the NIF (the generic name for any tax ID number — for foreigners, your NIF is your NIE). For DNV applicants, NIE is what you need first.
What you can't do without an NIE
- Open a Spanish resident bank account. You can sometimes open a non-resident account without one (Banco Sabadell and BBVA Expat both do this), but you'll be capped at limited products and higher fees.
- Sign a long-term lease. The standard contrato de arrendamiento de vivienda requires both parties to have a Spanish ID. Most landlords will not sign without an NIE on the tenant side.
- Get a Spanish phone plan. All major operators (Movistar, Vodafone, Orange, Yoigo) require an NIE to activate a postpaid SIM. Prepaid SIMs are easier but still NIE-keyed at most carriers under 2024 KYC rules.
- Sign utility contracts. Electricity (Iberdrola, Endesa), gas (Naturgy), water (regional), internet (every ISP). Each wants your NIE on the contract.
- Buy property. The escritura de compraventa notarial deed requires both parties' NIE on the document.
- Pay Spanish taxes. Every tax form — Modelo 100 (income), Modelo 720 (foreign assets), Modelo 130 (autónomo quarterly) — keys off your NIE/NIF.
- Get a Spanish driving licence. The DGT will not process a foreign-licence exchange without your NIE.
Three ways to get an NIE
Spain provides three legal paths. Pick whichever matches where you are right now and how soon you need the number.
Route A — At a Spanish consulate (recommended for DNV applicants)
If you haven't moved to Spain yet, this is the easiest path. You can request an NIE at the same time as your visa appointment, or independently. Most consulates issue the NIE in 1–4 weeks. Some (Madrid does this in Washington DC) can issue same-day.
- What you'll need: Form EX-15, Modelo 790-012 receipt (~EUR 10), passport + 1 photocopy, a written reason ("interés económico" — you intend to do business in Spain — works for DNV applicants).
- Cost: Modelo 790-012 fee (~EUR 10) plus consular processing if any.
- Timeline: 1–4 weeks. Some consulates issue on the spot.
Route B — In Spain, in person at the Oficina de Extranjería or police station
If you're already in Spain on a Schengen tourist stamp, you can apply directly. Book a cita previa for "Asignación de NIE" at the local Oficina de Extranjería or designated National Police station.
- What you'll need: Form EX-15, Modelo 790-012 receipt (~EUR 10), passport + 1 photocopy, a stated reason, address in Spain.
- Cost: Modelo 790-012 fee (~EUR 10).
- Timeline: Same-day issue at the appointment, in some offices. 1–2 weeks elsewhere.
Route C — Through a fiscal representative or lawyer
If you can't travel to Spain or to a consulate, a Spanish lawyer or gestor can apply on your behalf with a notarised power of attorney. This is the standard path for non-resident property buyers and for people setting up Spanish companies before they relocate.
- What you'll need: Notarised power of attorney (apostilled if signed outside Spain), copy of your passport, a stated reason. Your representative handles the rest.
- Cost: EUR 150–400 in representative fees, plus the EUR 10 government fee.
- Timeline: 2–4 weeks.
Filling out form EX-15
Form EX-15 is a one-page Spanish-language form. The fields you'll fill in:
- Datos personales — your full name, nationality, date of birth, passport number, mother's and father's first names. Match your passport exactly.
- Domicilio — address. For consular applications, your home-country address. For in-Spain, your Spanish address (Airbnb addresses are fine if you don't have a long-term lease yet).
- Datos del representante — leave blank if applying yourself.
- Tipo de documento — tick "Asignación de NIE."
- Motivos — the reason. "Por motivos económicos / profesionales — solicitar el visado de teletrabajo internacional" is a clean DNV-aligned reason.
Black ink, block capitals, no abbreviations. Sign at the bottom.
Modelo 790-012 — paying the government fee
The fee is paid by filling out Modelo 790-012 (Tasa 012 — the "Reconocimientos, autorizaciones y concursos" fee schedule), printing it, paying at any Spanish bank or via the Agencia Tributaria online portal, and bringing the stamped receipt back with your application.
The current fee for an NIE assignment (Tasa 012, item "Asignación de NIE a instancia del interesado") is around EUR 10. Spanish bank tellers and the AEAT online portal both accept payment.
Booking a cita previa
For Route B (in-Spain) you need to book a cita previa — appointment slot — through the official portal: icp.administracionelectronica.gob.es.
Pick your province, then "Asignación de NIE" as the procedure. Slots in Madrid and Barcelona can be sparse — many applicants refresh in the early morning to grab freed-up appointments. Smaller cities (Málaga, Valencia, Bilbao, Granada) are typically much more available.
Collecting the NIE
Most offices issue the NIE assignment letter at the appointment itself. A few will tell you to come back in 1–2 weeks. The letter is a single A4 sheet with your name and the assigned NIE number. Make 5 photocopies — banks will keep one, your landlord will keep one, the SIM-card store will keep one.
Important: The NIE assignment letter has no expiration. Some banks will tell you it does ("only valid for 3 months"). They are wrong. The NIE itself is for life. What can expire is the printed letter, in the sense that some banks insist on a recently dated certificate to prove residency status — but the underlying number is permanent.
Common pitfalls
- Wrong reason field. "Tourism" is rejected on EX-15 — Spain wants an economic, business, or family reason. "Solicitar visado" or "intereses económicos" both work.
- Bank rejection of the letter. Some Spanish bank branches refuse the paper NIE letter and demand a TIE card. The letter is legally sufficient — escalate to a manager or try a different branch (BBVA and Santander main branches in Madrid and Barcelona almost always accept the letter).
- Confusing NIE and NIF. NIF is a category, NIE is a specific type. For foreigners, the NIE is the NIF. Don't pay anyone to obtain you a "separate NIF" — that's a scam.
- Forgetting photocopies. Bring 2 copies of the passport (every page, especially the photo page and any Spanish entry stamp).
- Trying to register an address with no proof. If asked, an Airbnb confirmation, hostel receipt, or a friend's empadronamiento with their authorisation works. Some offices won't ask at all.
What to do next
The NIE is one piece of the larger DNV process. Three useful next steps:
- Open the DNV checklist. The NIE step is one of 34 — see the others.
- Read the visa guide. Understand how the NIE fits with the TIE, the Beckham Law, and the 5-year residency clock.
- Pick a city. Browse the 20 city guides. The NIE is country-wide; the lifestyle is not.