Spain Residency Guide

NIE Number Spain: What It Is and How to Get One

Your complete guide to Spain's NIE number (Número de Identidad de Extranjero). Learn what it is, who needs one, how to apply, costs, processing times, and how it differs from the TIE card.

Required for all foreigners
Tax identification number
Format: X-1234567-A
Free to obtain
Permanent — never expires
🆔 What It Is Tax Identification Number
📋 Format X-1234567-A
💰 Cost ~€9.60
⏱️ Processing Immediate (1 day)

What is the NIE Number?

Understanding Spain's foreigner identification system

The NIE (Número de Identidad de Extranjero) is a unique identification number issued by Spain's tax authorities (Agencia Tributaria) to all foreign nationals. It serves as your tax identification number and is one of the most important documents you'll need when living, working, or conducting business in Spain.

Your NIE is not just a number—it's your official identity within Spain's administrative system. It identifies you for tax purposes, bank accounts, property ownership, employment, business registration, and virtually every significant transaction you undertake.

How the NIE Format Works

Every NIE follows a specific format:

  • First character: A letter (X, Y, or Z, depending on your passport/document type)
  • Seven digits: A sequential number assigned to you
  • Final letter: A letter calculated from the number (similar to a check digit)

Example: X-1234567-Z. The first letter and final letter are always uppercase.

Key Facts About Your NIE

  • Your NIE is assigned when you first request it and never changes throughout your entire time in Spain
  • It is permanent—once issued, your number remains yours indefinitely
  • You cannot "lose" your NIE; if you misplace the certificate, you can request a duplicate
  • The NIE is required before you can open a bank account, buy property, or work legally in Spain
  • It costs approximately €9.60 and is obtained from the National Police (Policía Nacional)
ℹ️

Important distinction: Your NIE is NOT the same as your TIE card. The NIE is a tax identification number (just a number: 12345678-Z). The TIE is a physical identity card issued when you're granted residency in Spain. They use the same identification number, but the NIE is the number itself, and the TIE is the card.

Who Needs an NIE?

Different profiles of people requiring NIE numbers in Spain

🏠

Property Buyers

Foreign nationals purchasing real estate in Spain need an NIE to register the property and for tax purposes.

Learn More →
📝

Visa Holders

Anyone with any type of Spanish visa (non-lucrative, digital nomad, student, etc.) needs an NIE.

Learn More →
💼

Workers & Self-Employed

Anyone working in Spain or running a business needs an NIE for employment contracts and tax registration.

Learn More →
🏢

Business Owners

Registering a company or sole proprietorship in Spain requires an NIE as part of the business formation process.

Learn More →
🎓

Students

International students studying in Spain need an NIE to enroll in universities and for banking purposes.

Learn More →
📜

Inheritors & Tax Matters

Inheriting property or assets in Spain requires an NIE to handle inheritance taxes and legal processes.

Learn More →

NIE vs TIE — What's the Difference?

Understanding two critical but different documents

Aspect NIE TIE
What It Is Tax identification number Physical identity card
Format Number only: X-1234567-A Plastic card with photo
Issued By National Police (Policía Nacional) National Police after residency approval
When You Get It On appointment day (immediate) After visa approval & residency granted
Purpose Tax & identification purposes Legal proof of residence in Spain
Required For Bank accounts, property, work, business Proving residency status
Cost ~€9.60 Free (after residency visa)
Validity Permanent, never expires Usually 5-10 years, must be renewed

How to Get Your NIE

Step-by-step process to obtain your NIE number

1
Prepare Documents
2
Complete EX-15 Form
3
Book Cita Previa
4
Attend Appointment
5
Pay Fee
6
Receive NIE

Detailed Steps

Step 1: Gather Required Documents

Before you begin, ensure you have all necessary documents (see section below for full list).

Step 2: Complete the EX-15 Form

Fill out the official form EX-15 (available online on the National Police website or in person at the police station). You can complete it electronically or by hand. This form requests basic personal information, the reason for requesting the NIE, and your Spanish address (or address where you'll be contacted).

Step 3: Book Your Cita Previa (Appointment)

The most time-consuming step. Visit cita previa policia.es to book an appointment at your nearest National Police headquarters (Oficina de Policía Nacional). Waiting times vary significantly by location (2 weeks to 3+ months). Book as soon as possible.

Step 4: Attend Your Appointment

Arrive on time with all original documents and copies. The process typically takes 10-20 minutes. Have your passport ready, as the officer will verify your identity and ask why you need the NIE.

Step 5: Pay the Fee

The administrative fee is approximately €9.60 (can be paid in cash or card). This is the only cost associated with obtaining an NIE.

Step 6: Receive Your NIE Certificate

Upon completion, you'll receive an NIE certificate (Certificado de Asignación del NIE) with your assigned number. This certificate serves as official proof of your NIE and is required for opening bank accounts, buying property, and other administrative processes.

Documents Required

Everything you need to bring to your appointment

Original Documents (must bring):

  • Valid passport (EU citizens can use national ID cards)
  • Completed form EX-15 (if not submitted online)
  • Proof of address in Spain (rental contract, utilities bill, padron registration, or property deed)
  • If representing someone else: power of attorney

Copies to Bring:

  • Passport: 2 photocopies (front and back)
  • Proof of address: 1 photocopy
  • All pages of form EX-15: 1 photocopy

Optional but Helpful:

  • Bank account information (if available)
  • Copy of any Spanish visa or residence permit
  • Print-out of your appointment confirmation (cita previa)
⚠️

Proof of address requirements: You must have a Spanish address to obtain an NIE. If you haven't found accommodation yet, you can use a temporary address (hotel, Airbnb, friend's address). Some people successfully use a friend's address with written consent, though this varies by location.

How Much Does an NIE Cost?

Complete breakdown of all expenses

NIE Fee €0 Free from tax authorities
Admin Fee €9.60 Police procedure only
Form Copies €1-3 If printed at copy shop
Total Cost ~€11 All inclusive

The NIE is one of the cheapest official procedures in Spain. The Spanish tax authorities do not charge for assigning the NIE itself—you only pay for the police's administrative processing. If you need notarized copies or use a gestoría (tax advisor) to help with the process, costs would be higher, but this is optional.

Processing Times

Timeline expectations from application to NIE receipt

Appointment Waiting Time

This is typically the longest part of the process. After booking your cita previa online, you may need to wait:

  • Major cities (Madrid, Barcelona, Valencia): 4-12 weeks
  • Mid-size cities: 2-6 weeks
  • Smaller towns: 1-3 weeks

Waiting times are beyond your control and vary based on police department workload. Booking as early as possible is crucial.

Appointment Duration

  • Your appointment: 10-20 minutes
  • NIE receipt: Immediate (same day)

Total Timeline

Best case: 2-3 weeks (with immediate appointment availability)

Average case: 4-8 weeks (typical waiting time)

Worst case: 3+ months (major cities during peak periods)

⚠️

Book your cita previa immediately: Don't wait to arrive in Spain to book your appointment. You can book online from anywhere in the world before you arrive. This gives you the best chance of getting an appointment close to your arrival date.

Planning to Move to Spain?

Our specialists guide you through the right visa from start to finish — managed entirely online, in English.

Frequently Asked Questions

Answers to common questions about NIE numbers

What is an NIE number in Spain?

An NIE (Número de Identidad de Extranjero) is a unique identification number issued by Spain's tax authorities to foreign nationals. It serves as your tax identification number and is required for most activities in Spain, including opening bank accounts, buying property, and working. The number follows the format X-1234567-A, where X/Y/Z is a letter, followed by 7 digits and a final letter.

How do I get an NIE number in Spain?

To get an NIE number, you must: (1) Complete form EX-15 or fill out the online form, (2) Book a cita previa (appointment) at your local police station or National Police headquarters, (3) Gather required documents (passport, proof of address, completed forms), (4) Attend your appointment with originals and copies, (5) Pay the fee (currently around €9.60), (6) Receive your NIE number and certificate.

How much does an NIE number cost?

An NIE number is free to obtain from the Spanish tax authorities. However, there is a small fee of approximately €9.60 for the police administrative procedure. Form copies and notarization may incur additional costs if required. Overall, obtaining an NIE is one of the cheapest official procedures in Spain.

How long does it take to get an NIE number?

Once you attend your appointment, you typically receive your NIE number immediately on the same day. However, the challenge is booking the appointment itself—waiting times for a cita previa can range from 2 weeks to 3+ months depending on your location and demand. We recommend booking your appointment as early as possible, even before arriving in Spain.

Do I need an NIE number to buy property in Spain?

Yes, an NIE number is absolutely required to purchase property in Spain as a foreign national. You cannot complete the purchase process without one. It's recommended to obtain your NIE before beginning serious property negotiations. Some notaries can help with the process, but you must obtain the number from the police authorities.

What is the difference between NIE and TIE?

The NIE is a tax identification number (just a number, like 12345678-Z), while the TIE is a physical identity card. You receive your NIE upon request from the police. If you're granted residency in Spain, you'll also receive a TIE card, which is a physical document that serves as proof of your legal residence. Both use the same identification number, but the NIE is the number and the TIE is the card.

Can I get an NIE number online?

You cannot apply entirely online, but you can begin the process online. You can fill out form EX-15 electronically and submit it, then book your appointment online through the National Police website (cita previa system). However, you must attend an in-person appointment to complete the process and receive your NIE certificate.

What happens if I lose my NIE number or certificate?

Your NIE number is permanent and stays the same throughout your life in Spain—it never changes. If you lose your NIE certificate, you can request a replacement from the National Police headquarters or your local police office. You don't need a new number; you just get a duplicate certificate of your existing NIE. The process is straightforward and typically completed quickly.