NIE Number for Buying Property in Spain: Why You Need One and How to Get It
The NIE is the tax ID every foreign buyer needs before closing on property in Spain. Here's what it is, why you need it, and how to get one.

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 for Buying Property in Spain: Why You Need One and How to Get It
If you're a foreigner planning to buy property in Spain, the NIE number is the very first bureaucratic hurdle you'll clear — and nothing meaningful can happen without it. You can't sign a title deed at the notary, open a resident or non-resident bank account, take out a Spanish mortgage, pay property transfer tax, or set up utilities in your name. In short: no NIE, no purchase.
This guide walks you through what the NIE actually is, why Spanish notaries and banks demand it, and the practical routes to obtain one — from your home country or once you're on the ground in Spain.
What Is an NIE Number?
NIE stands for Número de Identidad de Extranjero — Foreigner Identity Number. It's a unique tax and identification number issued by the Spanish National Police (Policía Nacional) to any non-Spaniard who has economic, professional, or social dealings in Spain.
Key points to understand:
- The NIE is not a residency permit. It's simply a fiscal ID. Getting one doesn't give you the right to live in Spain — it just lets Spain identify you in its systems.
- The number is personal, unique, and permanent. Once assigned, it's yours for life.
- It appears on a paper certificate (traditionally A4, sometimes now issued as a smaller card-format document depending on the province). The paper document itself can expire for administrative purposes (typically three months if you're a non-resident using it for a specific transaction), but the number never changes. If your certificate is old, you may need a fresh printout — the number stays the same.
- EU/EEA citizens receive an NIE embedded in their Certificado de Registro de Ciudadano de la Unión (green residency certificate) once they register as residents. Non-EU citizens (US, Canada, UK post-Brexit) receive a standalone NIE certificate.
Why You Absolutely Need an NIE to Buy Property
Spanish notaries are legally obliged to identify all parties to a public deed (escritura pública) using a valid tax ID. For a foreign buyer, that means the NIE. Without it, the notary simply cannot execute the deed transferring the property to you.
You'll also need your NIE to:
- Pay the property transfer tax (ITP) on resale homes or VAT (IVA) plus stamp duty (AJD) on new-builds — the tax office (Agencia Tributaria and the regional Hacienda) requires it on every form.
- Register the deed at the Land Registry (Registro de la Propiedad).
- Open a Spanish bank account, which you'll need to issue the bank-certified check most sellers require at closing.
- Apply for a Spanish mortgage. Banks won't even start underwriting without an NIE for every borrower.
- Set up utilities (electricity, water, gas, internet) and pay the annual property tax (IBI), community fees, and non-resident income tax (IRNR).
- Sell the property later and file capital gains — the buyer's lawyer will withhold 3% of the sale price and remit it to Hacienda against your NIE.
If two spouses are buying jointly, each spouse needs their own NIE. The same applies to any co-buyer, including children on the deed or a corporate director signing on behalf of an SL.
How to Get an NIE: The Three Main Routes
There are three practical ways to obtain an NIE. Choose based on where you are and how much time you have.
1. Apply at a Spanish Consulate in Your Home Country
This is often the cleanest option for buyers who haven't yet traveled to Spain.
Steps:
- Locate the Spanish consulate with jurisdiction over your state or region and check its NIE appointment page — every consulate has its own booking system and waiting time (some are booked out months in advance, so start early).
- Complete Form EX-15 (Solicitud de Número de Identidad de Extranjero).
- Pay the fee via Form 790 Código 012 at a bank that accepts it, or through the consulate's payment portal. The fee is modest (roughly in the low tens of euros) but changes periodically — confirm the current amount on the consulate's website.
- Prepare supporting documents (see below).
- Attend the appointment in person, submit originals and copies, and either collect the certificate on-site or by mail, depending on the consulate.
Pros: You arrive in Spain ready to transact. Cons: Appointment scarcity in cities like New York, London, and Miami.
2. Apply In Person in Spain
If you're already in Spain — for a scouting trip, for example — you can apply directly at a Comisaría de Policía with a Oficina de Extranjería or foreigners' desk.
Steps:
- Book an appointment (cita previa) online through the Sede Electrónica of the Ministry of the Interior. Choose "Policía – Asignación de NIE" and the province where you're applying.
- Pay Form 790 (Código 012) at any Spanish bank branch or via the tax agency's online payment system.
- Attend the appointment with your originals.
Availability of appointments varies enormously by province. Málaga, Alicante, and Barcelona are notoriously congested; smaller provincial capitals tend to be faster.
3. Apply via a Power of Attorney (POA)
If you can't come to Spain and can't get a consulate slot, you can grant a power of attorney to a Spanish lawyer (abogado) or gestor to apply on your behalf.
Steps:
- Sign a POA before a notary in your home country, then have it apostilled under the Hague Convention. Include an official Spanish translation (traducción jurada) if the notary drafts it in English.
- Send the apostilled POA to your Spanish lawyer.
- Your lawyer books the appointment, pays the fee, and collects the NIE certificate for you.
This is the standard approach for buyers closing entirely remotely, and the same POA can usually be drafted broadly enough to also cover signing the escritura, opening the bank account, and filing taxes.
Documents You'll Need
Expect to provide, in original plus copies:
- Valid passport (and a photocopy of every relevant page).
- Completed Form EX-15, signed.
- Proof of payment of Form 790 Código 012.
- Written justification of why you need the NIE — for property buyers, a signed contrato de arras (reservation/deposit contract), a nota simple from the Land Registry, or a letter from your lawyer or the developer stating the intended purchase is standard evidence.
- Two passport photos (some consulates request this; check locally).
- If applying via a representative: the apostilled POA and the representative's ID.
Non-EU applicants may also be asked to show proof of legal entry (entry stamp) if applying inside Spain.
Timeline and Cost Expectations
- Consulate applications: From a few weeks to a few months, driven mostly by appointment availability rather than processing time.
- In-Spain applications: Often issued the same day or within a couple of weeks after the appointment.
- POA route: Add 2–4 weeks for notarization, apostille, and international shipping of the POA.
The government fee itself is small (typically well under €20 at the time of writing — confirm the current Form 790-012 amount before paying). Lawyer or gestor fees for handling the process on your behalf usually range from a few hundred euros upward, depending on whether the NIE is a standalone service or bundled into a full conveyancing package.
Fees and processing times change; confirm current figures with the Spanish consulate, the Policía Nacional, or your Spanish lawyer before acting.
Common Pitfalls to Avoid
- Waiting until the last minute. If you sign a contrato de arras with a 30- or 60-day closing and don't yet have your NIE, you can lose your deposit. Start the NIE process before you make an offer.
- Assuming your spouse's NIE covers you. It doesn't. Every buyer on the deed needs one.
- Losing the original certificate. Keep multiple scans. If lost, you can request a duplicate — the number itself is permanent.
- Confusing NIE with TIE. The TIE (Tarjeta de Identidad de Extranjero) is the physical residency card for non-EU residents. If you're not moving to Spain, you don't need a TIE — just the NIE.
- Using an expired-looking certificate at the notary. Some notaries and banks want an NIE certificate issued within the last three months for non-residents. Ask your lawyer whether you need to refresh the printout before closing.
Short FAQ
Do I need an NIE to just view properties or sign a reservation? No — you can tour, negotiate, and often sign a private reservation. But you'll need it before the arras contract in most cases, and certainly before the escritura.
Does having an NIE make me a Spanish tax resident? No. Tax residency is triggered mainly by spending more than 183 days a year in Spain or having your center of economic interests there. Owning property and holding an NIE alone don't make you resident. Non-resident owners still file annual IRNR declarations — ask a Spanish asesor fiscal.
Can I get an NIE online without appearing anywhere? Not directly. Either you appear in person (at a consulate or a Spanish police station), or a representative appears on your behalf using an apostilled POA.
How long is the NIE valid? The number is permanent. The physical certificate may need to be refreshed for specific transactions, particularly for non-residents.
Laws, fees, and administrative procedures in Spain change frequently, and each province and consulate handles NIE appointments slightly differently. Before you commit deposits or travel dates to the process, confirm the current requirements with the relevant Spanish consulate, the Policía Nacional, or an independent licensed Spanish abogado — not the seller's or developer's lawyer.
More guides in Financing & Mortgages
- Mortgage Tie-In Products in Spain: Are Bundled Insurance and Accounts Worth It?
- The Real Cost of a Spanish Mortgage: Arrangement Fees, Valuation and Bank Products
- US Citizens Getting a Mortgage in Spain: Rates, LTV and the Process
- UK Buyers and Spanish Mortgages After Brexit: What Changed for Borrowers
- Which Spanish Banks Lend to Non-Residents? A Lender Comparison for Foreign Buyers
- How a Mortgage Broker in Spain Can Get Foreign Buyers a Better Rate