Spain Expat Toolkit
All guides

Get a NIE number

A NIE (Número de Identidad de Extranjero) is your lifelong Spanish tax and ID number for buying property, inheriting, or opening a company without moving to Spain. Apply in person at a National Police station in Spain or at your Spanish consulate abroad.

The worked examples use Madrid. Other provinces differ in small ways.

Start step 1

Who needs it
Non-residents with a concrete transaction in Spain
Official fee
€9.84 in Spain (bank/ATM), or your consulate's local fee
Forms needed
Form EX-15 (2 copies) + Fee form 790-012
DIY vs gestor
€9.84 direct vs €100 to €200 through an agency

White-paper NIE or a residence document?

Your situation Which procedure applies
Buying property or a car, inheriting, or opening a business without moving to Spain
Form EX-15 + €9.84 fee (790-012, or consulate fee)

Follow the 5 steps on this page.

You already had a NIE in the past and need a duplicate or resident/non-resident certificate
Form EX-15 (CERTIFICADO) + €7.31 fee (790-012)

Your NIE never changes; book the certificates procedure in Step 1.

EU, EEA or Swiss citizen moving to Spain for more than 3 months
Green EU certificate (EX-18) + €12.00 fee (includes your NIE)
Non-EU citizen moving to Spain with a long-stay visa or residence permit
TIE residence card (EX-17) + €16.08 fee (NIE already on your visa)
Not sure if EX-15 fits your situation? Answer 5 quick questions
Do you already hold a Spanish visa for more than 90 days?
Are you moving to Spain to live for more than 3 months?
Are you currently in Spain without a valid visa or lawful stay?
Have you ever been assigned a NIE before (and need a duplicate or certificate)?
Will you apply outside Spain at a Spanish consulate?
Step 1 of 5: Book your appointment Next

How to get a NIE number (5 steps)

  1. Book your appointment · 10 minutes

    Book an Asignación de NIE slot on the national Cita Previa portal in Spain, or book directly with the Spanish consulate covering your address abroad.

  2. Pay the €9.84 police fee (Modelo 790-012) · 15 minutes + bank or ATM payment

    Generate Modelo 790 código 012 online using your passport number (€9.84 for a new NIE) and pay it at any Spanish bank or barcode-scanning ATM before your appointment.

  3. Fill in Form EX-15 · 15 minutes

    Complete the two-page EX-15 application in uppercase, tick Estancia, state your concrete reason (such as Compra de vivienda), and print two copies.

  4. Pack your document folder · 15 minutes

    Gather your original passport, photocopies, two EX-15 copies, paid 790-012, written proof of your reason (sworn-translated if non-Spanish), and booking confirmation.

  5. Attend your appointment and collect your NIE · About 1 hour

    Present your folder at the police station or consulate to receive your white A4 NIE certificate (issued on the spot or within 5 days in Spain).

Documents to bring for a NIE

Prepare originals and photocopies in a single folder before attending the police station or consulate:

  • Form EX-15 completed in uppercase in two copies (original and copia), signed in pen (unless your consulate asks you to sign at the counter).
  • Valid passport (original) plus a photocopy of the photo page.
  • Fee form 790 código 012 (€9.84 paid at a bank in Spain, or completed and paid in local currency at your consulate).
  • Written proof of why you need a NIE (property reservation/arras contract, notary letter, inheritance deed, or company draft; non-Spanish documents need a sworn Spanish translation).
  • Printed appointment confirmation (Justificante de la cita).

What unlocking adds to each step

Free overview (above)

Step 1 of 5: Book your appointment

Step title, plain-English summary, and direct official links.

Unlocked step-by-step guide

Step 1 of 5: Book your appointment

Cita previa · Extranjería (all Spain provinces) explained box by box (4 numbered boxes: what to fill in, tick, leave blank or avoid), plus portal screenshots and checklists.

Arrival Pack or Relocation Pass

Unlock the step-by-step guide

Above are the steps and official links. Unlocking gives you every step in detail with portal screenshots, short videos and box-by-box form help:

  • Every step in detail, with official links, portal screenshots and short videos
  • Fee form 790-012 box by box, and how to pay it
  • Your official form, filled in from plain questions
  • AI document checks (fair use) before you go
  • Your ticked progress saved in this browser as you go

See prices

The blank official forms are free from the Spanish government. Visa route overviews, guide overviews, Which visa fits me?, My plan, and the calculators stay free.

Relocation Pass

Unlock the Relocation Pass

The blank official forms are free from the Spanish government. The Pass pays for step-by-step form filling, full guides, AI document checks (fair use), and the Letter Explainer. Visa and guide overviews, Which visa fits me?, My plan, and the calculators stay free.

  • Everything in the Arrival Pack
  • Digital Nomad Visa (MI-T & MI-F), Non-Lucrative (EX-01), EU family (EX-19) and Spanish family (EX-24 + Anexo I) application forms, filled in and ready to sign
  • Beckham regime (Modelo 149 opt-in and opt-out), first Spanish tax return (Renta), Modelo 720, Social Security number and public health card guides
  • AI document checks (fair use) across all supported routes and procedures, plus the Letter Explainer (Hacienda, Extranjería, Social Security)
  • Every full step-by-step walkthrough and guide (checked against official sites on 14 November 2026)
Arrival Pack €49 one-off · 6 months 6 months of access for your arrival paperwork in Spain: step-by-step guides for padrón, NIE, EU registration certificate, TIE, and digital certificate or Cl@ve, plus EX-15, EX-17, EX-18 and padrón form fillers and AI document checks for those steps.
Relocation Pass €99 one-off · 12 months 12 months of access. Unlocks the full step-by-step walkthroughs and guides, filled-in PDF forms (EX-15, EX-17, EX-18, EX-19, EX-24, EX-01, padrón, Digital Nomad Visa application MI-T & MI-F), AI document checks (fair use) and the Letter Explainer. Visa route overviews, My plan and the calculators stay free.

Immediate digital access · One-off payment by Stripe · No auto-renewal · 7-day unused refund policy. Terms & refunds

Form box colour key

Blue: fill in · Green: tick or choose · Grey: leave blank · Red: not this one.

Key Spanish terms
NIE (Número de Identidad de Extranjero)
Your lifelong Spanish tax and ID number (letter + 7 digits + letter). A white-paper NIE gives a number only, not a right to reside.
EX-15
The two-page official form used for a non-resident NIE assignment or certificate.
Estancia vs. Residencia
Short stay or non-resident (Estancia) vs. living in Spain long-term (Residencia). Non-resident EX-15 applicants tick Estancia.
Asignación de NIE vs. Certificado
Requesting a first NIE number (€9.84) vs. requesting a fresh certificate confirming an existing NIE (€7.31).
Por intereses económicos / profesionales / sociales
The three valid grounds for a non-resident NIE; attach written proof matching the box you tick.
Dirección Electrónica Habilitada única (DEHú)
Spain's official electronic notification mailbox, accessible only with a digital certificate or Cl@ve.

Where this fits in your journey

Your white paper NIE gives you a foreigner ID number, with no card support number (número de soporte). Get a digital certificate next so you can sign in online and activate Cl@ve.

  1. Get a NIE number (you are here)
  2. Get your digital certificate & Cl@ve
  3. Register on the padrón

Common problems and how to fix them

No Cita Previa appointments are available in Spain before my signing date

Apply at the Spanish consulate covering your home address abroad (completing Form 790 código 12 and paying the consulate's local fee on the day). If you want a representative with power of attorney to file in Spain (representante a efectos de presentación on EX-15), confirm beforehand that the local office accepts representative filings.

No answer 5 days after filing in Spain

By law the police decide within 5 days of registration, after which silence counts as a refusal (silencio negativo). Ask the station for a stamped copy of your filing; you have 1 month for an administrative appeal (recurso de reposición) or 2 months for court review.

The police counter says I already have a NIE in their system

Your NIE is permanent for life. Book the certificates procedure (such as POLICIA-CERTIFICADOS in Madrid or POLICIA-CERTIFICADOS Y ASIGNACION NIE in Málaga/Valencia), pay €7.31 on 790-012 (Certificados o informes emitidos a instancia del interesado), and tick CERTIFICADO: De residente / De no residente in EX-15 section 4.1.

I cannot register for Cl@ve with my white-paper NIE

A white-paper NIE has no card support number (número de soporte), which online Cl@ve registration asks for. Spain's Royal Mint (FNMT) officially accepts your original passport (or EU national ID) plus your white NIE grant sheet (Documento oficial de concesión del NIF/NIE) for in-person digital certificate accreditation, and that certificate then lets you activate Advanced Cl@ve online.

Stuck, or does your case look different from the standard steps? That's the point to speak with a licensed specialist. Everything up to there you can handle yourself.

Official sources

Your progress and answers are saved on this device only.

Pass member feedback

Report an improvement

Help us keep every step accurate and easy to follow. Your current page and step are attached automatically.

What is this about?

This goes straight to our editorial inbox to improve the toolkit. We can't give personal legal or tax advice.