Buyer’s Guide

NIE for foreigners: what it is, how to apply and why you need it

Eight characters that open every door in Spain — buying, signing, getting paid, living. What the NIE is, how to apply inside or outside the country, and why it's the very first step.

11 April 20266 min read
white folded printed paper on table

The NIE is a number. Eight characters that mean nothing to anyone who doesn't understand them, and everything to Spain. Without them you can't buy a home, open an account, earn or pay a tax. With them, the country recognises you. This guide covers what it is, how to apply, how long it takes, and the mistakes that cost days.

What exactly is the NIE?

The NIE — Número de Identidad de Extranjero — is the fiscal identity Spain assigns to any non-national who needs to interact with the State. Format: one letter (X, Y, Z), seven digits, one control letter. Example: Y 1234567 A. It's not a document, it's a number: it can appear on a paper certificate (the resolution of assignment) or, if you're a resident, on your TIE card.

The NIE doesn't expire. It will stay with you for your entire relationship with Spain, from your first purchase to your last tax return. It's permanent, unique and non-transferable.

Why you need it (and can't postpone it)

Any act with fiscal, legal or administrative relevance in Spain requires a NIE. The list is not short:

  • Buying or selling a home
  • Signing the arras contract or the deed before a notary
  • Opening a bank account
  • Applying for a mortgage
  • Paying taxes (ITP, VAT, IBI, income tax)
  • Setting up utilities (electricity, water, gas, internet)
  • Taking out home or car insurance
  • Registering a vehicle
  • Receiving dividends, inheritances or rental income
  • Working as an employee or self-employed

If your plan is to buy a home on the Costa Blanca, the NIE is literally the first step. Without it you can do nothing else. Not even receive an international transfer in your name at a Spanish bank.

Applying from your home country (consulate)

The most comfortable route if you're not yet in Spain. Apply at the Spanish consulate in your country of residence. The process:

  1. Book an appointment online on the consulate's website
  2. Fill in form EX-15 (official NIE application)
  3. Pay the 790 tax code 012 at a partner bank (usually the consulate's bank)
  4. Submit the documents at the counter
  5. Collect the resolution once issued (days to a few weeks depending on consulate)

The main advantage: you arrive in Spain with the NIE already done, ready to open an account, sign arras and complete the deed. The downside: high-demand consulates (London, Berlin, Amsterdam, Moscow) can have waiting lists.

Applying while already in Spain

If you're already here, apply at an Immigration Office or a National Police station with an extranjería section. The steps are equivalent:

  1. Book an appointment at sede.administracionespublicas.gob.es
  2. Fill in form EX-15
  3. Pay the 790 tax code 012 at any partner bank
  4. Attend the appointment with your passport, both forms and a passport photocopy
  5. Justify the economic reason (e.g. intent to purchase via a reservation note or a mandate from your lawyer)

In practice, one to three days pass between the appointment and certificate delivery. If you delegate to a lawyer or gestoría through a specific power of attorney, they can handle it without you travelling to Spain.

Documents to bring

  • Valid passport (original + photocopy of all pages)
  • Form EX-15 completed and signed
  • Proof of payment of the 790/012 fee
  • Economic reason justifying the application: reservation contract, purchase mandate, job offer, university enrolment, etc.
  • If using a representative: notarised power of attorney with Hague apostille and sworn translation where applicable

Cost and timing

The 790/012 fee is currently €9.84. That's literally the only official cost. If you delegate to a gestoría or lawyer, the service runs €100-200 in Spain and €200-350 from the consulate abroad. Rough timings:

  • In Spain: 1-5 days from the appointment
  • Consulate (Western Europe): 2-4 weeks from the appointment
  • Consulate (other countries): 4-8 weeks

NIE, TIE and DNI — don't get confused

NIE

It's the number. Permanent. Doesn't expire. Any foreigner, resident or not, can get one.

TIE

It's the physical card (Tarjeta de Identidad de Extranjero) that non-EU residents receive. Includes photo, fingerprints and the NIE printed on it. It does expire, and is renewed together with your residence permit.

DNI

The national document for Spanish citizens. A foreigner never has a DNI: they have a NIE and, if resident, a TIE (or an EU citizen registration certificate).

Does the NIE expire?

The number doesn't — it's yours forever. What can expire is the physical certificate it's printed on, if it was issued as non-resident. In practice, if the certificate is over three months old and you're about to sign a deed, the notary may ask for a fresh one. Not because the number has changed, but as an anti-fraud protocol. Requesting a new certificate with the same number is immediate.

Common mistakes

  • Going without an appointment. No-one is seen without one, in Spain or at consulates.
  • Bringing the old EX-15 form. The valid version lives on the National Police website. Download it the same day.
  • Not declaring an economic reason. Without justification the application can be rejected. A reservation note, a lawyer's letter or a preliminary contract are enough.
  • Paying the fee at a non-partner bank. Only partner banks will stamp the 790 receipt. Ask first.
  • Using a generic power of attorney. The power must expressly mention NIE processing.

Frequently asked questions

Can I buy a home without a NIE?

No. It's the absolute prerequisite. No notary will draft a deed in the name of someone without an assigned NIE.

Does a child need a NIE?

Yes, if they appear in a purchase, inheritance or any fiscal act. Minors can hold a NIE from birth.

Can my lawyer apply for it without me travelling?

Yes, with a specific power of attorney issued in your country, apostilled and (if not in Spanish) sworn-translated.

Is the non-resident NIE different from the resident NIE?

The number is identical. What changes is the medium: non-residents receive a paper certificate; residents, once they obtain residency, receive a TIE card with the same NIE printed on it.

What if I lose the certificate?

You request a duplicate at any police station with an extranjería section. The number is never lost.

Photo by Takafumi Yamashita on Unsplash

ESYS VIP

Your next home on the Costa Blanca

Real estate agency specialised in new builds and resale across Alicante and the Costa Blanca. Browse the available listings or get in touch to start your search.