Buyer's guide

NIE Number in Spain: How to Get It When Buying Property (2026)

By Discount Property Center, Marbella · Updated 2 December 2026

Last updated: December 2026 · General information, not legal advice.

The NIE (Número de Identidad de Extranjero) is the tax identification number every foreigner needs to buy property in Spain. You cannot sign the deeds at the notary, pay the purchase taxes or register the home in your name without it. This guide explains what it is, how to apply and when to start.

What is the NIE?

The NIE is a personal, permanent number assigned to foreigners who have financial, professional or social dealings in Spain. It identifies you to the tax office, the notary, the land registry and Spanish banks. It does not give you the right to live or work in Spain: residency is a separate process (see our guide to residency options after the Golden Visa).

If Spain has already given you an NIE in the past, use that number. You do not need a new one.

When do you need it in a property purchase?

  • Opening a Spanish bank account to pay the deposit and the purchase price.
  • Applying for a mortgage with a Spanish bank.
  • Signing the deeds (escritura) at the notary: the notary will not complete the sale without the NIE of every buyer.
  • Paying the purchase taxes (7% transfer tax on resales, or 10% VAT plus 1.2% stamp duty on new builds in Andalusia) and, later, the yearly taxes as an owner.

Start the application as soon as you are serious about buying. Appointments can take weeks in busy areas such as Málaga and Marbella.

How to apply

1. In Spain

Book an appointment (cita previa) at the Oficina de Extranjería or an authorised police station. Bring:

  • Form EX-15, filled in and signed (original and copy).
  • Your passport (original and copy).
  • Proof of the reason for the application, for example a reservation agreement or a letter from your lawyer or notary about the purchase.
  • Proof of payment of the fee with form 790 code 012, paid at a Spanish bank. The official fee for assigning an NIE is €9.84 (2026).

2. From abroad

Apply at the Spanish consulate in your country of residence with the same documents. Each consulate has its own appointment system and processing time.

3. Through a representative

Your Spanish lawyer can apply on your behalf with a power of attorney signed before a notary (apostilled if signed outside Spain). This is the most common route for buyers who are not in Spain.

How long does it take?

In person in Spain, the certificate is often issued the same day or within a few days once you have an appointment. Through consulates or representatives it can take several weeks. Plan for the NIE before you sign the private purchase contract.

Frequently asked questions

Does each buyer need an NIE?

Yes. If you buy as a couple, both buyers need their own NIE. A company buying needs a Spanish tax number (NIF) instead.

Does the NIE expire?

The number itself is permanent. Some notaries and banks ask for a recent certificate, so keep a copy of the original document.

Can DPC help me get my NIE?

Yes. When you reserve a property with us, we put you in touch with an independent lawyer who can apply for your NIE, open your bank account and handle the purchase. Contact us or read our step-by-step buyer’s guide.

More guides for buyers

Buying on the Costa del Sol?

Our agents in Marbella help you from the first viewing to the notary, with independent lawyers, mortgage brokers and tax advisers we trust.

Contact usWhatsApp +34 659 626 628Price map

Compare listings

Compare