NIE number in Spain: what it is and how to get it
NIE number in Spain: what it is and how to get it
The NIE (Número de Identificación de Extranjero) is your foreigner's identification number in Spain. Without it you can't open a bank account, buy property, register as self-employed (autónomo), pay taxes or get a digital signature. It's the first document any administrative life in Spain starts with. The format is a letter X, Y or Z + 7 digits + a check letter, for example X1234567Y. If you don't have residence, the NIE is issued on an A4 paper certificate; if you do, the number is printed on your TIE residence card.
- What it isa foreigner's numberFormat X/Y/Z + 7 digits + letter. Assigned once, for life.
- Getting a residence permitNIE comes with itAssigned automatically — no separate police visit.
- No residence (buying property, business)EX-15 + cita previaIn person at Policía Nacional or via a consulate.
- Cost≈ €10Tax Modelo 790-012; the certificate itself is free.
- NIE ≠ TIEnumber vs cardNIE is the digits, TIE is the plastic residence card bearing them.
NIE, TIE, NIF, DNI — the difference
Four different things people constantly confuse. Here's each:
| Document | For whom | What it is | Validity |
|---|---|---|---|
| NIE | Foreigners | A unique number (X/Y/Z + 7 digits + letter), e.g. X1234567Y. On an A4 paper certificate | Lifelong — the number never changes |
| TIE | Residents with a permit | A plastic card with the NIE, photo and biometrics. Proves resident status | For the permit's term — renewed on renewal |
| DNI | Spanish citizens | National ID (8 digits + letter), e.g. 12345678Z | 5–10 years |
| NIF | All taxpayers | Tax number. For foreigners it equals the NIE, for citizens the DNI | Indefinite |
Why you need a NIE
The NIE is required for any official action involving money, property or legal status:
- opening a bank account;
- buying or renting property;
- buying and registering a car;
- registering as autónomo and paying taxes;
- registering with Social Security (Seguridad Social);
- getting a digital certificate (Certificado Digital);
- empadronamiento in some municipalities;
- enrolling children in school.
Who can get a NIE
- Foreigners planning a long stay — for work, study or family.
- Tourists buying property or starting a business — even without residence.
- Digital nomads, freelancers, startup founders.
- Residents with a permit — the NIE is assigned automatically, with no separate police visit.
How to get a NIE: three routes
You apply in person at a Policía Nacional station with immigration competence. A key point: the NIE isn't strictly tied to a province — you can book an appointment at any station across Spain, not just where you live.
Booking a cita previa:
- Go to the cita previa portal.
- Select the province → "Policía — Expedición de NIE y certificados".
- Enter your passport details and pick a time.
Documents for the appointment:
- passport (original + copy of all pages);
- form EX-15 — in Spanish;
- proof of the tax payment Modelo 790-012 (≈ €10) — paid at a bank in advance;
- a document justifying the need: a purchase contract, a rental pre-agreement, a residence-application booking, a work contract, etc.
Processing is 5 working days by regulation; in practice often same-day or within 1–3 weeks, up to 45 days at busy offices.
You apply at a Spanish consulate in your country of nationality or residence. Same documents: passport, EX-15, the fee and a justification. Some consulates accept by appointment, some during opening hours — check the specific consulate's site. Timeline: from 2 weeks. If approved, the NIE certificate is emailed as a PDF with a QR code.
Possible if the applicant has already entered Spain (there's an entry stamp in the passport). Handled through a Spanish lawyer under a notarised power of attorney; timeline around 10 days. Handy if you can't book a cita previa yourself.
Digital signature and the NIE
Without a NIE you can't get a Certificado Digital — Spain's electronic signature. And you need it to file residence applications online, submit tax returns to Hacienda, register as autónomo and dozens of other procedures. Step by step: why you need a digital certificate in Spain.
Common problems and how to avoid them
| Problem | Solution |
|---|---|
| No cita previa slots | Try neighbouring provinces — the NIE isn't tied to your address. Check morning and evening |
| Rejected over address transliteration | Write the address on EX-15 in Latin letters, as in your passport — no Cyrillic |
| Rejected — no justification | Attach a concrete document: a pre-agreement, a residence booking, a job offer. "I plan to live here" isn't enough |
| Fee paid incorrectly | Modelo 790-012 is paid at a bank before the visit, not at the station's cashier. Print the receipt |
The NIE is only the first step. Many people then apply for a residence permit — which one suits you is covered in the guide to residence permits in Spain.
Frequently asked questions
Official sources:
• Policía Nacional — NIE assignment
• Portal de Cita Previa Extranjería
• Ley Orgánica 4/2000 — the foundational law on foreigners


