Insights

Buyer guides

How to get a NIE number in Spain

Updated 30 August 2026 · Costa Meridian

How to get a NIE number in Spain

Every foreign buyer in Spain needs a NIE before they can complete a purchase. It is a small piece of administration that quietly decides your timetable: apply early and you will never think about it again, leave it until a seller is waiting and it can add weeks to a deal that was otherwise ready.

Here is what it is, how to get one, and the parts people most often get wrong.

What a NIE actually is

The NIENúmero de Identidad de Extranjero — is your identification and tax number as a foreigner in Spain. It is a number, not a card, and it is not a residence permit. It exists so the Spanish state can identify you in any transaction with a fiscal consequence.

Without one you cannot:

  • complete a property purchase before a notary
  • pay Spanish purchase tax, or file the annual non-resident return afterwards
  • open the kind of Spanish bank account a purchase runs through
  • put utilities, a community account or a mortgage in your name

You do not need to live in Spain, hold a visa, or intend to move here. Buying a holiday home is reason enough.

NIE, TIE, residencia, empadronamiento — which is which

These four get confused constantly, and the confusion is what makes people think the process is harder than it is.

What it is Who needs it
NIE Your identification number as a foreigner Anyone buying property, paying Spanish tax, or signing before a notary
TIE A physical identity card for non-EU nationals living in Spain Non-EU residents
Certificado de registro Registration of an EU national resident in Spain EU nationals living here
Empadronamiento Registration on your town hall's population roll People actually living at an address

If you are buying a second home and not moving to Spain, the NIE is the only one on this list you need.

The two ways to apply

From your own country, at a Spanish consulate

You apply at the Spanish consulate or embassy covering your place of legal residence. For most buyers who are still living abroad while they look, this is the sensible route: you start it before you fly out, and the number is waiting by the time you are ready to sign.

In Spain, at a national police station or immigration office

You book a cita previa — an appointment — with the Policía Nacional or the Oficina de Extranjería. On the Costa del Sol the offices covering Málaga province handle a very high volume of these, and appointment availability, not the paperwork, is usually what determines how long it takes.

What it costs

The government fee is small. You pay tasa modelo 790, código 012, which is €9.84 for a NIE assigned on form EX-15.

You fill the form in on the Policía Nacional site, pay it at a bank or electronically, and bring the stamped proof of payment to your appointment. One detail worth getting right: the heading you pay under must match the procedure you booked, or the appointment can be refused over a €9.84 form.

Beyond that, the only cost is whatever you choose to pay a lawyer or gestor to handle it for you.

What you need

  • Your passport — original and a photocopy
  • A completed EX-15 application form
  • Proof of the paid tasa 790/012
  • A stated reason for needing the number (see below)
  • If someone applies on your behalf: a notarised power of attorney, a certified copy of your identity document, and the original and a copy of theirs

Any foreign document that forms part of the application must be translated into Spanish by a traductor jurado — a sworn translator. A translation done by a fluent friend is not the same thing and will be rejected.

You have to say why you want one

This is the step that catches people out, because it sounds like a test. It is not. The application asks for your motivo — the economic, professional or social interest that makes you need a Spanish identification number.

"I am purchasing a property in Spain" is a complete and perfectly ordinary answer. Supporting it helps: a reservation contract, a signed offer, or a letter from the estate agent or lawyer acting for you. If you have not chosen a property yet, an intention to buy is still a valid reason, and this is precisely why applying early is easier rather than harder.

How long it takes

This is the part no honest guide can give you a single number for, because it depends entirely on where you apply.

  • Through a consulate: commonly two to six weeks. Some consulates are considerably slower, and reports of eight to sixteen weeks are not unusual in busier countries.
  • In Spain: the paperwork itself is often same-day, but getting the appointment can take weeks in high-demand provinces.

The planning conclusion is the same either way. Treat the NIE as something you start at the beginning of your search, not at the end of it.

Does a NIE number expire?

This is the most persistent myth about the whole process, so it is worth being precise.

The number itself never expires. Once assigned it is yours permanently, whether you become a resident or stay a non-resident, and it stays the same for life.

The confusion comes from the certificate — the piece of paper the number arrives on. Older non-resident certificates carried a three-month validity, and although the rules changed, practice has not caught up everywhere. Some notaries and banks still prefer to see a recently issued certificate, so you may occasionally be asked to obtain a fresh copy.

So: your number is permanent, the paper is sometimes not. If yours was issued years ago, do not assume you have to start again — you almost certainly do not.

Can someone do it for you?

Yes, and many buyers do. You can grant a power of attorney — a poder — to your Spanish lawyer, allowing them to apply on your behalf without you being in the country. If you are also giving your lawyer authority for the purchase itself, the NIE is usually folded into the same document.

Note that in some offices and for some procedures your physical presence is still required on the day, so it is worth confirming which applies to the route you are taking before you plan flights around it.

When to start, and why it matters

Start before you have found a property.

Nothing about a NIE application depends on having chosen a house. It costs under ten euros and it is the one part of a Spanish purchase that runs entirely on other people's timetables. A buyer with a NIE in hand can move when the right property appears; a buyer without one is waiting on an appointment while the seller wonders whether the deal is real.

It is also, in our experience, the single most common reason a straightforward purchase takes longer than it needed to.

Where this fits into the purchase

The NIE is step one of a process that is genuinely predictable once you can see the whole of it. Our guide to the legal process sets out what follows — reservation contract, arras, notary and land registry — and the purchase timeline shows how the stages fit together in weeks.

If you would like the NIE handled alongside everything else, that is part of what we do for the buyers we work with. Tell us what you are looking for and we will tell you what your next step actually is.


Procedures and fees reflect the position in Spain at the time of writing and do change. Your lawyer confirms the current requirements for your situation before you submit anything.

Thinking about buying on the Costa del Sol?

Tell us what you are looking for — we reply within one working day, on your side of the table.

Speak with us