Getting a NIE number: how it works
The NIE (Número de Identidad de Extranjero) is your Spanish identification and tax number as a foreigner. Without it you cannot buy a home in Spain.

What do you need a NIE number for?
- signing the title deed at the notary
- opening a Spanish bank account
- paying transfer tax and yearly taxes
- putting water, electricity and internet in your name
Three ways to apply
In Spain: at a Policía Nacional office (Oficina de Extranjería) by appointment (cita previa). Bring your passport, the completed application form (EX-15), proof of payment of the small fee and a reason for the application, such as buying a home.
From abroad: through a Spanish consulate. This usually takes longer, but you do not need to travel to Spain.
Through a lawyer or gestoría: with a power of attorney your lawyer can apply for you. This is easiest if you are using a lawyer for the purchase anyway.
Tips
- Apply in good time: appointments in busy coastal towns can take weeks.
- If you buy together with your partner, you both need a NIE number.
- A NIE number is not the same as a residence permit or registering as a resident.
Frequently asked questions
How long is a NIE number valid?
The number itself is yours for life. Some offices may consider an old paper certificate outdated, but the number does not change.
Can I buy a house without living in Spain?
Yes. Non-residents can buy a home; you need a NIE number and you pay a yearly non-resident tax.
This guide gives general information and is not legal or tax advice. Rules and rates change; always have your situation checked by an independent lawyer or tax adviser.