
Guide
NIE number in Spain: how to get one, what it costs, how long it takes
You cannot buy a home in Spain without a NIE. The Numero de Identidad de Extranjero is the number a foreigner uses to be identified for tax in Spain, and a notary cannot execute the deed unless every buyer named on it has one. It is not a visa, not a residence permit and not a card. It is a number, issued on a sheet of paper.
The procedure behind it is small. One form, the EX-15. One passport. One fee of EUR 9.84. A decision that by law has to arrive within five days of the application reaching the register. The cost is not what trips people up, and neither is the paperwork. Getting in front of the official who accepts the file is the whole difficulty, because appointments at Spanish immigration desks are scarce and consular waiting times run to weeks.
There are two routes: apply in Spain at a police station or immigration office, or apply abroad at the Spanish consulate for the district where you live. A third option exists for people who cannot travel, which is to send a representative holding a power of attorney. This guide sets out which route suits which situation, what each one really takes, where the weeks disappear, and how the NIE differs from the TIE card and from residency, which are the two things it gets confused with most.
The essentials, with sources
- What the application costs
- EUR 9.84 for assignment of a NIE at the applicant's own request, paid through the tasa modelo 790, codigo 012. The same form covers several immigration procedures at different prices, so make sure you generate it under the NIE heading and not under a card heading. The amounts are set by ministerial order and are revised, so check the current figure in the week you apply
- Orden PJC/617/2025 de 13 de junio, annex of fee amounts for immigration procedures (BOE-A-2025-12056)(2026-09)
- The form you file
- EX-15, the application for a Numero de Identidad de Extranjero and certificates. You tick the NIE box and you state the economic, professional or social reason for the request. An application that leaves the reason blank gets refused, so name the concrete purpose, for example the purchase of a specific property, and bring the document that proves it
- Ministerio de Inclusion, Seguridad Social y Migraciones, official form 15 (Solicitud de Numero de Identidad de Extranjero y Certificados)(2026-09)
- Legal decision deadline in Spain
- Five days from the moment the application enters the register of the competent body. Note what happens if that deadline passes without an answer: the application is treated as refused, not as granted. In practice the certificate is often handed over during the appointment itself or within a few days after it
- Policia Nacional, sede electronica, assignment of NIE at the request of the interested party(2026-09)
- Typical wait through a consulate
- About three weeks after the appointment, at the consulate that publishes a figure, and the consulate states plainly that the period can run longer for reasons outside its control and that it cannot shorten it. Treat three weeks as the floor rather than the average: consular volumes differ per country and most consulates publish no figure at all
- Consulate General of Spain in London, NIE page (the NIE is normally issued within three weeks and is sent to the applicant by email)(2026-09)
- What you pay at a consulate
- The same state fee, charged locally in the currency of the country you are in. In London that is GBP 8.65, payable by card at the consulate on the day of the appointment rather than at a Spanish bank. Consular fee conversions are fixed periodically, so the local amount will not track the euro figure day by day
- Consulate General of Spain in London, NIE page(2026-09)
- Whether it expires
- The number itself does not expire and is not renewed. The police procedure for assigning a NIE names no validity period. What does carry an expiry date is a different document, the certificado de no residente, which is valid for three months from issue, and that is the paper a bank or a notary will sometimes ask you to refresh, not the NIE
- Policia Nacional, sede electronica, certificado de no residente (vigencia: 3 meses desde su expedicion), read together with the NIE assignment procedure, which states no vigencia(2026-09)
- The TIE card, if you ever need one
- EUR 16.08 for the card documenting a first residence authorisation and EUR 19.30 for the card documenting a renewal. This is a separate procedure with a separate fee, and it only arises once you hold a residence permit. A buyer who keeps a holiday home and stays inside the 90 day limit never reaches this stage
- Orden PJC/617/2025 de 13 de junio, annex of fee amounts, entries for the tarjeta de identidad de extranjero (BOE-A-2025-12056)(2026-09)
Step by step
- 1
Establish that a NIE is the document you actually need
If you are buying, inheriting, opening a Spanish bank account, taking over utility contracts or filing Spanish tax as a non-resident, the NIE is the right document. If you intend to live in Spain, you still start here, because the residence procedure builds on the same number. Every person who will appear on the deed needs their own NIE, so a couple buying jointly needs two applications, and so does a child inheriting a share.
- 2
Write down the reason and gather the evidence for it
The law grants a NIE to foreigners who have economic, professional or social interests in Spain, and the police will refuse an application that does not say which of the three applies and why. The evidence people usually bring is a reservation agreement or a private purchase contract for a named property, a letter from an estate agent or lawyer describing the transaction, or an inheritance document. Vague wording such as personal reasons is the most common cause of a wasted appointment.
- 3
Complete form EX-15, and do not sign it yet if you are going to a consulate
The EX-15 is one page and asks for your identity details, your address and the box you are ticking, which is the NIE box. Consulates ask for the form completed but unsigned, because you sign it in front of the officer who accepts it. Fill in the accent-free version of your name exactly as it appears in your passport, since a mismatch between the form and the passport is enough to send you home.
- 4
Choose the route: a Spanish police station, or the consulate where you live
If you are already in Spain lawfully, for example inside a 90 day tourist stay, you can file at an immigration office or a national police station with an extranjeria desk. If you are outside Spain, you file at the Spanish consulate that covers your address, and you generally have to prove you live in that consular district. Neither route produces a better NIE, they differ only in the appointment and in the wait.
- 5
Book the appointment, and start this earlier than feels reasonable
This is the step that decides your timetable, not the paperwork. In Spain the appointment runs through the cita previa system for extranjeria, where availability varies enormously by province. Consulates usually take appointment requests by email or through their own booking page. Book before you have a signed contract if you can, because the appointment date, not the five day legal deadline, is what determines when you hold the number.
- 6
Generate and pay the tasa modelo 790, codigo 012
The 790 form is produced on the electronic site of the national police, which calculates the amount for you once you select the procedure. In Spain you print it and pay at a bank counter or by card, then keep the stamped proof of payment, since the receipt is part of the file. At a consulate the fee is paid on the spot in local currency on the day itself, so you do not go to a Spanish bank first.
- 7
Attend the appointment with originals and copies
Bring the EX-15, your passport with a photocopy of the biographical page and any pages the consulate specifically asks for, the proof of payment and the document that establishes your reason. Take copies of everything, because desks keep the copy and hand back the original, and no office will make copies for you. If a representative is going in your place, they bring their own identity document and the power of attorney as well.
- 8
Collect the certificate, then check it character by character
In Spain the certificate is usually printed and handed over at the counter or shortly afterwards. Consulates that issue by email send a PDF, which is the document banks and notaries will accept. Read the name, date of birth and passport number on it before you rely on it, because a typo has to be corrected through the same procedure, and store a scan somewhere you can reach from abroad. The number stays yours permanently and you will be asked for it for years.
Who needs a NIE and when
Spanish tax law requires everyone who takes part in a transaction with tax consequences to be identified by a tax number, and for a foreign individual that number is, as a rule, the NIE. That single rule is what turns the NIE from a formality into a hard gate. It is why the notary cannot execute a deed for a buyer who does not have one, why the transfer tax cannot be filed, and why the Land Registry cannot record the new owner. There is no workaround worth attempting, and a purchase held up at that point costs far more than the application ever would.
The trigger is wider than property. You need a NIE to open most Spanish bank accounts, to put utility contracts in your name, to accept an inheritance, to be appointed a director of a Spanish company, to buy a car and to file the annual non-resident income tax return that comes with owning a Spanish home. Anyone who is buying a home in Spain will eventually meet several of those at once, which is a good reason to treat the NIE as the first item on the list rather than something to sort out when a deadline appears.
Timing matters more than most guides admit. Apply while you are still viewing, not after your offer has been accepted, because a reservation agreement or an arras contract runs on a fixed deadline and the appointment queue does not care about it. If you are budgeting the transaction, the fee itself is a rounding error next to the transfer tax, notary and registry costs, which you can work through with the rest of the purchase costs.
One exception is worth knowing, because it is the only legitimate stopgap. The tax administration can assign a temporary NIF beginning with the letter M to a foreigner who is obliged to obtain a NIE but has not yet been assigned one, and a permanent M number to a foreigner who is not obliged to hold a NIE at all. It exists for cases where a tax obligation arrives before the interior ministry has issued the number. It is not a shortcut around the appointment queue, and where the NIE is later assigned, the NIE prevails and the M number is revoked.
In Spain or at a consulate: which route
Applying inside Spain is the faster route on paper. You file at an immigration office or a national police station with an extranjeria desk, the legal deadline for a decision is five days from the application entering the register, and in practice many offices print the certificate during the appointment. The catch is that you must be in Spain lawfully when you apply, which for most non-EU visitors means inside a 90 day stay in any 180 day period, and that you need an appointment before you can do any of it.
Applying at a consulate is the slower but more orderly route. You file at the Spanish consulate for the district you live in, which normally means proving your address falls in that district, and you hand in the EX-15 completed but not signed, since it is signed in front of the officer. The fee is paid there in local currency rather than at a Spanish bank. The Consulate General in London publishes a working figure of about three weeks and says openly that it cannot shorten the process, and it emails the finished NIE to the applicant.
So the choice is usually made for you by circumstance. If you have a viewing trip booked and can secure an appointment for those dates, do it in Spain and walk out with the paper. If your trip is short, if appointments in that province are unavailable, or if you want the number in hand before you commit to anything, start at your consulate and start early. Anyone who is planning moving to Spain rather than buying a second home should start earlier still, because the NIE sits underneath every later step.
Do not assume the published consular figure applies to your country. Consulates handle very different volumes, only some of them publish a processing time, and the figures that do exist are described as normal rather than guaranteed. Where sources disagree, plan against the longer number and treat anything faster as a bonus.
NIE, TIE and residencia are not the same thing
The NIE is a number and nothing more. It grants no right to live in Spain, no right to work, and no right to stay a day longer than your visa or your visa-free allowance permits. Holding one changes nothing about your immigration status. This is the single most common misunderstanding in the whole subject, and it is worth being blunt about, because plenty of commercial pages sell the NIE as a first step towards residency when it is simply the identifier you use in any dealing with the Spanish state.
The TIE, the Tarjeta de Identidad de Extranjero, is the physical card that documents a residence authorisation for a non-EU national. It carries the same NIE number, but it is issued through a separate procedure, at a separate fee, and only after a permit has been granted. It expires when the permit expires and it has to be renewed. If you are a holiday-home owner staying within the 90 day limit, you will never apply for one.
EU and EEA citizens who settle in Spain follow a third track: registration in the Central Register of Foreigners, which produces the green certificate that people casually call a residencia. That certificate also carries the NIE. It documents an EU right of residence rather than granting a permit, which is why it looks so much less impressive than a card and is nonetheless the document that matters.
Tax residence is a fourth thing again, and it does not follow from any of the documents above. Spain treats you as tax resident on the day count and on where your interests sit, not on which card is in your wallet, so it is entirely possible to hold a NIE and no residence document, or a residence document and no Spanish tax residence. The rules and thresholds for actually living there are set out in the guide on moving to Spain.
The cita previa problem
Everything above assumes you can get an appointment, and that assumption is the weak point of the entire procedure. The Spanish ombudsman, the Defensor del Pueblo, has recommended an urgent overhaul of the immigration appointment system and an increase in staffing, after complaints that appointments were unavailable or unreasonably hard to obtain. The problem is not confined to Madrid and Barcelona: the institution has recorded the same difficulty spreading to provinces including Alicante, Valencia, Murcia, Sevilla, Girona and Palma de Mallorca, which covers most of the coast that foreign buyers actually buy on.
The ombudsman also documented why slots vanish so fast. Where appointments are scarce, operators with better software book them in bulk and exhaust the supply, feeding an illegal resale market in what is a free public appointment. If you are offered a paid appointment slot by someone who is not a lawyer or gestor providing an actual service, you are being sold something that costs nothing and that they had no right to hold in the first place.
What works in practice is unglamorous. Slots are released in batches rather than continuously, so check at odd hours and check often. Availability is per province and sometimes per office, so look at neighbouring provinces if your purchase is near a boundary and you are willing to drive. Have the EX-15, the passport scan and the payment ready before you look, since some booking flows time out. And keep the consular route open in parallel, because a consulate that takes three weeks beats a province where no appointment appears at all.
None of this is a reason to panic, but it is a reason to start early. The five day legal deadline is real and the authorities generally meet it. It simply starts running at the counter, and the queue in front of the counter is not bound by it.
Using a lawyer or gestor with power of attorney
You do not have to appear in person. A representative can file the application on your behalf if they hold a power of attorney that expressly states they are empowered to present the NIE application, and they bring their own identity documents alongside yours. Consulates set this out in their own instructions, and it is the standard arrangement for buyers who cannot fit another trip into the calendar. The power itself is signed before a notary, either in Spain or in your own country with the appropriate legalisation.
If you are already using an independent lawyer for the purchase, which is the sensible arrangement in Spain because the notary does not check the property on your behalf, the simplest approach is to fold the NIE into that mandate at the outset. The lawyer is going to need a power of attorney for parts of the transaction anyway, and adding the NIE application to it costs almost nothing in drafting terms while removing the appointment problem from your side entirely.
Be precise about scope. A power of attorney for the NIE application and for defined steps of a named purchase is a normal instrument. A broad general power that lets someone sign anything in your name is not what this requires, and there is no reason to grant one to obtain a nine euro number. Read the Spanish text of what you sign, or have it read to you by someone who is not the person receiving the power.
Fees for this service are not regulated and vary widely, which is why we quote no figure for them. What you are paying for is time and an appointment, not the number, so ask exactly what is included, whether the state fee is passed through at cost, and what happens if the application is refused for a reason that was theirs to get right.
Questions people actually ask
- Does a NIE expire?
- No. The number is assigned once and stays yours; the police procedure for assigning it names no validity period and there is no renewal. The confusion comes from a different document. A certificado de no residente, which proves you are not resident in Spain, is valid for three months from the date it is issued, and that is the paper a bank or a notary may ask you to refresh. Older NIE certificates issued under earlier practice sometimes printed a three month validity on the certificate itself, which applied to the sheet of paper and never to the number. If yours is old and an institution objects to it, you are asking for a fresh certificate, not a new NIE.
- Can I get a NIE without going to Spain?
- Yes, in two ways. You can apply at the Spanish consulate for the district where you live, which files the same EX-15 and charges the same state fee converted into local currency; the Consulate General in London, for example, works to about three weeks and emails the certificate. Or you can have a representative file it in Spain under a power of attorney that expressly authorises them to present the NIE application. Both routes produce an identical number. Neither is faster by nature, so the deciding factor is usually whether appointments exist where you are.
- Do I need a NIE to buy property in Spain?
- Yes, and there is no way round it. Spanish tax rules require every party to a transaction with tax consequences to be identified by a tax number, which for a foreign individual is the NIE, so the notary cannot execute the deed, the transfer tax cannot be filed and the Land Registry cannot record you as owner without one. Every buyer named on the deed needs their own, so a couple buying together makes two applications. Get it moving during the viewing stage rather than after an offer is accepted, and while you are at it, budget for the taxes and fees on top of the price, which you can estimate for buying property in Spain alongside the other markets.
- Is a NIE the same as residency?
- No. A NIE is an identification number and carries no right to live, stay or work in Spain. Residency for a non-EU national is a permit, documented by a TIE card, which happens to display the same NIE number but is applied for separately and at a separate fee. For an EU or EEA citizen, settling in Spain means registering in the Central Register of Foreigners and receiving the green certificate, which also carries the NIE. Tax residence is a third concept again and follows the day count and where your interests lie, not which document you hold.
- How much does a NIE cost?
- The state fee is EUR 9.84 for assignment of a NIE at the applicant's request, paid through the tasa modelo 790, codigo 012, and set by ministerial order. At a consulate you pay the same fee converted into local currency on the day, for instance GBP 8.65 in London. Those are the only official costs. Anything beyond that is a service charge from a lawyer or gestor for handling the file and securing the appointment, which is unregulated and varies, so ask whether the state fee is passed through at cost. Because the amounts are revised by order, check the current figure on the police site in the week you apply.
- How long does it take to get a NIE?
- Once your application is registered in Spain, the law gives the authorities five days to decide, and if that period passes with no answer the application counts as refused rather than granted. In practice many offices hand the certificate over at the appointment itself. Through a consulate, plan on around three weeks from the appointment where a figure is published, with the explicit caveat that consulates cannot speed it up and most publish nothing at all. The honest answer is that the decision is quick and the appointment is not, so measure your timetable from the date you can get a slot, not from the date you file.
Related: buying property in Spain.
The next step
Get introduced to a buying agent
Tell us what you are looking for and we will put you in touch with an independent buying agent or adviser in that country. Free for you. We are paid a referral fee by the professional if a purchase completes, which is set out in full on our about page.