Guide to Obtaining an NIE Number in Spain

NIE Number in Spain: Step-by-Step Guide to Obtaining a Foreigner Identity Number
Everything you need to know about obtaining a NIE in Spain.
If you are planning to move, invest, work, or buy property in Spain, one of the first things you may need to obtain is an NIE. This step-by-step guide will help you understand what the NIE is, who needs it, how the NIE application works, and which documents are required to apply for an NIE number.
Whether you are a foreigner moving for residency, a buyer completing a property purchase agreement, or someone with financial or professional interests and activities related to Spain, getting the right documentation early as possible can save time and stress.
What Is the NIE in Spain?
The NIE in Spain is the Número de Identificación de Extranjero, also known as the número de identidad de extranjero. It is an identification number assigned to foreign nationals and serves as the main identification number for foreigners dealing with the Spanish public administration.
In simple terms, the NIE is a foreigner identity number and tax reference used for many official procedures. This number for foreigners in Spain is assigned to foreigners who need to carry out legal, tax, financial, or administrative actions in the country.
The full official wording often includes número de identificación de extranjero and de identidad de extranjero, which explains why many people search for terms like de extranjero, de extranjeros, or número de when looking for guidance. The format usually begins with an X or Y, followed by seven digits and a final letter, for example: X-1234567-B.
The NIE is a personal and unique identity number. Once the NIE is assigned, it stays with you for life, even if your residency status changes later.
Why Do You Need an NIE Number in Spain?
Many residents in Spain must have official documentation in place before they can complete important transactions. If you need an NIE number, it is usually because you are about to begin a legal, financial, or administrative process.
You may need the NIE to:
- · Buy property in Spain
- · Open a bank account
- · Apply for a mortgage or finance
- · Start employment or register as self-employed
- · Pay taxes in Spain
- · Apply for a visa or support residency applications
- · Register utilities or contracts
- · Deal with inheritance or company matters
If you plan to stay in Spain for work, business, investment, or social reasons, there is a strong chance you will need a NIE. For both EU and non-EU citizens, it is often best to get the NIE number as early as possible.
Who Needs to Apply for a NIE?
The NIE is required for many foreign nationals, including people from the European Union and citizens from outside it. Although rules may vary depending on the purpose, non-EU citizens often need an NIE as part of visa, relocation, or residency procedures.
Citizens of the member states of the European framework, meaning the states of the European Union, may also require an NIE before buying property, opening accounts, or becoming established in Spain. In practice, European Union may identify applicants differently in some procedures, because nationals of EU member states may identify themselves with their identity document or national id card, while others may need a passport or id.
In many cases, applicants from the European Union may identify themselves with their identity document, while other applicants will use a valid passport. So when preparing your file, always check whether you should present a document or passport depending on your nationality.
Difference Between the NIE, Residency Certificate, and TIE Card
A common point of confusion is the difference between the NIE, a residency document, and the TIE card.
- NIE: The identification number assigned to foreigners
- NIE certificate: The paper certificate showing that you have been assigned a NIE
- Residency certificate: A separate document linked to residency rights
- TIE card: A physical foreigner residence card for certain non-EU citizens
So, the NIE itself is just the number. The NIE certificate is the paper proving that you were assigned a NIE, while the TIE card is an identity document connected to residence permission for certain foreign nationals.
How to Apply for an NIE Number: Step-by-Step Guide
If you want to apply for a NIE, the process is usually straightforward once you know what is required. This step-by-step guide covers the usual route followed by applicants in Spain.
1. Complete the NIE application form
The main application form is the EX-15. This is the official form required to apply for an NIE number. Make sure the information matches your passport or national identity document exactly.
2. Complete Form and pay the fee
You will also need Form 790, written as Modelo 790, which is used to pay the government fee. This payment is typically made through a bank before your NIE appointment. Visit a designated bank to pay the fee. Ensure you keep the stamped receipt.
3. Book the NIE appointment
In most cases, you must make an appointment online before attending. Your NIE appointment will normally take place at a police station or oficina de extranjeros, depending on the location.
4. Attend the appointment at the police station
On the day of your appointment at the police station, take all originals and copies. The application is presented in person unless it is presented by a representative with proper authorization.
5. Receive your NIE
Once approved, you will receive your NIE. In some cases, the NIE is sent to the applicant by email, while in others it is collected in person depending on local document processing and delivery procedures.
The NIE is normally issued within a period that depends on the province, appointment availability, and workload.
Documents Required to Apply for an NIE Number
To apply for an NIE number, applicants are generally required to apply with the following documentation:
- · Completed and signed EX-15 application form
- · Completed Modelo 790 and fee payment receipt
- · Valid passport or national id card, depending on nationality
- · Copy of your passport or identity document
- · Supporting reason for the request, such as a property purchase agreement, job offer, tax matter, or other official reason
Always bring the original passport and copies. Some offices may specifically ask for a passport or id, while others may refer to a national identity document. For non-EU citizens, a valid passport is usually essential.
Depending on the reason for the request, additional paperwork may include proof of financial or professional interests, visa-related documents, a family record book, or evidence connected to social reasons.
Where to Submit the NIE Application in Spain
The NIE application is normally submitted at an immigration office, oficina de extranjeros, or designated police station. Which office handles your case depends on your location.
In practice, people often search for the nearest police station or oficina de extranjeros because availability can vary widely. Before you travel, confirm whether your chosen office handles NIE requests and whether the application is presented only by appointment.
Can You Apply for an NIE from Outside Spain?
Yes. If you are not yet in Spain, you may be able to apply through a Spanish consulate or Spanish consulate or embassy in your country of residence. For many applicants, this is the best route if they need an NIE number before travel.
When applying abroad, the process is handled through the consulate or embassy in your home country. Some people refer to this route as applying for the NIE at the consular office. In practice, the Spanish consulate will explain local requirements, appointment steps, and how the document is returned.
If you cannot attend in Spain, contacting the embassy in your home country or nearest official government consular office may be the most practical option.
Can Someone Else Apply on Your Behalf?
Yes. In some cases, the application can be presented by a representative. This is common when the applicant cannot travel or wants legal assistance managing the procedure.
If the application is presented by another person, a Power of Attorney is usually required. The power of attorney must clearly authorize the representative to act for the applicant.
How Long Does It Take to Get Your NIE Number?
Processing times vary by province and office. In some cases you may get the NIE number quickly, while in others you may wait longer for document processing and delivery.
If the office works digitally, the document may be returned to the applicant by email. Elsewhere, collection may happen in person. Because timing varies, it is smart to begin the process early if you need to obtain your number before a sale, visa application, or relocation date.
Why Getting the NIE Early Matters
If you are planning a move, purchase, or investment, it is usually best to get your NIE number before deadlines become urgent. Many buyers discover too late that they need an NIE number before they can complete a transaction.
If you are planning to open a bank account, sign contracts, or buy real estate, starting the process early is often the smartest move. For property buyers in particular, obtaining a NIE is one of the first practical steps before completion.
FAQ:
What is an NIE number for foreigners?
It is the official number for foreigners and tax identification reference used in Spain. The NIE is assigned to foreigners who need to interact with the Spanish public administration or carry out legal and financial procedures.
Do I need a visa to get an NIE?
Not always. Whether you need a visa depends on your nationality and reason for coming to Spain. However, many applicants who need a visa also need the NIE as part of the overall process.
Can EU nationals use an ID card instead of a passport?
Often yes. Some applicants from the European Union may identify themselves with their identity document or national id card, while non-EU citizens usually need a passport.
Is the NIE the same as residency?
No. The NIE is not the same as residency. It is an identification number. Your residency status, residency certificate, or TIE card are separate matters.
What if I need the NIE for property purchase?
If you want to buy property in Spain, you should begin the process as soon as possible. Many buyers need the NIE before completion, banking, tax registration, and notary procedures can move forward.
Final Thoughts on Obtaining a NIE
If you need to obtain an NIE number, the key is understanding what the authorities require and preparing the right paperwork from the start. Whether you are relocating, investing, dealing with tax matters, or planning to become established in Spain, the NIE must be handled correctly.
To recap: complete the EX-15, pay Form 790, book your appointment online, attend the police station or immigration office with your valid passport or identity document, and follow local instructions until you receive your NIE certificate.
For many people, that is the fastest way to obtain an NIE number, get the NIE number correctly, and move ahead with life in Spain.
Need Help with Your NIE or Property Purchase in Tenerife?
If you are buying real estate, planning a move, or want help preparing the paperwork, The Property Gallery can guide you through the process and help you avoid delays.
Request a Consultation | Browse Properties For Sale
South Tenerife Property Market Report – First Half of 2026
Prices Remain Strong as Buyers Continue to Choose TenerifeIf you are...
more
Mainland Spain vs. Canary Islands for International Buyers
Canary Islands vs Mainland Spain: Buying a Home, Property in the Canary...
more
Quick Guide: Getting a Mortgage in Spain for Foreigners
Mortgage in Spain: The Ultimate Mortgage Guide for Foreigners Buying...
more
Buying Property in Tenerife: The Complete 2026 Guide
Buying Property in Tenerife: The Complete 2026 Guide - Buying property in Tenerife is a goal for many overseas buyers, second-home seekers and investors looking for sunshine, lifestyle and...
more