Taxes & fees guide
How to get an NIE in Spain as a non-resident
The NIE is the first thing you need to own a home in Spain, and the appointment is often the hardest part. Here's what it is, the three ways to get one, and what to take.
Last reviewed 1 December 2026
What it is and what it's for
The NIE (número de identidad de extranjero) is the identification and tax number Spain gives foreigners who have dealings here. It looks like a letter, seven digits and another letter, for example X1234567L. Non-residents get it on a white paper certificate.
- Buying or selling a home, and registering it in your name. See buying a second home.
- Paying taxes: IBI and the yearly non-resident tax return. See taxes for non-resident owners.
- Opening a bank account and putting utilities in your name. See a Spanish bank account.
- Buying a car, and inheriting: every heir to a Spanish home needs one. See wills and inheritance.
The NIE doesn't let you live in Spain. Residents have it too, on their residence document, but for a non-resident it's just a number for paperwork. See the 90/180 day rule for how long you can stay.
Three ways to apply
| Route | Good for | Watch out for |
|---|---|---|
| In Spain, at a police foreigners' office | Quickest if you get an appointment; often issued the same day | Appointments (cita previa) can be hard to find in busy areas |
| At a Spanish consulate in your country | No trip to Spain | Can take several weeks; consulate fees and rules vary |
| Through a representative in Spain | A lawyer or gestor does it while you stay at home | Needs a power of attorney, signed before a notary or at a consulate |
What to take
- Form EX-15, filled in and signed. Download it from the Spanish government website.
- Your passport and a copy of the photo page.
- The reason you need it: for example a reservation or arras contract, a letter from the notary or bank, or the inheritance papers. A general interest isn't enough.
- Proof you've paid the fee: form 790 código 012, paid at a Spanish bank before the appointment. It's around €10. Consulates may charge their own fee instead.
Tips
- Apply early, before you make an offer on a home. Without an NIE you can't complete.
- Couples: each person on the deeds needs their own NIE.
- Keep the certificate safe and scan it. You'll be asked for it again and again.
- The name must match your passport exactly, including middle names, or banks and notaries may query it.
- EU citizens staying more than three months register as residents instead, and their NIE appears on that certificate.
General information only. Procedures and fees differ between police offices and consulates: check with the office you'll use.
Sources
The official and consumer-body pages we checked this guide against (most are in Spanish).
More guides
Need help with the paperwork?
Tell us what you need and an English-speaking adviser will call you back.
Get a call back in EnglishFree, no obligation. The provider may pay us a fee; it never changes your price.
Frequently asked questions
Do I need an NIE to buy a house in Spain?
Yes. Every buyer needs an NIE (número de identidad de extranjero) to sign the deeds, pay the purchase tax and register the home. If a couple buys together, each needs their own.
Can I get an NIE without going to Spain?
Yes. You can apply at a Spanish consulate in the country where you live, or give a lawyer or gestor in Spain a power of attorney to apply for you.
Does an NIE expire?
No. The number is yours for life and never changes. Some banks and notaries ask to see a recent copy of the certificate, but the number itself stays the same.