Applying for an NIE number in Spain
Buying in Spain · NIE

Applying for an NIE number in Spain

If you buy a home in Spain, you need an NIE number. Here you can read what it is, when you need it and how to apply: yourself, or through a gestor.

Last updated: October 2026

In short

The NIE number at a glance

What is it?
The Número de Identidad de Extranjero: your personal identification number as a foreigner in Spain. It is also your tax number.
What for?
Among other things, for buying a home, a Spanish bank account, a mortgage and taxes, but also for practical matters such as your energy or phone contract.
How to apply?
At the Spanish consulate in your country of residence, at the police in Spain, or through a gestor or lawyer with a power of attorney.
Cost
Around €10 per person in fees. If you have it arranged for you, the gestor’s or lawyer’s fee comes on top.
Validity
You receive the number once and it stays valid for life.
When you need it

What do you need an NIE number for?

Almost everything you arrange officially in Spain starts with your NIE number. When buying a home, this includes:

  • Buying a property and signing at the notary
  • Opening a Spanish bank account
  • A mortgage in Spain
  • Paying taxes, such as the taxes on the purchase
  • Practical matters in your name, such as electricity, water, internet and a phone contract
  • Buying or registering a car
  • As identification, for example when collecting a parcel

Buying together? Then everyone who will be on the title deed needs their own NIE number.

Applying

Three ways to apply for your NIE number

You can apply for the NIE number yourself or have it arranged for you. What suits you best depends on your timing and how much you want to do yourself.

Yourself, at the consulate

At the Spanish consulate in your country of residence. You hand in forms EX-15 and 790-012 in person, usually by appointment; in some cases an authorised representative can do this for you. You then receive the number by email.

Cost
Around €10 per person
Processing time
A few weeks
Good to know
Busy schedules and limited opening hours. Often only Spanish is spoken.

Yourself, in Spain

At the Policía Nacional (extranjería department), by appointment. Useful if you are already in Spain.

Cost
Around €10 per person
Processing time
Depends on when you can get an appointment
Good to know
Appointments fill up quickly and the conversation is in Spanish.
Popular choice

Through a gestor or lawyer

With a power of attorney, a gestor or lawyer in Spain applies for the NIE number on your behalf. You do not have to go anywhere yourself. Many of our clients choose this option.

Cost
From around €100 to a few hundred euros, or part of the overall package for the purchase
Good to know
Fees differ per gestor or lawyer. Ask in advance exactly what is included.

Be careful with online providers. Some companies offer NIE applications online. Look closely at the costs: the fee can be substantial, and sometimes there are extra charges that are not clearly stated.

Step by step

Applying yourself at the consulate

  1. Check the procedure
    See on the website of the Spanish consulate how and when you can submit your application. It is often by appointment.
  2. Form EX-15
    The application form, in Spanish. Use the version from the Spanish government; forms from other websites are not always accepted.
  3. Form 790-012
    The payment form for the fee of around €10 per person.
  4. Documents
    Your passport or ID card with a copy, proof of your home address and proof of the reason for your application, such as buying a property.
  5. Submit in person
    You hand in the forms and documents in person at the consulate.
  6. Receive your NIE
    The consulate forwards your application to Spain. You then receive your NIE number by email.

Procedures and fees may change. Always check the consulate’s website before you apply.

Your situation

NIE number, green certificate or TIE?

What you need depends on whether you are going to live in Spain.

Your situationWhat you need
You buy a second home or holiday home and keep living in your own countryAn NIE number (form EX-15).
You are an EU citizen and will live in Spain for more than three monthsRegistration as an EU citizen (form EX-18), within three months of arrival. You receive a registration certificate, often called the "green certificate", showing your NIE number. You arrange this in Spain, not through the consulate.
You come from outside the EU, for example from the United Kingdom, and move to SpainA residence permit with a TIE card, showing your NIE number.

Already have an NIE number? It stays the same and will appear on your certificate or card.

Timing

When should you apply for the NIE number?

You need the NIE number for, among other things, your Spanish bank account and signing at the notary. Because an application can take a few weeks, it is wise not to wait until you have found a property.

Need help?

We are happy to help

Many of our clients have their NIE number arranged by their gestor here in Spain. We work with a gestor who can take care of this for you. That way it is properly arranged, without you having to go to the consulate.

Do you have questions about your application or the next steps in buying a home? Feel free to get in touch.

Frequently asked questions

Questions about the NIE number

What is a gestor?

A gestor (gestor administrativo) is a licensed administrative professional in Spain. A gestor handles matters with Spanish authorities for you, such as tax returns, registrations and permits. When you buy a home, a gestor can also apply for your NIE number.

How much does an NIE number cost?

The fee is around €10 per person: the official 2026 rate is €9.84. If a gestor or lawyer arranges it for you, you also pay their fee. That ranges from around €100 to a few hundred euros, or it is part of the overall package for the purchase.

How long is an NIE number valid?

The number stays valid for life. You receive it once and keep it, even if you later move to Spain.

What is the difference between the three months and the 183 days?

These are two different rules. The three months concern residence: if you are an EU citizen and will live in Spain for more than three months, you must register. The 183 days concern tax residence: if you spend more than 183 days in Spain in a calendar year, you are generally liable to tax in Spain. Other circumstances can also count, such as where your main economic interests are. If in doubt, ask a tax adviser.

Do we both need an NIE number?

Yes, if you will both be on the title deed. Each of you then applies for your own NIE number.

Can I buy a house without an NIE number?

No. You need it for, among other things, your Spanish bank account and signing at the notary. That is why it is wise to start your application in good time.

What is the difference between NIE and NIF?

The NIF is the Spanish tax number. For foreigners, the NIE number is also their tax number. As a buyer, you therefore only need an NIE number.

Can I apply for an NIE number before I have found a property?

Yes. In your application you state why you need it, for example because you want to buy a home. Exactly which proof is required differs per office. A gestor can help you with this.

Deseo Homes Javea

Looking for a home on the Costa Blanca?

Tell us what you are looking for. We are happy to think along with you, from your first question to the key handover.

+34 644 629 510[email protected]

Reset password

Enter your email address and we will send you a link to change your password.