Buying a Property in Andalusia as a Foreigner: A Step-by-Step Legal Guide

Buying a property and living in Andalusia is a dream for many people.
To prevent that dream from turning into a nightmare, it is important to review a number of legal, tax and administrative matters before paying a deposit or signing a contract.
In this guide, I will explain the main steps you need to follow to purchase your property with complete peace of mind and legal certainty.
1. Obtaining Your NIE (Foreigner Identification Number)
Before purchasing a property in Spain, you will need to obtain an NIE (Número de Identidad de Extranjero).
You can apply for this identification number in Spain or through a Spanish consular office in your country of residence.
2. Checking the Legal Status of the Property
Before buying, it is particularly advisable to seek independent legal advice.
The legal professional responsible for this review will check, among other matters, the following:
- Who actually owns the property.
- Whether there are any mortgages, attachments or other charges.
- Whether any restrictions or third-party rights affect the property.
- The property’s status in the Spanish Land Registry.
- Whether the information held by the Land Registry and the Cadastre matches the property’s physical characteristics.
- Any outstanding debts owed to the community of owners.
- The status of the local property tax (Impuesto sobre Bienes Inmuebles, or IBI).
- The property’s planning status.
- The existence and legal status of any buildings, extensions or alterations.
The Importance of Legal and Planning Due Diligence
A property may be correctly registered with the Spanish Land Registry (Registro de la Propiedad) and still have planning or development-related problems.
For this reason, it is advisable to carry out legal and planning due diligence tailored to the characteristics of the property.
This review is particularly important when purchasing:
- A property with a swimming pool.
- A property with extensions.
- A property on rural land or near the coastline.
- A rural estate with several buildings.
- A property intended for holiday rentals.
3. Reviewing the Terms of the Deposit Agreement (Contrato de Arras)
Signing a contrato de arras without carefully reviewing its terms can expose the buyer to risks.
Before signing, it is important to understand clearly the rights you acquire and the obligations you undertake.
4. Understanding the Taxes Associated with the Purchase
The taxes payable depend on the type of property being purchased:
- New-build property: VAT (IVA) and Stamp Duty (Actos Jurídicos Documentados, or AJD).
- Resale property: Property Transfer Tax (Impuesto sobre Transmisiones Patrimoniales, or ITP).
It is also important to be aware that, in certain circumstances, the official reference value (valor de referencia) will be used to calculate the taxes.
5. Signing the Deed Before a Notary
If the buyer does not have a good command of Spanish, particular care should be taken to ensure that they understand the contents of the deed and any documents they sign.
6. Registering the Deed with the Spanish Land Registry
Once the deed has been signed and the relevant taxes have been paid, it can be registered with the Spanish Land Registry (Registro de la Propiedad).
Registration is not compulsory, but it is highly advisable, as it provides legal certainty.
Is It Worth Hiring an Independent Lawyer?
A lawyer who represents exclusively the buyer’s interests will review all the matters outlined in this article.
This legal support provides confidence and security, helping to make the property purchase process a positive and satisfying experience.


