Back to blog

NIE to buy a property in Spain

murcia-best-city-visit-spain

NIE to buy a property in Spain

Buying a property in Spain as a foreigner requires preparing several formalities before reaching the notary. One of the most important is obtaining the NIE, the Foreigner Identity Number (Número de Identidad de Extranjero).

It may seem like a minor step, but if you leave it to the end it can delay the signing, block payments or complicate the registration of the property. That is why it is worth planning for it from the start of the transaction, especially if you are buying from outside Spain or have a set signing date.

In this article you will see what the NIE is, what it is used for when buying a property, how you can apply for it and what mistakes you should avoid so that the process does not cause you problems right when you have already chosen the property.

Also, you may be interested in: Steps to buy a new-build property as a foreigner

What is the NIE and what is it used for when buying a property in Spain?

The NIE is the number that identifies a foreign national to the Spanish Administration when they have economic, professional or social interests in Spain.

In a property purchase, the NIE will allow you to identify yourself in transactions with legal and tax implications. Without this number, you will not be able to complete steps such as signing the public deed, settling taxes or registering the property at the Land Registry.

You may also need it for other common matters after the purchase, such as opening a bank account, setting up utilities or filing taxes as a non-resident, if that is your situation.

Simply put: if you are going to buy a house, apartment, villa or investment property in Spain, the NIE must be sorted out before the signing before a notary.

Who needs a NIE to buy a property?

Any foreign buyer taking part in the transaction needs a NIE, even if they are not going to live in Spain.

This includes citizens of the European Union, non-EU buyers, non-resident investors, people purchasing a second home and owners buying through certain legal structures.

If the property is purchased by two people, it is standard for both to need a NIE. For example, if a foreign couple buys a property on a 50/50 basis, each buyer will need their own number.

This point is important because people sometimes think it is enough for just one of the buyers to have the required documentation. That is not the case. If you appear on the deed as a buyer, you must be properly identified.

How to apply for the NIE from within Spain

If you are in Spain, you can apply for the NIE at the Dirección General de la Policía (National Police), usually through a Oficina de Extranjería (Foreigners’ Office) or an authorised police station.

The usual process is to book an appointment in advance, prepare the documentation and attend on the assigned day. In many cases a representative can also act on your behalf, provided they are properly authorised.

If you are organising the purchase with little time to spare, this step should be among the first things you arrange. Appointments are not always available when you need them, and this can affect your signing schedule.

How to apply for the NIE from abroad

If you are not yet in Spain, you can start the process at the Spanish Consulate corresponding to your country or place of residence.

This option can help if you are buying from another country and want to arrive in Spain with the process already underway. Even so, it is worth checking the specific instructions of the consulate, as timescales, appointment booking and required documents may vary.

If you have a signed reservation, a preliminary purchase contract (contrato de arras) or a letter justifying your intention to buy, this can serve to explain the reason for your application.

Panoramic view of Águilas on the Costa Cálida, Spain, showing the beach, promenade, palm trees and coastal buildings with mountains in the background.

Documents required to obtain the NIE in 2026

To apply for the NIE for the purpose of buying a property, you will typically need to prepare the following documentation:

  • completed official form EX-15;
  • full, valid passport with a copy;
  • document justifying the reason for the application;
  • proof of payment of the administrative fee using form 790, code 012;
  • power of attorney, if the process is being carried out by someone else on your behalf.

As proof of reason, you can provide documentation linked to the purchase: reservation contract, preliminary purchase contract, purchase proposal, agency communication or a document from your lawyer explaining the transaction.

If the document is in another language, it may need to be accompanied by a translation. And if a power of attorney is signed abroad, it may require legalisation or an apostille, depending on the country.

How long does the process take?

If you manage the NIE from within Spain, the timescale will depend on appointment availability, the relevant office and their current workload. As a rough guide, it can take around two weeks.

If you apply through a Spanish Consulate abroad, the process may take longer, as the application must be sent to Spain for review and processing.

For this reason, the best approach is to start as early as possible and not leave it until the last few days before the purchase signing.

Common mistakes when applying for the NIE to buy a property

The most common mistake is applying for the NIE too late. If you wait until the signing date is very close, any delay can affect the entire transaction.

Another frequent error is not properly justifying the reason for the application. Buying a property is a valid reason, but it must be explained and supported with documentation.

It is also common to fill in form EX-15 incorrectly, pay the wrong fee, attend without copies, present an incomplete passport or assume that the NIE is equivalent to residency.

If you are buying with another person, make sure all buyers have their NIE. If one of them does not, the signing can be held up.

costa.calida.best.life.spain

Differences between the NIE, residency and tax number in Spain

The NIE is not a residency permit. Having a NIE does not mean you are legally allowed to live in Spain for longer than permitted under your immigration status.

The NIE is an identification number. It is used to operate before the Administration and carry out acts with economic significance, such as buying a property.

It is also worth distinguishing between NIE and NIF. In Spain, the NIF is the tax identification number used with the Tax Agency (Agencia Tributaria).

Tips for foreign buyers before signing for a property

If you are going to buy a property in Spain, get your NIE sorted from the very beginning. It will save you from last-minute rushes, date changes and awkward admin when the transaction is already well advanced.

You should also review all documents before signing: the preliminary purchase contract, registered ownership, encumbrances, taxes, community fees, first occupation licence if applicable, and payment conditions.

If you are buying from outside Spain, consider granting power of attorney to a trusted lawyer or representative. This can make it easier to apply for the NIE, carry out the legal review of the transaction and sign if you are unable to travel.

Before transferring significant sums of money, make sure you know what you are paying, to whom, for what purpose and under what conditions the money is refunded or forfeited.

The NIE is just one part of the process, but a key part. Having it ready will help you buy with greater peace of mind and avoid an administrative formality delaying an important decision.

NIE to buy a property in Spain: a straightforward process if you plan ahead

Applying for the NIE to buy a property in Spain does not have to be complicated, but it does require organisation. You need to know where to apply, what documents to submit and when to start the process.

As a foreign buyer, this number will allow you to sign the purchase deed, pay taxes, register the property and handle subsequent matters.

The best advice is clear: do not leave it to the last minute. The sooner you have your NIE, the smoother the buying process will be and the less risk you will face of delaying the signing over a document you could have prepared well in advance.

You may also be interested in:

Share:
AI assistant Madi