Navigate Spain
Visas & ImmigrationUpdated June 2026 · 9 min read

The NIE number, explained.

Before you can open a bank account, sign a lease, buy property, register a business, or pay taxes in Spain, you need a NIE. It's the first bureaucratic hurdle every foreigner hits — and the one people research the least.

This article is informational, not legal advice. Spanish immigration procedures change frequently and vary by location. Always verify requirements with the relevant Spanish authority before submitting any application.

What the NIE is

NIE stands for Número de Identidad de Extranjero — Foreigner Identity Number. It's a personal, unique, and exclusive number assigned to any foreigner who has economic, professional, or social reasons to interact with Spain's public administration.

Think of it as the Spanish equivalent of a Social Security number, but for foreigners. Once assigned, it follows you regardless of your residency status, visa category, or how many times you renew your paperwork — and it appears on every Spanish document you'll ever sign.

The format

One letter, seven digits, one letter. It never changes — you get one NIE, and it stays with you for life.

X–1234567–A

What the NIE is not

This is where a lot of people get confused, so it's worth being explicit.

A NIE is not a residence permit

Having a NIE does not give you the right to live in Spain. You can hold a NIE and still be a non-resident who only visits occasionally — it just means the administration has assigned you a number for identification.

A NIE is not a visa

Applying for and receiving a NIE through a Spanish consulate in the US does not grant you any immigration status.

A NIE is not a TIE

The TIE (Tarjeta de Identidad de Extranjero) is the physical plastic residence card you receive after establishing legal residency. Your TIE has your NIE printed on it — but the number and the card are different things.

NIE vs. TIE: the confusion cleared up

People mix these up constantly, even in expat communities. Here's the simple breakdown.

NIE
TIE
What it is
A number
A physical card
Who assigns it
National Police
National Police
When you get it
Before or after arriving
After establishing residency
Does it expire?
No — it's permanent
Yes — tied to your authorization
Proves residency?
No
Yes
Where you apply
Consulate, or Extranjería / Policía in Spain
In Spain, at a Comisaría de Policía

Your NIE number appears on your TIE card. It's the same number — it just gets printed on the card once you have legal residency. If you got a NIE at a US consulate before moving, that same number carries onto your TIE.

Why you need a NIE

Almost every interaction with the Spanish system requires a NIE. Here's what you cannot do without one.

Open a Spanish bank account
Sign a rental contract
Buy or sell property
Pay taxes or file a tax return
Register as autónomo
Set up utility accounts in your name
Buy or insure a car
Receive payments from Spanish clients
Apply for your TIE residence card
Enroll children in public school
Register for the public health system
Apply for the Digital Nomad Visa

The practical implication:if you're planning a move, start the NIE process early. Delays through a US consulate can run 20 to 30 days — and that lag can hold up every other critical step, from your bank account to a property deposit.

How to get a NIE before you move

You can apply at the Spanish consulate covering the US state where you legally reside before you move — useful if you need the number for a bank account, a property purchase, or a visa application. You cannot use a different consulate for convenience.

What you need

Form EX-15The NIE application form

Complete and sign it before your visit. The reason for requesting the NIE must be written in Spanish — e.g. “Necesito el NIE para abrir una cuenta bancaria en España.”

Form 790-012The fee payment form

Complete it online and print it. The 2025 fee at the Washington DC consulate is $12, payable in cash or money order — no cards. The price can vary by consulate.

PassportOriginal and photocopy

Must be unexpired. Passports issued more than 10 years ago are not accepted.

Proof of addressIn the consular district

Original and photocopy of your US driver's license or state ID, showing an address in the states that consulate covers. For Washington DC: Virginia, DC, Maryland, West Virginia, and North Carolina.

Walk-in, no appointment

The Washington DC consulate accepts NIE applications as walk-ins — Mon, Wed & Fri, 10am–12pm. Verify hours with your consulate first.

Processing & delivery

Processed by the immigration authority, not the consulate — typically 20–30 days, delivered by email. Check your spam folder.

Remember: a NIE obtained through a US consulate does not entitle you to reside in Spain. It is purely an identification and tax number — residency rights come from your visa and residence authorization.

How to get a NIE while in Spain

If you're already here — on your 90-day tourist allowance or on a visa — you can apply directly through the Oficina de Extranjería or at a Comisaría de Policíain the province where you're staying.

1

Book an appointment (cita previa)

Appointments are required and booked through Spain's official cita previa system. In Madrid, Barcelona, and Valencia they book up fast — sometimes weeks out — but cancellations open slots throughout the day, so check often.

2

Bring the core documents

Form EX-15 (reason in Spanish), Form 790-012 with the fee paid (€9.84 for in-Spain applications as of 2025), your passport plus a photocopy, and a justification document — a property contract, job offer, or rental agreement. Requirements vary by province.

3

Wait for processing

In-Spain processing is generally faster — around two weeks — though this varies by province and how busy the office is.

Using a gestor or lawyer

Many expats use a gestor or immigration lawyer to handle the application via power of attorney — typically €50–150. In provinces where appointments are scarce, a gestor with relationships at the immigration office can be worth every euro.

After you get your NIE

Write the number down somewhere safe. You'll enter it on almost every piece of official paperwork for the rest of your time in Spain.

Opening a bank account

Spanish banks require your NIE. As a non-resident, some banks also accept a certificate of non-residency alongside it.

Tax filings

Your NIE is your tax ID with the Agencia Tributaria. Once a tax resident, you file your annual Declaración de la Renta with it.

Applying for your TIE

On a long-stay visa you have 30 days to apply for your TIE. Your NIE is the number printed on the card.

As autónomo

Once self-employed, your NIE becomes part of your fiscal identity. Invoices to Spanish clients must include it.

Sources

Frequently asked questions

Can I start the NIE process and the visa application at the same time?+
It depends on your consulate. The Washington DC consulate requires the NIE before submitting a Digital Nomad Visa application. For the Non-Lucrative Visa, the NIE is typically obtained as part of or just before the overall process. Check your specific consulate's requirements and sequence them accordingly.
What if I lose my NIE certificate?+
The number itself doesn't disappear — it's permanently assigned to you. You can request a duplicate certificate through a consulate or, in Spain, through a police station. If you already have a TIE card, the NIE is printed on it, so you effectively always have the number with you.
Do I need a NIE just to visit Spain?+
No. If you're visiting as a tourist within your 90-day allowance and not conducting any economic activity, you don't need one. You only need a NIE when you interact with Spain's administration in a formal capacity — opening a bank account, signing contracts, paying taxes, and so on.
Can someone apply for a NIE on my behalf?+
Yes, with a notarized power of attorney (poder notarial) explicitly granting that authority. Both the representative and the power of attorney document must be presented at the time of application. A Spanish lawyer or gestor can hold this power.
My NIE certificate looks different from someone else's — is that normal?+
NIE certificates have looked different at different points in time and may differ slightly by consulate. What matters is the number itself — the letter-digits-letter format. As long as you have that number on an official document, it's valid.
I need a NIE for a property purchase but I'm not moving. Can I still get one?+
Yes. Property transactions are a valid justification for a NIE even if you're not becoming a resident. Many non-resident buyers obtain one specifically for this. You'd apply at the consulate covering your US state, or through a Spanish lawyer who can apply on your behalf in Spain.
Disclaimer

This article is for informational purposes only and does not constitute legal advice. Procedures vary by consulate and by province within Spain. Always verify current requirements with the relevant Spanish authority before submitting any application.

The free newsletter

Don't move to Spain blind.

Spanish rules change often. One honest email every other week — a featured guide, the Spain news that affects expats, and a tip from lived experience. Free, and you can leave whenever.

Need a hand?

Speak to a professional

A NIE application gone wrong — wrong consulate, missing justification, a reason written in the wrong language — costs weeks. A qualified Spanish lawyer or gestor can file it for you and get the timing right the first time.