Buying in Spain

The NIE number, and why nothing in a Spanish purchase moves without it

Ion Postolache · Published 30 July 2026

The NIE is the least interesting document in a Spanish property purchase and the one that most often derails it. It is a number. It does nothing on its own. And without it, the notary cannot complete your deed, the tax office cannot process your payment, and the Land Registry cannot record you as the owner.

We put this first in every purchase timeline for one reason: it is the only step whose duration is entirely outside your control.

What the NIE actually is

Número de Identidad de Extranjero. Foreigner identification number. It is a tax and administrative identifier that Spain assigns to non-Spaniards who have dealings with the Spanish state. It is not a residence permit, not a visa, and not permission to do anything.

It is issued once and does not expire. If you were assigned one years ago on a previous transaction, you still have it, and you should find it rather than apply again. Two numbers for one person creates a problem that takes longer to untangle than the original application.

The number itself is a letter, seven digits and a check letter. It appears on a certificate, not a card. The certificate is what you will be asked for.

What you cannot do without one

  • Sign a purchase deed before a notary
  • Pay the transfer tax or stamp duty on the purchase
  • Register the property in your name at the Land Registry
  • File the annual non-resident return that Spain expects from foreign owners
  • Open most Spanish bank accounts
  • Connect utilities in your own name in most cases

Every one of those is a step in a purchase. This is why an NIE application started late becomes a completion date missed.

The two routes

At a Spanish consulate in your country of residence. You apply where you live, before you travel. This is the route most buyers should take, because it removes the dependency on an appointment in Spain during a trip you have already booked. Requirements and processing times are set by the individual consulate and vary. The Ministry of Foreign Affairs directory is the place to find yours.

In Spain, through the National Police or a designated office. Available if you are already here. The binding constraint is the appointment — cita previa, and on the Costa del Sol appointment availability has been the slow step for years, not the decision itself.

Through a representative. You can grant a power of attorney to a lawyer or gestor in Spain to apply on your behalf. For buyers who cannot easily travel, this is usually the pragmatic answer, and the same power of attorney can often cover later steps in the purchase.

What the application involves

Broadly, in all routes: a completed application form, your passport plus a copy, evidence of why you need the number, and payment of the government fee through the prescribed form at a bank.

“Evidence of why you need it” is the part people underestimate. A stated intention to buy is generally not enough on its own. A signed reservation document, a private purchase contract, or a letter from the acting lawyer or notary is the kind of thing that satisfies it. If you apply with nothing concrete, expect to be asked for something concrete.

Exact forms, fees and required documents are set by the authorities and change. We will not print a form number or a fee here that would be wrong the day it changes. Your consulate’s own page, or your lawyer, is the current source.

How long it takes

There is no single answer, and anyone who gives you one is guessing. What determines it is appointment availability at your consulate or at the Spanish office you apply to, not the complexity of your case.

The practical rule we work to: start the NIE the moment a purchase becomes plausible, not the moment it becomes certain. The cost of applying and not proceeding is a small fee. The cost of proceeding without the number is a missed completion, and in a purchase with a deposit at risk that is not a theoretical loss.

The green certificate confusion

This trips up more EU buyers than anything else in the process, and it is entirely avoidable.

If you are an EU citizen and you register as a resident, staying longer than three months, you receive the certificado de registro, a green A4 or credit-card-sized certificate. That document carries your NIE on it.

So EU citizens frequently end up with the number through the residency registration rather than through a separate NIE application, and then cannot find “their NIE certificate” because they are looking for the wrong document.

The practical rules that follow:

  • If you already have the green certificate, you already have an NIE. Do not apply again.
  • The green certificate is not a residence card in the sense non-EU nationals know. It registers a right you already hold under free movement.
  • A non-EU buyer gets a standalone NIE certificate instead, on a different form and through a different route.

NIE, NIF, DNI and CIF

Four terms that get used interchangeably and are not the same thing:

  • DNI — the Spanish national identity number, for Spanish citizens.
  • NIE — the foreigner identification number. Yours.
  • NIF — the tax identification number. For an individual foreigner, the NIE functions as the NIF; the terms overlap in practice, and a form asking for “NIF” is asking for your NIE.
  • CIF — historically the identifier for companies, now folded into the NIF system. If you buy through a foreign company, the company needs its own Spanish tax number, obtained separately and requiring the company’s constitutional documents, apostilled and sworn-translated. That is a longer process than an individual NIE and it should start earlier, not later.

If you have lost the certificate

Common, and less serious than people fear. The number does not change and does not expire. What you have lost is the paper.

The number itself appears on any Spanish document where you used it: a previous deed, a tax filing, an IBI receipt, a bank record. Find one of those and you have the number.

For a formal duplicate, the issuing authority can provide confirmation, and a gestor with a power of attorney can normally handle the request. What you should not do is apply for a new one — two NIE numbers for one person creates an untangling exercise longer than the original application, and it can hold up a completion.

The forms, by name

Knowing what to ask for shortens every conversation:

  • EX-15 is the application form for the NIE itself.
  • Modelo 790, código 012 is the fee form. You print it, pay it at a bank, and bring the stamped receipt with the application. Turning up without the paid fee is one of the most common reasons an appointment is wasted.
  • For the residency registration route, EU citizens use a different form entirely, and it is the one that produces the green certificate.

Requirements are applied office by office, so confirm the current list with the consulate or the professional you instruct rather than treating any list, including this one, as exhaustive.

Joint buyers, companies and children

Each buyer needs their own NIE. A married couple buying together needs two. If the property will be held by a company, the company needs a Spanish tax identification number and the individuals signing on its behalf need theirs.

Where a minor will appear on the deed, which happens in some inheritance and family arrangements, the minor needs an NIE too.

Every one of these is a separate application, and they do not run faster because they were submitted together.

I am an EU citizen with a green certificate — do I need an NIE too?

No. The certificado de registro, the green certificate issued when EU citizens register after three months, carries your NIE on it. You already have one. Applying again risks a second number, which is worse than the problem it solves.

What is the difference between NIE, NIF and CIF?

DNI is the Spanish identity number for Spanish citizens. NIE is the foreigner identification number. For an individual foreigner the NIE functions as the NIF, so a form asking for “NIF” wants your NIE. A company buying property needs its own Spanish tax number, obtained separately with apostilled and translated corporate documents. A longer process than an individual NIE.

I have lost my NIE certificate. What now?

The number does not change and does not expire; you have lost the paper, not the number. It appears on any Spanish document where you used it. A previous deed, a tax filing, an IBI receipt. For a formal duplicate the issuing authority can confirm it, and a gestor with a power of attorney can usually handle the request. Do not apply for a new one.

Which forms do I need?

EX-15 is the application form for the NIE and Modelo 790 código 012 is the fee form, which you print, pay at a bank and bring stamped to the appointment. Arriving without the paid fee is one of the most common reasons an appointment is wasted. Confirm the current list with the consulate or your representative.

The mistakes we see

Leaving it until the reservation is signed. By then the clock on the private contract is usually running.

Assuming a previously issued number has lapsed. It has not. Find the old certificate.

Applying with no supporting evidence and being turned back for it.

Confusing the NIE with residency. They are unrelated. Having an NIE does not give you any right to be in Spain, and it does not affect the 90-day short-stay limit for third-country nationals.

Assuming the NIE makes you tax resident. It does not. Tax residency follows from where you actually live — broadly, more than 183 days in Spain in a calendar year — not from holding an identification number.

Where it fits in the purchase

In the order we work to: NIE first, then the reservation, then the checks at the Land Registry and the town hall, then the private contract, then completion before a notary and registration.

The NIE sits first not because it is important but because it is the only step where waiting is the whole cost.

Frequently asked questions

What is an NIE number in Spain?

It is the Número de Identidad de Extranjero, a tax and administrative identifier that Spain assigns to foreigners who deal with the Spanish state. It is used to sign deeds, pay taxes, register property and file returns. It is not a residence permit and grants no right to live or work in Spain.

Do I need an NIE to buy a property in Spain?

Yes. You cannot sign the purchase deed before a notary, pay the transfer tax, or have the property registered in your name without one. Each buyer on the deed needs their own.

How do I get an NIE number for Spain?

Either at a Spanish consulate in the country where you live, at the National Police or a designated office in Spain by appointment, or through a representative in Spain acting under a power of attorney. Applying at your consulate before you travel is usually the lowest-risk route for a buyer.

How long does it take to get an NIE?

There is no fixed processing time. In practice the wait is driven by appointment availability at the consulate or office you apply to rather than by the decision itself, so it varies by location and by season. Start the application as soon as a purchase looks plausible rather than waiting until it is certain.

Does an NIE number expire?

No. The number is assigned once and remains yours. If you were given one on an earlier transaction it is still valid, and you should locate that certificate rather than apply for a second number.

Does having an NIE make me a Spanish tax resident?

No. Tax residency follows from where you actually live. Broadly, spending more than 183 days in Spain in a calendar year, or having your main economic interests here. Holding an NIE has no bearing on it.

Can someone else apply for my NIE on my behalf?

Yes, through a power of attorney granted to a lawyer or gestor in Spain. This is common for buyers who cannot travel for an appointment, and the same power of attorney can often be drafted to cover later steps in the purchase.

What documents do I need for the application?

Broadly: the application form, your passport and a copy, evidence of why you need the number, and proof of payment of the government fee. The evidence requirement is the one that catches people out. A signed reservation, a private purchase contract or a letter from the acting lawyer is generally expected. Exact requirements are set by the issuing authority and vary by consulate, so confirm against your consulate’s own current page.

Sources