If you are buying property in Spain — or planning to — one of the first things you will need is a NIE number. Without it, you cannot sign contracts, open a bank account, pay taxes or complete the purchase at the notary. Yet many international buyers don't find out about the NIE until they are already deep into the buying process, causing delays and frustration.

This guide explains exactly what the NIE is, why you need it, and how to obtain it — whether you are in Spain or not.

What Is a NIE Number?

The NIE (Número de Identificación de Extranjero) is a personal tax identification number issued by the Spanish government to foreign nationals. The format is a letter, followed by seven digits, followed by another letter — for example: X-1234567-Z.

It is the equivalent of a national ID number for foreign individuals, and it is required for virtually every official act in Spain that has a financial or legal dimension.

Why Do You Need a NIE to Buy Property in Spain?

The NIE is mandatory for:

Without a NIE, your purchase cannot legally complete. This is not negotiable.

Need a NIE number for a property purchase on the Costa del Sol? We handle the full application process — including by power of attorney if you are not in Spain.

Contact Us About Your NIE

How to Get a NIE in Spain: Three Routes

Route 1 — Apply in Person in Spain

You can apply for a NIE in person at a Foreigner's Office (Oficina de Extranjería) or a designated police station (Comisaría de Policía Nacional) in Spain. On the Costa del Sol, the main offices are in Málaga and Marbella.

What you need:

You must book an appointment in advance online (cita previa). Appointments at popular offices can be scarce, especially in summer. Your lawyer can advise on the best office and earliest available slots.

Route 2 — Apply at a Spanish Consulate in Your Home Country

If you are not yet in Spain, you can apply for a NIE at the Spanish consulate in your home country. Requirements are similar to the in-Spain application, but processing times and appointment availability vary significantly by consulate.

This route is often slower and more bureaucratic than applying in Spain, but it is useful if you want to have your NIE before you travel.

Route 3 — Apply by Power of Attorney (Recommended)

The most efficient route for international buyers is to grant a power of attorney (poder notarial) to their Spanish lawyer, who then applies for the NIE on their behalf. This means you do not need to attend a police station at all — your lawyer handles everything.

We use this route routinely for our clients who are based abroad or who prefer not to deal with Spanish bureaucracy directly.

How Long Does It Take?

Processing times vary:

Bear in mind that without a NIE you cannot open a Spanish bank account, and without a bank account you cannot transfer the funds for your purchase. Always start the NIE process early — before you make an offer if possible.

Does a NIE Number Expire?

The NIE itself does not expire — it is your permanent identification number in Spain for life. However, the physical certificate issued when you apply does have a validity period (usually 3 months). If your purchase takes longer than expected, you may need to renew the certificate, but the number remains the same.

NIE vs NIF vs DNI: What Is the Difference?

Common Mistakes When Getting a NIE

We handle NIE applications as a standard part of our property purchase service, ensuring the process is done correctly and quickly, with no unnecessary delays to your purchase.

About to buy property on the Costa del Sol? We handle your NIE application, bank account, contracts, taxes and the full legal process in English. First consultation is free.

Get a Free Consultation    💬 WhatsApp Jacob

Related Articles