Foreigners who wish to buy property or carry out economic activities in Spain need to apply to the General Directorate of Police for a Foreigner Identification Number (NIE), which differs depending on whether the foreigner is an EU citizen or not.
Below, we explain what the NIE for buying property in Spain is, the types that exist, and the procedure for obtaining it.
We are here to help you
At Gaman Abogados, we specialize in property purchase and sale. If you need a firm with extensive experience in real estate law, contact us without any obligation—we are here to help you.
Contact usWhat is the NIE for buying a property?
The Foreigner Identification Number (NIE) is a personal, unique, and exclusive code assigned by the Spanish Administration to foreign citizens who engage with Spain for economic, professional, or social reasons, even if they do not reside in the country.
In the specific case of those wishing to buy property or carry out economic transactions in Spain, the NIE is used to identify the buyer in dealings with public bodies, notaries, banks, the Tax Agency (Hacienda), and other institutions, and it is mandatory to obtain it.
What types of NIE can be requested to buy property in Spain?
There are two types of NIE that can be requested by non-resident foreign nationals who need to identify themselves to buy property in Spain: the temporary NIE and the non-resident NIE. The choice depends on whether they are EU citizens or not.
Additionally, there is the resident NIE, for both EU and non-EU citizens who reside or intend to reside in Spain for more than 183 days per year, which is therefore not applicable to non-resident foreigners. It can be requested by anyone with tax residency in Spain.
Let’s see what the temporary NIE and the non-resident NIE involve:
What is the temporary NIE?
The temporary NIE is a type of Foreigner Identification Number that can be requested by citizens of the European Union (EU) who do not plan to reside permanently in Spain but need to carry out specific transactions, such as buying a home or any other property.
This NIE is purely administrative and does not imply legal residence in Spain. It is especially useful for those who only need to complete a specific economic operation, such as purchasing a holiday home, investment property, or rental unit, without intending to stay in the country for more than 183 days per year.
To request this NIE, the applicant must be a citizen of the European Union or the European Economic Area.
What is the non-resident NIE?
The non-resident NIE, on the other hand, is the type of Foreigner Identification Number that must be requested by non-EU foreign citizens who do not intend to habitually reside in Spain but wish to carry out a one-time economic transaction, such as buying a property.
This NIE is for identification purposes only and does not grant permission to live in Spain. Its sole function is administrative, enabling the foreigner to complete the necessary procedures for purchasing the property.
What is the NIE used for in the property purchase process?
Obtaining an NIE is necessary to complete the process of buying a property in Spain, as it is required to carry out the following:
- Purchase and sign the deed of sale before a notary.
- Open a bank account in Spain.
- Set up utility contracts (water, electricity, gas, etc.).
- Pay taxes associated with the purchase, such as the Property Transfer Tax (ITP).
- Comply with tax obligations arising from owning the property (for example, paying the Property Tax (IBI) or the Non-Resident Income Tax (IRNR)).
What are the requirements to obtain the NIE?
Even if the NIE is being requested solely for buying property without residing in Spain, the foreign citizen must meet the following requirements:
- Not be in Spain illegally.
- Be a citizen of the EU or the European Economic Area to apply for the temporary NIE, or a non-EU citizen to apply for the non-resident NIE.
- State the reasons for requesting the NIE, which in this case is to buy a property in Spain.
- Not reside in Spain or intend to reside there for more than 183 days per year.
Where should you apply for the temporary NIE or non-resident NIE?
Foreign citizens can apply for either the temporary NIE or the non-resident NIE through any of the following channels:
- From abroad, at the General Commissariat for Immigration and Borders, or at the Spanish consulate or embassy in their country of residence.
- In Spain, if the foreign citizen is already in the country, at an immigration office or police station, by scheduling an appointment in advance.
The applicant must justify the economic reason for the request (for example, the intention to purchase property) and provide the required documentation.
What documents must be submitted to apply for the NIE?
To process the application, the foreign citizen must submit the following:
- The official application form (Form EX15), known as the Application for a Foreigner Identification Number (NIE) and Certificates.
- Proof of payment of the applicable fee (Form 790 Code 012). This fee is €9.84 in 2025, and can be paid at any credit institution (banks, savings banks, and credit cooperatives) by presenting the payment slip, without needing to have an account at that bank.
How long does the procedure take?
Once the application has been submitted to the competent authority’s registry, it must be processed and notified to the applicant within a maximum of 5 days.
If this period passes without a response, the application is considered rejected.
What happens if the NIE is denied?
If the General Directorate of Police denies the assignment of the NIE to the applicant, or if the 5-day period passes without a response, it is possible to appeal the decision by either of the following means:
- Filing an administrative appeal for reconsideration with the same authority within 1 month of the denial.
- Filing a judicial appeal before the contentious-administrative court that has jurisdiction. The deadline for this is 2 months.


