4 min read
Your NIE is your foreigners' identity number (Número de Identidad de Extranjeros). It is a 'personal postcode' which is unique to you and non-transferable. It stays the same forever and, if you live in Spain, does not expire.
Your NIE is not proof of residence in Spain. If you intend to live in Spain permanently, you will need to apply for residence. You can find out more about doing so in our article How to obtain residency in Spain: a comprehensive guide.

Why do you need a NIE?
Everyone who lives in Spain has an identity number. For Spanish nationals, this is a DNI (Documento Nacional de Identidad, or national identity document). For foreigners, it is a NIE.
The NIE starts with an X, if you obtained it before July 2008, or a Y, if later. This is followed by seven numerical digits and a letter at the end. You will need to quote it on all types of official documentation. These include contracts, bank account details, and application forms.
A resident NIE may also be necessary if you plan to stay in Spain for longer than three months, but not permanently. This might include taking a job for a few months with a Spanish company, or on secondment with a company in your home country.
NIE numbers are also needed by foreigners who do not live in Spain if they wish to carry out any transaction in Spain. This might include buying a holiday home or a property to let, or buying a car. It may also include opening a bank account for non-residents, or making an investment. You also need a NIE to open a business in Spain, even if you do not plan to live there once it is in operation.
Different types of NIE: Resident and non-resident
For non-EU citizens, there are two different types of NIE. These are a 'non-resident NIE' and a 'resident NIE'. For EU citizens, the two different types are 'non-resident NIE' and 'Certificate of Registration'.
Non-resident NIEs (EU and non-EU citizens)
At present, non-EU citizens can only obtain a non-resident NIE for buying a property or setting up a business in Spain. No other purposes are currently considered valid.
EU citizens can get a non-resident NIE if they intend to be in Spain for less than three months. It is only necessary if they need to carry out legal transactions during this period. A non-resident NIE allows them to open a bank account, buy a property or car, start a business, or similar activities.
In both cases, a non-resident NIE is designed only for the purpose stated (such as buying a property). You cannot use it for other reasons, such as registering as self-employed, or registering with the Social Security to apply for a job.
A non-resident NIE expires after three months. If you need it for longer, you should make an appointment to renew it. You will not be given a new NIE number; a person only ever has one NIE for life, so your previous number will simply be reactivated.
Resident NIEs (non-EU citizens)
Non-EU citizens who wish to live in Spain should apply for a resident NIE. They must do this before they apply for legal residence in Spain. Once they have legal residence, non-EU citizens will receive a foreigners' identity card (Tarjeta de Identidad de Extranjeros, or TIE). You can find out how to apply for this in our article TIE: What is it, who needs it, and how to get it.
NIEs (Certificates of Registration) for EU citizens resident in Spain
EU citizens planning to live in Spain must apply for a Certificate of Registration (Certificado de Registro de Ciudadano de la Unión Europea). Often known as a 'green certificate', it provides proof of residence in Spain.
The process and requirements for a 'green certificate' are different from those of a non-resident NIE, or those of a resident NIE for non-EU citizens. You can find out how to apply for a Certificate of Registration in our article What is a 'green certificate', who needs it, and how do I get one?

How to get a NIE in Spain
To get a non-resident NIE as a non-EU citizen, book an appointment at a National Police station if you are in Spain, or at the Spanish Consulate if you are in your country. You can also send a representative with a legal authorisation to act on your behalf.
NIE number applications must be made in person and cannot be presented by post or online. Appointments can sometimes take one or two months, so we recommend planning ahead.
You must provide proof of why you want to get a NIE. In Spain, obtain a carta notorial ('notary's letter') or acta de manifestaciones ('note of intentions') from a notary. If you are not in Spain, get the equivalent from a legal agent in your country. This document must be in Spanish, or include a sworn legal translation.
Once you have your appointment, you should bring the following documents:
- Original and photocopy of your passport or national identity card for EU citizens.
- For non-EU citizens, passport must be valid (not expired), and show that you have not exceeded the limit of 90 days in any 180-day period within the Schengen zone. If you have exceeded this period, you will not be eligible for a NIE.
- EU citizens can still apply for a NIE if their passport or ID card has expired.They should provide a copy of the application form to renew it.
- Completed EX15 form.
- Proof of payment of the NIE application fee (currently €9.84).
- For non-EU citizens, a carta notarial or acta de manifestaciones as described above, and for EU citizens, written details of the reason(s) why you need a NIE.
How long does it take to get a NIE?
If you or your legal representative attend the National Police station in person, you will be given your NIE number the same day. It will only take longer than this if there is a problem with your documents. If you apply via the Spanish Consulate in your country, your NIE will arrive in the post within one week.
Some people may be confused about the different documents needed for living in Spain. For clarification, you may find it helpful to read our article What is the difference between Residencia, padrón, NIE and TIE?
Was this article useful?
The information contained in this article is for general information and guidance only. Our articles aim to enrich your understanding of the Spanish property market, not to provide professional legal, tax or financial advice. For specialised guidance, it is wise to consult with professional advisers. While we strive for accuracy, thinkSPAIN cannot guarantee that the information we supply is either complete or fully up to date. Decisions based on our articles are made at your discretion. thinkSPAIN assumes no liability for any actions taken, errors or omissions.
Related Topics