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

A woman sitting with a passport, filling in a paper application form
Filling in the form. © Depositphotos / sisterspro

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.

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

RouteGood forWatch out for
In Spain, at a police foreigners' officeQuickest if you get an appointment; often issued the same dayAppointments (cita previa) can be hard to find in busy areas
At a Spanish consulate in your countryNo trip to SpainCan take several weeks; consulate fees and rules vary
Through a representative in SpainA lawyer or gestor does it while you stay at homeNeeds 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.
Don't pay for appointments. Police appointments are free to book on the official website. Sites and people who sell them are touts. If you can't get one, a lawyer or gestor applying on your behalf is the legitimate alternative.

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).

Need help with the paperwork?

Tell us what you need and an English-speaking adviser will call you back.

Get a call back in English

Free, 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.