Buying guide
NIE Number for Property Buyers in Spain: How It Works
The NIE is the foreigner's tax number you need to buy property in Spain. Here is what it is and how to get one.

In brief: The NIE is a tax identification number for foreigners in Spain. You need one to buy or sell property, and it is usually the first document a notary, bank or lawyer will ask for. You can apply in person, through a representative or at a Spanish consulate abroad.
What the NIE is
NIE stands for Número de Identidad de Extranjero, a foreigner’s identity number. In practice it works as your tax identification number in Spain. It is made up of a letter, seven digits and a final check letter. The National Police issues it.
Spanish law requires it for the purchase or sale of real estate, and also for buying vehicles and boats, working or studying. Many other transactions need it too, from opening a bank account to signing up for electricity.
What it is not
An NIE is a tax number, not permission to live in Spain. It does not by itself give you residence rights. If you later become a resident, the same number appears on your residence card, but the two things are separate. Our guide to residency routes covers the difference.
How to apply
There are three routes.
- In person in Spain. You present the application yourself, with proof that you are legally in the country and documents that justify why you need the number.
- Through a representative in Spain. An accredited representative with the right legal powers, general or specific, can apply for you. This suits buyers who cannot travel. See buying from abroad.
- At a Spanish consulate abroad. You apply at a Spanish diplomatic mission or consulate in the country where you live, again with documents that justify the request.
What you need
Two things are the core of any application: the completed and signed original of form EX-15 (not a copy), and your passport with passport photographs. The form asks for an address, which does not need to be permanent, and for a phone number and email address. Use an address where you can reliably receive post, because notifications may be sent there.
The form also asks you to state the reason for requesting the NIE. For a purchase, say so, and have your lawyer confirm the supporting documents the office will accept.
In some larger localities you must book an appointment online first, so check the local arrangements early. Forms, fees and procedures change from time to time, so always confirm the current version on the official police website before you pay anything.
Using an intermediary
You can apply yourself, and many buyers do. Some prefer to pay a lawyer or gestor to handle it, especially when they are abroad. That is reasonable, but ask for the fee in writing and for a copy of everything filed. Be sceptical of any service that implies the NIE is hard to obtain or urgent.
Common pitfalls
- Name mismatches. Your name must appear exactly as in your passport on the NIE, the contract and the deed. Differences cause delays at the notary.
- Leaving it late. Do not wait until you have found a property. Having the number ready lets you act calmly when the time comes.
- Treating it as residence. Owning a home and holding an NIE does not give you the right to stay beyond the limits that apply to your nationality.
- Losing the certificate. Keep the original safe and scan it. You will use it repeatedly.
After you have your NIE
With the NIE you can open a bank account, sign the reservation and arras contracts, appear before the notary and pay the purchase taxes. Foreigners with an NIE can also use it to register on the municipal register of inhabitants (padrón) once they live in Spain.
A short checklist
- Valid passport and passport photographs.
- Form EX-15 completed and signed in the original.
- Proof of the reason for the NIE, such as the reservation contract or an offer.
- An address where you can receive post.
- Appointment booked, if your locality requires one.
- Scans of the finished certificate stored safely.
This is general information, not legal or tax advice. Use an independent Spanish lawyer (abogado) for your purchase.


