Spain NIE Number Guide: How to Get Your Foreigner ID in 2025

Updated:
March 21, 2026
Our Editorial Standards:

We use the highest editorial standards at Movingto by ensuring every article is authored by a qualified writer and in some cases, verified and fact-checked by a licensed lawyer. Learn more about our Legal Review Process, Corrections Policy & Editorial Process.

Quick Answer: The NIE (Número de Identidad de Extranjero) is Spain's foreigner identification number required for almost every official transaction—opening bank accounts, signing rental contracts, buying property, paying taxes, and working legally. EU citizens can often get it in 1-2 weeks, while non-EU citizens typically receive it as part of their visa/residence permit process.

What Is the NIE Number?

Quick Answer: The NIE is a unique tax identification number assigned to foreigners in Spain, consisting of a letter, seven digits, and another letter (e.g., X-1234567-A). It's your essential ID for all legal and financial activities in the country.

The NIE (Número de Identidad de Extranjero, or Foreigner Identity Number) is Spain's way of identifying and tracking foreign nationals for tax and administrative purposes. Think of it as your Spanish social security number equivalent.

Key facts about the NIE:

  • Format: Letter + 7 digits + letter (e.g., X-1234567-A, Y-7654321-B, Z-1111111-C)
  • Permanent: Your NIE never changes, even if you leave Spain and return
  • Not proof of residency: The NIE itself doesn't grant residency rights
  • Required for: Banking, property, employment, contracts, taxes, healthcare registration

The three NIE prefixes:

PrefixMeaningIssued To
XIssued before 2008Historical NIEs
YMost common currentStandard applications
ZNewer allocationsWhen Y series fills

Who Needs an NIE in Spain?

Quick Answer: Anyone who wants to do more than tourist activities in Spain needs an NIE—this includes buying property, working (even remotely), opening bank accounts, signing long-term leases, or conducting any official business.

You need an NIE if you're:

  • Buying or selling property in Spain
  • Opening a Spanish bank account
  • Working legally (employed or self-employed)
  • Signing a rental contract longer than a few months
  • Buying a car or motorbike
  • Setting up utilities (electricity, gas, internet) in your name
  • Getting married in Spain
  • Starting a business
  • Receiving inheritance in Spain
  • Filing Spanish taxes
  • Applying for residency

When you DON'T need an NIE:

  • Short tourist visits (under 90 days)
  • Staying in hotels or short-term rentals
  • Basic shopping and dining
  • Traveling through Spain

Many expats are surprised by how often the NIE is required. Even renting an apartment or getting a Spanish phone contract may require one. The good news: once you have it, you have it for life.

NIE vs TIE vs Residency: What's the Difference?

Quick Answer: The NIE is just a number for identification, the TIE is a physical residence card for non-EU citizens, and residency is your legal right to live in Spain. You can have an NIE without residency, but all residents have an NIE.

DocumentWhat It IsWho Gets ItWhat It Proves
NIETax identification numberAny foreigner needing to transactIdentity for tax/legal purposes
NIE CertificatePaper/PDF with your NIE numberEU citizens, short-term NIE holdersYour NIE number (not residency)
TIE (Tarjeta de Identidad de Extranjero)Physical ID cardNon-EU residentsResidency rights + NIE
EU Registration Certificate (Certificado de Registro)Green paper/cardEU citizens registering residencyEU citizen residency + NIE

Important distinctions:

  • EU citizens: Get NIE + EU Registration Certificate (green paper or card)
  • Non-EU citizens: Get NIE + TIE card (physical ID with photo)
  • Non-EU non-residents: Can get just an NIE for specific transactions (property purchase, etc.)

How to Get an NIE: EU Citizens

Quick Answer: EU citizens apply at the Oficina de Extranjeros or police station (Comisaría) in Spain by booking an appointment online, bringing required documents, and paying the €12 fee. Processing typically takes 1-2 weeks.

Step 1: Book an Appointment (Cita Previa)

  • Go to the Spanish government appointment website: sede.administracionespublicas.gob.es
  • Select your province
  • Choose "Policía - Certificados UE" or "Asignación de NIE"
  • Select available date and time
  • Print confirmation

Tip: Appointments can be difficult to find in major cities. Check early morning (appointments release around 8 AM), try different offices, or consider smaller towns nearby.

Step 2: Gather Required Documents

  • Valid passport or national ID card + copies
  • Completed EX-15 form (download from government website)
  • Proof of reason for NIE (employment contract, property purchase contract, etc.)
  • Proof of address in Spain (rental contract, utility bill, hotel reservation)
  • Two passport-size photos
  • Modelo 790 Code 012 form (fee payment form) — pay €12 at bank beforehand

Step 3: Attend Appointment

  • Arrive on time with all documents
  • Submit application
  • Receive NIE certificate immediately or within a few days

Step 4: Register as EU Resident (if staying 90+ days)

If you're staying longer than 90 days, you should also register for the EU Registration Certificate. This is a separate process but often done at the same appointment:

  • Proof of employment OR self-employment OR sufficient funds (€6,000+ in bank) OR student enrollment
  • Spanish health insurance or coverage through employment

How to Get an NIE: Non-EU Citizens

Quick Answer: Non-EU citizens typically get their NIE automatically as part of the visa/residence permit process. If you need an NIE without residency (e.g., for property purchase), apply at a Spanish consulate in your home country or through a legal representative in Spain.

Option 1: Through Your Visa Process (Most Common)

If you're applying for any Spanish visa (Digital Nomad Visa, Non-Lucrative Visa, work visa, etc.), your NIE is assigned automatically when your visa is approved. You'll receive your TIE card with your NIE printed on it.

Option 2: NIE Without Residency (For Specific Transactions)

If you need an NIE for a one-time transaction (property purchase, inheritance) without becoming a resident:

From outside Spain:

  • Apply at the Spanish consulate in your country
  • Required: Passport, reason for NIE request, relevant documentation
  • Processing time: 2-6 weeks

From within Spain (tourist visa):

  • Book cita previa for "Asignación de NIE"
  • Bring passport, EX-15 form, proof of transaction requiring NIE
  • This grants NIE number only, not residency rights

Option 3: Through a Legal Representative

A Spanish lawyer (abogado) can apply for an NIE on your behalf with power of attorney. This is common for property purchases when you can't travel to Spain. Budget €100-300 for legal fees.

Required Documents Checklist

Quick Answer: You'll need your passport, completed EX-15 form, proof of why you need the NIE, proof of address, passport photos, and the paid Modelo 790 fee form (€12).

Complete document checklist:

DocumentDetailsCopies Needed
Passport/National IDValid for at least 6 monthsOriginal + 2 copies
EX-15 FormCompleted in Spanish, signedOriginal
Modelo 790 Code 012Fee payment form, €12 paid at bankOriginal stamped by bank
Passport photosRecent, white background2 photos
Proof of addressRental contract, utility bill, hotel bookingOriginal + copy
Reason for NIEJob contract, property purchase, business registrationOriginal + copy
Cita previa confirmationPrinted appointment confirmationPrinted copy

Additional for EU residents registering:

  • Proof of income: Employment contract, business registration, or bank statement showing €6,000+
  • Health insurance: Policy document or proof of employment-based coverage
  • EX-18 form (for EU registration, in addition to EX-15)

Where to Apply: Oficina de Extranjeros Locations

Quick Answer: Apply at your local Oficina de Extranjeros (Foreigner's Office) or police station (Comisaría) with immigration services. Major cities have dedicated offices; smaller towns use the police station.

Major city offices:

  • Madrid: Multiple offices including Aluche (main), Móstoles, Alcobendas
  • Barcelona: Main office at Rambla Guipúscoa, plus suburban offices
  • Valencia: Avda. del Cid
  • Seville: Plaza de España area
  • Malaga: Paseo de Sancha

Tips for getting appointments:

  • Check early morning (8:00-9:00 AM) when new slots release
  • Try offices in smaller nearby towns—often easier to get appointments
  • Use appointment-checking bots or services (various exist online)
  • Be patient—in popular areas, appointments book up fast

In some regions, you can book at multiple office types:

  • Oficina de Extranjeros: Dedicated immigration offices (faster processing)
  • Comisaría de Policía: Police stations with immigration services
  • Subdelegación del Gobierno: Government delegation offices

How Long Does It Take to Get an NIE?

Quick Answer: With an appointment, EU citizens often receive their NIE certificate same-day or within a week. Non-EU visa applicants get their NIE with their visa approval (2-8 weeks). The main delay is usually getting an appointment, which can take weeks in busy cities.

SituationAppointment WaitProcessing TimeTotal Time
EU citizen (small town)1-2 weeksSame day1-2 weeks
EU citizen (major city)2-6 weeksSame day to 1 week3-7 weeks
Non-EU (via consulate)1-2 weeks2-4 weeks3-6 weeks
Non-EU (with visa application)N/AIncluded in visaVisa timeline
Via legal representative1 week2-3 weeks3-4 weeks

Speeding up the process:

  • Apply in a smaller city/town (less demand)
  • Use a gestor or lawyer to navigate bureaucracy
  • Have all documents perfectly prepared to avoid delays
  • Check for appointment cancellations regularly

NIE Costs and Fees

Quick Answer: The official NIE application fee is €12, payable via Modelo 790 Code 012 at any Spanish bank. If you use a lawyer or gestor, expect additional fees of €100-300.

Cost ItemAmountNotes
Official NIE fee (Modelo 790)€12Mandatory, paid at bank
EU Registration Certificate fee€12If registering as EU resident
TIE card fee (non-EU)€15-20For residence card
Document translations€30-50 per docIf documents not in Spanish
Gestor/legal assistance€100-300Optional but helpful
Power of attorney (notarized)€50-100If applying via representative

How to pay the Modelo 790 fee:

  1. Download Modelo 790 Code 012 from the government website
  2. Fill in your details (name, passport number, reason code)
  3. Take to any Spanish bank (major banks: Santander, BBVA, CaixaBank, Sabadell)
  4. Pay €12 in cash
  5. Bank stamps the form as proof of payment
  6. Bring stamped form to your NIE appointment

Note: Some banks may require you to have an account. Bankinter and smaller banks are often more flexible for non-customers.

Common Problems and Solutions

Quick Answer: The biggest challenges are getting appointments in busy cities, document requirements varying by office, and bureaucratic delays. Preparation and flexibility are key.

Problem 1: Can't Find an Appointment

  • Solution: Check multiple offices, try early morning, use smaller nearby towns, consider a gestor service

Problem 2: Documents Rejected

  • Solution: Bring extra copies, have documents translated by sworn translator, verify specific requirements with the office beforehand

Problem 3: Lost NIE Certificate

  • Solution: Request a replacement at any Oficina de Extranjeros or Comisaría. You may need to pay the fee again.

Problem 4: NIE Expired (Non-Resident NIE)

  • Solution: The NIE number itself never expires—only the certificate paper might. Request a new certificate if needed.

Problem 5: Bureaucratic Delays

  • Solution: Follow up with the office, consider hiring a gestor for complex cases, be patient and persistent

FAQs

Does the NIE expire?

The NIE number itself never expires—it's yours for life. However, the NIE certificate (the paper document) may have an expiration date if issued for a specific purpose. Residence permits (TIE, EU certificate) do expire and need renewal. But your actual NIE number remains the same forever.

Can I open a Spanish bank account without an NIE?

It's difficult but sometimes possible. Some banks (especially online banks like N26, Wise, Revolut) accept passport-only accounts. Traditional Spanish banks typically require an NIE. If you need a Spanish bank account quickly, an NIE is essentially mandatory.

Can I get an NIE from my home country?

Yes, apply at the Spanish consulate in your country. You'll need a valid reason (property purchase, inheritance, etc.) and supporting documentation. Processing takes 2-6 weeks typically. This is common for property buyers who need an NIE before traveling to Spain.

What's the difference between NIE and NIF?

The NIE (Número de Identidad de Extranjero) is for foreigners. The NIF (Número de Identificación Fiscal) is the general tax identification number—for Spanish citizens, their DNI serves as their NIF. For foreigners, your NIE functions as your NIF for tax purposes.

Can my employer get my NIE for me?

An employer can help with the process but typically can't apply directly for your NIE unless they have power of attorney. They can provide the required employment documentation and may work with a gestor on your behalf. With proper authorization, a representative can complete the application.

I already have an NIE from years ago—is it still valid?

Yes! Your NIE number is permanent. Even if the certificate paper is old or lost, the number is still yours. If you need proof of your NIE, request a new certificate at any Oficina de Extranjeros. Your old number will appear in the system.