Visas & residency
Your NIE Number, Explained
The NIE is the number Spanish administration knows you by. Foreign nationals are assigned one so their official acts in Spain — a purchase, a tax matter, an application, a contract — can be attached to a single identity. That is the whole of what it is, and the most useful thing to understand is what it isn't: an NIE is not a residence right, not permission to be in Spain, and not a card. People hold NIEs having never lived here a day.
The short answer
It's an identification number for foreign nationals, used across essentially every official act you perform in Spain.
It carries no immigration status whatsoever. Holding one grants you nothing about living, staying or working in Spain — a misunderstanding that causes real, expensive mistakes.
Residents and non-residents alike hold them. Overseas property owners commonly have an NIE and no connection to Spanish residency at all.
You get one, once
It's yours — you don't collect a second one later, and the number itself isn't something you renew.
What triggers the need is an activity, not a length of stay. If you're doing something official here, the number comes into it.
Everything below expands on these. If you only have two minutes, you have just had them.
What an NIE is — and what it is not
What it is: your identifier. When Spanish administration needs to record that this specific foreign person bought that property, signed that deed, filed that return or made that application, the NIE is how they do it. It's the thread that ties your acts together in the system.
What it is not, plainly, because each of these misconceptions has consequences:
It is not residency
This is the big one. An NIE says nothing about your right to be in Spain, for how long, or on what basis — those questions live with residence authorisations, and the vocabulary around them is genuinely confusing, which is why it has its own page.
It is not a card you carry
The number is issued on a document, but the number is the substance. The physical card some residents hold is a different object entirely — that's the NIE-versus-TIE distinction.
It is not permission to work
Work rights come from a permit that authorises them. The number identifies you; it doesn't entitle you to anything.
It is not a Spanish ID card
Spanish nationals hold a different document under a different system. Yours identifies you as a foreign national to the administration.
When you actually need one
Here's the part the internet flattens. Plenty of guides list every conceivable situation and imply all of them are hard requirements. In practice there's a real difference between acts that cannot proceed without the number and situations where an institution's own policy makes it the practical path — and knowing which is which saves you from either panicking early or discovering the gap late.
Table 1
| What you're doing | Where it generally sits |
|---|---|
| Buying property | The number is normally needed for the purchase deed and its registration — this is the classic non-resident case |
| Inheriting or receiving Spanish assets | Tied to formal acts and filings, so the number comes into it |
| A Spanish tax matter | Your identifier on filings connected to Spain |
| An immigration route | The number becomes part of the process rather than something you chase separately |
| Working in Spain | Comes with the territory of being formally engaged here — though the *authorisation* to work is a separate question entirely |
| Opening a bank account | Commonly requested, but institution policies vary, and non-resident account options exist — worth asking your bank what it actually requires rather than assuming |
| Utilities and everyday contracts | A tax requirement, not just provider policy — your number goes on the invoices they issue you |
Source: Reglamento de facturación (Real Decreto 1619/2012) art. 6.1.d) and Real Decreto 1065/2007 arts. 20 and 27; Ley Hipotecaria art. 254 for the registration of a purchase deed. Verified September 2026.
General consumer guidance as of August 2026. Which category a specific transaction falls into can depend on the institution and the act — where money or a deadline rides on it, confirm rather than assume.
The takeaway: if your business in Spain is a formal act — property, tax, inheritance, an immigration route — treat the number as part of the job. If it's a commercial relationship with a bank or a utility, expect to be asked for it — for a utility that is a tax requirement, not just their policy.
When to get it in your move
This is the section almost nobody writes, and it's the one that actually saves people trouble.
The number is rarely the thing that goes wrong. The timing is. An NIE that arrives comfortably before it's needed is a non-event; the same number arriving the week a completion date is fixed, or the day a provider's deadline lands, turns a formality into a scramble — with no way to accelerate it just because you left it late.
If you're buying property, the number belongs early in the transaction, not near the notary appointment. The purchase timeline is its own guide, and the checklist puts the number where it belongs in the sequence rather than at the end.
If you're moving on a residence route, it generally arrives as part of the process rather than as a separate errand — which is why "when do I get my NIE?" is often the wrong question and "what does my route actually involve, in what order?" is the right one. Route sequencing: which visa fits, then the specialists.
If you're neither — an overseas owner, an heir, someone with a one-off Spanish matter — the trigger is the act itself. Work backwards from the date that act has to happen.
The ways people get one
Concept only — this page does not walk you through it, deliberately. Instructions for this exist in several places, several of them ours, and adding a fifth set is worth nothing to you.
There are broadly three channels: from outside Spain, through the Spanish consular network covering where you live; from within Spain, through the relevant Spanish administrative route; and through someone acting on your behalf under a properly granted authority — the route people use when they can't be present, and the one where getting the paperwork of the authority itself right matters more than anything else.
Which channel is open to you depends on where you are, why you need the number, and what else your situation involves. That is the whole of what this page will tell you — because the difference between the channels is a genuine decision, while the steps within them are execution, and execution belongs with people who do it daily.
One case deserves naming: if the number is for a property purchase, it is part of a legal transaction with a timetable and a lot riding on it, and it sits naturally with the team handling the purchase rather than as a separate errand you run alone.
Myths, killed quickly
"My NIE expires." The number doesn't — it's yours. (The document it was issued on is a separate question; the asymmetry between a permanent number and a time-limited card is the NIE-versus-TIE page's subject.) "Having an NIE makes me a resident." No. It's an identifier; residency is a legal position. The five things people call residency. "I need a new NIE now that I'm moving." No — if you were assigned one years ago for a purchase, that is still your number. "No NIE, no bank account, ever." Too absolute — policies vary and non-resident options exist; ask the institution. "An NIE lets me stay longer." It has no effect on how long you may be in Spain. That's the visiting-versus-living boundary.
Still wondering
Questions people actually ask
What is an NIE number in Spain?
It's the identification number assigned to foreign nationals so their official acts in Spain — purchases, tax matters, applications, contracts — can be tied to one identity. It is an identifier only: it carries no residence status and no right to work.
Do I need an NIE if I don't live in Spain?
Often yes. Non-residents routinely need one — buying property is the classic case, along with inheritances and Spanish tax matters. Needing the number says nothing about your immigration status.
Does a NIE number expire?
The number itself doesn't; it stays assigned to you, including years later. The document it was originally issued on is a separate matter, so if yours is old it's worth checking what it's still accepted for rather than assuming.
Is a NIE the same as residency?
No. The NIE is a number; residency is a legal position permitting you to live in Spain. Many people hold the number with no residence rights at all. Spanish residency explained untangles the terms.
When should I apply for my NIE?
Work backwards from the act that needs it, and leave margin. If you're buying, that means early in the transaction rather than near completion. If you're moving on a residence route, it generally forms part of the process rather than a separate errand.
Can someone get a NIE for me?
Yes — obtaining it through a representative acting under a properly granted authority is one of the three channels, and it's the usual approach for people who can't be present. Getting the authority itself right is the part that matters.
This is general information, not legal or tax advice. Rules change — for advice on your situation, speak to a qualified professional.
Keep going
Where most people go next
One thing to do next
The NIE is a number you keep for life. The TIE is a card some residents carry.