Before you can buy a home in Spain, there’s one key document you’ll need: an NIE – your essential tax ID for property, banking and legal matters. Here’s how to get one.
Whether you’re booking a viewing trip or getting close to signing a reservation contract, applying for your NIE (número de identidad de extranjero) should be high on your to-do list. It’s the tax identification number that underpins most financial and legal matters in Spain – from opening a bank account to buying property and even setting up your phone contract.
This guide walks you through the application process, explains what paperwork you’ll need, and shows you why it’s a smart idea to get your NIE sorted early in the buying journey.
Download the Spain Buying Guide
Contents
- How to get an NIE number in Spain
- How to get an NIE number from your home country
- What documents do you need to apply?
- Why do I need an NIE number?
- When should you apply for your NIE?
- FAQs about getting an NIE number in Spain
How to get an NIE number in Spain
The NIE (número de identidad de extranjero) is your official financial identity in Spain. Without it, you won’t be able to buy a property, open a bank account or sign contracts. Thankfully, applying in person while you’re in Spain is relatively straightforward.
You’ll need to make an appointment at a designated police station or immigration office (Oficina de Extranjeros). It’s strongly advised to pre-book this online via sede.administracionespublicas.gob.es, which has an English version. Without a booking, you may face long queues or be turned away.
It’s also worth noting that English isn’t spoken in all Spanish police stations – especially in remote areas. It will be a huge help if you can speak Spanish, or you take someone with you who does.
You will need to complete an EX-15 form, which is in Spanish. Many buyers choose to have a lawyer or estate agent help them complete the paperwork accurately.

You can apply for your NIE at a Spanish police station (image: BigDane via Shutterstock)
How to get an NIE number from your home country
If you’re applying from outside Spain, your local Spanish Embassy or Consulate can handle your application. This must be done in person – there is no online-only option.
However, it doesn’t have to be you who applies. You can authorise a Spanish-based representative (usually your lawyer) to apply on your behalf using a Power of Attorney. The representative will need a certified copy of your passport along with the required documents.
What documents do you need to apply?
To submit your application successfully, you will need the following:
- A completed EX-15 form. This can be downloaded online or collected from the police station.
- Your original passport or valid ID, plus two photocopies.
- Two recent passport-sized colour photographs.
- Proof of your home address – a utility bill, tenancy agreement or bank statement).
- The Power of Attorney document, if someone is applying on your behalf.
- Proof of why you need an NIE – if you’re buying a property, a signed reservation contract will suffice.
Processing times vary. In some regions, you’ll be given your number immediately after the appointment. In others, expect to wait between two days and two weeks.
Why do I need an NIE number?
The NIE is how the Spanish authorities identify you for tax purposes. Without one, you won’t be able to complete any official or financial process related to your property purchase. You’ll need it to:
- Buy or sell a property
- Pay taxes
- Open a bank account
- Apply for a residence permit
- Buy a vehicle or take out a phone contract
- Organise utilities and insurance
Your NIE will also appear on your Spanish residence card if you later choose to live in Spain permanently.
The number itself is nine characters long and starts with a letter (X for foreigners), followed by seven digits, and ending with another letter.
When should you apply for your NIE?
Apply as early as possible in your buying journey. Many buyers apply during a viewing trip, especially if they’re likely to reserve a property while in Spain.
Getting it sorted early can prevent delays when it comes to signing contracts or opening a bank account. In many cases, you’ll receive it the same day – or within two weeks if it needs to be posted.
Your estate agent or lawyer can often assist with the appointment booking and accompany you if needed. This local knowledge can save you time and ensure you attend the correct police station.
Your NIE is a lifelong number and doesn’t need to be renewed – that’s one less thing to worry about!
FAQs about getting an NIE number in Spain
How do I get my NIE number in Spain?
You can apply for an NIE in person at a Spanish police station or immigration office. You’ll need to book an appointment online, complete the EX-15 form and bring your passport, photos and supporting documents. Alternatively, you can authorise a lawyer or representative to apply on your behalf with Power of Attorney.
How much does it cost to get a NIE number in Spain?
The administrative fee for applying for an NIE is usually between €10 and €15. If you’re using a lawyer or agent to help with the application, expect to pay a service fee on top.
Can I apply for a Spanish NIE number from the UK?
Yes – you can apply through the Spanish Embassy or Consulate in the UK. You’ll need to attend in person and provide the required documents. Alternatively, you can authorise someone in Spain (like a lawyer) to apply for you using Power of Attorney.
You might also like: