Every property purchase in Spain begins with one small administrative step. The NIE number Spain issues to foreign nationals is not a residence permit, not a tax status and not a card you carry. It is a number, and with it the notary completes your deed and the tax office registers you as an owner. Obtained at the right moment, it is one of the quickest and least expensive parts of buying your home on the Costa del Sol.

We went through this ourselves when we moved to Estepona from Germany, and we walk every buyer through it as part of their purchase. What follows is how it works today, under the new rules in force since May 2025, step by step, from the appointment and the form to the certificate safely in your hand.

What an NIE number actually is

The letters stand for número de identidad de extranjero, and the NIE number Spain issues is the same object whether you are buying a studio or a villa. Spanish law describes it as a personal, unique and exclusive number of sequential character, assigned for the purposes of identification. It has nine characters: a letter, then seven digits, then a check letter.

Read that definition carefully, because the word that matters is identification. The NIE tells the Spanish administration which foreign person it is dealing with, in the same way a Spanish national is identified by a DNI. It does not grant you anything. It does not allow you to live here, work here, or stay longer than your visa or your visa-free allowance permits. It simply makes you addressable.

That is the key point to understand: the NIE is not a form of residency but an identification number on a sheet of A4 paper. For buying property, that sheet is all you need, and it is quick and inexpensive to obtain.

The rule changed in May 2025, and most guides still quote the old one

Here is the part you will not find on the first page of search results. For fourteen years, the NIE was governed by Article 206 of Royal Decree 557/2011. That regulation was repealed with effect from 20 May 2025 by the sole repealing provision of Royal Decree 1155/2024.

The current basis is Article 205 of Royal Decree 1155/2024, published in the Official State Gazette. In substance the NIE rules survived the change largely intact, which is why nothing dramatic happened to the queues. But the citation everyone repeats is now wrong, and one consequence is very practical indeed: the official EX-15 form still carries the old reference in its header, printed as "(LO 4/2000 Y RD 557/2011)".

If you notice that and worry you have downloaded an outdated form, you have not. The form remains the correct one. It is simply printed with a legal reference that the legislator has since replaced. It is worth knowing, because applicants who spot it tend to assume they have the wrong document and go looking for a newer version that does not exist.

Article 205.1: foreign nationals who relate to Spain by reason of their economic, professional, social or any other interests shall be provided, for identification purposes, with a personal, unique and exclusive number of sequential character.

Who needs an NIE number in Spain, and when

The regulation splits applicants into two groups, and knowing which one you belong to changes the whole process.

The first group gets an NIE automatically. If you have started a procedure for a document that lets you stay in Spain, or if immigration proceedings have been opened concerning you, the Directorate-General of the Police assigns you a number without being asked. Someone applying for a non-lucrative visa or a digital nomad visa falls into this group. Their number arrives as part of the process.

The second group has to ask. Foreign nationals who relate to Spain because of economic, professional or social interests must apply, and the regulation attaches two conditions: that they are not in Spain irregularly, and that they state the reasons for the request. Buying a home is the textbook example of an economic interest, which is why property buyers are almost always in this second group.

As for when: apply the moment the purchase becomes real, which in practice means as soon as you have signed a reservation. Not when the mortgage is approved, not when the completion date is set. The number is cheap and it does not expire. Having one you did not end up needing costs you ten euros; needing one you do not have costs you a completion date.

Applying for an NIE number in Spain: the counter at a police station immigration desk
The appointment itself is short. Getting to it is the part that takes planning.

Two people, two numbers

If two of you will appear on the deed, both of you need an NIE. The number is personal, unique and exclusive, which means it cannot be shared between spouses, between parent and adult child, or between business partners. Two buyers is two EX-15 forms, two appointments and two fees.

It is worth settling early with any couple, because it is the single most expensive assumption in this whole process. A couple who discovers in week eight that only one of them applied does not lose ten euros. They lose the appointment slot they were counting on, and with it, quite often, the completion date they had agreed.

The related question is whether both of you should be on the deed at all. That is a decision with tax and inheritance consequences on both sides of the border, and it belongs with your lawyer rather than with us. But decide it before you apply, not after, because the answer determines how many applications you are making.

Where the NIE actually appears in a property purchase

Guides tend to say "you need an NIE to buy" and stop there. It is more useful to know the three specific moments, because they are spread across the timeline and only one of them is truly immovable.

At reservation and private contract. This is the flexible one. You can reserve a property and sign a private purchase contract, the contrato de arras, without an NIE. Your passport identifies you well enough for a private agreement between two parties. The sensible moment to start the NIE application is the days right after this signature, and the contract can be drafted to reference the pending application.

At the notary, for the escritura. This one is absolute. The public deed of sale identifies every party by their identification number, and a foreign buyer's is the NIE. A notary with no NIE for a buyer has nothing to write in the field and cannot proceed. There is no workaround, no provisional entry, no signing now and adding it later.

At the tax office, afterwards. Transfer tax or VAT on the purchase, the annual property tax, and the non-resident income tax that follows ownership are all filed against your NIE. So is the plusvalía if you ever sell. The number stays with you for as long as you own anything in Spain, which is the main reason it never expires.

How the NIE fits the wider purchase

It helps to see the NIE number Spain asks for as one dependency among several, rather than as a hurdle in its own right. A purchase on this coast has four administrative threads running at once: the NIE, the bank account, the lawyer's due diligence on the property, and the funds transfer. They are largely independent, and the completion date is set by whichever finishes last.

The NIE is rarely the slowest of the four when it is started early, and very often the slowest when it is started late. The due diligence has a natural rhythm set by the Land Registry and the town hall. The funds transfer is a matter of days once instructed. The bank account depends, awkwardly, on the NIE. So the number sits upstream of more than it appears to.

If you are moving as well as buying, the picture is different again, because the visa route you choose may assign you an NIE automatically and remove this task entirely. Our guide to moving to Spain from the UK covers how those routes interact, and the full list of developments covers the wider coast if you are still choosing a location.

What buyers in Estepona actually do

We work on the western Costa del Sol, from Sotogrande to Marbella with Estepona at the centre, and a typical sequence here looks like this. A buyer comes over for a viewing trip, finds something, and signs a reservation. If there is a free morning left in the trip, the sensible move is to use it for the appointment while still in the country. If there is not, a lawyer takes it on with a power of attorney signed before the flight home.

The reason the timing matters here specifically is the shape of the local market. On our own survey of 18 September 2026, new developments in the municipality of Estepona were asking €5,145 per square metre across 840 priced units in 118 schemes, against a resale price index of €5,000 per square metre for August 2026. That is a premium of 2.9%, which is unusually small, and it is the reason a great many buyers here choose new build.

New build brings a construction timeline, and a construction timeline brings a completion date that is known months in advance. That is a gift for NIE planning: you have time. The only point to plan for is a fresh copy of the certificate if the bank asks for one close to completion, which we come back to below.

New developments in Estepona

For a sense of what the market looks like beyond the number itself, our note on the gap between new build and resale prices sets out the figures, and the current developments in Estepona show what is actually available.

NIE number Spain: the three routes to getting one

There are exactly three ways to obtain the NIE number Spain requires of you, and no more. Which suits you depends far less on cost than on where you physically are during the months your purchase is running.

RouteWho it suitsWhat it needs
In person in SpainBuyers already here, or coming for a viewing tripOnline appointment, EX-15, passport, fee
Spanish consulate abroadBuyers who cannot travel before completionConsulate appointment, EX-15, evidence of purpose
Representative with power of attorneyBuyers with a fixed completion dateNotarised power of attorney, apostille if signed abroad
The three routes set out in Article 205 of Royal Decree 1155/2024. All three produce the same number.

All three end in the same place: one sheet of paper with your name, your passport number and your NIE. There is no better or worse version of the number depending on how you obtained it, and nobody later asks which route you used.

Route one: applying in person in Spain

If you are here, or you can be here, this is the most direct path. It is also the one that rewards preparation, because the appointment itself lasts a few minutes and the officer checks documents rather than discusses them.

  1. Book the appointment online at the public administration portal, choosing your province and then the option for police certificates and NIE assignment. This is the step that determines your timeline.
  2. Complete form EX-15. Tick NIE rather than certificate in section 4.1, state your reason in 4.2, and name the office where you are filing in 4.3.
  3. Generate and pay form 790 código 012 on the National Police portal. Banks stamp the paid form; keep the stamped copy.
  4. Gather the evidence of purpose: your signed reservation or private contract is the standard document for a property purchase.
  5. Attend with your passport and a photocopy of it. Bring originals of everything, plus a copy of everything.
  6. Collect the resolution. Some offices hand it over at the counter; others tell you to return or send it electronically.

The single most common failure at this stage is arriving without the stamped proof of payment. The fee is small, the queue for a replacement appointment is not.

What the appointment itself is like

Buyers build this up in their heads, so it is worth deflating. You arrive at a police station or immigration office at a fixed time, take a ticket or give your name, and wait among people doing a dozen unrelated things. When your turn comes, an officer takes your folder, checks that the form is signed, that the fee is stamped, and that your passport matches. The whole exchange is often under five minutes and frequently silent.

Nobody interviews you about your plans. Nobody asks how you will finance the purchase or whether you intend to move. The officer is verifying a document set against a checklist, and if the set is complete, the matter proceeds. If one item is missing, the matter does not, and no amount of explanation substitutes for the missing sheet. That asymmetry is the whole reason we labour the point about preparation.

Bring a folder rather than loose paper, keep the copies behind the originals in the same order as the checklist, and if your Spanish is limited, bring someone whose Spanish is not. None of that is a legal requirement. All of it makes a short appointment shorter.

Route two: applying through a Spanish consulate

If you are not on Spanish territory when you apply, the regulation routes your request differently: it goes to the Comisaría General de Extranjería y Fronteras, through a Spanish consular office in your country. The paperwork is essentially the same, with form EX-15 again and evidence of why you want the number.

What differs is availability. Consulates set their own appointment systems, and the gap between consulates is enormous. Some issue appointments within a fortnight; others run months behind and open slots in unpredictable batches. Two applicants in the same country, applying in the same week, can wait very different lengths of time purely because of which consular district they live in.

Fees abroad are set locally and are not published in one central place, so the honest answer is to ask your consulate rather than trust a figure you read somewhere. If a consulate appointment is weeks away and your completion date is not, this is the moment to consider the third route instead.

Route three: a representative with power of attorney

This is the route many overseas buyers end up taking, and not because it is cheaper. It is not. It is because it decouples the paperwork from your travel plans.

You sign a power of attorney, a poder notarial, in favour of your Spanish lawyer. They apply on your behalf, queue on your behalf, and collect the resolution on your behalf. If you sign the power of attorney in Spain during a viewing trip, it is straightforward. If you sign it in your own country, it needs a notary there plus an apostille under the Hague Convention, and usually a sworn translation.

Two practical notes. First, have the power of attorney drafted broadly enough to cover the purchase itself, not only the NIE application, so you are not repeating the exercise before completion. Second, a power of attorney is a serious instrument. Give it to a lawyer you have chosen and are paying, never to anyone with an interest in the transaction, and that includes the agent selling you the property.

An NIE number in Spain costs €9.84 in official fees

For an NIE number in Spain the state charges €9.84, and nothing more. That figure is worth quoting precisely, because published guides state €10, €12, and €10 to €15. The figure comes straight from the National Police fee schedule, and it is the whole of what the state charges you.

The real cost is professional time. A lawyer handling your NIE as part of a purchase, including the power of attorney, is charging for hours rather than for the number. That is money well spent if you want the NIE handled from abroad, and optional if you are in Spain anyway with a free morning.

Five working days by law: how to plan the NIE appointment

Here is the fact almost nobody publishes, and it reframes the whole question of timing. Article 205.4 states that the procedure must be resolved within a maximum of five days from the entry of the application in the register of the competent body, and that the decision must be notified within that period.

The five days run from the moment your file enters the register at your appointment, so the one thing to plan is the appointment itself. Book it as soon as your reservation is signed, or let a lawyer with power of attorney do it for you, and the number follows within days. Both routes lead to the same five-day deadline, so choose whichever gives you the earlier appointment date in your province and fits your travel plans.

Timeline showing how long the NIE number Spain process takes from appointment to resolution
The legal deadline is five days. The waiting happens before it, in the appointment queue.

Your NIE number is valid for life; banks may ask for a recent certificate

For an off-plan purchase this is easy to plan. If you obtained your NIE in March for an apartment completing in November, the number is still yours for life. For the bank, you simply request a recently issued certificate with the same EX-15 form, ticking the certificate option instead of the assignment. Build it into your plan if your completion is more than a few months out.

NIE ready for completion day: apply at reservation

The notary identifies every party by their NIE, so the number needs to be in place for the signing. The simplest way to make sure of that is to apply as soon as the reservation is signed. With a New Build, the completion date is known months ahead, so there is plenty of time.

Your lawyer also checks the private contract, the contrato de arras, before you sign it, including a sensible period for administrative steps. Applying early costs nothing: an NIE does not expire, and having it in hand makes every later step smoother. Our full guide to buying property in Spain sets out how the contract stages fit together.

What an NIE lets you do, and what it does not

  • Complete a property purchase before a Spanish notary
  • Pay transfer tax, VAT, stamp duty and the annual property taxes
  • Open a Spanish bank account and set up utility direct debits
  • Register the property in your name at the Land Registry
  • Connect water, electricity and community services in your own name
  • File the non-resident income tax return that ownership brings with it
  • Inherit, or be named in a Spanish will

What it does not do is equally important. It gives you no right to live in Spain, no right to work, and no extension of the ninety days in any one hundred and eighty that most non-EU nationals are limited to. An NIE is not a step towards residency, and nobody at the police station will treat it as one.

Nor does it make you a Spanish taxpayer by itself. Tax residency depends on where you actually live, principally the 183-day test, not on which numbers you hold. Owning property here does bring a non-resident filing obligation, but that follows from the ownership, not from the NIE.

Six tips for a smooth NIE number application in Spain

A few simple habits make the NIE process quick and easy.

Apply early. Start as soon as the purchase becomes real. An NIE you have in hand costs nothing to keep.

One number per person. If a couple buys together, each partner applies for their own NIE.

Bring copies. Spanish offices expect an original and a photocopy of each document, prepared in advance.

Compare consulate and Spain. Both routes follow the same article but use separate appointment systems, so check which one offers the earlier date.

Plan a fresh certificate. Especially on off-plan purchases with longer build times.

Use current rules. Since May 2025 the NIE is governed by Royal Decree 1155/2024; guides that still cite Royal Decree 557/2011 describe the old rules.

Doing it yourself or with a lawyer: both routes work

You can absolutely do this alone. The form is two pages, the fee is under ten euros, and the officer at the counter is checking documents rather than interrogating you. Plenty of buyers handle it themselves and find it simpler than they feared. We did it ourselves when we moved here.

Do it yourself if you will be in Spain with a spare morning, your purchase timeline has slack in it, and you are comfortable navigating a Spanish-language booking system. Use a lawyer if your completion date is fixed, if you cannot travel, if your consulate is running months behind, or if you simply do not want a bureaucratic dependency sitting on your calendar.

Everyone gets the same five-day legal deadline after the appointment, so a standard lawyer or gestor is all you need; there is no need to pay extra for express services.

Get your NIE number in Spain at reservation, one per buyer

Getting an NIE number in Spain is quick and inexpensive when you start at reservation. If you are at the beginning: decide who will be on the deed, then apply for one NIE per person as soon as a reservation is signed. If you are mid-purchase and have not started: check your consulate's appointment availability, and if a power of attorney is the faster route, your lawyer can apply for you.

If you already have your number and it is more than three months old, request a fresh certificate before the bank asks for it rather than after. And if you are still deciding where to buy, take your time: the NIE number for Spain follows smoothly once you have chosen your New Build.