Obtaining the NIE in Spain for foreigners
Obtaining the NIE in Spain for foreigners

Buying a home, receiving an inheritance or setting up a company in Spain may require a Spanish identification number, even when the person concerned habitually lives in another country. For many foreigners, the difficulty is not to prove their identity, but to adequately justify the reason for the application and determine where it should be processed.
Obtaining the NIE in Spain for foreigners allows you to have a personal identification number that is used in relations with the Administration and in numerous economic, professional and patrimonial operations. Its assignment does not imply, in itself, the granting of a residence or work permit.
At IN DIEM Abogados we advise resident and non-resident foreign citizens who need to apply for this number for justified reasons. Within our immigration lawyer service, we review the documentation, the possibilities of representation and the applicable procedure depending on where the interested party is located.
What is the NIE and what is it for in Spain
The Foreigner Identity Number (NIE) is a personal, unique and exclusive identifier assigned by the Directorate General of the Police to foreigners who maintain certain administrative, economic, professional or social relations with Spain.
This number may be necessary to carry out operations that require the formal identification of a foreign person before public bodies, financial institutions, notaries or registries.
Some of the most common situations include:
- Buying or selling a home or other property located in Spain.
- Receiving an inheritance or carrying out certain patrimonial operations.
- Incorporate a company or participate in business operations.
- Carry out tax procedures that require tax identification.
- To intervene in certain notarial or registry procedures.
- Formalize investments and other duly justified economic operations.
The specific need for the NIE depends on the procedure. Some entities may also request tax documentation, proof of address or other proof independent of the assignment of the number.
Differences between NIE, TIE and residence permit
One of the most frequent confusions is to consider that having a NIE means having permission to live in Spain.
The NIE administratively identifies the foreigner. The Foreigner Identity Card (TIE) is a physical document that proves their legal situation in Spain and includes, among other data, the number assigned.
The residence permit, on the other hand, is the legal title that allows you to reside in Spanish territory during the period and under the corresponding conditions.
A person may have a NIE because they have bought a property without having authorisation to reside. Similarly, a person who obtains a residence permit can receive the NIE assignment ex officio, without the need to initiate the independent procedure provided for certain economic transactions.
Who can apply for a NIE without residing in Spain?
Foreigners who have economic, professional, social or other interests in Spain may request the assignment of the number provided that they sufficiently explain and prove the reason.
The regulations require that the interested party is not in Spain in an irregular situation. In addition, they must justify the specific purpose for which they need the number.
The application for NIE for non-residents is particularly common in real estate sales, investments and inheritance operations. It is not necessary to apply for a residence permit exclusively to have this identifier.
Professional, personalised service throughout Spain.
The IN DIEM Law Firm has offices in Madrid, Seville, Málaga, and Las Palmas de Gran Canaria… as well as in other cities and towns. IN DIEM provides legal services throughout Spain and internationally, and offers online services. Every case is very important to us, and we handle each one with care and diligence.
Experience: Judges, Prosecutors, State Attorneys.
Abogados IN DIEM is a law firm staffed by professionals with extensive prior experience as judges, prosecutors, state attorneys, and university professors… who provide the peace of mind and assurance that come with having the best team—one that is competitive and highly qualified to achieve your goals and meet your needs.
Documents Required to Apply for an NIE
The assignment of the NIE at the request of the interested party requires submitting an application in accordance with the regulated procedure. Although circumstances may vary, the basic documentation includes:
- Form EX-15, duly completed and signed, usually in duplicate.
- Full passport, identity card or valid travel document, as applicable.
- Proof of payment of the administrative fee using form 790, code 012.
- Documentation explaining the economic, professional, social or other reasons justifying the request.
- Sufficient power of attorney when the application is submitted through a representative.
The supporting documentation must be related to the planned operation. For example, information can be provided on a sale, a hereditary adjudication or a corporate action. It is not always enough to indicate that the NIE is needed to carry out possible future operations.
How to apply for the NIE in Spain step by step
The application for the NIE in Spain is submitted to the Immigration Offices or Police Stations authorized for this procedure.
The following actions must usually be carried out:
- Check if there is already a previously assigned NIE.
- Identify the specific reason that justifies the request.
- Prepare the EX-15 form and supporting documents.
- Obtain an appointment when necessary according to the competent office.
- Pay the corresponding fee and submit the documentation.
- Receive the resolution and the document accrediting the assigned number.
The availability of appointments and the organisation of face-to-face care may vary between provinces. It is also advisable to check that the selected office does indeed process applications for the assignment of NIEs, as not all dependencies offer the same services.
Obtaining the NIE from abroad through a Spanish consulate
People who reside outside Spain can apply for the number through the Spanish consular office corresponding to their demarcation of residence.
In this procedure, the application is addressed to the General Commissariat for Foreigners and Borders through the consulate. The practical requirements for appointment, identification, documentation and payment must be checked at the competent consular office.
This possibility is especially useful for foreigners who need to intervene in an economic operation in Spain without planning to move to the country immediately.
Can a lawyer apply for the NIE through representation?
The regulations admit the application for the NIE through a legal representative, provided that the representation is sufficiently accredited.
The power of attorney must expressly empower the representative to request the assignment of the number. When it is granted abroad, certain legalisation, apostille or translation formalities may be necessary, depending on its origin.
Representation must be organized taking into account where the applicant is and what is the appropriate administrative route. Not all offices apply identical documentary criteria, so it is advisable to review their instructions before starting the procedure.
At IN DIEM Abogados we study the possibility of submitting the application through representation, especially when the foreigner needs to carry out a patrimonial or business operation without traveling exclusively to obtain the NIE.
How much does it cost and how long does it take to assign the NIE?
The assignment of the NIE at the request of the interested party is subject to an administrative fee. The amount published for this procedure is 9.84 euros, without prejudice to subsequent updates.
Article 205 of the Immigration Regulations establishes a maximum period of five days from the entry of the application in the register of the body competent to resolve and notify. If this period elapses without a response, the application is understood to be rejected due to administrative silence.
This legal deadline should not be confused with the time needed to get an appointment, prepare documents or complete consular procedures.
NIE to buy a home or receive an inheritance in Spain
Real estate and inheritance transactions are two frequent situations in which foreign citizens need to prove their identity by means of a NIE.
In a sale, its assignment may be necessary for the formalization of the deed, compliance with tax obligations and certain registration procedures.
When an inheritance is received, the NIE can intervene in the identification of the foreign heirs and in the notarial and tax actions necessary to adjudicate the assets.
It is advisable to anticipate your application when there is an expected date to sign documents or comply with tax obligations, preventing the lack of identification from delaying other actions.
Does the NIE allow you to work, study or stay legally in Spain?
The assignment of the number does not replace the migratory authorizations required to carry out certain activities.
A person who intends to join a Spanish company must check if they need one of the residence and work permits in Spain. Having a NIE does not in itself qualify you to validly formalise an employment relationship when the corresponding authorisation is lacking.
If the purpose is to study for an extended period, visa and study stay procedures in Spain may apply.
When the person is already in an irregular situation, they cannot use the independent allocation of the NIE as a regularisation mechanism either. In this case, other legally available authorisations must be assessed.
Common mistakes when applying for the NIE and how to prevent them
Among the most frequent incidents are requesting a number that has already been assigned, providing insufficient justification or presenting a power of attorney that does not adequately accredit the powers of the representative.
Problems can also arise when the documentation contains discrepancies in personal data or when an appointment is requested for a different procedure.
IN DIEM Abogados reviews these aspects and studies the alternatives when there are unfavourable requirements or resolutions. The purpose is to correctly identify the procedure, prove the need for the number and prepare an application adjusted to the circumstances of the interested party.
Give us a call.
Immediate attention & resolution. In Diem team.

Call us—we'll be happy to assist you… IN DIEM Emergency Service
Abogados IN DIEM provides its clients with a customer service
Urgent 24-hour operation for emergency situations, whether in criminal matters, contraction, litigation or family.
In-person service
Our team of lawyers will see you in person in: Málaga, Madrid, Seville, Las Palmas de Gran Canaria, Huelva, Jerez, Cádiz; as well as Tomares, Mairena del Alcor, Mairena del Aljarafe, Coria del Río, Dos Hermanas, Estepona, and Marbella, among others.
Excellence
Extensive experience as Prosecutors, State Attorneys, Judges, University Lecturers, or high-level Trade Union Representatives, providing you with peace of mind and confidence.
Online service
IN DIEM provides assistance wherever you need it. National and international assistance. We assist via videoconference (through available applications such as Skype, GoToMeeting, or WhatsApp) and by telephone.
24-Hour Lawyers
Immediate legal assistance, 24 hours a day. Our team of lawyers is available to advise you and support you in any situation, providing fast, professional, and confidential assistance by phone, video call, or in person.
Trends, Legal News, and Expertise
Frequently Asked Questions International Legal
Answers to frequently asked questions about international legal services, cross-border operations, corporate law, and global legal advisory.
Can a foreigner obtain the NIE without having residence in Spain?
Yes. The regulations allow you to apply for the NIE for non-resident foreigners when there are economic, professional, social or other reasons that justify its assignment. The reason must be accredited and the established requirements must be met.
Can I apply for the NIE if I am in Spain as a tourist?
It may be possible if you are legally in Spain and justify the need for the number. The tourist stay does not in itself prevent you from applying for it, but the assignment of the NIE does not extend the authorised period of stay.
Does the NIE expire or do I have to renew it?
The NIE is a personal and permanent number that, in general, does not change or expire. It must be distinguished from the certificate that proves its assignment and from the cards or residence documents, which may be subject to validity periods.
How much does it cost to apply for the NIE in Spain in 2026?
The published administrative fee for the assignment of the NIE at the request of the interested party is 9.84 euros. Its validity must be checked when submitting the application. There may be additional expenses for representation, documentation or consular processing.
Can I obtain the NIE without travelling to Spain?
Yes. It is possible to apply through the competent Spanish consular office in the country of residence. Submission through a legal representative can also be considered when the required conditions are met.
Can a lawyer get my NIE with a power of attorney?
The regulations allow the presentation by a representative with sufficient power of attorney that expressly includes the power to request the NIE. The formalities of the power of attorney and the corresponding filing method must be checked.
Do I need the NIE to buy a property in Spain?
It will usually be necessary to identify yourself in the real estate transaction and comply with certain notarial, tax and registry obligations. It is advisable to process it before signing to avoid delays in the sale.
What happens if I lose the NIE assignment certificate?
The loss of the certificate does not mean that the assigned number disappears. The corresponding supporting documentation can be requested through the enabled procedure. Normally, it is not appropriate to apply for a completely new NIE.
Can I open a bank account in Spain only with the NIE?
The NIE may be required for certain banking transactions, but it does not replace the other identification and due diligence requirements of financial institutions. The bank may require a passport, proof of address, and documentation on the activity or origin of funds.
What can I do if my NIE application is denied?
The decision should be reviewed to identify the reason for refusal. Depending on the circumstances, it may be appropriate to correct the documentation and submit a new application or consider the possibilities of administrative or judicial appeal.
Get your NIE to carry out your procedures in Spain
If you need a NIE to buy a home, formalise an investment, receive an inheritance or carry out administrative procedures, it is advisable to correctly justify the reason for the application. At IN DIEM Abogados we review your documentation, identify the way to submit it and study whether you can process it through legal representation, even when you reside outside Spain. You can consult us before starting the procedure.
Legal Directors
, the In Diem Team.

Do you need help and a free initial consultation?
Schedule an initial consultation. In 60 minutes, we’ll provide you with an honest assessment, the available options, and the next steps.
Contact Us
Do you have any questions or comments?
Fill out the form below, and we’ll get back to you as soon as possible.
Call us at (+34) 916 353 892 or fill out our form, and we’ll get in touch with you.



















