NIE Barcelona: how to get your NIE number in 2026
The NIE (Número de Identidad de Extranjero) is the single most important thing you need when you move to Barcelona. Without it you cannot sign a rental contract, open a bank account, get a phone plan, start a job, or pay taxes. The good news is that the process itself is simple. The hard part, and the reason this guide exists, is getting the appointment. In Barcelona, cita previa slots are released in batches and vanish within minutes.
This guide walks you through the whole thing step by step: what the NIE is, how it differs from the TIE, how to book the cita previa in Barcelona, exactly which documents to bring, what happens on the day, what your NIE number means, and what to do when there are no appointments left. If you want a nationwide view instead of a Barcelona-specific one, see our broader guide to getting a NIE number in Spain.
¿Prefieres pedir la cita en español? Consulta Cita previa para el NIE en Barcelona: el paso a paso para reservar la cita previa, el formulario EX-15 y la tasa 790-012.
What is the NIE and why do you need one?
The NIE is a tax identification number assigned to foreigners in Spain. It is not a visa and it is not a residency permit. Think of it as your fiscal identity, the number the Spanish system uses to recognise you for anything official.
You need a NIE to:
- Sign a rental contract or buy property
- Open a Spanish bank account
- Start working or register as self-employed (autónomo)
- Pay taxes and receive a salary
- Get a mobile phone contract, a utility connection or a car
In practice, the NIE is the first domino. Almost everything else you need to set up your life in Barcelona depends on having it, which is why you should start the process the day you arrive, or even before.
NIE vs TIE: what is the difference?
This is the single most common point of confusion, so it is worth getting straight before you book anything.
The NIE is a number. For EU and EEA citizens it is printed on a green A4 paper (the Certificado de Registro) or a small green card. It identifies you and does not expire.
The TIE is a physical card. It is the Tarjeta de Identidad de Extranjero, a plastic card with your photo and fingerprints, issued to non-EU residents. The TIE contains your NIE number but also proves your residency status, and unlike the number itself, the card has an expiry date and must be renewed.
So if you are an EU citizen who has just moved to Barcelona, what you need first is the NIE (on the green certificate). If you are a non-EU resident, your NIE will usually arrive on a TIE card as part of your visa or residence process. The NIE number is permanent either way. Only the document that carries it can expire.
How to get a NIE appointment in Barcelona (cita previa)
Everything in Spanish bureaucracy starts with a cita previa, and the NIE is no exception. You book it online, for free, at the official sede electrónica. Here is the process:
- Go to sede.administracionespublicas.gob.es and open the cita previa section for Extranjería.
- Select the province: Barcelona, then the Oficina de Extranjería.
- Choose the procedure. EU and EEA citizens registering as residents pick "Certificados UE". People who only need the number (non-residents, property buyers, some non-EU cases) pick "Asignación de NIE".
- Fill in the form with your passport details: number, name and nationality.
- Pick a slot from whatever is available, then confirm. Save and print the confirmation with its reference code, because you will need it on the day.
Here is the reality nobody warns you about: in Barcelona there are almost never slots when you first look. Appointments are released in batches and get taken within minutes. The trick is not luck, it is timing and persistence.
- Check early in the morning, around 7:00 to 8:00, and again in the mid-afternoon around 15:00 to 16:00, when cancellations reappear.
- Try Mondays and Tuesdays, and the days right after a public holiday, when new batches tend to drop.
- Use a desktop browser, not mobile, and have your passport number typed and ready so you can fill the form in seconds.
- Widen the net. If the central Barcelona office is empty, try nearby towns in the province like Badalona, L'Hospitalet or Sabadell.
- Never pay a reseller. Selling cita previa slots is illegal, and many "guaranteed appointment" sites are scams.
Coming soon: cita previa appointment alerts
Prio is building a real-time appointment monitoring system for cita previa slots in Barcelona. It detects newly available appointments and notifies you instantly, so you stop refreshing the page for hours. The tool is not live yet, but if you are also flat hunting, our real-time apartment alerts already work today. For the full Spanish-language walkthrough of the NIE appointment, see our guía de cita previa para el NIE.
Required documents
You do not need much to book the appointment, just your passport details. The full document set is what you bring on the day of the appointment, and it differs slightly for EU and non-EU applicants.
For EU and EEA citizens
- EX-15 form (the NIE application) or EX-18 if you are registering as an EU resident. Download it, fill it in and print it in advance.
- Passport or national ID, original plus a photocopy of the main page.
- Justification for needing the NIE: a work contract, a rental pre-agreement, a university enrollment letter, or a property purchase document.
- Tasa 790 code 012, the fee form, paid at a bank before your appointment. It is around 10 to 12 euros and changes slightly each year. Download the form from the Agencia Tributaria website.
- Proof of address in Spain, such as your empadronamiento, if you are registering as a resident.
For non-EU citizens
- EX-15 form, completed.
- Passport plus photocopy, and proof of legal entry into Spain (a visa or a Schengen entry stamp).
- Justification that matches your situation (job offer, studies, property purchase, family).
- Tasa 790 code 012 paid in advance.
- Two passport-size photos if your procedure involves a TIE card (fingerprints and photo).
Pro tip
Print everything and bring two copies of each document. Spanish government offices do not have printers for the public. Bring a pen, arrive with the tasa already paid, and keep the bank stamped receipt with you, not just the form.
Step by step: the day of your appointment
Arrive 10 to 15 minutes early. The main office for Barcelona is the Oficina de Extranjería on Carrer de Múrcia, near Marina metro, though some appointments are held at national police stations such as the one on Carrer de Mallorca. Your confirmation tells you exactly where to go.
When you arrive, there is usually a queue and a security check at the door. Show your printed confirmation, and staff will direct you to a waiting area with a number. When your number is called, you go to the counter, hand over your documents, and the officer checks everything.
For a simple NIE, the whole thing takes about 30 minutes and you often walk out with the green certificate in hand. If your procedure includes a TIE, they take your fingerprints and give you a receipt (resguardo); the card itself is collected a few weeks later, usually at the police station. Double check the number and the spelling of your name before you leave, because fixing a typo later means another appointment.
NIE number format and example
A Spanish NIE always follows the same pattern: a letter, seven digits, and a control letter. For example:
| Example | Structure |
|---|---|
| X-1234567-A | Prefix letter + 7 digits + check letter |
The first letter tells you roughly when the number was issued. The system started with X for the earliest holders (broadly before 2008), moved to Y when that series filled up, and is now issuing Z. The final letter is a control character calculated from the seven digits, exactly like the letter on a Spanish DNI, so it is not random and can be used to validate the number.
Your NIE appears on the green certificate (EU) or on the TIE card (non-EU), and it is the number you will type into almost every official form from then on.
How to renew your NIE
Strictly speaking, the NIE number itself never expires and is never renewed. It is assigned to you once and stays yours for life. What people mean by "renewing the NIE" is renewing the document that carries it.
- EU citizens: the green Certificado de Registro does not expire. If you lose it, you request a duplicate rather than a renewal.
- Non-EU residents: the TIE card has an expiry date tied to your residence authorisation. You renew the card (and your residency) before it lapses, usually within the 60 days before expiry, through the extranjería system. Your NIE number stays exactly the same on the new card.
So if a form or a landlord asks whether your NIE is "still valid", the number always is. Only a TIE card can be out of date.
How long does it take?
There are two separate clocks: getting the appointment, and processing once you are there.
| Step | Typical duration |
|---|---|
| Getting an appointment | 2 to 6 weeks of trying, depending on season |
| Preparing documents | 1 day |
| The appointment itself | about 30 minutes |
| Receiving the NIE (EU) | same day, on the green certificate |
| Receiving the TIE card (non-EU) | 2 to 4 weeks |
Demand spikes in September and January, when students and new arrivals flood the system, so appointments are hardest to find then. If your move is flexible, the quieter windows are late autumn and early spring.
Alternatives if you cannot get an appointment
If Barcelona simply will not give you a slot, you have real options:
- Try other cities in Catalonia. Girona, Tarragona and Lleida have less demand than Barcelona, and the NIE is valid nationwide, so where you get it does not matter.
- Apply from your home country. The Spanish consulate that covers your area can assign a NIE before you even land, which sidesteps the Barcelona queue entirely. This is the single best move if you are still planning your move.
- Use a gestoría. These local agents handle the paperwork and appointment for a fee, typically 80 to 150 euros. They cannot conjure slots that do not exist, but they save you the admin and know the system.
🚩 Do not pay for a "guaranteed" appointment
Booking a cita previa is free. Reselling appointments is illegal in Spain, and most sites promising an instant guaranteed slot either take your money, harvest your data, or both. A legitimate gestoría charges for their service and time, not for the appointment itself. Always start from the official sede electrónica.
Can you start apartment hunting without a NIE?
Technically yes, for a while. Some private landlords will accept a passport number temporarily, but most agencies want a NIE before they process your application. The smart approach is to run both processes in parallel: start the NIE the moment you arrive, and monitor listings while you wait so you are ready to sign the day your number comes through. When you are set up, our full guide to renting in Barcelona and the document checklist will save you more time.
Sorting your NIE is only half of settling in Spain: you still need somewhere to live, and in Barcelona or Madrid the good flats are gone within hours. Prio's apartment alerts send every new Idealista, Fotocasa and Badi listing to your Telegram the moment it goes live, at least 2 minutes before the platforms notify everyone else, so you can start viewings the week your paperwork clears.
Get apartment alerts, 7 days free →
Be the first to call.
In Spain, a good apartment is gone within the hour. Prio alerts you before everyone else. While they wait for the Idealista notification, you are already on the phone, at least 3 minutes ahead and up to 10.
Frequently asked questions
How do I get a NIE appointment in Barcelona?
You book the cita previa online at sede.administracionespublicas.gob.es. Select Barcelona province, choose the procedure (Certificados UE for EU citizens or Asignación de NIE for non-EU), fill in your passport details and pick a slot. Appointments are released in batches and book within minutes, so check early in the morning, try Mondays and Tuesdays, and if Barcelona is full try nearby towns like Badalona or Sabadell.
What documents do I need to apply for a NIE in Spain?
You need the EX-15 form filled in advance, your passport plus a photocopy, a justification for needing the NIE (work contract, rental agreement, university enrollment or property purchase), and the Tasa 790 code 012 fee form paid at a bank beforehand, which is around 10 to 12 euros. Non-EU applicants also bring proof of legal entry such as a visa or Schengen stamp.
Can I get a NIE without an appointment?
No. The NIE is issued through the cita previa system, so you need an appointment at the Oficina de Extranjería or a police station. The only way to skip the Barcelona appointment queue is to apply at a Spanish consulate in your home country before you move, which many people do.
How long does it take to get a NIE in Barcelona?
Getting the appointment usually takes 2 to 6 weeks of trying, depending on the season. The appointment itself lasts about 30 minutes. EU citizens normally receive their NIE the same day on a green certificate, while non-EU applicants typically wait 2 to 4 weeks for the card to be produced.
What is the difference between the NIE and the TIE?
The NIE is your foreigner identity number, printed on a green A4 certificate for EU citizens. The TIE is a physical plastic card with your photo and fingerprints, issued to non-EU residents. The NIE number stays the same for life, while the TIE card expires and has to be renewed.
How much does a NIE cost in Spain?
The official fee is the Tasa 790 code 012, which is around 10 to 12 euros and changes slightly each year. You pay it at a bank before your appointment. Booking the appointment itself is free, so any website that charges you just to get a slot is a reseller, which is illegal.
What does a Spanish NIE number look like?
A NIE has the format letter, seven digits, control letter, for example X-1234567-A. The first letter is X, Y or Z depending on when it was issued (X for the oldest, then Y, then Z as each series filled up). The final letter is a check character calculated from the digits.
Can I apply for a NIE from outside Spain?
Yes. You can apply at the Spanish consulate that covers your area in your home country, which lets you arrive in Barcelona with the NIE already in hand and skip the local appointment queue. Each consulate has its own booking system and processing time, so start early.
Where is the Oficina de Extranjería in Barcelona?
The main foreigner office in Barcelona is the Oficina de Extranjería on Carrer de Múrcia, near Marina metro, and some appointments are held at national police stations such as the one on Carrer de Mallorca. You do not pick the office yourself: the cita previa system assigns it based on availability.
Do I need a NIE to rent an apartment in Barcelona?
Most agencies require a NIE before they process your rental application, though some private landlords accept a passport temporarily. Start the NIE process the moment you arrive and monitor listings in parallel, so you are ready to sign as soon as your number comes through.