NIE number in Spain: what it is and how to get it

Spain Bridge (F&K MASTER S.L.) is a private immigration and tax consultancy. We are not affiliated with, endorsed by, or acting on behalf of the Spanish government or any government authority. Government fees are paid separately to the relevant authorities, which make all final decisions.

NIE number in Spain: what it is, who needs it, and how to get it

Your foreigner ID for banks, property, jobs and taxes — what it is, who can apply, and how to get it with or without residency.
Read more Get a free consultation
From 0 €
Tax burden per month
From 6 weeks
Term for obtaining a residence permit
5 years
Until permanent residence permit
#NIE #Spanish bureaucracy Reading time: 8 min

NIE number in Spain: what it is, who needs it, and how to get it

Map of Spain with a foreigner identity card

The NIE (Número de Identidad de Extranjero) is your personal tax and administrative ID as a foreign national in Spain. Once it is assigned, it stays with you for life — it doesn't change when your visa status changes or when you renew your residency. And almost every formal step in the country, from opening a bank account to signing a property deal, needs it first.

If you read nothing else
  • You're becoming a residentNIE comes with your applicationIt's assigned automatically once your residency procedure starts and later printed on your TIE card — you don't apply for it separately.
  • You're a non-resident buying propertyApply for a standalone NIEYou receive a paper certificate (a white A4 sheet), not a card.
  • You want a bank account, a job, or to register as autónomoGet the NIE firstNone of these are possible without it.
  • You're worried about timingBook the appointment earlyBy law the police decide within five days of receiving the application — the real wait is for the appointment slot.

What is a NIE?

NIE stands for Número de Identidad de Extranjero — think of it as your unique identifier for every official interaction with Spanish institutions: government offices, banks, notaries, the tax authority. Once assigned, it's yours regardless of your visa status or how many times you renew your residency.

The format follows a fixed pattern: a letter (X, Y, or Z), then 7 or 8 digits, then a final control letter — something like X1234567Y.

What it looks like physically
  • If you're a resident, the NIE is printed on your TIE card (Tarjeta de Identidad de Extranjero, the physical residency card).
  • If you're a non-resident applying for a specific transaction (buying property, for example), you receive a paper certificate — a white A4 sheet.

The legal basis is Organic Law 4/2000 on the rights and freedoms of foreign nationals in Spain, with the number itself regulated by article 205 of Royal Decree 1155/2024, the immigration regulation in force since 20 May 2025. It describes the NIE as a personal, unique and exclusive number that must appear on every document issued to you.

NIE vs DNI vs NIF: what's the difference?

These three abbreviations confuse a lot of people. Here's the quick breakdown:

DNINIENIF
Who it's forSpanish citizens onlyForeign nationalsIndividuals and companies, for tax purposes
Format8 digits + 1 letter1 letter + 7–8 digits + 1 letterUsually matches the DNI or NIE
Main useDomestic ID, votingImmigration and legal transactionsTax filings, invoicing, VAT

In practice, if you're a US or UK citizen relocating to Spain, the document you need is the NIE. Your NIF for tax purposes is derived from it, so once your NIE is sorted, you're covered on both fronts.

When do you actually need a NIE?

Pretty much any formal step in Spain requires it:

  1. Opening an account at a Spanish bank
  2. Completing a property purchase
  3. Starting a job or registering as autónomo (self-employed)
  4. Enrolling in the public health system or social security
  5. Buying or registering a car
  6. Submitting any returns to the Spanish tax authority
  7. Getting a Spanish digital signature (firma electrónica), needed to file government applications online

Who can apply?

Any foreign national with a legitimate legal, financial, or professional interest in Spain. That includes:

  • Remote workers and digital nomads planning to live in Spain long-term — including freelancers (see the digital nomad visa for freelancers)
  • Investors or business owners with Spanish operations
  • US or UK citizens buying property, even without planning to move
  • Anyone applying for Spanish residency through a consulate — for the Digital Nomad route see our Spain digital nomad visa guide, for living on savings the non-lucrative visa

How do you get a NIE?

The process differs depending on where you are when you apply.

If you're already in Spain

You apply in person at a local National Police station (Cuerpo Nacional de Policía), which handles documents for foreigners. You book an appointment (cita previa) in advance — in larger cities like Madrid or Barcelona, slots fill up fast. What to bring:

  1. Valid passport (original + copies of the photo page and entry stamp)
  2. Completed EX-15 application form, in Spanish
  3. Proof of fee payment: form 790, código 012 — €9.84 for a standalone NIE — paid at a bank or online
  4. Documentation justifying why you need the NIE — a property purchase agreement, employment contract, visa application, etc.

By law the police must decide within five days of registering your application, and if they don't, the request counts as refused (article 205.4 of Royal Decree 1155/2024). In practice the long part is getting the appointment: in high-demand cities a free slot can take weeks.

If you're in your home country

You apply through the Spanish consulate in your country, which forwards the request to the police in Spain. The documents are essentially the same — passport, EX-15 form, fee payment, and proof of purpose — but appointment availability varies by consulate.

Through a legal representative

The regulation says the NIE is requested in person, but the EX-15 form has a section for a representative, and some offices accept filing through one with a notarized power of attorney and copies of your passport. Practice differs between offices, so confirm with the specific office before you rely on it.

Why applications get delayed or rejected

From what we see, the problems almost always fall into one of three buckets:

  1. Documentation errors. The EX-15 form has to be filled out correctly in Spanish. A mistyped address or a missing field is enough to get your appointment cancelled and send you back to the start.
  2. Insufficient justification. You need a concrete, legitimate reason for the NIE. "I might buy something eventually" doesn't qualify — a signed contract or a formal application does.
  3. Appointment shortages. In high-demand cities, a police-station slot can take weeks. Planning ahead matters.
Insider tipIf your city's cita previa calendar shows nothing for weeks, check it early in the morning — cancelled slots are released overnight — or book in a nearby smaller town, where demand is usually lower.

Getting your NIE through a residency application

If you're applying for the Spain digital nomad residence permit or any other residence permit, your NIE is part of the process from the start: the police assign it automatically once your procedure begins, and it is printed on the TIE card you apply for at the TIE fingerprint appointment. You don't chase it separately.

Our team supports you at every step, from document preparation and translations through submission and TIE-card pickup. If you're at an early stage and want to understand the timeline for your specific situation, book a free consultation with our experts.

Frequently asked questions

Yes. Non-residents with an economic, professional or social reason — most commonly buying property or making an investment — can apply through a Spanish consulate in their home country or at a police office in Spain. You receive a paper certificate rather than a TIE card.
The number itself is permanent and stays with you for life. What can expire is the physical document: a non-resident NIE certificate is issued for a specific purpose, and your TIE residency card has its own expiry tied to your permit. The number underneath never changes.
The NIE is the number. The TIE (Tarjeta de Identidad de Extranjero) is the physical card residents carry, with the NIE printed on it. Non-residents get the number on a certificate, not a card.
By law the police must decide within five days of registering the application. The real wait is the appointment: in high-demand cities a free slot can take weeks. Through a consulate abroad, it depends on the consulate's appointment calendar.
For a full resident account, yes. Some banks offer limited non-resident accounts with just a passport, but for anything tied to living, working, or paying taxes in Spain, you'll need the NIE.
Not quite. The NIE identifies you as a foreign national; the NIF is your tax identification number. For individuals the NIF is derived from the NIE, so once you have the NIE you're covered for tax purposes too.

Official sources

Go back to the blog

Any questions left?

Get advice in a convenient way!