You're reading the Spain guide

First StepsUpdated December 2026By Edward A11 min read

How to Get Your NIE Number in Spain, Plus the TIE and EU Certificate

Your NIE number in Spain is your personal foreigner identification number, and most newcomers never apply for it separately. If you are from outside the EU and arrive with a long-stay visa, the NIE comes with your visa and you must apply for your TIE card within one month of entering Spain. If you are an EU citizen staying more than three months, you get your NIE on the EU registration certificate, which you must request within three months. Only people with no residence plans, such as buyers of property, apply for a "bare" NIE with form EX-15.

Quick answer
NIE: Your number for life; usually assigned automatically
Non-EU with visa: Apply for the TIE card (form EX-17) within 1 month of arrival
EU, EEA, Swiss: EU registration certificate (form EX-18) within 3 months of arrival
Fees (Dec 2026): €9.84 NIE only; €12.00 EU certificate; €16.08 first TIE
Appointments: Book a free cita previa on the government e-office
Also do: Empadronamiento at the town hall and your social security number

What is an NIE number in Spain?

The NIE (número de identidad de extranjero, foreigner identity number) is a personal, unique number that the Spanish National Police give to foreigners. The regulation describes it as personal, unique and exclusive to you, so it stays the same when your card or permit changes.

Under Spain's immigration regulation (Royal Decree 1155/2024, article 205), you get an NIE if you start any residence or stay procedure, if you are part of an immigration case, or if you have economic, professional or social interests in Spain. In daily life you need it to sign a work contract, pay tax, register with social security, rent through an agency, sign up for utilities and, at most banks, become a resident customer.

The confusion comes from the fact that the NIE is a number, while the TIE and the EU registration certificate are documents. The number appears on both of those documents. You do not need a separate NIE certificate if you already have one of them.

NIE, TIE or EU certificate: which one do you need?

Which document you get depends on your nationality and on why you are in Spain.

Your situationDocumentFormDeadline
Non-EU citizen with a visa or authorisation for more than 6 months (work, study, digital nomad, non-lucrative, family)TIE (tarjeta de identidad de extranjero, foreigner identity card), with your NIE printed on itEX-17Within 1 month of entering Spain or of the authorisation being granted
EU, EEA or Swiss citizen staying more than 3 monthsEU registration certificate (certificado de registro de ciudadano de la Unión), with your NIE on itEX-18Within 3 months of entering Spain
Non-EU family member of an EU citizenResidence card of a family member of an EU citizen (valid 5 years)EX-19Within 3 months of entering Spain
No plan to live in Spain, but buying property, inheriting or doing businessNIE certificate onlyEX-15None; apply when you need it

The one-month TIE deadline is set in article 209 of the immigration regulation, and it applies when your visa or authorisation is for more than six months. The three-month deadline for EU citizens comes from Royal Decree 240/2007. EU citizens get their certificate straight away at the appointment; the police page says it is issued "de forma inmediata" (on the spot).

Tip: If you still live abroad and need an NIE for a property purchase or inheritance, you can request it through a Spanish consulate. The police say the decision on an EX-15 NIE request is made within five days, and no reply means it was refused.

How do you book a cita previa?

Almost every foreigner procedure in Spain needs a cita previa (prior appointment). You book it on the official Cita previa de extranjería page of the Spanish government's e-office. It covers both the immigration offices (Oficinas de Extranjería) and National Police stations.

  1. Choose your province. Appointments are booked per province, not per city. Pick the province where you live.
  2. Choose the right procedure. The exact wording varies by province. For the TIE, look for the police procedure for issuing the foreigner identity card. For EU citizens, look for one that mentions the "certificado de registro de ciudadano de la UE". For an NIE only, look for one that mentions "asignación de NIE".
  3. Enter your details. Usually your passport number or NIE, name, year of birth and nationality.
  4. Pick an office and time. If you see "no hay citas disponibles" (no appointments available), try again at different times of day. New slots are released regularly.
  5. Save the confirmation. Print it or save the PDF with the booking code. You may be asked for it at the door.

Watch out: Appointments are free. In November 2024 the Ministry of the Interior announced that police had broken up a gang that used bots to grab immigration appointments and resell them for €15 to €30 each, which it called a breach of the principle that access to public services is free. Never pay a stranger or website for a slot. A lawyer or gestor (administrative agent) can legitimately charge for their time, but the appointment itself costs nothing.

Forms and fees (modelo 790 código 012)

Every procedure has an application form (the EX forms) and a government fee, paid with the form modelo 790 código 012. You fill in the 790-012 online on the police website, print it and pay at a bank (you do not need an account at that bank), then bring the stamped receipt to your appointment.

The fees are set by Order PJC/617/2025, which came into force on 16 June 2025 and replaced the 2011 amounts. The live police fee form shows the same amounts as of December 2026:

ProcedureFormFee (as of December 2026)
NIE at your own requestEX-15€9.84
Resident or non-resident certificateEX-15€7.31
EU registration certificateEX-18€12.00
Residence card for a family member of an EU citizenEX-19€12.00
TIE, first temporary residence or stay (e.g. students)EX-17€16.08
TIE, renewal or extensionEX-17€19.30
TIE, long-term residenceEX-17€21.87

The order allows the amounts to be raised through the annual state budget law, so check the police fee page before you pay. These fees are separate from any visa fee you paid at the consulate or any immigration authorisation fee.

Money saver: Download the EX forms from the official Ministry of Inclusion website or the police page, not from third-party sites that charge for "pre-filled" forms. The forms are free and the 790-012 fee is the only payment the police ask for.

What documents do you need?

Requirements are set nationally, but offices in some provinces ask for extra copies or slightly different paperwork. Bring originals and one photocopy of everything.

For the TIE (non-EU citizens)

  • Form EX-17, filled in and signed
  • Paid 790-012 fee receipt
  • Passport with your visa (and entry stamp), or the decision granting your authorisation
  • Recent passport-style colour photo
  • Your appointment confirmation
  • Some offices also ask for your certificado de empadronamiento (padrón certificate), so register at the town hall first if you can

For the EU registration certificate

  • Form EX-18 and the paid 790-012 receipt
  • Valid passport or national ID card
  • Proof of one of these: a job or self-employment in Spain; enough money to live on plus health insurance that covers all risks in Spain; enrolment in recognised studies plus health insurance and a declaration of sufficient resources; or being the family member of someone in one of those groups

Royal Decree 240/2007 says no fixed amount may be set for "sufficient resources". Offices look at your personal situation, so bring bank statements or pension statements if you are not working.

Step by step: getting your TIE or EU certificate

  1. Find a place to live and register on the padrón. See the padrón section below. Some offices ask for it, and you need it anyway.
  2. Book your cita previa. Do this as soon as you arrive (or before, if you know your address). Non-EU citizens only have one month to apply.
  3. Fill in the EX form and the 790-012. Pay the fee at a bank and keep the stamped copy.
  4. Attend the appointment in person. Bring everything listed above. EU citizens usually leave with the certificate the same day.
  5. Collect your TIE. Ask at your appointment how and when to collect the card in your province, and keep any receipt you are given.
  6. Use your NIE everywhere. Give it to your employer, bank, landlord and social security. It is the same number on every document.

Your TIE is valid for as long as the authorisation behind it. When you renew your residence, you apply for a new card and pay the renewal fee.

Empadronamiento: registering at the town hall

Empadronamiento means registering on the padrón municipal, your town hall's list of residents. It is a legal duty: article 15 of the Local Government Act (Law 7/1985) says everyone who lives in Spain must register in the municipality where they usually live. It applies to Spanish and foreign residents alike, and your immigration status does not matter.

The padrón is how you prove where you live. You need the certificate (certificado or volante de empadronamiento) for your health card, school places, many regional services and some immigration procedures. Each town hall runs its own system, so documents and booking differ. Barcelona, as an example, says registration is free and asks for:

  • Your ID: passport, national ID card (EU citizens) or TIE
  • If you rent: your current rental contract, lasting at least three months
  • If you own: your title deed or the property tax (IBI) receipt
  • If you live in someone else's home: usually the owner's or main tenant's written permission and a copy of their ID

Non-EU citizens without long-term residence must renew their padrón registration every two years (Law 7/1985, article 16). The town hall may send you a reminder, but put the date in your calendar.

How do you get a social security number in Spain?

Your social security number is called the NUSS (número de la Seguridad Social) or número de afiliación (NAF). It is different from your NIE and you need it before you start work, because your employer registers you under it.

  • If a company is hiring you and you have no number yet, Social Security says the company must request it for you.
  • If you want it yourself (for example, to work as self-employed), apply online through Import@ss, the Social Security portal. You need your NIE or TIE, a mobile phone, an email address and your home address. Without a digital certificate or Cl@ve login, you upload photos of both sides of your document and a selfie.
  • Form TA.1 is the paper application, and is used for minors.

Once you are registered with Social Security and on the padrón, you can get your health card. See our guide to healthcare in Spain.

Frequently asked questions

Is the NIE the same as the TIE?

No. The NIE is your number; the TIE is the physical card for non-EU residents that shows the number. Your NIE stays the same when your TIE is renewed.

How long does it take to get an NIE in Spain?

If you apply for an NIE only with form EX-15, the police say they decide within five days. EU registration certificates are issued at the appointment. The slowest part is often finding a free appointment.

Can I get an NIE before moving to Spain?

Yes. Non-EU visa holders receive one with their visa, and anyone with a reason (such as buying property) can request an NIE through a Spanish consulate.

Do EU citizens need a TIE?

No. EU, EEA and Swiss citizens get the EU registration certificate (a paper certificate with the NIE) instead. Non-EU family members of EU citizens get a residence card with form EX-19.

What happens if I miss the one-month TIE deadline?

Apply as soon as you can and keep proof of your appointment attempts. Missing legal deadlines can lead to problems or penalties, so if you are late, ask the immigration office or a qualified adviser about your case.

How much does the NIE cost in 2026?

As of December 2026, an NIE at your own request costs €9.84, the EU registration certificate €12.00 and a first TIE €16.08, paid with form 790 código 012.

Do I need to register on the padrón before my TIE appointment?

It is not a national requirement for the TIE, but some offices ask for it, and you will need it for healthcare and other services. Register as soon as you have an address.

This guide is general information for newcomers and is not legal, tax, financial or immigration advice. Rules and amounts change, so always confirm with the official source linked above. Last reviewed December 2026.

More Spain guides

All Spain guides →