Spain's unique identification number for all foreign nationals — required before almost any legal or financial transaction in Spain.
The NIE — Número de Identificación de Extranjero — is the unique identification number assigned to every foreign national by the Spanish government. The format is a letter, seven digits, and another letter (e.g. X1234567A). It is not a residency document or a visa; it is purely a tax and administrative identifier. The NIE is to Spain what the NIF is to Portugal or the Codice Fiscale is to Italy: the key that unlocks your ability to transact legally in the country.
For expats, the NIE is required before you can complete almost any significant legal or financial action in Spain. You need one to purchase property, sign a long-term rental contract, open a Spanish bank account, register a vehicle, pay taxes (including the property transfer tax ITP), start a company, or apply for a mortgage. Attempting to buy a property without a NIE is a common mistake that delays completions by weeks.
EU nationals apply for the NIE at the nearest Oficina de Extranjería or, in many cases, at a designated Comisaría de Policía. Non-EU nationals apply at the Consular Section of the Spanish embassy in their home country if they do not yet have a visa, or at the Oficina de Extranjería in Spain once they hold a valid visa. The process involves completing the EX-15 form, providing a valid passport and copy, a photograph, evidence of the reason for the NIE application (e.g. a property reservation contract), and payment of the tax (tasa) Model 790, code 012 — currently €9.84.
Processing times vary. In high-demand areas such as Alicante, Málaga, and Barcelona, appointments can be booked weeks in advance. Many Spanish property lawyers offer NIE application services — they obtain a power of attorney from you and apply on your behalf, removing the need for you to be physically present at the police station or consulate. This is the most practical solution for non-resident buyers.
Your NIE does not expire and does not change if you subsequently become a resident. If you lose your NIE certificate, you can request a new certificate (not a new number) from any Extranjería office. Keep a photocopy of your NIE document in a secure location separate from the original.
For long-term rental contracts (more than a few months), most landlords and agencies will require your NIE number. Short holiday rentals do not require one. If you are signing a standard Spanish tenancy (arrendamiento), obtain your NIE first.
As of 2026, NIE applications must be made in person at a Spanish Extranjería office or Spanish consulate abroad. Some police stations allow appointments via the Sede Electrónica system online. A Spanish lawyer can apply on your behalf with a power of attorney.
Processing times vary significantly by location. In Madrid, same-day or next-day processing is possible at certain offices. In popular coastal areas (Alicante, Málaga), appointment waits of 3–6 weeks are common. Using a lawyer's power of attorney service can typically reduce effective waiting time.
Browse our verified directory of English-speaking law firms across Spain. All listed firms offer English-language legal services to expats and foreign nationals.
Find My Lawyer in 60 Seconds