Buying
You apply for the NIE number (your Spanish identification and tax number) at the Spanish consulate in your country or, in Spain, at the Policía Nacional, in both cases with form EX-15 and a fee of €9.84. You need it to buy a property, because the notary, the Land Registry and the tax office require it.
By Barbara Elisa Kochs
Updated: 21 October 2026 · Reading time: 7 min
The NIE number in Spain is the first formality when you buy property, and one of the simplest if you know where to apply. It is one of the questions buyers ask me most often.
Here you can read where to apply for your NIE number for Spain, from abroad or in Mallorca, which documents you need, what it costs and how long it takes. Updated: October 2026.
NIE stands for Número de Identidad de Extranjero, the identification number for foreign nationals. Anyone with economic, professional or social ties to Spain must apply for one, for example because of a property purchase. Since 20 May 2025, the number has been governed by Spain’s new regulation on foreign nationals (Real Decreto 1155/2024). It is personal and assigned uniquely to you.
For tax purposes, the NIE is also your Spanish tax number (NIF). It is not a residence permit. If you are an EU citizen living in Spain for more than three months, you must also register (more on this below).
No purchase goes ahead without a Spanish tax number. For foreign nationals, this is almost always the NIE:
If two of you are buying, each person needs their own NIE. The whole process is shown in my guide Buying property in Mallorca in 10 steps.
| Spanish consulate in your country | Policía Nacional in Mallorca | |
|---|---|---|
| When it makes sense | before your trip, with time to spare | during your stay |
| Appointment | as set by the consulate | online appointment (cita previa) |
| Form | EX-15 | EX-15 |
| Fee | €9.84 according to some consulates | €9.84 (Modelo 790, Código 012) |
| Time | about two weeks according to some consulates | decision within five days at most |
Which route is better depends on your timetable. If you are coming over for viewings anyway, you can plan an appointment with the Policía. If you want certainty early, apply for the NIE from home.
If you are not in Spain when you apply, the application goes through Spain’s diplomatic missions abroad. The Spanish embassy or consulate responsible for where you live handles it.
This is how the application at a consulate works:
An NIE applied for through a consulate is for dealings with the authorities, such as a property purchase. It does not entitle you to live in Spain. The details above come from the websites of several Spanish consulates as of October 2026, and requirements may differ in your country. Check your consulate’s current page before your appointment.
If you are on the island, you apply for the NIE at the Policía Nacional, through the immigration office (Oficina de Extranjeros) or a police station with a foreigners’ service. In Mallorca, this is mainly the Oficina de Extranjeros in Palma.
The Policía must decide on the application within five days at most. If there is no answer within this period, the application is deemed refused. In that case, follow it up.
Form EX-15 (“Solicitud de Número de Identidad de Extranjero (NIE) y certificados”) is available as a fillable PDF from the Spanish Ministry of Inclusion and Migration. Fill it in in capital letters and bring the original and a copy.
The official fee for issuing the NIE is €9.84 (Modelo 790, Código 012). It is set in a ministerial order from 2025 and can change at the start of a year through the budget law. In Spain you pay at a bank; consulates collect it according to their own rules.
If you instruct a gestoría (an agency that handles paperwork with the authorities) or a lawyer with the application, their fee comes on top.
In Spain, a representative can submit the application for you. They must present a power of attorney that expressly authorises them to do so. Clarify in advance with your lawyer or gestoría what form the power of attorney must take and whether it needs to be translated or certified. If you wish, I put you in touch with professionals from my network.
At the Policía Nacional, there is a maximum of five days from the application, plus the wait for an appointment. Through a consulate, some consulates state about two weeks.
So plan for the NIE as soon as a purchase becomes concrete. It must be available by the notary appointment at the latest, and ideally before you pay a deposit. What comes next is explained in my guides to the buying process and the buying costs.
The NIE is not a registration. If you are an EU citizen staying in Spain for more than three months, you must register in person in the Central Register of Foreign Nationals (Registro Central de Extranjeros) within three months of arrival. Form EX-18 is used for this. The certificate (Certificado de registro de ciudadano de la Unión) costs €12.00 and contains your NIE.
What this means for your taxes, and why registering does not decide your tax residence, is explained in my guide Resident or non-resident?
Updated: 21 October 2026. This guide gives a general overview and is no substitute for legal or tax advice. I am an estate agent and do not give tax or legal advice. A gestoría from my network is due to review this article. For your individual case, I put you in touch with professionals.
Questions and answers
I have not found a fully digital procedure on the official websites. Online, you book the appointment with the Policía, create the fee form and download form EX-15. You submit the application in person, through a representative or at the consulate.
The number is assigned to you personally and remains your number. Certificates, for example of your status as resident or non-resident, are only valid for a limited time, however.
Yes. The deed of sale must state the tax numbers of everyone involved, including people who are represented. So apply for the numbers for all buyers at the same time.
I have not found a general legal obligation for tenants in the sources checked. Check in each case what landlords and utility companies require.
While you deal with the formalities, I search the whole island for properties that suit you and plan your viewing day with you.
