BeenThere Expats
Last verified 7 Oct 2026For everyone
Share: WhatsApp Email

Get reminded before your date

We'll email you 7 days and the day before. No account needed. Every email has a link to stop. See privacy.

What the NIE is

The NIE (Número de Identidad de Extranjero) is your personal identification number as a foreigner in Spain. It's given to foreigners who deal with Spain for economic, professional or social reasons. You'll be asked for it to sign a work contract, pay taxes, open some bank accounts, or buy property or a car.

It's a number, not a card. You receive it on an A4 certificate, or printed on your TIE or EU registration certificate.

Do you need this guide?

You may get a NIE as part of another procedure, so check first:

  • Moving to Spain as an EU, EEA or Swiss citizen? Your NIE comes with your EU registration certificate. Use that guide instead.
  • Non-EU with a residence visa or permit? Your NIE is assigned with your visa and appears on your TIE.
  • Need a NIE for a specific reason (a job offer, buying property, an inheritance) and not covered above? Follow this guide.

You can't get a NIE this way while you're in Spain irregularly: not being in an irregular situation is one of the requirements.

Before you start

You'll need:

  • Your passport (or, for EU citizens, your national ID card), original, plus a photocopy of the whole passport. Some offices accept just the photo page, but a full copy avoids a second trip.
  • Form EX-15, filled in and signed. Bring an original and a copy.
  • A document showing why you need a NIE, for example a job offer, a property deposit contract, or a letter from a university or notary.
  • Proof you paid the fee with form 790, code 012.

Steps

  1. Choose where to apply: in person at a police station or immigration office in Spain (with an appointment), through a representative in Spain, or from abroad at a Spanish consulate in the country where you live.
  2. Book an appointment (cita previa) on the government's appointment website if you're applying in Spain. Choose your province, then the police option for the NIE.
  3. Fill in form EX-15. Tick the box for NIE assignment and give the reason you need it.
  4. Fill in form 790 code 012 on the police website and choose the NIE option. The form shows the exact amount. Pay it at a bank (counter or cash machine), through online banking, or online if the form offers it, and keep the receipt.
  5. Go to your appointment with all originals and copies.
  6. Collect your certificate. Some offices hand it over the same day; others ask you to come back a few days later.

Cost

One government fee, paid with form 790 code 012. The amount is shown when you fill in the form.

Common pitfalls

  • Appointments are scarce in busy provinces. Check at different times of day; new slots often appear early in the morning.
  • Bring photocopies of everything. Offices usually won't copy documents for you.
  • The reason must match your document. "Buying property" needs a property document, not a job offer.
  • Take your appointment confirmation (printed or on your phone).

When to ask a helper

Unusual situations, such as applying through a consulate, getting a NIE for a child, or a rejected request, are a good time to ask someone who's done it.

Checked against:boe.es, interior.gob.es, icp.administracionelectronica.gob.es, sede.policia.gob.es

Spot a mistake? Let us know

Rules change and offices differ. If something here is wrong or out of date, tell us and we'll check it.

Please don't include personal details or document numbers.

More guides for Spain

An unhandled error has occurred. Reload ✕

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.