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: 7 min

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

The NIE (Número de Identificación 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 TIE cardIt's assigned on approval and printed on the physical residency 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 can't attend the appointment yourselfUse a legal representativeWith a power of attorney — turnaround is usually around 10 days.

What is a NIE?

NIE stands for Número de Identificación 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 Royal Decree 557/2011. Together they make this identifier mandatory for anyone conducting legal or financial activity in the country.

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 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
  • 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 (including the Digital Nomad visa or 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), paid at a bank or online
  4. Documentation justifying why you need the NIE — a property purchase agreement, employment contract, visa application, etc.

Processing usually takes 1–3 weeks, though in high-demand areas it can stretch to around 45 days. With a legal representative, it's often done in about 10 days.

If you're in your home country

You apply at the Spanish consulate in your country. The documents are essentially the same — passport, EX-15 form, fee payment, and proof of purpose — but appointment availability and processing times vary by consulate.

Through a legal representative

If you're already in Spain with a valid entry stamp but can't attend the appointment yourself, a registered legal representative can file on your behalf. You'll need notarized copies of your passport and a formal power of attorney authorizing them to act for you. Turnaround this way is typically around 10 days.

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 pursuing a residence permit — say the Digital Nomad Residence Permit — your NIE is part of the process from the start: it's assigned when your application is approved and printed on your TIE card. You don't chase it separately.

Our team supports you at every step, from document preparation and translations to approval 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 can apply for an NIE for a specific purpose — most commonly buying property or making an investment — either at a Spanish consulate in their home country or through a representative 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.
Inside Spain, typically 1–3 weeks, and up to around 45 days in high-demand areas. Through a legal representative it's often about 10 days. From a consulate abroad, it depends on the consulate.
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!