Guide Topics (Jump to section)
Last verified: Spain Bureaucracy Guide Official Spanish Government Sources

How to Get a Spain NIE Number as a Foreigner (EX-15 & Modelo 790-012)

A practical, official-source walkthrough of Spain's Foreigner Identity Number (Número de Identidad de Extranjero): when you need Form EX-15, how to pay the €9.84 Modelo 790 (Code 012) fee, what documents to bring, and how to avoid the most common mistakes.

Important Notice (Informational Only): This guide summarizes official Spanish government procedures for general informational purposes only and is not legal, tax, or immigration advice. Consular districts and local Spanish police stations (Comisarías) can enforce localized appointment or document rules. Always confirm current forms and fees on the official Spanish government portals linked below.
Application Form
Form EX-15 (2 copies)
Official Fee (In Spain)
€9.84 via Modelo 790 (Code 012)
Number Validity
Permanent for life (does not grant residency)

1. What Is an NIE — and What It Does NOT Do

The NIE (Número de Identidad de Extranjero) is a personal, unique, and sequential identification number assigned by Spain's Directorate-General of Police to foreign nationals who have economic, professional, or social interests in Spain — such as buying real estate, signing a deed before a notary, opening certain bank accounts, inheriting assets, starting a company, or handling Spanish taxes.

  • An NIE is NOT residency: Holding an EX-15 NIE assignment certificate does not give you the right to live or work in Spain beyond your visa or 90/180-day Schengen stay limit.
  • The number itself is permanent: Once assigned, your NIE number stays with you for life and never changes. However, third parties (like banks or notaries) sometimes ask for a recently issued certificate copy if your white A4 certificate is older than 3 months.
  • Legal presence rule (in Spain): Under Spanish National Police rules, applicants applying inside Spain must not be in an irregular immigration status at the time of application.

Official source: Sede Electrónica de la Policía Nacional — Asignación de NIE and Ministry of Foreign Affairs (Exteriores) Consular Services.

2. NIE (EX-15) vs. EU Green Certificate / CUE (EX-18) vs. TIE

A frequent mistake is booking the wrong procedure. Check which document matches your situation before filling out forms:

Document Who Needs It Official Form Modelo 790-012 Fee Official Source
White NIE Certificate
(Asignación de NIE)
Non-residents (EU or non-EU) needing an ID/tax number for a specific economic, professional, or social transaction (property, bank, inheritance, pre-move). EX-15 €9.84 (in Spain; local currency equivalent at consulates) Policía Nacional 790-012
EU Registration Certificate (CUE)
("Green NIE")
EU, EEA, and Swiss citizens moving to Spain for more than 3 months. Registers your residency AND assigns/displays your NIE number on one card — skip EX-15 if already relocating. EX-18 €12.00 Ministerio de Inclusión (EX-18)
TIE Card
(Tarjeta de Identidad de Extranjero)
Non-EU nationals granted a residence visa or authorization for more than 6 months. Your NIE is normally assigned on your visa/resolution and printed on your biometric TIE card. EX-17 (after visa/residency approval) Varies by residence card type (~€16.08 initial card; verify on 790-012) Ministerio de Inclusión (EX-17)

3. Where to Apply: Inside Spain vs. Spanish Consulate Abroad

Option A: Apply Inside Spain (National Police / Oficina de Extranjería)

  • Best if: You are already visiting Spain legally (e.g., on visa-free Schengen entry or a valid visa) and can secure a Cita Previa appointment.
  • Booking portal: Book under Policía – Asignación de NIE on the official Sede Electrónica Cita Previa portal.
  • Fee payment: Pay €9.84 via Modelo 790-012 at a collaborating Spanish bank (counter or ATM) or online with Cl@ve / Digital Certificate before your appointment.
  • Issuance: Many police stations issue the white A4 NIE certificate on the same day or within a few business days, depending on the province.

Option B: Apply from Abroad (Spanish Embassy or Consulate)

  • Best if: You need an NIE before traveling to Spain (for example, to sign a property reservation or authorize a Spanish lawyer).
  • Jurisdiction rule: You must apply at the Spanish Consulate that covers your legal residential address (proof of residence in that consular district is mandatory). Find your consulate in the Exteriores Consulate Directory.
  • Fee payment: Consulates collect the statutory fee in local currency (e.g., roughly £8.65 in the UK or USD equivalent in the US) using their published local method (cash, money order, card, or bank transfer). Check your exact consulate's NIE page before attending.
  • Issuance: Consulates transmit applications to the Police Directorate in Madrid; the certificate is typically emailed as a digitally signed PDF within roughly 1 to 3 weeks.

Option C: Apply via a Representative (Power of Attorney)

If you cannot attend in person, Spanish regulations permit an authorized representative in Spain to submit EX-15 on your behalf using a notarized Power of Attorney (Poder Notarial — apostilled and sworn-translated into Spanish if executed abroad) explicitly authorizing the NIE application, alongside a certified copy of your passport. Verify exact documentation rules on Exteriores.gob.es.

4. How to Fill Out Form EX-15 Correctly

Download the official fillable PDF from the Ministry of Inclusion's Modelos de Solicitud Generales portal (select Modelo EX-15 — Solicitud de NIE y certificados). Complete it digitally in Spanish, then print two copies (original + copy) and sign both.

  • Section 1 (Datos del extranjero/a): Enter your passport number, full surname(s) and given name(s) exactly as shown on your passport, parents' first names, date/place of birth, and your current address (Spanish or foreign).
  • Section 2 (Datos del representante): Leave blank if applying in person for yourself.
  • Section 3 (Domicilio a efectos de notificaciones): Your contact address and email (tick the box if consenting to electronic notification where available).
  • Section 4 (Datos relativos a la solicitud):
    • Under 4.1 Tipo de documento, tick Número de Identidad de Extranjero (NIE).
    • Under 4.2 Motivos, tick Por intereses económicos, Por intereses profesionales, or Por intereses sociales — and write a concise, specific reason in Spanish (e.g., Compra de vivienda en España, Apertura de cuenta bancaria, or Tramitación de herencia).
    • Under 4.3 Lugar de presentación, select Oficina de Extranjería, Comisaría de Policía, or Oficina Consular.
    • Under 4.4 Situación en España, select Estancia (short stay) if visiting Spain legally, or leave/mark appropriately if applying from abroad per consular instructions.

5. Modelo 790 (Code 012) & Verified Government Costs

The administrative fee (Tasa) for NIE assignment in Spain is paid using Modelo 790, Código 012, generated online directly on the National Police Modelo 790-012 official portal.

Fee Line Item (on Modelo 790-012) Official Amount (Spain) Notes
Asignación de Número de Identidad de Extranjero (NIE) a instancia del interesado €9.84 Standard fee for Form EX-15 NIE assignment.
Certificado de registro de residente comunitario (EU CUE — Form EX-18) €12.00 Only for EU/EEA/Swiss citizens registering >3-month residency.
Consulate application outside Spain Local equivalent of ~€9.84 Converted periodically by each Spanish Consulate (verify on your consulate's page on Exteriores.gob.es).

How to Pay Modelo 790-012 in Spain

  • Fill in your passport number, full name, and address on sede.policia.gob.es/Tasa790_012/, tick Asignación de NIE a instancia del interesado (auto-populates €9.84), choose payment method (En efectivo for cash/ATM or Adeudo en cuenta if paying from a Spanish bank account), and download the 3-page barcoded PDF.
  • Bank counter or ATM: Print all 3 pages and pay at a collaborating Spanish bank (such as Santander, BBVA, CaixaBank, Sabadell). Note that many Spanish bank branches restrict non-customer tax payments to specific morning hours (often 08:30–11:00) or ATMs with barcode readers.
  • Keep proof of payment: Bring the bank-stamped receipt (or electronic NRC receipt if paid online with Cl@ve / Digital Certificate) to your police appointment.

6. Required Documents Checklist

Use this checklist to prepare your folder before your appointment (checkboxes are for your convenience in this browser only — no data is sent anywhere).

7. Step-by-Step Process (Applying Inside Spain)

  1. Step 1

    Verify Your Entry Status & Gather Justification

    Confirm you are legally present in Spain (check short-stay entry rules in our Visa Requirements Checker) and prepare written proof explaining why you need the NIE (economic, professional, or social reason).

  2. Step 2

    Book Your Cita Previa Appointment

    Visit the official Cita Previa Extranjería portal, select your province, and choose Policía – Asignación de NIE. Print or save your booking confirmation.

  3. Step 3

    Complete Form EX-15 & Pay Modelo 790-012 (€9.84)

    Download and print two copies of Form EX-15 from inclusion.gob.es. Generate your barcoded Modelo 790-012 on sede.policia.gob.es/Tasa790_012/ and pay the €9.84 fee at a collaborating Spanish bank or ATM before your appointment.

  4. Step 4

    Attend Your Appointment in Person

    Arrive early at the assigned National Police station or Immigration Office with all originals, photocopies, proof of justification, and your bank-stamped 790-012 receipt. Once processed, you will receive your official white A4 NIE assignment certificate (either immediately or on a pickup date provided by the officer).

8. Official Spanish Government Sources & Portals

9. Frequently Asked Questions

Does my Spanish NIE number expire after 3 months?

No. Your NIE number is permanent and belongs to you for life. Some older or non-resident white EX-15 certificates were administratively referenced as valid for 3 months by banks or agencies requiring fresh proof, in which case you simply request a renewal/certificate copy showing the exact same NIE number.

Can I work or live in Spain long-term with just an EX-15 NIE?

No. An EX-15 NIE is purely an identification and tax number. Non-EU citizens need an appropriate visa/residence authorization (and TIE card), while EU/EEA/Swiss citizens staying longer than 3 months must register for the EU Registration Certificate (CUE via Form EX-18).

I am an EU citizen moving to Spain for more than 3 months. Should I apply for EX-15 first?

Usually no. Applying directly for the EU Registration Certificate (Form EX-18, €12.00 fee) registers your EU residency and automatically assigns and prints your NIE number on your green CUE card in one procedure. Only use EX-15 if you need an NIE beforehand while still living outside Spain.

Do I need a Spanish bank account to pay Modelo 790-012?

Not necessarily. When generating the form on sede.policia.gob.es/Tasa790_012/, you can choose cash payment (En efectivo), print the 3-page barcoded PDF, and pay at a collaborating Spanish bank branch or ATM. Because some banks restrict non-customer counter hours, allow extra time before your appointment.

Disclaimer & FTC Affiliate Disclosure

Not Legal or Tax Advice: BorderBrief provides general informational guides verified against official public sources as of November 25, 2026. Spanish immigration procedures, fees, and local police or consular practices may change without prior notice. Always confirm requirements directly with official Spanish authorities or a licensed Spanish immigration lawyer (abogado de extranjería) before acting.

Affiliate Disclosure (FTC): BorderBrief is independent and unaffiliated with the Government of Spain. All direct links to official Spanish government portals are provided first and free of markup. Sections marked as Partner Link Placeholder are reserved for future clearly disclosed affiliate relationships with optional third-party assistance services; if activated later, we may earn a commission at no extra cost to you.