How to Get an NIE Number in Spain: The Buyer's Guide

By David Los · September 2026 · Buying in Spain

Every foreign buyer needs an NIE (Número de Identidad de Extranjero) before a property purchase in Spain can complete. You apply with form EX-15, pay a €9.84 government fee with form 790 code 012, and receive the number the same day to three weeks later in Spain, or in roughly two to six weeks through a Spanish consulate abroad. Most of our buying clients skip the queues entirely by granting power of attorney to their Spanish lawyer. This guide covers each route, the documents, the timelines, and the certificate detail that catches buyers out at the notary.

What is an NIE number?

The NIE (Número de Identidad de Extranjero) is the identification number Spain assigns to every foreigner who deals with its administration: one letter (X, Y or Z), seven digits and a final check letter. The number is yours for life: it never expires and never changes. It is also nothing more than a number: holding an NIE does not make you a resident, does not affect your immigration status, and does not by itself make you a Spanish tax resident. It simply lets the Spanish state identify you on contracts and tax forms, which is exactly why a property purchase cannot happen without one.

Why property buyers need an NIE

Every legal and financial step of a Spanish property purchase records your NIE, so it is step one of the whole process. Our guide to buying property in Spain walks the full sequence; these are the moments that consume the number:

  • The arras (deposit) contract and the escritura, the deed signed at the notary, both identify you by NIE.
  • The purchase taxes cannot be filed without it: the ITP transfer tax on a resale, or VAT plus AJD stamp duty on a new build, are declared against your NIE.
  • Spanish banks ask for an NIE to open the account you will pay completion funds from, and no bank grants a non-resident mortgage without one.
  • After completion, utilities, community fees and the annual IBI property tax are all registered against your NIE.

The three ways to apply for an NIE

There are three routes to an NIE, and the right one depends on where you are and how soon a purchase is moving. All three end with the same certificate and the same number.

RouteWhereTypical time to the numberBest for
In person in SpainNational police station or immigration office, with a cita previa (prior appointment)Same day to 3 weeks after the appointment; booking the appointment can add up to 4 weeksBuyers already visiting the coast
Spanish consulate abroadThe consulate serving your home countryTypically 2 to 6 weeks from submission; busy consulates such as London or New York run longerBuyers planning ahead, no travel needed
Power of attorneyYour Spanish lawyer applies in Spain on your behalf1 to 3 weeks once the signed, apostilled power of attorney reaches SpainBuyers who want it handled remotely, the route most of our clients take
NIE application routes and realistic timelines, September 2026.

The power of attorney route has a hidden bonus: the same document can authorise your lawyer to open the bank account, sign the arras contract and complete at the notary, so one signature at home can carry the entire purchase.

The documents you need: EX-15 and form 790

The application package for an NIE is short. Whichever route you use, prepare these:

  • Form EX-15, the official application for an NIE, completed in Spanish, in duplicate. The form must state a concrete reason for the request; for buyers, the intention to purchase a property in Spain.
  • Your passport, original plus a copy of the photo page. EU citizens can use a national identity card instead.
  • A document supporting your reason: a reservation or arras contract, a bank letter, or a short written statement in Spanish that you intend to buy a property.
  • Form 790 code 012 with proof the €9.84 fee is paid. Generate the form on the Policía Nacional's electronic office, then pay at a Spanish bank; at consulates you usually pay on the spot in local currency.

The fee for assignment of a Foreigner Identity Number (NIE) at the request of the interested party is €9.84, paid with fee form 790 code 012 alongside application form EX-15Source: Plataforma One, Government of Spain · September 2026 · View market data →

How long an NIE takes, route by route

In Spain, the number itself often arrives fast: many police stations issue the certificate the same day or within a few working days of the appointment, and slower offices take up to three weeks. The real bottleneck is the cita previa, the mandatory prior appointment, which can take from a few days to around four weeks to book depending on the province. Through a Spanish consulate abroad, plan on two to six weeks from submission, and more at high-demand consulates. Via power of attorney, the application runs about one to three weeks, plus two to four weeks up front to notarise and apostille the document. If your completion date is already fixed, work backwards and start the NIE at least two months before you need to sign anything binding.

Does an NIE expire? The three-month certificate rule

The NIE number never expires, but the paper that proves it ages. The certificate of non-residence that the Policía Nacional issues alongside a new NIE is valid for three months from issue, and Spanish notaries and banks routinely want a certificate less than three months old before completion. If the purchase outlasts the paper, you request a fresh certificate with the same EX-15 form and a small fee; the number stays identical.

The certificate of non-resident status issued through form EX-15 is valid for 3 months from issueSource: Policía Nacional, sede electrónica · September 2026 · View market data →

Keep the NIE distinct from residency documents. The TIE is the physical card non-EU residents receive after obtaining a visa or permit, and EU citizens who move to Spain register with form EX-18 for a separate certificate. A buyer who stays within the 90-in-180-day visitor limit needs neither: the NIE alone covers the purchase. If you plan to live here, our residency guide explains what actually grants the right to stay, because buying a home does not.

After the NIE: account, budget, property

With the NIE issued, open the Spanish bank account and firm up the budget while the paperwork is fresh. Purchase costs add 10 to 14% on top of the price in Andalucía, and current asking prices for every town on the coast are on our property price pages, updated from live inventory. Then browse homes for sale on the Costa del Sol knowing the paperwork is solved.

Median asking price for an apartment on the Costa del Sol: €490,000, across 3,587 active listingsSource: Hometailor market data · September 2026 · View market data →

Written and reviewed by

DL
David Los

Founder & Head of Research, Hometailor · Last reviewed: September 2026

Born and raised in Sweden, David has spent over a decade analysing property markets on the Costa del Sol and has guided hundreds of international buyers through Spanish purchases in English, Swedish and Polish. He writes and reviews all research content at Hometailor, and triangulates everything before it publishes: independent lawyers, agents inside and outside Hometailor, and the live market data behind this site.

More in this series

All guides in Buying in Spain

FAQ

Frequently asked questions

Newsletter · Every Friday

Track the Costa del Sol market without the noise.

Every Friday: the properties worth a second look, what prices are doing in Marbella and Estepona, and one honest take on the market. For buyers who are serious, but not ready to be sold to yet.

Join 1,200 buyers and investors already tracking the Costa del Sol.

Need help applying this?

How to Get an NIE Number in Spain: The Buyer's Guide, ask a local advisor.

WhatsApp