If you are buying a home on the Costa Blanca, Costa Cálida, Costa del Sol or Costa Almería, the single most important piece of admin you must complete before signing is getting your NIE number. Without it you cannot legally purchase property, open a resident-standard bank account, pay your transfer tax, or register the deed in your name. In short: no NIE, no keys.
The confusion most foreign buyers hit is the difference between the NIF number in Spain and the NIE. The quick answer: a NIF (Número de Identificación Fiscal) is Spain's umbrella term for a tax identification number, while a NIE (Número de Identidad de Extranjero) is the specific tax/ID number issued to foreigners — so for a non-Spanish individual, your NIE effectively functions as your NIF. This guide explains both, shows you exactly how to obtain one across our four coastal regions, and clarifies what you actually need to buy a home.
Both are Spanish tax identifiers, but they apply to different people. Spain uses the NIF as the master concept for any tax reference number, and then splits it depending on who you are:
| Number | Full name | Who it's for | Format example |
|---|---|---|---|
| NIF | Número de Identificación Fiscal | The umbrella tax-ID concept; for Spanish nationals the NIF = their DNI number. For companies it's the corporate tax number. | 12345678Z |
| NIE | Número de Identidad de Extranjero | Any foreigner with economic, professional or social ties to Spain — including every foreign property buyer. This is your personal tax number. | X1234567L or Y/Z prefix |
| DNI | Documento Nacional de Identidad | Spanish citizens only (national ID card). | 12345678Z |
The practical takeaway for an expat buyer: you will apply for a NIE, and that NIE is the tax number (NIF) you use on the title deed, at the notary, and on every tax form. You do not need a separate "NIF" as an individual foreigner. The distinction mainly matters for companies buying property, which are issued a corporate NIF instead.
A NIE always starts with a letter — X, Y or Z — followed by seven digits and a final check letter (for example Y1234567X). Older numbers begin with X; more recently issued ones start with Y or Z. It is printed on a white A4 certificate called the certificado de asignación de NIE. Note: the NIE certificate is not a residency card and does not by itself grant the right to live in Spain — it is purely an identification and tax number.
The NIE is woven into every stage of a Spanish property purchase on the Costa Blanca, Cálida, del Sol and Almería. You need it to:
Every joint owner needs their own NIE. A married couple buying together must each obtain one.
Getting your NIE is cheap (a small government fee), but it unlocks the taxes and fees that make up the well-known ~11–14% of additional buying costs on top of the purchase price. Here's how those costs differ across our regions, because the transfer tax is set by each autonomous community:
| Region | Autonomous community | ITP transfer tax (resale) | New build (IVA + AJD) |
|---|---|---|---|
| Costa Blanca (Alicante) | Comunitat Valenciana | ~10% | 10% IVA + ~1.5% AJD stamp duty |
| Costa Cálida (Murcia) | Región de Murcia | ~8% | 10% IVA + ~1.5–2% AJD stamp duty |
| Costa del Sol (Málaga) | Andalucía | ~7% (reduced flat rate) | 10% IVA + ~1.2% AJD stamp duty |
| Costa Almería | Andalucía | ~7% (reduced flat rate) | 10% IVA + ~1.2% AJD stamp duty |
On top of tax you should budget for notary fees, Land Registry fees and independent lawyer fees (typically around 1% + VAT). Rates and reduced-rate conditions change periodically and can depend on factors such as buyer age or whether it is a primary residence, so always confirm the current figure with your lawyer before signing. The point to remember: all of these tax payments are filed under your NIE, which is why getting it early keeps your purchase on schedule.
There are three main routes. Most international buyers use option 2 or 3 for speed.
Book an appointment (cita previa) online with the National Police foreigners' office (Oficina de Extranjería / Policía Nacional) in the province where you're buying. Typical offices for our regions include:
You sign a power of attorney (poder notarial) letting your Spanish lawyer obtain the NIE on your behalf — often before you've even returned home from a viewing trip. This is the smoothest route for busy buyers and the one Mediter's recommended lawyers most frequently use.
You can apply at the Spanish consulate covering your area (for example in the UK, Ireland, Germany or the Netherlands) before travelling. Processing times vary widely by consulate.
The government fee itself is only a few euros (paid via the Modelo 790-012). Timing is the variable: an in-person appointment can issue the certificate the same day or within a few days, whereas consular applications abroad can take several weeks. If you use a lawyer with power of attorney, factor in their service fee, which is generally modest. Start the process as soon as you've agreed a purchase so it never becomes the bottleneck at completion.
No — having a NIE does not make you a tax resident of Spain. You become a Spanish fiscal resident only if you spend more than 183 days a year in the country (or your main economic/family base is here). Many Mediter clients own a holiday or investment property on the Costa Blanca or Costa del Sol as non-residents, using their NIE purely for the purchase and their annual non-resident tax filing. If you later relocate permanently, you would then handle residency (EU citizens register on the Central Register of Foreigners; non-EU citizens apply for the relevant visa/residence permit — separate processes from the NIE itself).
For a foreign individual, effectively yes. NIF is the general term for a Spanish tax identification number; foreigners are issued a NIE, which then serves as their NIF on tax forms and property deeds. Spanish nationals use their DNI as their NIF, and companies receive a corporate NIF.
No. Every buyer needs a NIE to sign the escritura, pay transfer tax and register the property. There is no legal workaround — but a lawyer can obtain it for you via power of attorney.
The government fee (Modelo 790-012) is only a few euros. The main cost is any lawyer or gestor service fee if you apply through a representative, which is typically modest.
Holding a NIE alone does not make you a tax resident. However, as a foreign property owner you will owe annual non-resident taxes (filed via Modelo 210) and local council tax (IBI), all linked to your NIE.
The NIE number itself is permanent and never changes. You will not need to reapply for a new number if you buy again in future.
No. Each individual buyer must have their own NIE, so joint purchasers each apply.
In person at an Andalucían foreigners' office (Málaga, Marbella, Almería, Roquetas de Mar), it can often be issued the same day or within a few days once you have an appointment. Consular applications from abroad usually take longer.
Getting your NIE is the first practical step towards owning a home on the Spanish coast — and it's one our team helps buyers navigate every week. Mediter Real Estate specialises in property across the Costa Blanca, Costa Cálida, Costa del Sol and Costa Almería, and works with trusted independent lawyers who can arrange your NIE, handle the tax paperwork and guide you smoothly to completion. Contact Mediter Real Estate today to start your search and get expert help with every step of buying in Spain.
Ciò che ci racconti qui lo usiamo solo per risponderti. Privacy