The NIE to buy property in Spain: what it is, how it differs from the TIE and how to apply
Published:
If you are going to buy a home or a plot of land in Spain, the first step is to obtain your NIE. Without it you cannot sign the deed before a notary or pay the taxes on the purchase. We explain what it is, how it differs from the TIE and how to apply for it.
What is the NIE
The NIE (Número de Identidad de Extranjero, the foreigner's identification number) is the personal, unique number that identifies a foreigner to the Spanish authorities. It is for life: even if your document changes, the number stays the same. You need it to buy or sell a property, open a bank account, pay taxes or sign utility contracts.
NIE, TIE, registration certificate and DNI: they are not the same
- DNI: the identity document of Spanish citizens. A foreigner cannot hold one.
- NIE: the number. To buy a home, having the number assigned is enough, with no need to live in Spain.
- TIE (Tarjeta de Identidad de Extranjero, foreigner's identity card): the physical card for citizens of countries outside the European Union who hold a residence permit in Spain. Your NIE is printed on it.
- EU citizen registration certificate: what citizens of the EU, the European Economic Area and Switzerland obtain when they settle in Spain for more than three months. It also carries your NIE.
In short: to buy, you need the NIE. You will only need the TIE or the registration certificate if you decide to live in Spain.
How to apply for the NIE
- Complete form EX-15 ("Application for a Foreigner's Identification Number and certificates"). As the reason, state the purchase of a property.
- Pay the fee using form 790, code 012 (modelo 790 código 012), at a Spanish bank or online. The amount is updated periodically: check it on the official website before paying.
- Book an appointment at an Oficina de Extranjería (Foreigners' Office) or at a National Police station with a foreigners' service. Outside Spain, apply at the Spanish consulate in your country of residence.
- Attend the appointment with the form, proof of payment of the fee, your passport (or EU identity document) with a photocopy, and a document that supports the reason, for example the deposit contract (contrato de arras) or a letter from the notary's office.
The specific requirements and deadlines may vary depending on the office or the consulate. Confirm them when you book the appointment.
Can someone else apply on my behalf?
Yes. A representative (for example, your lawyer) can carry out the procedure if you have granted them a power of attorney. If the power of attorney is signed outside Spain, it must carry the Hague apostille or the corresponding legalisation and, if it is not in Spanish, a sworn translation.
How long does it take
It depends mainly on the availability of appointments in each province or consulate, which can be a matter of days or several weeks. Our advice: apply as soon as you begin searching for a property, not once you have already found one.
The next step
With the NIE in hand, you can now sign the purchase. Read our guide to buying a home in Spain as a foreigner or write to us if you would like us to accompany you.
General guidance as of the update date. It is not legal or tax advice: check your own case with a professional before deciding.
All guides
-
Buying property in Spain as a foreigner: a step-by-step guide
The steps to buy a home in Spain as a foreigner or non-resident: NIE, bank account, due diligence, deposit contract, notary and land registry.
Read the guide -
Spain's golden visa has ended: what changed and what the alternatives are
Since 3 April 2025, buying property no longer grants residence in Spain. What changed, who it affects and the routes to live here.
Read the guide -
Buying a plot in Mallorca to build on: what to check first
Urban or rustic land, buildable area, land registry, project and permit: what to check before buying a plot in Mallorca to build your villa.
Read the guide