How to Get a NIE Number in Spain as an Expat
In short
Obtaining your NIE is the essential first step towards unlocking all the opportunities Spain has to offer.
Summarise this article with the AI of your choice:
So, you’ve decided to move to Spain. ¡Felicidades! You’re picturing sunny afternoons, delicious tapas, and a vibrant new life. But before you can get to the good stuff, you’ll encounter your first official hurdle: the Spanish NIE.
If you’ve browsed anywhere on the internet, you’ve seen the acronym "NIE". The NIE number in Spain is the key to unlocking your life in the country, and the process can seem intimidating. But don’t worry! We're here to help you navigate the paperwork with confidence. Our goal is to simplify, streamline, and remove the stress from this essential first step.
With this article you'll see everything you need to know about how to get a NIE number in Spain or online as an expat. As you finish it, you'll have all the information to make a decision about your NIE number in Spain.
What is a NIE number in Spain?
NIE stands for Número de Identificación de Extranjero (Foreigner’s Identification Number), and it's a Spanish ID.
NIE (Número de Identificación de Extranjero) is an identification number issued by the National Police that can be used as a tax ID for foreigners in Spain. You need it for most tax-relevant acts.
It’s a unique, personal, and permanent number assigned to every foreigner who has economic, professional, or social dealings in Spain. The number itself follows a format like X-1234567-Y and will be yours for life, even if you leave Spain and come back years later.
Think of it as the Spanish equivalent of a National Insurance Number. It doesn't, on its own, grant you the right to live in Spain, but you’ll need it for almost every administrative task you can think of.
Does the NIE expire?
The number itself is permanent for life once assigned.
However, the paper certificate you receive after you apply and submit for your Spain NIE number may sometimes cause practical issues: historically, some certificates were treated as having limited presentation validity (often referenced as 3 months), and some offices/notaries may be picky with older printouts, so you may occasionally need a fresh certificate reprint, even though the number stays the same (and again, is just a reprint).
Why do you need a NIE number?
Getting an NIE is not optional: it’s essential. Here’s a snapshot of what you’ll need it for:
- Opening a Spanish bank account (banks ask for it in practice; the rules let a non-resident open one with a passport and a non-resident certificate)
- Signing a work contract and getting paid
- Registering for Social Security (Seguridad Social), which also accepts a passport
- Buying or selling property or a car (see our guides to buying a house in Spain as a foreigner and buying a car in Spain)
- Taking out a Spanish mortgage: the NIE goes into the mortgage deed (see our Spanish mortgage calculator)
- Inheriting a home or money in Spain: every heir needs their own NIE (see our guide to inheritance tax in Spain)
- Filing your taxes (a must for residents and nonresident property owners)
- Signing a rental contract (for an apartment or long-term lease)
- Setting up utility contracts (water, electricity, internet, mobile phones)
- Applying for a Spanish driver's license
- Starting a business or registering as a freelancer (autónomo)
- Inheriting assets in Spain
For most tax-relevant acts, your NIE will be the first thing they ask for.
What's the difference between NIE, TIE, or Residency Certificate?
This is where most people get confused (our guide to NIE vs TIE explains it in full). While the NIE is your number, the document it comes on can differ.
- The White NIE Certificate (Non-Resident NIE): This is a simple A4 paper certificate. It is typically for non-residents (both EU and non-EU) who need an NIE for a specific transaction, like buying a holiday home. It proves you have an identification number but does not mean you are a resident.
- The Green Residency Certificate (EU Citizens) aka 'Green NIE': If you are an EU/EEA/Swiss citizen planning to live in Spain for more than three months, you must register as a resident. It's officially called the Certificate of Registration as an EU Citizen Resident (Certificado de Registro de Ciudadano de la Unión) and is regulated by Royal Decree 240/2007. You will be issued a credit-card-sized green paper certificate (commonly called the "Green NIE"). This document contains your name, address, date of registration, and your NIE number. This is your proof of residency.
- The TIE Card (Non-EU Citizens): The TIE, or Tarjeta de Identidad de Extranjero, is a biometric photo ID card for non-EU citizens who have been granted a visa to live in Spain for more than six months. This card is your physical residence permit and includes your photo, fingerprints, type of residency, and your NIE number.
What's the difference between NIE and NIF in Spain?
NIF in Spain is the standard tax ID used by Spanish citizens (and entities), but for foreigners the NIE is used not only as their identifier but in many tax/administrative contexts as well. Every tax return and payment you make in Spain goes under it: our Spanish tax calendar says when each one is due.
Who needs a Spanish NIE number?
In practice, most foreigners (EU and non-EU) will need a NIE if they plan to do anything administrative, legal, or economic activities in Spanish territory, whether they live there or remain non-resident.
How and where do I get a Spain NIE number?
You can apply for a Spain NIE number directly in a Spanish consulate or in Spain (in Policía Nacional and/or Oficina de Extranjería).
You can also get a Spain NIE number online through third-party company like us!
How to get your NIE: A step-by-step guide
The process can vary slightly by region, but these are the universal steps.
Step 1: Cita Previa (How to book the NIE number appointment)
Here’s some real talk from fellow expats: getting the appointment (Cita Previa) is often the hardest and most frustrating part of the whole process.
Demand is incredibly high, especially in big cities like Madrid, Barcelona, and Valencia.
- Where to Book: You must book online through the official Spanish Public Administration website.
Do you need an appointment to get a NIE number in Spain?
Whether you decide to apply for a NIE number in Spain or via consulate routes, you normally need a cita previa (appointment).
As availability varies a lot by province in high-demand areas (often large cities), getting an appointment can take weeks.
Choosing the right option
For an initial NIE application (white paper), select "Policía-Asignación de NIE."
- For EU citizens applying for residency (green certificate), select "Policía-Certificados UE."
- For non-EU citizens (TIE card), it's typically under "Policía-Toma de Huellas (Expedición de Tarjeta)."
Step 2: Gathering your documents
Being overpreparedness is your best strategy. Bring the original and at least one photocopy of everything.
For all applicants:
- Application Form:
- Form EX-15: For a basic, non-resident NIE.
- Form EX-18: For EU citizens applying for residency.
- Form EX-17: For non-EU citizens applying for their TIE.
Fill it out in Spanish on your computer before printing. Do not sign it until you are at the appointment.
- Valid Passport: And a photocopy of every single page (yes, even the blank ones).
- Proof of Why You Need an NIE: This is crucial. It could be a work contract, a letter of intent from an employer, a property purchase agreement (contrato de arras), or proof of school enrollment.
- Fee Payment Receipt (Tasa Modelo 790, Código 012): You must pay this before your appointment. The fee is €9.84 in 2026.
- Two recent passport-sized photos with a white background (this is for TIE applications).
Additionally for EU citizens applying for residency:
- Proof of sufficient funds (a Spanish bank statement showing over €6,000 or a work contract).
- Proof of public or private health insurance in Spain.
Additionally, for non-EU citizens applying for a TIE:
- Your valid visa.
- Proof of your legal entry into Spain (the stamp in your passport).
- Proof of address registration (Certificado de Empadronamiento).
Step 3: Paying the fee (Tasa 790-012)
You must pay the NIE number administrative fee before you go.
- Fill out the Modelo 790, Código 012 form online.
- Select the option that applies to you (e.g., "Asignación de Número de Identidad de Extranjero (NIE)").
- Print the completed form (it will have a barcode).
- Take it to any major Spanish bank and pay it in cash. They will stamp it as paid. You MUST bring this stamped receipt to your appointment.
Step 4: Appointment day
Arrive early. The official will review your documents. If everything is correct, you might receive your white paper NIE or green residency certificate on the spot.
For a TIE card, they will take your fingerprints, and you’ll be told to come back in 30-45 days to collect the physical card.
Applying for your NIE from abroad
If you want to get a head start, you can apply for a non-resident NIE at your nearest Spanish Consulate or Embassy before you move.
The process is similar: you'll need the EX-15 form, your passport, and justification, but the fee will be paid in the local currency. Each consulate gives its own time: London says the NIE is normally issued within three weeks, New York within five, so plan accordingly.
How to apply for your NIE from abroad
If you want to handle it before you even set foot in Spain due to preparedness (like buying a property or setting up a company, or just pretty much organizing your life), applying from your home country is the way to go.
The process is handled by the Spanish Embassy or one of its consulates. You can also hire a third-party company.
Here is a breakdown:
Step 1: Find your local Spanish consulate and learn its rules
This is the most important step. Every Spanish consulate has its own specific procedures, appointment systems, and payment methods.
Do not assume the process is the same everywhere.
- Find Your Consulate: First, identify the Spanish consulate that serves your specific region or state. You can't just go to any of them.
- Study Their Website: Carefully read the "NIE" or "Visas and Consular Services" section of their website. This is your source of truth for their specific requirements. Look for information on how to book an appointment (some require it, others have walk-in hours), what forms to use, and how to pay the fee.
Step 2: Assemble your documents
While you must check your consulate’s specific list, the required documents are generally consistent:
- Application Form EX-15: This is the standard form for a non-resident NIE. Download it from the official government site, complete it on your computer (in Spanish), and print two copies. Do not sign it yet; you'll sign it in front of the consular official.
- Valid Passport: You will need your original passport and a photocopy of the main biographical data page.
- A letter from a bank stating you need an NIE to open an account.
- Proof of Residence in the Consular Area: You must prove you live in the area the consulate serves. This is usually a driver's license, state ID, or recent utility bill with your name and address.
- Proof of Justification (The "Why"): You need to provide documentary evidence explaining why you need a Spanish NIE. This must be a legitimate economic, professional, or social reason.
Examples include:
- A signed contrato de arras if you are buying a property.
- A work contract from a Spanish employer.
- Documents proving you are setting up a company in Spain.
Step 3: Paying the consular fee
This is a key difference from applying in Spain: each consulate charges its own fee in local currency (£8.65 by card in London, $12 by USPS money order in New York, in 2026) and has its own payment method. Some, like London and New York, still ask for the 790 code 012 form filled in. Check their website, but common methods include
- A money order or cashier's check made out to the "Embassy of Spain" or a specific consulate.
- Cash (in local currency; exact change may be required).
- Debit or credit card payment at the consulate.
Step 4: The appointment and waiting game
With your documents and payment ready, attend your scheduled appointment. The official will verify your paperwork, witness your signature on the EX-15 form, and accept your application.
The processing time varies by consulate: London says the NIE is normally issued within three weeks, New York within five. The consulate cannot speed up the process, as the number is generated by the police authorities in Spain.
Once approved, your white paper NIE certificate is typically sent to you by email. Ensure you provide a clear and legible email address on your application form.
Applying for your NIE from abroad through a Company
You can use a third-party company, like AnchorLess! If you decide to simplify your life and streamline your move, that's the best way to go.
The process to obtain a NIE in Spain through a third-party company is way simpler (and faster!).
With us, you'll only need to provide:
- Fill out our application form.
- Upload your documents (proof of identity, like a passport)
- Sign a power of attorney (either locally or through our partners at Legitify).
After that you'll only need to wait a few weeks and your NIE will securely arrive in your email.
Our system was created to protect your data! All your sensitive information will be accessed only by the person responsible for your NIE and Spanish authorities.
How can AnchorLess help you with your NIE number in Spain?
Our services include the application for a NIE number for foreigners.
You can apply for a NIE number online with us at AnchorLess, just providing an official ID and signing a POA (power of attorney).
After you submit your NIE number form you'll receive it in about a week, with all the process automatized and online, taking just a few minutes.
Why not hire a Lawyer?
You can definitely hire a Spanish lawyer for your NIE; however, their fees tend to be a bit higher.
Lawyers are a great option to submitting a NIE request; just be mindful of their rates and trustworthiness.
Check expat forums for recommendations and suggestions, and always check their association with the Spanish bar.
The NIE is for non-residents
Remember, the NIE is a unique foreigner identity number, assigned by the Police (you can apply through a consulate or a third party); the non-resident certificate is a separate procedure. It is a crucial tool for administrative tasks but does not grant you residency or the right to live in Spain long-term.
If you plan to live in Spain for more than 90 days, you will still need to apply for your residency certificate (the green one for EU citizens or the TIE card for non-EU citizens) after you arrive.
Final thoughts
Obtaining your NIE is the essential first step towards unlocking all the opportunities Spain has to offer.
With its unique lifetime number, the NIE lays the administrative groundwork for your new life in Spain.
By preparing all your documents, understanding the differences between applying from abroad versus in-country, and embracing a patient, proactive approach, you'll set yourself on the path to a smooth transition into your new Spanish life.