What is the NIE (Número de Identidad de Extranjero)?
The NIE (Número de Identidad de Extranjero) is the unique personal number Spain assigns to any foreigner — EU citizen or not — with economic, professional or social interests in the country. Without an NIE you cannot buy property, open a bank account, file a Modelo 210, or sign most contracts.
The NIE comes from Organic Law 4/2000 (LOEx) and is developed in articles 206-208 of Royal Decree 557/2011 (Reglamento de Extranjería). It is assigned by the Dirección General de la Policía and is unique, personal and for life: once you have it, it does not expire and does not need renewing. The card or certificate that proves it can expire, but the number itself is fixed forever.
The format is one letter + 7 digits + check letter, e.g. Y-1234567-A. The leading letters have shifted over time — first X (until 2008), then Y (from 2008), then Z (from 2018-2020) — because Spain was running out of combinations. The check letter is computed with the same algorithm as the Spanish DNI, so a mistyped NIE is caught instantly by any form.
There are two routes to obtain one: in Spain, by attending an Oficina de Extranjería or authorised police station with prior appointment, your filled-in EX-15 form, passport, and proof of payment of the tasa 790-012 fee; or from abroad, through the Spanish consulate in your country of residence. The consular route takes longer (weeks to months) but saves you the trip. For EU citizens it goes through the EU registration certificate, which carries the NIE automatically.
For a vacation-rental host the NIE appears in almost every procedure: it goes on the deed of purchase, on the cadastre as owner, on the contracts with the electricity and water utilities, on the bank account, on the annual Modelo 210 to the AEAT, on the IBI assessment at the town hall, and on the application for the regional tourist licence. If you delegate to a gestor or lawyer, they also need your NIE to represent you.
Why it matters
If you are going to buy a property in Spain, open an account to collect rent or file Modelo 210, the NIE is the first step — you cannot skip it. It is the identifier the tax office, the cadastre, the bank and the notary use to recognise you. Without it the rest of compliance stalls: you cannot put the property in your name, you cannot direct-debit IBI, you cannot file a tax return.