A note before you start: everything on this page is general information shared by fellow expats, not legal or immigration advice. Rules, forms and office procedures change, often quietly, and every personal situation is a little different. Always confirm the current requirements on the official portals mentioned here, and if anything about your case is unusual, put it in the hands of a gestor (administrative agent) or an immigration lawyer.
The NIE, Explained Properly
Ask any foreigner in Madrid about their first months here and the letters N-I-E will come up within a minute. The NIE, short for Número de Identidad de Extranjero (foreigner identity number), is the reference Spain assigns to every non-Spaniard who deals with the state: one letter, seven digits, one final letter, printed on every contract and tax form you touch from then on.
Clear up two misconceptions early and the topic gets simpler:
- It is an identification number, nothing more. Holding an NIE does not mean you are a legal resident, and it grants no right to work. Even a tourist who buys a flat in Madrid needs one.
- It has no expiry date. Cards and certificates that display the number do expire, but the number itself is permanent. When a bank clerk says your NIE has "expired", what they mean is that they want a recent document showing it.
Why does it matter so much? Because in Madrid the NIE opens almost every other door: a long-term rental contract, a resident bank account, a payroll entry, an autónomo (self-employed) registration, a car purchase, the tax office.
NIE, TIE or Green Certificate: Sorting Out the Vocabulary
Expat forums blur these terms together constantly, so here is the clean separation:
NIE
The number itself
Assigned once, kept for life. Not evidence of residence on its own.Certificado de registro
For EU, EEA and Swiss citizens
The famous green paper. Confirms EU-citizen registration and shows your NIE.TIE
For everyone else who resides here
Tarjeta de Identidad de Extranjero, a photo card linked to your residence permit.NIE certificate (non-resident)
Number without residence
A plain certificate for people who need the number but do not live in Spain.The short version: EU, EEA and Swiss passports lead to the green certificate; every other nationality moving here ends with the TIE. Both display your NIE, and both paths are covered below.
Applying Before You Land: The Consulate Shortcut
Still packing boxes at home? Then you have an option people already in Madrid wish they had used: many Spanish consulates process NIE requests, using form EX-15, for people living in their consular district. A few weeks of waiting at home beats a few weeks of refreshing an appointment portal after arrival.
Non-EU citizens coming on a residence visa (student, work, non-lucrative, digital nomad) often need no separate application at all: an NIE is typically assigned somewhere in the visa file, so check the paperwork the consulate returned before queueing for a number you may already have.
The payoff: landing with a number already assigned means the bank account, lease and phone contract can all happen in week one. Each consulate publishes its own NIE procedure, and details differ, so read yours rather than a friend's.
EU Citizens: Getting the Certificado de Registro
EU, EEA and Swiss nationals planning to stay in Spain longer than three months are required to register as residents. The output of that process is the green certificate carrying your NIE. In Madrid the sequence looks like this:
- Sort out your empadronamiento first (your municipal address registration), because offices generally want proof that you live in the province. Our empadronamiento in Madrid guide covers it end to end.
- Book a cita previa on the state portal (see the booking section below) for the EU citizen registration procedure, province of Madrid.
- Complete form EX-18, generate the fee form tasa 790 código 012, pay it at a bank and keep the stamped proof.
- Bring evidence of means: a work contract, proof of self-employment, or savings plus health insurance. Scrutiny varies, but arrive prepared.
- Attend the appointment with passport, forms, fee receipt and supporting documents. If all is in order, the green certificate is normally issued the same day.
Non-EU Citizens: From Visa to TIE
Arriving on a residence visa starts a clock: you are expected to apply for the physical TIE card within 30 days of entering Spain (your visa paperwork states your exact deadline, so treat that as the authority). The card application is form EX-17, and the appointment you need is the one listed as toma de huellas, the fingerprinting session.
- Register your address (empadronamiento) as soon as you can, since the TIE file needs proof of where you live and the padrón document is the accepted answer.
- Book the toma de huellas appointment through the state portal for the province of Madrid. The city concentrates many extranjería procedures in a small number of large offices, and your booking confirmation states exactly which office you have been assigned. Go by the confirmation, not by what a Facebook group says.
- Generate and pay the fee using tasa 790 código 012, at a bank, before the appointment.
- On the day, bring: passport with visa, the padrón certificate, a recent carnet-style photo on a white background, the completed EX-17 and the stamped fee receipt. Fingerprints are taken and you leave with a stamped resguardo, the receipt for your card.
- Return to collect the TIE when it is ready, generally some weeks later, with your passport and that resguardo.
Guard the resguardo like a passport. Until the card arrives, that stamped slip is your only proof the application exists. Photograph it and bring it to anything official in the meantime.
The Cita Previa Hunt: Madrid's Least Favourite Sport
Whichever route applies to you, it funnels through one website: sede.administracionespublicas.gob.es, the state appointment portal. Pick the province of Madrid, pick the precise procedure, and search for a slot. Booking costs nothing; finding availability is where the folklore begins, because demand in Madrid is enormous and slots come and go in waves.
Hard-won advice from people who have been through it:
- Search early in the morning. Fresh batches of appointments tend to appear around the start of the working day, and they vanish fast.
- Spread attempts across the week rather than judging from one empty evening search.
- Double-check the procedure name before booking. A generic NIE slot is useless if you need toma de huellas for a TIE, and vice versa.
- Keep your passport details at hand, because the booking session times out.
- If a deadline is looming, hire help. A registered gestor or immigration lawyer books slots and assembles files as routine daily work, for a reasonable fee.
Do not buy appointments from strangers. Bots hoover up free slots and resell them in social media groups. Paying them finances the shortage, offers zero guarantee, and a slot booked under mismatched details can be turned away at the door. Legitimate help is called a gestoría, and it issues invoices.
Paperwork is week one. Understanding Madrid takes longer.
Madrid Expat Daily is a free daily email that gives you the city's news, events and deadlines in plain English, in five minutes. Read it with your morning coffee while the bureaucracy sorts itself out.
Forms, Documents and the Fee
Four numbered forms cover nearly every situation in this guide. All are downloadable from the official portals, and none should be bought from anyone:
| Form | Used for |
|---|---|
| EX-15 | An NIE number on its own, without residence: consulate applications, property purchases and similar |
| EX-18 | Residence registration for EU, EEA and Swiss citizens (the green certificate) |
| EX-17 | Applying for the TIE card, presented at the toma de huellas appointment |
| Tasa 790 código 012 | The fee slip that accompanies all of the above: generate online, pay at a bank, keep the stamped copy |
About that fee: it is small, roughly 10 to 17 EUR depending on the procedure, and the form itself generates the current exact amount when you fill it in online, so trust the freshly generated form over any blog, this one included. Alongside the forms, assemble the universal kit: passport, a photocopy of every page that matters, your padrón certificate, and duplicates of absolutely everything.
When in doubt, photocopy. Offices routinely keep the copies and return your originals, and showing up with originals only is the fastest way to lose an appointment. Copies cost cents; a rebooked cita costs weeks.
On the Day: What the Appointment Is Really Like
After the drama of getting the slot, the appointment tends to be an anticlimax. Show up 15 to 20 minutes ahead with your confirmation, queue at the entrance, pass the document check, take a number, wait. A well-organised folder gets processed in minutes: documents reviewed, fingerprints scanned if it is a TIE visit, a stamp, a resguardo, done.
Two realities worth internalising. First, business at the counter happens in Spanish; staff are usually patient, but do not count on English, so bring a Spanish-speaking friend or write out your key facts beforehand. Second, the official in front of you decides, and calm, complete paperwork persuades better than quoting a website. If something is missing, ask precisely what, note it down, and rebook with the gap filled.
Life After the NIE: Your Next Moves
Number in hand, Madrid opens up. Most people work down this list:
- A Spanish bank account: traditional banks ask for the NIE for resident accounts; app banks bridge the gap until then.
- A social security number if you plan to work, then registration at your neighbourhood centro de salud for public healthcare.
- Contracts in your own name: phone, internet, electricity, which will also want that new bank account.
- A long-term flat: landlords and agencies expect an NIE plus income evidence before signing an arrendamiento (lease).
The wider settling-in picture, from neighbourhoods to transport passes to healthcare, is in our Moving to Madrid guide, and the other half of the bureaucratic double act is covered in the empadronamiento in Madrid guide.
NIE in Madrid: FAQ
What is the NIE and what do I need it for in Madrid?
It is Spain's identification number for foreigners, and Madrid asks for it everywhere: long-term rentals, resident bank accounts, work contracts, taxes, car registration, property purchases. It is only a number, not a residence permit, and once assigned it stays yours for life.
Is the NIE the same thing as the TIE?
No. The NIE is the number; the TIE is the plastic residence card that non-EU residents carry, with the NIE printed on it. EU, EEA and Swiss citizens get a green registration certificate showing the same number instead of a card.
How do I get a NIE or TIE appointment in Madrid?
Book a free cita previa at sede.administracionespublicas.gob.es, selecting the province of Madrid and the exact procedure. Slots appear in batches, often early in the morning, so keep checking across different days. Never pay a reseller; if you want help, hire a registered gestor or lawyer.
Can I apply for the NIE before I move to Madrid?
Frequently, yes. Spanish consulates in many countries accept form EX-15 from people living in their district, and non-EU visa applicants usually get a number assigned during the visa process. Arriving with the number already issued removes the hardest step from your first weeks.
How much does the NIE cost in 2026?
The state fee, paid with form tasa 790 código 012, is modest: roughly 10 to 17 EUR depending on the procedure, and the form shows the current exact amount when you generate it. Anything larger you are quoted is a service fee, not the government charge.
What if I cannot get a TIE appointment inside my 30-day window?
Keep dated screenshots proving no slots were available, and keep trying at different times and days. The administration knows slot scarcity is not your doing, and evidence of diligence helps. A gestor or immigration lawyer can often land an appointment faster than you can alone.
Do I need to speak Spanish at the appointment?
The counters operate in Spanish, and English cannot be assumed. If your Spanish is still basic, bring a Spanish-speaking friend or prepare your key answers in writing with a translation app on standby. Tidy, complete paperwork does most of the talking anyway.
Do I need the empadronamiento before the NIE?
For the bare number, usually not. For the green certificate or the TIE, offices normally want proof you live in the province of Madrid, and the padrón certificate is the standard proof, so most newcomers register their address first. See our empadronamiento guide for the walkthrough.
Daily Madrid news in English. Free.
Join 1,300+ expats across Spain. Every morning: a 5-minute rundown of Madrid news, free events, deadlines and local tips, written for people building a life in the capital.