The NIE number: the first document you need to buy property in Spain
Updated: July 15, 2026
Before the mortgage, before the notary, before you can even pay the purchase tax, Spain wants to know who you are. The NIE (Número de Identidad de Extranjero) is the foreigner identification number that makes every legal and tax step of your purchase possible — and getting it is usually the first bottleneck in the timeline.
What the NIE is (and isn’t)
The NIE is a personal, unique identification number for foreigners with economic, professional or social interests in Spain. It’s what appears on your tax forms, the property deed and the Land Registry entry.
What it is not: a residence permit, a visa or a tax residency status. Holding an NIE doesn’t make you a Spanish tax resident (that depends on the 183-day rule and your circumstances) and it never expires for tax purposes — though the paper certificate itself may state a validity period.
Why you can’t complete a purchase without it
- The purchase tax (ITP or VAT/AJD) is filed against your NIE.
- The notary will require it to execute the public deed.
- The Land Registry needs it to register you as owner.
- Banks require it to grant a mortgage — see the non-residents mortgage guide.
You can house-hunt, negotiate and even sign a private reservation or arras deposit contract while the NIE is in progress. But plan for it to exist well before completion day.
How to get it: three routes
- In Spain, in person: book a cita previa at a National Police foreigners’ office (Oficina de Extranjería / comisaría), bring your passport, the completed EX-15 form stating the economic reason (buying a property — bring supporting evidence such as the reservation contract), and the fee receipt: form 790, code 012, around €10, payable at a bank.
- From your country, at the Spanish consulate covering your residence: same EX-15 + passport + justification; the consulate forwards it to Spain. Slower on paper, but it saves a trip.
- Through a representative in Spain with a power of attorney (lawyer or gestor). Common among international buyers, and often the fastest in high-demand provinces.
Timing: the honest answer
The fee is trivial; the queue is not. Appointment availability ranges from days to several weeks in Madrid, Barcelona, Málaga or Alicante — precisely where international buyers concentrate. Two practical tips:
- Start the NIE the day you get serious, not the day you find the house.
- If you’ll need a Spanish bank account and a mortgage, run those in parallel: the NIE unlocks both. Then work out your real budget with how much can I borrow? and the taxes you’ll pay.