Blog Carbray International

NIE Number in Spain: What It Is and How to Get One

NIE application papers at an office counter

By Damián Carmona Rodríguez, immigration lawyer, founder of Carbray International and member no. 32228 of the Barcelona Bar Association (Il·lustre Col·legi de l’Advocacia de Barcelona).

The NIE (Número de Identidad de Extranjero) is the personal identification number Spain gives to foreigners. You need it for tax filings, property purchases, contracts and many banking and employment steps. You apply on form EX-15, either at a foreigners’ office or National Police station in Spain, or at a Spanish consulate in your country of residence. The NIE is a number, not a visa. It does not let you live or work in Spain. The TIE card, which is a different document, is what proves residence for non-EU nationals.

Carbray International
Make Your Spain Move Clearer
Carbray International brings immigration lawyers, tax advisors and relocation experts together to guide individuals through Spanish immigration matters.

Explore Spanish immigration support

TL;DR

  • The NIE is a unique tax and identification number for foreigners with economic, professional or social ties to Spain. It stays the same for life.
  • It is not a residence permit or a work permit. Many newcomers confuse it with the TIE card.
  • You can apply in Spain (police station or foreigners’ office, in person or through a representative) or at a Spanish consulate abroad.
  • Core paperwork: form EX-15, your passport, proof of why you need the number, and the fee paid on form 790, code 012.
  • If you are moving to live in Spain, your visa and residence process will give you a NIE and later a TIE, so you often do not need a separate application.

Table of Contents

What the NIE is and what it is used for

Spain’s government describes the NIE as a personal, unique and exclusive number that identifies foreigners who have a relationship with Spain because of economic, professional or social interests. It appears on the documents issued or processed in your name.

In practice, the NIE works as your tax number. Typical moments when someone asks for it:

  • Buying or selling property, or signing a long-term lease
  • Opening a bank account (many banks will want it, and some only open accounts for residents)
  • Filing Spanish taxes or setting up a company
  • Signing utility contracts or buying a vehicle
  • Being registered for employment or self-employment

The NIE sits alongside two other identifiers that often get mixed up. The DNI is the identity card for Spanish citizens. The NIF is the tax identification number, and for foreigners it is the NIE. The Moncloa explainer notes that these overlap in function and even in their numbers, but they are different documents with different purposes.

The NIE number is normally formatted as a letter (X, Y or Z), seven or eight digits, and a final control letter, for example X1234567L.

NIE vs TIE: the difference that trips up most newcomers

This is the question we hear most from Americans, Britons and Australians preparing a move.

The Spanish consulate in Melbourne states plainly that the NIE identifies foreigners wherever they live and is not valid as residency or proof of residence in Spain. The City of Barcelona’s welcome service adds that many foreigners wrongly believe the NIE is what they need to live in Spain. It is neither a residence nor a work permit.

The TIE (Tarjeta de Identidad de Extranjero) is the physical card. According to the Barcelona service, it is issued to non-EU nationals with an authorization of stay or residence longer than six months, and it contains your NIE.

NIETIE
What it isAn identification and tax numberA physical card
Gives right to live in SpainNoIt documents a residence or stay authorization you already hold
Gives right to workNoDepends on the authorization it reflects
Who gets itAny foreigner with economic, professional or social ties to SpainNon-EU nationals authorized to stay more than six months
Where the number appearsThe number itselfPrinted on the card
LifespanThe number does not changeThe card is renewed with your permit

So “NIE or TIE?” is usually the wrong question. If you are relocating, you will get a NIE as part of the process and then a TIE once your residence authorization is granted. If you only need a tax number, for example to buy a holiday home, the standalone NIE is what you apply for.

EU citizens follow a variant. Those who want to stay more than three months must obtain a registration certificate containing their NIE at a police station in their province of residence. We cover that route in our guide to the registration and residence permit for European citizens.

Do you need a standalone NIE?

Ask yourself what you are actually trying to do.

You are moving to Spain on a visa. A visa such as the Digital Nomad Visa or the Non-Lucrative Visa is processed with your identity details, and your NIE is assigned as part of that route. You will normally receive it on your authorization and TIE rather than through a separate request. If you are still comparing routes, our overview of how to immigrate to Spain explains the main residency options.

You are not moving but need Spanish transactions. Buying property, inheriting an estate, investing, or setting up a company can all require a NIE before you can sign anything. This is the classic standalone application.

You already live in Spain without a NIE. If you hold some other status and have no number, you will need to sort that out before dealing with the tax office or employers.

One point worth stating directly: a NIE does not let you work. If you need to work in Spain as a non-EU national, you need the correct authorization. Our page on work permits for foreign nationals explains the types.

When a NIE is needed and what it allows

How to apply for a NIE

The Spanish government states that in Spain, applications may be submitted at foreigners’ offices or National Police stations, in person or through a legal representative. Abroad, they go to the Spanish consular office or diplomatic representation in your country of residence.

Step by step

  1. Decide on your route. In person in Spain, through a representative, or at a consulate abroad.
  2. Complete form EX-15. This is the application form for the NIE. It asks why you need the number.
  3. Document your reason. The consulate in Melbourne lists form EX-15, a valid ID or passport, and the economic, professional or social reasons for the application. A purchase contract, a job offer, a lease or a tax need can all serve as the reason.
  4. Pay the fee. Pay on form 790, code 012, before you submit. The same consulate requires this payment with the application.
  5. Book an appointment and attend, or authorize someone. Most offices work by prior appointment (cita previa).
  6. Collect the certificate. You receive a certificate showing your NIE.

Document lists differ slightly between offices and consulates, so check the requirements on the page of the specific office that will receive your file.

Applying from outside Spain

If you live outside Spain, the consulate that covers your place of residence handles the application. Practices vary. In Melbourne, applicants aged 12 or older must submit documentation in person, although adults may use an accredited representative. Applicants under 12 or with disabilities need not attend. In Hamburg, applicants must first request a username and password by email before booking through the online system.

If you are in the United States, look at the page of the consulate general that covers your state. Each one sets its own booking method, and some consulates are stricter than others about the reason you give. Property buyers who are abroad may also find practical tips on the paperwork in this guide on getting a Spanish NIE without delays.

Applying in Spain

In Spain, the application goes to a foreigners’ office (Oficina de Extranjería) or a National Police station that handles foreigner paperwork. Appointment availability is the usual bottleneck, and it differs by province. In busy areas such as Barcelona, Madrid and Málaga, slots can be scarce, so check the booking page often and be flexible about which office you use within your province.

Using a representative

If you cannot travel, a legal representative can file for you. This normally requires a power of attorney or a signed authorization, depending on the office. Many people buying property remotely use this route. A lawyer can prepare the documents and act on your behalf.

Woman signing an authorization at home

Cost and timeline

The fee is small compared with the rest of a relocation or purchase. It is paid on form 790, code 012, and the amount is set in euros and published by the authorities. The Melbourne consulate, for example, lists a fee between AUD 7 and AUD 16 for issuing the NIE, plus AUD 10 for each certified copy of an identity document. Check the current figure on the official page of the office you use, because it is revised periodically and consulates convert it into local currency.

On timing, the Hong Kong consulate’s 2026 page states that the NIE is normally issued within four weeks, though the period may be extended by factors beyond the administration’s control. Treat that as a guide, not a promise. We cannot guarantee processing times, and neither can anyone else, because they depend on the office and the volume of cases.

Any fee for professional help is separate from the government fee. Our pricing is available on request after a consultation.

Common mistakes to avoid

  • Applying without a clear reason. The form asks for your economic, professional or social interest. A vague or unsupported reason can slow things down.
  • Thinking the NIE gives you residency. It does not. Relying on it to stay longer than your authorized time can create real problems.
  • Mixing up the numbers. Your NIE is also your tax number, so make sure the digits and letters match your documents exactly on every form.
  • Using several different spellings of your name. Keep the name exactly as it appears on your passport across applications.
  • Missing the one-month window for the TIE. If you receive a residence authorization, you must go on to apply for the card. Check the deadline on your resolution.
  • Ignoring tax consequences. Once you are assigned a NIE and have Spanish income or assets, tax obligations can follow. If you are moving as an employee or remote worker, ask about the special regime in our Beckham Law guide.

Where the NIE fits in a longer residency plan

The NIE is usually the first of several steps. Once you have a visa or residence authorization, you register at the local town hall (empadronamiento), apply for the TIE, and later work towards renewals. Over time, you may qualify for permanent residence and eventually Spanish nationality. Your NIE stays the same through all of it, which is why getting the details right the first time matters.

Our perspective

Most of the NIE problems we see do not come from the form. They come from people applying for the wrong thing. Someone books a NIE appointment believing it will let them stay in Spain, and then discovers it gives them a number and nothing more.

Our advice is to start from your goal, not from the document. If you plan to live in Spain, the right first question is which visa or residence route fits your income, work and family situation. The NIE and the TIE follow from that decision. If you only need a tax number for a transaction, a clean standalone application with a well-documented reason is usually the simplest path.

This is why we work with immigration lawyers, tax advisors and relocation specialists in the same firm. The number you receive today affects your tax position, your bank and your later residence applications. Having one team look at all of that together prevents contradictions between files.

 

Damián Carmona Rodríguez

Let us handle the paperwork

If you would rather not chase appointments or decode consulate instructions, our team can prepare your NIE application or manage the full visa and residence process that leads to your NIE and TIE. We work with individuals and employers through our immigration services for individuals, including the Digital Nomad Visa, the Non-Lucrative Visa and renewals. We also advise companies on work permits and corporate immigration. Our offices are in Barcelona, Madrid and Málaga in Spain, and Lisbon and Porto in Portugal, and you can follow your case online from first consultation to final decision.

Carbray International

Fees are quoted on request after a consultation.

FAQ

Is the NIE the same as the TIE?

No. The NIE is an identification and tax number. The TIE is the physical card issued to non-EU nationals with a stay or residence authorization longer than six months, and it shows your NIE. You can hold a NIE without a TIE, but a TIE always carries a NIE.

Does a NIE let me live or work in Spain?

No. Spanish consular guidance says the NIE is not valid as residency or proof of residence. To live in Spain beyond the permitted short stay, or to work, you need the appropriate visa or authorization.

Can I get a NIE without going to Spain?

Yes. You can apply at the Spanish consulate that covers your country of residence, or through a legal representative in Spain. Rules on in-person attendance vary by consulate, so check the page for yours.

Does the NIE number expire?

The number itself is permanent and stays with you. Documents that show it, such as a certificate or a TIE card, can have their own validity or renewal rules. If an institution asks for a recent certificate, you can request a new one.

How long does a NIE take?

One consulate’s 2026 guidance says it is normally issued within four weeks, though delays beyond the administration’s control can extend that. Actual times differ by office, and we cannot guarantee a timeline.

Ready to start?

Book a consultation with Carbray International’s immigration lawyers. We will confirm whether you need a standalone NIE or a visa route, check your documents, and explain the next steps and our fees. Visit carbrayinternational.com to schedule your consultation today.

Sources

This article is for general information only and does not constitute legal or tax advice. Immigration and tax rules change frequently; for advice on your specific situation, contact Carbray International’s lawyers.

Do you have questions about immigration or global mobility?

Leave your details, and we’ll provide personalized guidance.
Contact us!

What services do you need?

Thank you. Carbray does not help with job search or work visas without a job offer. If you plan to move to Spain as a digital nomad, entrepreneur or retiree, we'll be happy to help.

MENÚ