Buying in Spain

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

MARNER ESTATES · Responsible for the content: Marcel Fichtner · Published July 28, 2026 · updated September 7, 2026

The NIE number Spain assigns to foreigners is a tax and administrative identifier, and no property purchase completes without one: the notary cannot sign your deed, the tax office cannot process your payment, and the Land Registry cannot record you as the owner. There are three ways to get one: at a Spanish consulate in the country where you live, at a National Police or immigration office in Spain by appointment, or through a representative in Spain acting under a power of attorney. The number is issued once, it never expires, and every buyer named on the deed needs their own.

What the NIE actually is

Número de Identidad de Extranjero. Foreigner identification number. It is a personal, permanent and non-transferable identifier that Spain assigns to non-Spaniards in any dealing with a tax or legal consequence. 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 on an earlier transaction you still have it, so find it rather than apply again.

The number is a letter, seven digits and a check letter, with X, Y or Z at the front depending on when it was issued. It appears on a certificate rather than a card: non-residents receive an A4 certificate, often called the white NIE, and that is what you will be asked for.

What you need it for, and what it does not do

  • 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
  • Buy a car

Each of those is a step in a purchase or follows one, which is why an application started late turns into a completion date missed.

What the number does not do matters as well. It carries no immigration rights: a non-EU citizen holding one faces exactly the same Schengen limits as one without, and it does not affect the 90-day short-stay limit that applies to third-country nationals. It does not make you a Spanish tax resident, which follows from where you actually live, broadly more than 183 days in Spain in a calendar year or your main economic interests here. And buying property does not grant residency either, a separate and widely repeated misunderstanding covered in the Spanish golden visa.

The three routes to getting one

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

In Spain, at a National Police station with an immigration desk or an Oficina de Extranjería. Available if you are already here. The binding constraint is the appointment, the cita previa.

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

What the application involves

Requirements vary a little between consulates and between police stations, so check the list published by the office you will actually use. In broad terms:

  • The application form, EX-15, completed and signed
  • Your passport, valid, plus a photocopy of the relevant pages; some offices want the copy certified
  • Proof of why you need the number
  • The fee receipt, paid on tax form Modelo 790, código 012 at a bank before the appointment rather than at it, and brought stamped with the file
  • Passport photographs, at some offices

“Why you need it” is where applications fail. You have to show a concrete economic, professional or social reason: a reservation document, a deposit contract, a private purchase contract, or a letter from your lawyer, notary or the acting agency. An intention to buy at some point is not a reason.

Forms, fees and required documents are set by the authorities and change, so treat no list, including this one, as exhaustive.

What it costs and how long it takes

The administrative fee is small and set by tariff rather than by the office you use. Where a lawyer or gestor acts for you, their fee is the larger part of the cost, and what it buys is the appointment problem going away.

Timing has no single answer. What determines it is appointment availability at your consulate or at the Spanish office you apply to, not the complexity of your case; once you are seen, the number is typically issued quickly. So start the NIE the moment a purchase becomes plausible, not the moment it becomes certain. An NIE you turned out not to need costs a small fee. One that arrives after your completion date costs you the completion date, and with a deposit at risk that is not a theoretical loss.

Regional differences within Spain

The number, the forms and the fee are national. What differs by region is where you go and how long you wait, because requirements are applied office by office.

Andalusia (Marbella). Applications made in Spain go through the National Police or a designated office, and on the Costa del Sol appointment availability has been the slow step for years rather than the decision itself. Where the NIE sits in a local purchase is set out in buying property in Marbella.

Balearic Islands (Mallorca). Applications on the island are handled in Palma, again by cita previa booked online, with slots released irregularly in high season. The island sequence is covered in buying property in Mallorca.

What goes wrong

Four things account for most refusals, and each costs you an appointment slot, which is the scarce thing.

No adequate reason. By some distance the most common. The supporting document has to show a real transaction, not an aspiration.

An incomplete or unsigned EX-15, or the wrong version of the form.

The fee unpaid at the time of the appointment, one of the most common reasons an appointment is wasted.

A power of attorney drawn too narrowly, or without the apostille and sworn translation needed when it was signed outside Spain.

Two further mistakes cost time rather than the slot: leaving the application until the reservation is signed, by which point the clock on the private contract is usually running, and assuming a previously issued number has lapsed. It has not.

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.

EU citizens therefore often 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. If you have the green certificate, you have an NIE, and applying again risks a second number, which is worse than the problem it solves.

The green certificate is not a residence card in the sense non-EU nationals know it; it registers a right you already hold under free movement. EU citizens on that route use a different form entirely, and it is the one that produces the green certificate; a non-EU buyer gets a standalone NIE certificate on a different form again.

NIE, TIE, NIF, DNI and CIF

Five terms circulate and are regularly confused.

DNI is the Spanish national identity number and card, for Spanish citizens only. NIE is the foreigner identification number, yours, issued to non-residents as a certificate.

TIE, Tarjeta de Identidad de Extranjero, is a physical identity card issued to foreigners who hold residence rights. It displays your NIE rather than replacing it, and you only get one if there is a residence status behind it. Buying a holiday home does not entitle you to one, so an offer to obtain a “residency card” as part of a property purchase is a claim worth examining carefully.

NIF is the tax identification number. For an individual foreigner the NIE functions as the NIF, so a form asking for “NIF” wants your NIE; for companies it is a separate number.

CIF was historically the company identifier and is now folded into the NIF system. A foreign company buying property needs its own Spanish tax number, obtained separately with the company’s constitutional documents apostilled and sworn-translated. That is a longer process than an individual NIE and 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. It appears on any Spanish document where you used it: a previous deed, a tax filing, an IBI receipt, a bank record. For a formal duplicate the issuing authority can confirm it, and a gestor with a power of attorney can normally handle the request. Do not apply for a new one: two numbers for one person creates an untangling exercise longer than the original application, and it can hold up a completion.

Some banks and institutions ask for a recently issued certificate, which is where the belief that an NIE “expires after three months” comes from. It does not, but the paper may need reissuing, and reissuing is another appointment. Keep the original safe and take copies the day you receive it.

Joint buyers, companies and children

Each buyer needs their own NIE, so a 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 appears on the deed, which happens in some inheritance and family arrangements, the minor needs one too. Each of these is a separate application, and they do not run faster because they were submitted together.

Where it fits in the purchase, and what comes after

In the order we work to: NIE first, then the reservation, then the checks at the Land Registry and the town hall, covered in the nota simple, then the private contract, then completion before a notary and registration. The NIE sits first not because it is the most important step but because it is the one where waiting is the whole cost.

Once you have it the rest of the file opens up: a Spanish bank account, which makes paying the purchase costs, the utilities and the community fees materially simpler; the utility contracts in your own name after completion; and registration with the tax authority for the annual non-resident return that follows ownership.

A question about your own situation?

Book a private consultation →

Every figure with its source and the date it was checked · We usually reply within one business day

Frequently asked questions

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

Yes. The purchase deed cannot be signed before a notary without it, and it is required to pay the transfer tax that follows and to have the property registered in your name at the Land Registry. Every buyer named on the deed needs their own number, so a couple buying jointly needs two.

How do I get an NIE number for Spain?

Three routes. At a Spanish consulate in the country where you live, at a National Police station or Oficina de Extranjería in Spain by prior appointment, or through a representative acting under a power of attorney. Applying at your consulate before you travel is usually the lowest-risk route, because it takes the appointment out of the trip.

How long does it take, and what does it cost?

There is no fixed processing time. The wait is driven by appointment availability at the consulate or office you use rather than by the decision, so it varies by location and season; once you are seen, the number is usually issued quickly. The administrative fee is small and set by tariff, and a lawyer or gestor adds theirs.

Does an NIE number expire?

No. The number is assigned once and remains yours, so if you were given one on an earlier transaction, locate that certificate rather than apply for a second number. Some institutions ask for a recently issued certificate, which is where the belief that it expires comes from. The document may need reissuing; the number does not.

What is the difference between an NIE and a TIE?

The NIE is the number, issued to non-residents as an A4 certificate. The TIE is a physical identity card issued only to foreigners who hold residence rights, and it displays the NIE rather than replacing it. Buying a second home does not entitle you to one.

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, and it carries no immigration rights either: your permitted stay depends on your nationality and any visa or permit you hold.

Sources

Book a private consultation → Message us on WhatsApp →

Every figure with its source and the date it was checked · We usually reply within one business day