The NIE in Spain (Número de Identidad de Extranjero) is the unique identification number assigned to any foreigner who carries out an official procedure in Spain. Without it, you cannot buy a property, open a bank account, sign an employment contract or pay your taxes. This guide explains what the NIE is, how it differs from the NIF, the DNI and the TIE, and the three ways to obtain it in 2026: from abroad, in person, or remotely.
What Is the NIE?
The NIE is a personal and permanent identification number issued by the Spanish authorities to foreign nationals. It takes the form of a letter, seven digits and a final letter (for example X-1234567-L). It stays with you for life: once assigned, it never changes.
The NIE is essential as soon as you carry out an operation with legal or tax consequences in Spain:
- Buying a property (you cannot sign before a notary without a NIE)
- Opening a Spanish bank account
- Signing an employment contract or starting a business
- Setting up water, electricity and internet contracts
- Paying taxes (property tax, capital gains, income tax)
- Registering a vehicle
In short: without a NIE, no major procedure is possible in Spain.
NIE, NIF, DNI, TIE: Don’t Confuse Them
This is the most common source of confusion. Here is the difference:
- NIE: the identification number for foreigners. It is a number, not a card.
- DNI (Documento Nacional de Identidad): the identity card of Spanish citizens.
- NIF (Número de Identificación Fiscal): the tax number. For a foreigner, the NIF is the NIE, the same number used in a tax context. For a Spanish national, the NIF matches their DNI.
- TIE (Tarjeta de Identidad de Extranjero): the physical residence card, with a photo, issued to non-EU foreigners who live in Spain. It contains the NIE but also certifies the right of residence.
Remember: the NIE is a number, the TIE is a residence card. An EU citizen buying a second home needs a NIE, not necessarily a TIE.
Resident or Non-Resident NIE: What Changes?
The number is the same, but the context of the application changes:
- Non-resident NIE: for those who have an interest in Spain (buying property, investing) without living there. This is the most common case for a foreign buyer of a second home.
- Resident NIE: for those who settle long term (more than 183 days a year). It then comes with registration in the central register of foreigners, or even a TIE for non-EU nationals.
The NIE itself is identical; it is your tax status (resident or non-resident) that determines your obligations, especially when it comes to taxes.
How to Obtain Your NIE in 2026: The 3 Routes
1. From Abroad, at a Spanish Consulate
If you are preparing your project from your home country, you can request your NIE at the Spanish consulate you depend on. This is often the simplest route before a purchase. Booking an appointment online is mandatory, and slots can go quickly, so plan ahead.
2. In Person, in Spain
If you are already in Spain, the application is made at the Policía Nacional (Comisaría de Policía, immigration office), by prior appointment (cita previa). Processing times and appointment availability vary widely from one province to another (often tighter on the coast and in large cities). In Valencia, the application goes through the immigration office’s online cita previa, and slots are released in waves: it is better to check regularly than to wait for a distant date.
3. Remotely, by Power of Attorney
Can’t travel? The NIE can be obtained through an authorised representative holding a power of attorney (poder notarial). This is particularly useful for a remote purchase: your representative handles the procedure on your behalf.
For our clients who buy in Valencia without travelling, we handle obtaining the NIE by power of attorney, alongside the other steps of the purchase. A single dedicated contact, from the NIE to the handover of the keys.
Documents and the Form
Whichever route you choose, prepare:
- The EX-15 form (NIE application) completed and signed: this is the official form, downloadable from the Spanish administration’s website.
- Your valid passport (plus a photocopy).
- Proof of the reason for the application (sales agreement, purchase offer, employment contract, and so on).
- Proof of payment of the fee (Modelo 790, code 012).
Tip: prepare each document in paper AND digital format, and check that the stated reason matches your situation exactly: a vague reason is the number one cause of refusal.
Processing Time, Cost and Validity
- Cost: the official fee is around €10 to €15 (Modelo 790-012).
- Processing time: from a few days to several weeks depending on the location and demand. For a purchase, start the process 4 to 8 weeks before signing.
- Validity: the NIE number is permanent. However, the paper certificate (the non-resident NIE certificate) can show a date: it is the document that “ages”, not the number. Some banks or authorities ask for a recent certificate.
NIE and Buying Property: Don’t Fall Behind
For a purchase in Spain, the NIE is required to sign the deed before the notary, pay the taxes and register the property in your name. This is often the step buyers underestimate, and a NIE that is not anticipated can delay a signing. Our advice: start the application as soon as the reservation is signed.
The NIE is just one step in your move: find all the others in our guide to moving to Spain. At BuenApart, an international real estate agency in Valencia, we build obtaining the NIE into our property purchase support in Spain, including remotely. Let’s talk about your project.
Frequently Asked Questions
What exactly is the NIE?
It is the Número de Identidad de Extranjero, the unique and permanent identification number assigned to any foreigner carrying out an official procedure in Spain (buying property, banking, work, taxes).
What is the difference between the NIE and the NIF?
For a foreigner it is the same number: the NIE acts as the NIF (tax number) in tax procedures. NIF is simply another name for the NIE in a tax context.
Are the NIE and the TIE the same thing?
No. The NIE is a number; the TIE is a physical residence card (with a photo) issued to non-EU foreigners. The card contains the NIE.
Can you obtain a NIE without being in Spain?
Yes, in two ways: at a Spanish consulate abroad, or remotely through a representative holding a power of attorney, which is convenient for a purchase without travelling.
How long does the NIE stay valid?
The number is permanent and never changes. Only the paper non-resident NIE certificate can carry a date, and some banks or authorities may ask for a recent one.
Is the NIE enough to live in Spain?
No. The NIE is not a residence permit. Beyond 183 days a year, you must regularise your residence status (registration in the central register of foreigners, or a TIE for non-EU nationals).