Quick Answer: A Spain NIE number (Número de Identidad de Extranjero) is the personal foreigner identity number you need for most official transactions, from opening a bank account to buying property, paying taxes and working legally; requesting one costs €9.84 with Modelo 790 código 012 (Policía Nacional 790-012 form, checked 18 October 2026). The police must decide within five days of your request (RD 1155/2024 art. 205.4), and non-EU residents get their NIE automatically as part of the visa or residence permit process.
What Is the NIE Number?
Quick Answer: The NIE is a personal, unique identification number that Spain's National Police assign to foreigners, made up of a letter, seven digits and a check letter (e.g., X-1234567-A). It also works as your tax identification number (NIF) 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. Spanish tax rules use it as your tax identification number (NIF) (RD 1065/2007 art. 20.1). It is assigned automatically when you apply for residence, or on request if you deal with Spain for economic, professional or social reasons (RD 1155/2024 art. 205).
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:
| Prefix | Meaning | Issued To |
|---|---|---|
| X | First series | Older NIEs; numbers stay valid indefinitely |
| Y | Second series | Used once the X numbers ran out (Orden INT/2058/2008) |
| Z | Third series | Used once the Y numbers ran out |
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 (see our Spain property buying costs guide)
- 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.
| Document | What It Is | Who Gets It | What It Proves |
|---|---|---|---|
| NIE | Tax identification number | Any foreigner needing to transact | Identity for tax/legal purposes |
| NIE Certificate | Paper/PDF with your NIE number | EU citizens, short-term NIE holders | Your NIE number (not residency) |
| TIE (Tarjeta de Identidad de Extranjero) | Physical ID card | Non-EU residents | Residency rights + NIE |
| EU Registration Certificate (Certificado de Registro) | Green paper/card | EU citizens registering residency | EU 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 in person at a foreigners' office (Oficina de Extranjeros) or police station (Comisaría) in Spain after booking an appointment online. An NIE on its own costs €9.84. If you are staying more than three months, you register instead for the EU registration certificate (€12.00), which shows your NIE (RD 240/2007 art. 7; Policía Nacional 790-012 form, checked 18 October 2026).
Step 1: Book an Appointment (Cita Previa)
- Go to the official cita previa de extranjería service on the Spanish government website
- Select your province
- Choose the police procedure for NIE assignment or, for EU citizens staying longer, the EU registration certificate (procedure names vary by province)
- Select available date and time
- Print confirmation
Tip: Appointments can be difficult to find in major cities. Check the official portal at different times of day, try different offices in your province, 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 código 012 fee form, paid beforehand (€9.84 for an NIE assignment)
Step 3: Attend Appointment
- Arrive on time with all documents
- Submit application
- Receive your NIE certificate: the police must decide within five days of the request (RD 1155/2024 art. 205.4)
Step 4: Register as EU Resident (if staying 90+ days)
If you're staying longer than three months, you must register in person within three months of entry for the EU Registration Certificate, which is issued straight away and shows your NIE (RD 240/2007 art. 7.5). You qualify with one of the following:
- Proof of employment OR self-employment OR sufficient resources plus health insurance OR student enrolment (RD 240/2007 art. 7.1; the law sets no fixed amount for resources, art. 7.7)
- 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 a property purchase), apply through a Spanish consulate if you are abroad, or in person at a foreigners' office or police station in Spain (RD 1155/2024 art. 205.4).
Option 1: Through Your Visa Process (Most Common)
If you're applying for a Spanish residence visa or authorisation (digital nomad visa, non-lucrative visa, work visa, etc.), your NIE is assigned automatically as part of that procedure. You'll receive your TIE card with your NIE printed on it.
Movingto is an immigration firm that puts a named, Bar-registered lawyer from its in-house legal team on your case and publishes its fees.
If your NIE will come with a residence visa, our Spain services cover the main routes, including the Spain digital nomad visa, the non-lucrative visa and the highly qualified professional visa: we map the route and prepare the residence file with you, and the NIE is assigned as part of that file. For a Spanish job offer, start with our Spain work visa guide.
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: varies by consulate, so check your consulate's NIE page
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: If You Cannot Apply in Person
RD 1155/2024 art. 205.4 says the NIE is requested personally: in Spain at a foreigners' office or police station, or from abroad through a Spanish consulate (RD 1155/2024, BOE, checked 18 October 2026). If you cannot attend, ask the office or consulate before relying on a representative with a power of attorney, and get any adviser's fee in writing first.
Required Documents Checklist
Quick Answer: You'll need your passport, a completed EX-15 form, proof of why you need the NIE, and the paid Modelo 790 código 012 fee form (€9.84). Some offices also ask for proof of address and photos, so check your province's list.
Complete document checklist:
| Document | Details | Copies Needed |
|---|---|---|
| Passport/National ID | Valid and in force | Original + 2 copies |
| EX-15 Form | Completed in Spanish, signed | Original |
| Modelo 790 Code 012 | Fee payment form, €9.84 for an NIE assignment | Original stamped by bank |
| Passport photos | Recent, white background | 2 photos |
| Proof of address | Rental contract, utility bill, hotel booking | Original + copy |
| Reason for NIE | Job contract, property purchase, business registration | Original + copy |
| Cita previa confirmation | Printed appointment confirmation | Printed copy |
Additional for EU residents registering:
- Proof of income: Employment contract, business registration, or bank statements showing sufficient resources (no fixed amount is set by law)
- 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.
Each province lists its foreigners' offices and police stations with foreigner services in the official cita previa de extranjería service, and your appointment confirmation shows the office address. Madrid, Barcelona, Valencia, Seville and Málaga each have several offices, so compare them when you book.
Tips for getting appointments:
- Check the official portal at different times of day for released slots
- Try offices in smaller nearby towns—often easier to get appointments
- Book only through the official cita previa portal
- 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
- 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: The police must decide an NIE request within five days of registering it, and silence means refusal (RD 1155/2024 art. 205.4, checked 18 October 2026). Non-EU visa applicants get their NIE with their residence procedure. The main delay is usually getting an appointment, which can take weeks in busy cities. The times below are rough estimates, not official deadlines.
| Situation | Appointment Wait | Processing Time | Total Time |
|---|---|---|---|
| EU citizen (small town) | 1-2 weeks | Same day | 1-2 weeks |
| EU citizen (major city) | 2-6 weeks | Same day to 1 week | 3-7 weeks |
| Non-EU (via consulate) | 1-2 weeks | 2-4 weeks | 3-6 weeks |
| Non-EU (with visa application) | N/A | Included in visa | Visa timeline |
| Via a representative (if the office accepts one) | 1 week | 2-3 weeks | 3-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
How Much Does an NIE Cost?
Quick Answer: The official fee for an NIE assignment is €9.84, paid with Modelo 790 código 012. The EU registration certificate costs €12.00, and a first TIE card €16.08 (€19.30 on renewal) (Policía Nacional 790-012 form, checked 18 October 2026). If you use a lawyer or gestor, their fee is extra; the figures in the table below for those services are rough estimates.
| Cost Item | Amount | Notes |
|---|---|---|
| Official NIE fee (Modelo 790) | €9.84 | Mandatory, paid at bank |
| EU Registration Certificate fee | €12.00 | If registering as EU resident |
| TIE card fee (non-EU) | €16.08 first card; €19.30 renewal | For residence card |
| Document translations | €30-50 per doc | Rough estimate; if documents are not in Spanish |
| Gestor/legal assistance | €100-300 | Rough estimate; optional |
| Power of attorney (notarized) | €50-100 | Rough estimate; if a representative is accepted |
How to pay the Modelo 790 fee:
- Fill in Modelo 790 código 012 on the Policía Nacional website and print it
- Fill in your details (name, passport number, reason code)
- Take to any Spanish bank (major banks: Santander, BBVA, CaixaBank, Sabadell)
- Pay the amount shown on the form (€9.84 for an NIE assignment)
- Bank stamps the form as proof of payment
- Bring stamped form to your NIE appointment
Note: A bank may only accept the payment from its own customers, so ask before you queue.
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 new certificate at a foreigners' office or police station. A fee applies; the 790-012 form lists the amount for each procedure. Your NIE number stays the same.
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

