Business glossary
NIE Number (Número de Identificación de Extranjero)
The NIE (Número de Identificación de Extranjero) is the tax and legal identification number assigned to all foreign nationals in Spain. It is required for virtually every significant legal and financial transaction in Spain — buying property, incorporating a company, opening a bank account, signing a work contract, or filing taxes.
InternationalWhat Is a NIE?
The NIE (Número de Identificación de Extranjero) — literally “Foreigner Identification Number” — is a unique identification number issued to all foreign nationals who have economic, professional, or social interests in Spain, whether resident or non-resident. It takes the format: letter + 7 digits + letter (e.g., X-1234567-A or Y-7654321-B or Z-XXXXXXX-C depending on issue date and origin).
The NIE is not just an administrative number: it is your tax identification number (TIN) in Spain. The AEAT uses it to track all tax obligations, the AEPD uses it for certain administrative proceedings, and notaries, banks, and the Registro Mercantil reference it in every document involving a foreign national.
Who Needs a NIE?
Any foreign national (EU or non-EU) who needs to do any of the following in Spain:
- Buy, sell, or inherit real estate
- Incorporate a company or be appointed as a director or shareholder
- Open a bank account (many Spanish banks require it)
- Sign an employment contract
- Register as an autónomo (self-employed)
- File a tax return in Spain (IRPF, IRNR, or Corporate Tax via a subsidiary)
- Apply for a mortgage
- Obtain a driver’s licence
- Register a vehicle
In practice, the NIE is required almost immediately when any foreigner engages in economic activity in Spain, even before obtaining residency.
Types of NIE
There are two practical categories:
| Type | For whom |
|---|---|
| NIE for EU citizens | EU/EEA nationals registering as residents (certificado de registro de ciudadano de la UE). The NIE is embedded in the certificate. |
| NIE for non-EU nationals | Assigned as part of the residency process, or separately for non-resident foreigners who need one for a specific transaction (e.g., buying property without living in Spain). |
How to Apply for a NIE
In Spain
- Book an appointment at the nearest Oficina de Extranjería (Immigration Office) or participating National Police station (Comisaría).
- Complete Modelo EX-15 (for non-residents wanting a NIE for a specific purpose) or include the NIE request as part of your residency application.
- Bring: valid passport + copy, proof of the reason you need a NIE (property sale contract, incorporation documents, work contract, etc.), and the Tasa 012 (fee payment form, approximately EUR 10–12).
- The NIE is typically issued on the same day or within a few working days.
Abroad (at a Spanish Consulate)
Foreign nationals who need a NIE before arriving in Spain (e.g., to complete a property transaction remotely) can apply at the Spanish consulate in their country of residence. This requires the same documentation as the in-Spain process, plus a poder notarial authorising a representative to collect the document if needed.
Via a Representative with Power of Attorney
A representative with a properly drafted poder notarial can apply for and collect the NIE on your behalf — useful for non-residents who cannot travel to Spain for the application.
NIE vs NIF vs CIF
Terminology can be confusing:
- NIE: Foreigner ID for individuals — starts with X, Y, or Z.
- NIF: Tax Identification Number — for Spanish citizens, this is their DNI number; for foreigners, it is the same as their NIE.
- CIF: Historic term for company tax identification number — now replaced by NIF for legal entities (format: letter + 7 digits + letter or number).
How BMC Can Help
We manage NIE applications for foreign clients — both in Spain and coordinating with consulates abroad — as part of our incorporation and property advisory services. We can act as your representative through a power of attorney, handling the application and collection so you do not need to travel to Spain for this step.
Frequently asked questions
What is a NIE number in Spain and what is it used for?
How do I apply for a NIE number in Spain?
Can I get a NIE number from outside Spain?
What is the difference between a NIE and a NIF in Spain?
Does a NIE number expire?
Related service
Discover our services in this area
Related sectors
Request a personalized consultation
Our experts are ready to analyze your situation and provide tailored solutions.