Skip to content
Legal & Title8 min readBy SpainUnveiled Editorial Team

NIE Number to Buy Property in Spain: The Complete 2026 Guide for Foreign Buyers

The NIE is the tax ID every foreign buyer needs to purchase property in Spain. Here's how to get one in 2026, what documents you need, and common pitfalls.

NIE Number to Buy Property in Spain: What It Is, How to Get One, and Why You Can't Buy Without It - Spain Unveiled

This article is general information, not legal, tax, or immigration advice. Rules and figures change — verify with an official source or a licensed professional before acting.

NIE Number to Buy Property in Spain: What It Is, How to Get One, and Why You Can't Buy Without It

If you are a foreign buyer planning to purchase a home, apartment, or plot of land in Spain in 2026, there is one piece of paperwork you simply cannot skip: the NIE number. Without it, no notary will sign your deed, no bank will open your account, and no utility company will put a contract in your name. This guide walks you through what the NIE actually is, how to obtain one from inside or outside Spain, what documents you need, common pitfalls to avoid, and how it fits into the wider legal-title process.

A note on accuracy: Spanish immigration procedures, fees, and consular requirements change frequently. Treat the figures and timelines in this guide as indicative and always confirm current rules with the Spanish Consulate in your country, the Dirección General de la Policía, or an independent licensed abogado (Spanish attorney) before acting.

What the NIE Actually Is

NIE stands for Número de Identificación de Extranjero — Foreigner's Identification Number. It is a personal, unique, and permanent tax and identification number issued by the Spanish Ministry of the Interior (through the National Police) to any non-Spaniard who has economic, professional, or social ties with Spain.

Important clarifications:

  • The NIE is not a residency permit. Having an NIE does not give you the right to live in Spain. It is purely an identification number.
  • It is not the same as a TIE. The TIE (Tarjeta de Identidad de Extranjero) is the physical residency card issued to non-EU citizens who live in Spain. A non-resident buyer only needs the NIE, typically delivered as a white A4 paper certificate (the resguardo).
  • It is permanent. Once assigned, your NIE number stays with you for life, even if you sell the property and leave Spain.

Why You Can't Buy Property Without It

The NIE is the tax identifier that ties you to every official act in Spain. For a property purchase, you will need it to:

  • Sign the *escritura pública* (public deed of sale) before a Spanish notary.
  • Pay the property transfer tax (ITP) on resale properties, or VAT (IVA) plus AJD on new builds, which are declared to the regional tax authority (Hacienda Autonómica) and the Agencia Tributaria.
  • Register the property in your name at the Registro de la Propiedad (Land Registry).
  • Open a Spanish bank account to wire funds and pay the seller.
  • Set up utilities, community fees, and direct debits for IBI (annual property tax), water, electricity, and the comunidad de propietarios.
  • File the non-resident income tax (Modelo 210) every year you own the property.

In short: no NIE, no purchase. Even if a seller accepts your offer and you have funds ready, the notary will refuse to authorize the deed without each buyer's NIE on file.

How to Get an NIE: The Two Main Routes

There are essentially two paths, and the right one depends on where you are and how much time you have.

Route 1: Apply at a Spanish Consulate Abroad

This is the most common route for buyers in the US, Canada, UK, and the rest of Europe who want to arrive in Spain with the NIE already in hand.

Steps:

  1. Identify the consulate with jurisdiction over your address. You generally cannot apply at any consulate — only the one that covers your state, province, or region.
  2. Book an appointment. Many consulates require online booking and waiting lists can stretch from a few weeks to several months. Plan ahead.
  3. Complete Form EX-15 (Solicitud de Número de Identidad de Extranjero). It is downloadable from the consulate's website.
  4. Pay the consular fee using Form 790 Código 012. The amount changes annually and varies slightly by consulate; confirm the exact figure on the consulate's website.
  5. Attend the appointment in person with your passport, a passport copy, the completed forms, proof of fee payment, and a written justification of your motivos económicos — typically a signed reservation contract, a letter from your Spanish lawyer, or a letter from a real-estate agent stating your intent to purchase.
  6. Collect the NIE certificate — by mail or in person, depending on the consulate. Processing typically takes a few weeks but can be longer in peak season.

Route 2: Apply In Person in Spain

If you are already in Spain (or planning a property-viewing trip), you can apply directly at a Comisaría de Policía with a Oficina de Extranjería or foreigner desk.

Steps:

  1. Get a *cita previa* (appointment) through the official portal at sede.administracionespublicas.gob.es. Appointments in Madrid, Barcelona, Málaga, Alicante, and the islands can be very hard to secure — many buyers hire a gestor just to obtain one.
  2. Fill out Form EX-15.
  3. Pay Form 790 Código 012 at any Spanish bank before the appointment and bring the stamped receipt.
  4. Attend the appointment with passport, copy of passport, the forms, proof of payment, and proof of motivos económicos (reservation contract, contrato de arras, mortgage pre-approval, etc.).
  5. Receive the NIE certificate, often the same day or within a few business days.

Route 3 (Optional): Power of Attorney

If you cannot travel and cannot get a consular appointment in time, you can grant a Power of Attorney (*Poder Notarial*) to your Spanish lawyer authorizing them to apply for the NIE on your behalf. The POA must be signed before a notary in your country and then apostilled under the Hague Convention (or legalized at a Spanish consulate if your country is not a Hague signatory). Your abogado in Spain handles the rest.

This route is widely used by remote buyers from North America. Expect to add legal fees plus notary and apostille costs.

Documents Checklist

For a smooth application, gather:

  • Original passport (valid, with at least 6 months of remaining validity).
  • Photocopy of every printed page of the passport, including blank ones — many offices insist on this.
  • Form EX-15, signed and dated.
  • Form 790 Código 012, with the bank-stamped proof of payment.
  • Justification of *motivos económicos — a reservation contract, contrato de arras, a letter from your abogado* or real-estate agency, or mortgage documentation.
  • Two passport photos (some offices request them; bring them just in case).
  • Apostilled Power of Attorney, if applying through a representative.

Common Pitfalls to Avoid

  • Applying without proof of economic motive. "I want to buy property someday" is not enough. You generally need a concrete document — a signed reservation or a lawyer's letter — naming you and the property.
  • Confusing NIE with NIE *verde* (residency certificate). EU citizens who relocate receive a green NIE certificate which doubles as residency proof; non-residents and non-EU buyers receive a plain white NIE. Don't ask for the wrong one.
  • Letting the certificate sit too long. While the NIE number itself is permanent, some banks and notaries prefer a certificate issued within the last three months. If yours is older, you may be asked to request a fresh printout.
  • Misspelled names or passport numbers. Check every character on the certificate before leaving the office. Correcting an error later is slow and frustrating.
  • Using one spouse's NIE for a joint purchase. If you and your partner are both buying, each of you needs your own NIE. Same rule for any co-owner, including children on the deed.
  • Assuming the NIE makes you a tax resident. It does not. Tax residency is determined by days of presence and your center of economic interests — talk to a gestor or tax advisor.

How the NIE Fits Into the Buying Process

A typical timeline for a foreign buyer in 2026 looks like this:

  1. Reservation contract and small deposit to take the property off the market.
  2. NIE application (consulate or via POA), in parallel with legal due diligence by your independent abogado — checking the Nota Simple at the Land Registry, urban planning status, debts, community fees, and energy certificate.
  3. Open a Spanish bank account using the NIE.
  4. Sign the *contrato de arras* (private purchase agreement, usually with a 10% deposit).
  5. Mortgage approval, if applicable.
  6. Signing of the *escritura* before the notary, payment of the balance, handover of keys.
  7. Tax payment and Land Registry inscription within the deadlines set by the regional tax office.

The NIE is required from step 2 onward. Start it early — it is the single most common bottleneck that delays foreign closings.

Mini-FAQ

Does the NIE expire? The number itself is permanent. The physical certificate may be considered "current" only for three months by some institutions; you can request a reprint.

Can I get an NIE online? No — there is no fully online issuance. You can book the appointment online, but you must appear in person or send an apostilled representative.

How much does it cost? The state fee is modest (typically tens of euros via Form 790-012). Consulate, legal, and POA costs vary widely — confirm with the consulate and your lawyer.

Do I need an NIE to inherit Spanish property? Yes. Heirs must obtain one before the inheritance deed can be signed.

Final reminder: Spanish administrative rules evolve. Always confirm the latest requirements with the Spanish Consulate, the Dirección General de la Policía, or a licensed independent abogado before submitting your application.