How to Get an NIE Number
A practical guide for foreign buyers who need a Spanish NIE number before purchasing property on the Costa del Sol.
Buying in Spain
Why the NIE Number Matters
The NIE number, or Número de Identidad de Extranjero, is a foreigner identification number used by the Spanish authorities. If you are buying property in Spain, you will normally need an NIE before the purchase can be completed at the notary.
For buyers on the Costa del Sol, the NIE is usually needed for the legal purchase process, tax payments, opening or operating a Spanish bank account, setting up utilities, dealing with the Land Registry and managing ongoing property ownership.
It is best not to leave the NIE until the last minute. Appointment availability, documentation and processing times can vary, so buyers should discuss the timing with their lawyer as early as possible in the property search.
At a Glance
NIE Number Basics for Property Buyers
What It Is
The NIE is a unique identification number for foreigners who have financial, legal or administrative dealings in Spain.
Why Buyers Need It
It is normally required for property purchases, tax payments, notary completion, registration, banking and utilities.
When to Apply
Start early. Your lawyer can advise whether to apply before viewing seriously, before reservation or once a purchase is agreed.
Where to Apply
An NIE may usually be requested in Spain or through a Spanish Consular Office in your country of residence.
Main Forms
The usual application involves Form EX-15 and payment of the relevant administrative fee using Modelo 790 Code 012.
Legal Support
Many buyers ask their Spanish lawyer to guide them through the NIE process, especially when buying from overseas.
Buyer Planning
Do Not Leave Your NIE Too Late
The NIE is one of the practical items that can delay a purchase if it is ignored until the end. Even when the property, price and contract are agreed, completion may be difficult if the buyer’s identification and tax details are not ready.
If you are a foreign buyer, ask your lawyer when you should apply, whether they can assist by power of attorney and which documents you will need for your circumstances.
This page is a practical guide only. The NIE process can change by location, consulate, appointment availability and applicant status, so always confirm current requirements with your lawyer or the relevant official office.
Step by Step
How to Get an NIE Number
1. Confirm why you need the NIEFor property buyers, the reason is usually the purchase of real estate in Spain. You may need to provide evidence of the reason, such as a reservation document, purchase contract, lawyer letter or other supporting documentation.
2. Decide where to applyYou may be able to apply in Spain, usually through the relevant police/foreigners office appointment system, or through a Spanish Consular Office in your country of residence. The best route often depends on timing and where you are based.
3. Complete Form EX-15Form EX-15 is the standard NIE and certificate application form. It must be completed correctly, normally in Spanish, with your personal details and reason for requesting the NIE.
4. Pay the administrative feeThe official process normally requires payment of the relevant fee using Modelo 790 Code 012. Your lawyer or the official appointment guidance can confirm the correct fee and payment process.
5. Attend the appointment or use representationDepending on your route, you may attend personally or your lawyer may be able to assist using power of attorney. You will usually need your passport, copies, completed forms, proof of payment and proof of need.
6. Keep the NIE safeOnce issued, the NIE number remains your foreigner identification number for Spanish administrative purposes. Keep a copy with your property purchase file and share it with your lawyer when needed.
Documents
What Documents Might You Need?
Passport
You will usually need your original passport and copies of the identification pages. Requirements can vary by office or consulate.
Form EX-15
The NIE application form should be completed carefully with your personal details and the reason for your application.
Modelo 790 Code 012
This is the fee-payment form normally used for the NIE administrative fee. Bring proof that the fee has been paid where required.
Proof of Need
Property buyers may need a document explaining or evidencing the reason for the NIE request, such as a purchase-related document or lawyer letter.
Appointment Confirmation
If applying in Spain, keep the cita previa appointment confirmation and check exactly which office and procedure your appointment relates to.
Power of Attorney
If a lawyer applies or assists on your behalf, they may need a suitable power of attorney. Ask your lawyer how this should be prepared.
Property Purchase
How the NIE Fits Into Buying Property
The NIE is part of the practical buying framework. Your lawyer will normally need it for tax forms, completion preparation and registration. Banks, utility companies and other service providers may also ask for it once the property is purchased.
If you are buying with a mortgage, the bank may request your NIE during the mortgage application or before completion. If you are buying off-plan, the developer’s contract and payment stages may also require clear buyer identification.
For this reason, the NIE should sit alongside your wider buyer checklist: independent lawyer, purchase budget, proof of funds, bank account, reservation terms and due diligence.
Common Mistakes
Avoid These NIE Delays
Leaving it until completionWaiting until a notary date is being discussed can create unnecessary pressure. Start the conversation early with your lawyer.
Booking the wrong appointmentAppointment systems can be confusing. Make sure the selected appointment is suitable for an NIE application and not a different immigration procedure.
Using incomplete documentsMissing passport copies, proof of payment, proof of need or incorrectly completed forms can lead to wasted appointments.
Assuming every office works the same wayRequirements and appointment availability may differ between offices, provinces and consulates. Always check the latest guidance for the route you are using.
Confusing NIE with residencyAn NIE number is not the same as legal residency in Spain. If you plan to live in Spain or spend extended periods here, you may also need visa or residency advice.
Planning to Buy?
Prepare the Practical Steps Early
If you are planning to buy on the Costa del Sol, it helps to understand the NIE, purchase costs, legal checks and area choices before you start making offers.
Send Us Your Property Brief →Questions
NIE Number FAQs
Do I need an NIE number to buy property in Spain?Yes, foreign buyers normally need an NIE number for the legal and tax steps involved in buying property in Spain.
Can I apply for an NIE before I find a property?Often, yes, provided you can show a valid reason for requesting it. Your lawyer can advise when to apply based on your purchase plans.
Can my lawyer get an NIE for me?In many cases, a lawyer can assist with the NIE process and may be able to act under power of attorney. Confirm the best route with your lawyer.
Is an NIE the same as residency?No. An NIE is an identification number for foreign citizens. It does not automatically give you the right to live in Spain. Residency and visa issues are separate.
How long does it take to get an NIE?Timing varies depending on appointment availability, the office or consulate used and whether the paperwork is complete. Start early so it does not delay your purchase.
What form is used for the NIE application?The standard application form is EX-15, and the administrative fee is normally paid using Modelo 790 Code 012. Always check current official requirements before applying.
Useful Next Steps
Continue Your Buying Journey
Buying Property in Spain
Understand the buying process, practical stages, legal checks and how to prepare before viewing seriously.
View Buying Guide →Purchase Costs & Taxes
Learn how much to allow for ITP, IVA, AJD, notary, registry, legal fees and other buyer costs.
View Purchase Costs →Visas & Residency
If you plan to spend longer periods in Spain, understand the broad visa and residency routes before buying.
Explore Visas & Residency →Still planning your move?
Download our free Costa del Sol Buyer Guide →