If you are planning to live, work, study, buy property or carry out certain financial or administrative transactions in Spain, you will probably encounter three letters very quickly: NIE.
The NIE, or Número de Identidad de Extranjero, is a personal identification number assigned to foreigners who have economic, professional or social interests connected with Spain.
But how do you get a NIE in Spain?
The answer depends on your circumstances. You may receive an NIE as part of an immigration or residence procedure, or you may need to apply for a NIE separately. You can also obtain an NIE without becoming a Spanish resident.
This guide explains how to apply for a NIE in Spain in 2026, what documents you need, where to submit the application, how much it costs and the most common mistakes to avoid.
Quick Guide: Getting a NIE in Spain
| Question | Short answer |
|---|---|
| What is a NIE? | A unique identification number for foreigners in Spain |
| Who needs one? | Foreigners with economic, professional or social interests in Spain |
| Does a NIE give you residency? | No |
| Can a non-resident get a NIE? | Yes, if there is a valid reason |
| Where can you apply? | In Spain or, in certain cases, through a Spanish consulate abroad |
| Main application form | EX-15 for a standalone NIE application |
| Is there a fee? | Yes |
| Does the NIE number expire? | The assigned number itself is personal and unique |
| Can someone apply for you? | Representation may be possible with appropriate authority |
Important: A NIE is an identification number. It is not a visa, residence permit or work permit.
1. What Is a NIE Number in Spain?
NIE stands for Número de Identidad de Extranjero, or Foreigner Identification Number.
Spanish immigration legislation provides for foreigners who have economic, professional or social interests connected with Spain to receive a personal, unique and sequential identification number.
A NIE typically looks something like:
X1234567L
or
Y1234567X
The NIE becomes your foreigner identification number for dealings with Spanish public authorities and is widely used in tax, property, employment and other administrative matters.
You may therefore see the terms Spanish NIE, NIE number, NIE Spain and foreigner identification number in Spain used to describe the same number.
Is a NIE the Same as Spanish Residency?
No.
This is probably the most important distinction to understand.
Having a NIE does not mean that you are legally resident in Spain.
A person may have a NIE because they bought property in Spain, inherited assets, became involved in a Spanish company or needed to complete another transaction without becoming resident.
Likewise, a foreign resident may have their NIE displayed on a residence document.
The number identifies you. Your immigration status determines whether and under what conditions you may reside or work in Spain.
If you are unsure about the difference, read our guide to NIE vs TIE in Spain.
2. Who Needs a NIE in Spain?
You may need a NIE if you are a foreign national and have economic, professional or social interests in Spain.
Common situations include:
- buying or selling property in Spain;
- dealing with Spanish tax authorities;
- establishing or participating in a Spanish company;
- certain employment or professional procedures;
- registering as self-employed;
- purchasing or registering a vehicle;
- inheritance and other legal transactions;
- some banking and financial procedures;
- other transactions requiring identification before Spanish authorities.
However, not every foreign visitor needs to obtain a NIE.
If you are simply spending a holiday in Spain, for example, there is normally no reason to obtain one.
The key question is therefore not simply “Can I get a NIE?”, but “Why do I need a NIE?”
That distinction becomes important when completing the application.
3. NIE vs TIE: What Is the Difference?
NIE and TIE are often confused because both terms appear constantly in Spanish immigration procedures.
They are not the same thing.
NIE
The NIE is your identification number as a foreigner.
TIE
The TIE, or Tarjeta de Identidad de Extranjero, is a physical foreigner identity card issued in situations established by Spanish immigration law.
A TIE normally displays the holder’s NIE.
Think of it this way:
NIE = number
TIE = card
But even this simplified explanation needs one qualification: obtaining a NIE does not automatically mean you are entitled to obtain a TIE.
Your right to a TIE depends on your immigration status.
For a detailed explanation, see NIE vs TIE in Spain: What’s the Difference?
4. Can You Get a NIE Without Being a Resident in Spain?
Yes.
This is one of the most common misconceptions about the Spanish NIE number.
A foreigner may need an NIE because of their economic, professional or social interests in Spain without becoming resident in the country.
For example, a person living abroad may need a NIE to complete a property transaction in Spain.
This is often informally described as obtaining a non-resident NIE.
However, the NIE itself is not a special category of residence or non-residence number. It is an identification number.
Obtaining one does not grant the right to live in Spain and does not make you a Spanish tax resident.
Immigration residence and tax residence are separate legal questions.
5. Do EU Citizens Need a NIE in Spain?
EU citizens can also receive a NIE.
However, if an EU, EEA or Swiss citizen intends to reside in Spain for more than three months, the relevant procedure may be EU citizen registration rather than simply applying for a standalone NIE.
Eligible applicants register in the Registro Central de Extranjeros and receive a registration certificate containing their NIE.
This distinction matters.
If you are actually moving to Spain as an EU citizen, obtaining an EX-15 NIE certificate may not be the procedure you ultimately need.
Your objective should determine the application.
6. How to Get a NIE in Spain: Step by Step
If you need a standalone NIE rather than obtaining the number through another immigration procedure, the basic process can be divided into several steps.
Step 1: Determine Why You Need a NIE
Before applying, identify the reason for your request.
Spanish authorities require the applicant to explain the economic, professional or social reason for requesting a NIE.
Examples could include a property transaction or another administrative or economic matter requiring a Spanish identification number.
Simply writing that you “want a NIE” may not adequately explain the reason for the application.
Supporting documentation may be requested.
Step 2: Complete Form EX-15
A standalone NIE application is generally made using Form EX-15: Solicitud de Número de Identidad de Extranjero (NIE) y Certificados.
You will need to provide information including:
- personal details;
- nationality;
- passport or identity-document information;
- address;
- reason for requesting the NIE;
- contact details.
Make sure the information corresponds exactly with your identification documents.
Step 3: Pay the NIE Fee
The procedure is subject to an administrative fee.
Payment is generally associated with Modelo 790, Código 012.
The amount can change, so do not rely on an old blog post quoting a fixed fee. Check the current official amount when applying.
Keep proof of payment because it may be required at the appointment.
Step 4: Book a NIE Appointment
Depending on where and how you apply, an appointment (cita previa) may be required.
The competent office can depend on the province and procedure.
Appointments in larger cities can sometimes be difficult to obtain, so it is sensible to investigate availability in advance rather than leaving the NIE application until immediately before an important transaction.
Step 5: Prepare Your Documents
The exact documents depend on your circumstances, but a typical NIE application in Spain may require:
- completed EX-15 form;
- valid passport or identity document;
- copy of the relevant identification document;
- proof explaining why the NIE is required;
- proof of payment of the administrative fee;
- documentation concerning representation, where applicable.
Authorities may request additional documentation depending on the application.
Step 6: Attend the Appointment
Take the required original documents and copies with you.
At the appointment, the authority will review the application and supporting documentation.
If everything is in order, your NIE will be assigned according to the applicable procedure.
7. What Documents Do You Need for a NIE in Spain?
People frequently search for a universal NIE documents checklist, but there is an important problem with that approach:
The required documents can depend on why you need the NIE and where you apply.
For a standalone EX-15 application, prepare at least the core documentation required by the competent authority.
This will normally include identification, the application form, the applicable fee and evidence supporting the reason for the request.
Passport or Identity Document
Your passport should be valid.
Bring the original and any copies required by the office processing the application.
EU citizens may be able to use an appropriate national identity document.
EX-15 Form
Complete the form carefully before your appointment.
Pay particular attention to the section explaining the reason for the application.
Evidence of Why You Need the NIE
Depending on your circumstances, supporting evidence could relate to a property transaction, company involvement or another economic, professional or social reason.
This is one area where copying another person’s NIE application from the internet can backfire spectacularly: their reason for obtaining a NIE may have nothing to do with yours.
Proof of Fee Payment
Keep the documentation confirming payment of the applicable administrative fee.
Power of Attorney or Representation Documents
If someone is acting on your behalf, additional documentation establishing their authority to represent you may be required.
8. Where Can You Apply for a NIE in Spain?
A NIE application can be handled by the competent Spanish authorities.
Within Spain, standalone applications are generally dealt with through the relevant police or immigration offices according to the applicable procedure.
The specific office and appointment availability depend on your location.
When booking an appointment, make sure you select the correct procedure.
A cita for a TIE, EU registration or another immigration process is not automatically interchangeable with a standalone NIE appointment.
9. Can You Apply for a NIE from Outside Spain?
In appropriate cases, foreigners outside Spain can request a NIE through a Spanish diplomatic mission or consular office.
This can be useful if you need a NIE for a transaction in Spain but do not currently live in the country.
The consulate processes the request through the competent Spanish authorities.
Requirements and appointment arrangements should be checked with the relevant Spanish consulate because local submission procedures can vary.
Importantly, requesting a NIE through a consulate does not constitute an application for Spanish residence.
10. Can Someone Get a NIE for You?
Representation may be possible.
This can be particularly useful for people who need a NIE for a Spanish transaction but are unable to attend personally.
However, the representative must have appropriate authority, and the required documentation must comply with the applicable rules.
If a power of attorney was executed outside Spain, additional formalities such as legalisation or an apostille and, where applicable, an official Spanish translation may be necessary.
Do not assume that a simple signed note will always be sufficient.
11. How Much Does a NIE Cost in Spain?
There is an official administrative fee for a standalone NIE application.
The relevant payment is generally made through Modelo 790 Código 012.
The government periodically updates administrative fees, which is why quoting a permanently fixed amount in an evergreen guide is a bad idea.
Always check the current official fee before paying.
There may also be additional costs if you use:
- professional assistance;
- a representative;
- a notary;
- sworn translations;
- apostilles or legalisation;
- courier services.
These are separate from the official government fee.
12. How Long Does It Take to Get a NIE in Spain?
There is no useful universal answer such as “a NIE always takes three days.”
The actual timeline can depend on:
- appointment availability;
- where you apply;
- whether the documentation is complete;
- the reason for the application;
- whether you apply in Spain or through a consulate.
In practice, getting an appointment may take longer than the administrative processing itself in areas with high demand.
If you need the NIE for a property purchase, company transaction or another deadline-sensitive matter, start the process early.
13. Does a NIE Expire?
The NIE number itself is a unique personal identification number.
You should distinguish the number from the document or certificate on which it appears.
Older online information sometimes refers to NIE certificates “expiring” after three months. This can cause considerable confusion.
The NIE number assigned to you does not simply disappear after three months.
However, a particular authority, bank, notary or other organisation may require recently issued documentation for a specific procedure.
If someone asks you for a “recent NIE”, clarify whether they actually require an updated certificate rather than a new identification number.
You do not normally obtain a new NIE every time you return to Spain.
14. Can You Work in Spain with a NIE?
A NIE alone does not give you permission to work in Spain.
This point is especially important for non-EU nationals.
You may have a NIE while having no immigration authorisation permitting employment or self-employment.
Your right to work depends on your nationality and immigration status.
If you plan to start working independently, see Can a Foreigner Work as Self-Employed in Spain?
And if your immigration status permits self-employment, our guide to How to Register as Autónomo in Spain explains the administrative process.
15. Can You Open a Bank Account with a NIE?
A NIE is commonly requested in Spanish banking and financial procedures, particularly for residents.
However, banking requirements vary between institutions and customer profiles.
Some banks provide certain services to non-residents using other accepted identification, while others request a NIE or additional documentation.
Banks are also required to comply with identification, tax-residence and anti-money-laundering requirements.
Therefore:
NIE ≠ guaranteed bank account.
Check the requirements of the particular bank.
16. Do You Need a NIE to Buy Property in Spain?
Foreign buyers generally need a NIE for the tax and administrative aspects of purchasing property in Spain.
This is one of the most common reasons non-residents obtain a NIE.
If you plan to purchase property, do not leave the NIE application until the day before signing.
Property transactions involve several parties and administrative steps, and a missing identification number can create avoidable delays.
Also remember:
Buying property in Spain and obtaining a NIE do not, by themselves, give you Spanish residence rights.
17. NIE for Students in Spain
International students may receive an NIE in connection with their immigration or study authorisation.
If you are coming to Spain to study, do not automatically start a separate EX-15 application simply because a website told you that “everyone needs to get their NIE first.”
Check your immigration documentation.
Your NIE may already have been assigned as part of your visa or authorisation.
For the complete process, see our Student Visa in Spain: Requirements and Application Guide.
18. NIE for Digital Nomads in Spain
The same principle applies to digital nomads.
If you are applying for residence in Spain under the international teleworking regime, the NIE is part of the broader immigration process.
You should not confuse:
- obtaining an identification number;
- obtaining legal authorisation to live and work remotely from Spain.
If your actual objective is relocation, start with our Digital Nomad Visa in Spain guide rather than treating the NIE as the immigration procedure itself.
19. NIE and Empadronamiento: Are They the Same?
No.
NIE identifies you as a foreigner.
Empadronamiento records your habitual residence in the municipal population register.
They serve completely different purposes.
You may encounter both after moving to Spain, but one does not replace the other.
For more information, read Empadronamiento in Spain: What It Is and How to Register.
20. Common NIE Application Mistakes
The NIE process itself is not particularly complicated, but small mistakes can cause unnecessary delays.
Applying for the Wrong Procedure
Do not assume every appointment containing the word extranjería is suitable.
NIE assignment, EU registration and TIE issuance are different procedures.
Confusing NIE with Residency
This is the biggest conceptual mistake.
Getting a NIE does not legalise your stay in Spain.
Giving No Clear Reason for the Application
A standalone NIE request must be connected with economic, professional or social interests in Spain.
Be ready to explain and, where necessary, document the reason.
Using Outdated Forms or Fee Information
Spanish administrative forms and fees can change.
Always use current official documents.
Applying for Another NIE When You Already Have One
Your NIE is a unique personal number.
If you were assigned one previously, you generally continue using the same number.
Waiting Until the Last Minute
Appointment availability can become the real bottleneck.
Start early if another transaction depends on having the NIE.
21. Frequently Asked Questions About NIE in Spain
What Does NIE Mean in Spain?
NIE means Número de Identidad de Extranjero. It is a unique identification number assigned to foreigners for dealings connected with Spain.
Can I Get a NIE as a Tourist?
A person who is legally present in Spain may be able to request a NIE if they have a qualifying economic, professional or social reason.
Being a tourist by itself is not the reason for obtaining the number.
Can I Get a NIE Online?
The process should not be confused with simply filling out a web form and instantly receiving a NIE.
Depending on the procedure and circumstances, submission through the competent authority, a consulate or an authorised representative may be possible.
Do I Need an Appointment for a NIE in Spain?
An appointment is commonly required when submitting a standalone application personally in Spain. Procedures can vary by office and location.
What Form Do I Need for a NIE?
A standalone request for assignment of an NIE generally uses Form EX-15.
Do not confuse it with forms used for other immigration procedures.
What Is Modelo 790 Código 012?
It is the fee form used for various police-administered immigration procedures, including the applicable fee for NIE assignment.
Can I Have More Than One NIE?
Normally, no.
The NIE is a unique personal identification number. If you already have one, you should generally use your existing number.
Is NIE Proof of Residence in Spain?
No. A NIE by itself does not prove that you are legally resident in Spain.
Is NIE Proof of Spanish Tax Residence?
No.
Tax residence is determined under Spanish tax law and, where applicable, international tax treaties. Having a NIE does not automatically make you a Spanish tax resident.
Do Children Need a NIE?
Foreign minors may also be assigned an NIE when applicable, including in connection with immigration and residence procedures.
22. What to Do After Getting Your NIE
What happens next depends entirely on why you obtained it.
If you are actually relocating to Spain, the NIE is only one piece of the process.
You may also need to:
- complete your residence procedure;
- obtain a TIE if applicable;
- register your address with the municipality;
- arrange healthcare;
- register for tax or Social Security purposes;
- enrol children in school;
- establish banking and utility arrangements;
- register as an employee or self-employed worker.
For the full relocation process, see our Moving to Spain: A Practical Checklist.
Final Thoughts: Getting a NIE in Spain
Getting a NIE number in Spain is an important administrative step for many foreigners, but the process becomes much easier once you understand what the NIE actually is.
It is a personal identification number, not a residence permit.
If you need a standalone NIE, the process generally involves identifying a valid reason for the request, completing Form EX-15, paying the applicable fee and submitting the necessary documents to the competent authority.
If you are moving to Spain under a residence, work or study route, however, your NIE may already form part of that immigration procedure.
Before booking an appointment, determine what you actually need:
a NIE number, EU registration, a residence authorisation or a TIE.
Choosing the correct procedure at the beginning can save you a surprising amount of time.