Last updated on 26 November 2026 · 8 min read
You can get a Spanish NIE without travelling to Spain. Apply at the Spanish consulate for the place where you live with form EX-15, fee form 790 code 012, your passport and proof of why you need the number. The fee is €9.84. The regulation gives the police five days to decide once the file reaches them, and the consulate in London tells applicants to allow about three weeks in total.
Key facts
- What it is. The foreigner identity number, a personal, unique and exclusive number that identifies you before every Spanish authority.
- Who has to ask for it. Foreigners with economic, professional or social interests in Spain who have not been given one already.
- Where. At a Spanish consulate if you are abroad, or with the National Police if you are in Spain.
- Forms. EX-15 for the application and form 790 code 012 for the fee.
- Fee. €9.84 (Order PJC/617/2025). Consulates charge the equivalent in local currency.
- Decision. Five days from the day the file is registered by the police (Immigration Regulation, article 205).
- What it does not give. The right to live or work in Spain.
Almost every transaction with legal weight in Spain asks for this number. You need it to buy or sell a home, accept an inheritance, become a director or shareholder of a company and file a tax return, and it is the number the Tax Agency uses to identify you. The process is simple, but it runs through two offices and takes longer than the five days people quote. Plan it before you fix a date at the notary.
In this guide
What the NIE is, and what it is not
The NIE is a number. It is not a card and it is not a residence permit. The consulate in London puts it plainly on its page, where it explains that the number does not entitle you to live in Spain and does not prove that you live there (consulate page). Four documents are often confused.
| Document | What it is | Who holds it |
|---|---|---|
| NIE | An identification number | Every foreigner who deals with the Spanish authorities |
| NIE certificate | The paper that records the number when you ask for the number alone | Non-residents such as buyers, heirs and investors |
| EU registration certificate | Proof that an EU citizen living in Spain is registered. It shows the NIE | EU citizens resident in Spain |
| TIE | The identity card that proves a permit to stay for more than six months | Non-EU nationals with a visa or residence permit |
- A letterThe first character is always X, Y or Z.
- Seven digitsThe number assigned to you and to nobody else.
- A check letterCalculated from the rest, so that a typing mistake can be detected.

Do you already have one?
Check before you apply. Under article 205 the police assign the number on their own initiative to any foreigner who starts a procedure for a document that allows them to stay in Spain. If you have ever held a Spanish residence permit, a student permit or a registration certificate, you already have a NIE and it has not changed. Look for it on an old TIE card, on a residence certificate or on any Spanish tax document.
The same applies if you are about to apply for residence. People who move with a non-lucrative visa receive the number through that process. The digital nomad visa is different, because consulates ask for the NIE before you file.
Who has to ask for one
You must request the number yourself when your link to Spain is economic, professional or social and no residence procedure is under way. The regulation sets two conditions. You must not be in Spain irregularly, and you must state why you need the number. These are the usual reasons.
- Buying or selling a property, or taking out a mortgage.
- Accepting an inheritance with assets in Spain.
- Setting up a Spanish company, or becoming its director or shareholder.
- Paying Spanish taxes as a non-resident.
- Signing before a Spanish notary for any other reason.
How to apply from abroad
When you are outside Spain the application goes to the police through a Spanish consulate (article 205.4). These are the steps published by the consulate in London. Other consulates use the same forms with their own appointment systems.
- Find your consulate. You apply at the office that covers the place where you live, and you will be asked for proof of that address.
- Ask for an appointment. London gives them by email. Other offices use an online calendar.
- Complete form EX-15. State the economic, professional or social reason for your application. London asks you to bring it filled in but not signed.
- Complete form 790 code 012. This is the fee form.
- Gather your documents. Your valid passport and a copy of the page with your details, and a document that shows why you need the number, such as a reservation contract for a property.
- Attend the appointment and pay. London charges £8.65 by card on the day.
- Wait for the certificate. London sends it by email, so write your email address clearly on the form.
EU citizens can use their national identity card instead of a passport.
Applying in Spain or through a representative
If you are in Spain you apply to the National Police, at an immigration office or a police station, with the same two forms (National Police). Appointments are booked online, and availability varies from one city to another.
You do not always have to go in person. The consulate in London accepts an application from a representative who holds a power of attorney that expressly authorises them to request the NIE. The power must carry an apostille, and the representative brings a certified copy of your passport. Many buyers give this power to the lawyer who handles their purchase. In Spain the regulation refers to applying personally and police stations differ on whether they accept a representative, so confirm with the office before you rely on one.
How long it takes
The five days in the regulation are real, but they are not the whole journey. They run from the day your file is entered in the register of the police unit that decides, not from the day of your appointment.
| Stage | Who acts | Time |
|---|---|---|
| Appointment | The consulate | Depends on the office |
| File sent to Spain | The consulate sends it to the General Commissariat for Immigration and Borders | Not fixed by the regulation |
| Decision and notification | The police | Five days from registration of the file |
| Whole process | About three weeks, according to the consulate in London |
If the five days pass without an answer, the law treats the application as refused. If you hear nothing, ask the consulate where the file stands before you assume that. The consulate cannot speed up the decision, which belongs to the police in Spain.
What it costs
The fee for assigning a NIE at the request of the applicant is €9.84, set by Order PJC/617/2025. In Spain you pay it at a bank with form 790 code 012. Abroad you pay the consulate in local currency. Each person needs a number of their own, so two joint buyers pay two fees, €19.68 in all. If you use a representative, add the cost of the power of attorney and its apostille.
A worked example
A couple who live in Manchester have reserved a flat in Valencia and the seller wants to sign at the notary on 15 March. Neither has had dealings with Spain before, so each needs a NIE. They write to the consulate for their district in the second week of January and are given an appointment at the end of the month. They bring two EX-15 forms, two fee forms, their passports with copies, proof of their address and the reservation contract. Allowing three weeks from the appointment, they can expect the certificates by email in the second half of February, with a margin before the signing date. Had they waited until March, the purchase would have depended on the speed of two offices they do not control.
Once you have it
- Keep the certificate as a PDF and on paper. The notary, the bank and the Tax Agency will each ask for it.
- Use the same number for everything. It stays with you if you later become resident, and it then appears on your TIE or registration certificate.
- Quote it on every tax form. For a foreigner the NIE is also the tax identification number.
- If you are buying a home, our guide to the taxes and costs of buying property in Spain covers the next step.
Frequently asked questions
How do I find my NIE number online?
There is no public search. If you have had one before, it appears on your TIE card, your registration certificate or any Spanish tax document. If you cannot find it, the police can issue a certificate on request.
How much does it cost to get a Spanish NIE number?
€9.84 in Spain. Consulates charge the equivalent in local currency, which is £8.65 in London.
Can I live in Spain without a NIE?
The question mixes two things. The NIE does not give you the right to live in Spain. Non-EU nationals need a visa or residence permit, and the number comes with it. EU citizens who settle in Spain must register, and the certificate they receive shows their NIE.
Does the NIE expire?
The number is personal, unique and exclusive, and it does not change. What can go out of date is the paper certificate, because some offices and notaries ask for a recent one.
Can someone apply for me?
At the consulate in London, yes, with a power of attorney that expressly covers the NIE application and carries an apostille. In Spain, check with the police station first.
The NIE, the padrón and the TIE card are often confused. Our guide to the mistakes to avoid when moving to Spain sets the three side by side, and our padrón guide explains the town hall registration.
What to read next
This guide explains the general rules. It is not legal advice for your situation, and each office can ask for more than the minimum. Read our disclaimer.
Written by Estela Cortés Cortillas, lawyer, Barcelona Bar (ICAB no. 47590). Last reviewed on 26 November 2026.