legal · Spain

Legal Due Diligence When Buying Property in Spain

Updated 10 min readBy Global Investments

Spain remains one of Europe's most active markets for international property investment, with the Costa del Sol, Costa Blanca, Barcelona, and the Balearic Islands attracting substantial overseas capital. The legal framework is mature and protective — but only for buyers who engage it properly. Spain has a well-documented history of illegal construction, particularly on the Mediterranean coast, where tens of thousands of properties were built without proper planning licences during the boom years prior to 2008. Thorough due diligence protects you from inheriting a property with demolition risk, undisclosed debt, or unresolvable planning contraventions.

This guide is for informational purposes only and does not constitute legal advice. Spanish property law varies by autonomous community; always seek independent legal advice from a qualified Spanish abogado before proceeding with any transaction.


The Spanish Legal Framework

Property law in Spain is governed primarily by the Civil Code (Código Civil) and the Mortgage Law (Ley Hipotecaria), with the Property Registry (Registro de la Propiedad) as the authoritative source of title information. However, Spain's 17 autonomous communities have significant legislative devolution, meaning that property taxes, planning controls, and some aspects of conveyancing procedure vary by region. The guidance below covers the national framework, but always verify regional specifics with a local lawyer.

Foreigners face no restrictions on purchasing property in Spain, making it straightforward in principle. The primary administrative requirement is obtaining a Número de Identificación de Extranjero (NIE) — a tax identification number — before any property transaction can be completed.


Title Deed Verification and the Nota Simple

The Nota Simple Informativa is the essential first document in any Spanish due diligence process. Issued by the Registro de la Propiedad, it provides a summary of the property's registration including:

  • The registered owner(s) and their percentage shares
  • The property's description, surface area, and registration reference
  • Any charges registered against the property — mortgages (hipotecas), liens (embargos), annotations, easements, and other encumbrances
  • The property's legal classification and any restrictions

A Nota Simple can be obtained online via the official Colegio de Registradores portal (registradores.org) or by your lawyer from the local registry. It should be obtained as early as possible in the transaction process.

Important limitation: the Nota Simple reflects registered information only. It does not reveal unregistered debts (community fees arrears, utility debts) or informal arrangements. Your solicitor's enquiries must go further.

Full title deed (Escritura Pública): For a complete picture, your lawyer should review the full escritura — the notarised title deed from the seller's last purchase — in addition to the Nota Simple. Discrepancies between the escritura and the current Nota Simple (e.g., registered area differing from actual footprint) must be resolved before completion.


Land Registry Searches

Beyond the Nota Simple, your lawyer should conduct or request:

Catastro check: The Catastro (Cadastre) is Spain's land inventory database, separate from the Property Registry. It records the physical and economic characteristics of property, including boundaries, surface area, and cadastral value (valor catastral), which forms the basis for local property tax (IBI — Impuesto sobre Bienes Inmuebles). Cross-reference the Catastro description with the Property Registry description — discrepancies in surface area or boundary are common and should be rectified before purchase.

IBI receipt check: Request the seller to provide the most recent IBI receipts to confirm that the annual property tax has been paid. Unpaid IBI creates a charge on the property (tax debt runs with the land in Spain) that the buyer may inherit.

Community of owners debts: Under Article 9 of Spain's Horizontal Property Law (Ley de Propiedad Horizontal), a buyer of a property forming part of a comunidad de propietarios (owners' community) is liable for up to three years of unpaid community fees owed by the seller, plus the current year's fees. Obtain a certificate from the community administrator confirming that fees are paid to date before completion.

Utility debts: In theory, utility debts are personal to the account holder rather than the property, but in practice, utility companies can refuse new connections until debts are cleared. Request documentation that utility accounts are settled.


Encumbrances, Mortgages, and Embargos

The Nota Simple will reveal any registered charges. Most critical are:

Mortgage (Hipoteca): Any mortgage must be discharged before or at completion. This is typically handled via a simultaneous notarial act: on completion day, part of the purchase price (or the full balance) is applied to discharge the seller's mortgage, the bank issues a certificate of cancellation, and the notary registers the cancellation simultaneously with the transfer.

Embargo (attachment/levy): An embargo indicates a court-ordered attachment, typically resulting from unpaid debt or ongoing litigation. A property with an embargo cannot be freely sold without resolving the underlying debt. Your lawyer must investigate the embargo's origin and quantum before proceeding.

Anotación Preventiva: A precautionary annotation, often indicating an ongoing legal proceeding that could affect title. This is a significant warning sign — investigate fully before proceeding.

Usufruct (usufructo): A usufruct is a right to use and enjoy a property without owning it, typically held for life by a surviving spouse or elderly family member. A property sold subject to an existing usufruct may prevent occupation until the usufruct expires. Confirm whether any usufruct exists and whether it is registered.


Planning and Zoning Checks

Spain's planning catastrophe on the Costa del Sol and elsewhere — where local governments issued licences for properties that were subsequently declared illegal by higher courts — means planning verification is critical.

Licencia de Primera Ocupación (LPO) / Licencia de Ocupación: This is the certificate confirming that a completed building has been built in accordance with its building licence and is fit for habitation. Without an LPO, you cannot obtain utilities in your name, you may be unable to register the property correctly, and mortgage lenders will not lend. Always demand the original LPO before completion. For properties built before the LPO regime, equivalent local authority certificates may apply.

Building licence (Licencia de Obras): The original licence for construction of the building. Your lawyer should obtain a copy and confirm that the building as constructed matches the licence (no unauthorised extensions or modifications).

Certificado de Urbanismo (Urban Planning Certificate): Issued by the local ayuntamiento (council), this confirms the property's planning classification — whether it is classified as urban land (suelo urbano), urbanisable land (suelo urbanizable), or non-urban/rural land (suelo no urbanizable). Properties on rural land (rústico) may have been built illegally or under rural-building exceptions that carry use restrictions. A certificate of asimilado fuera de ordenación confirms that an illegally built structure has reached the point where demolition is no longer possible but also that it cannot be extended or modernised.

DAFO/SAFO procedure (Andalusia): In Andalusia specifically, there is a legalisation route for certain illegally built rural properties — the Declaración de Asimilado a Fuera de Ordenación (DAFO). While this prevents demolition of qualifying structures, it does not confer full legal status and carries restrictions on rebuilding or expanding. If buying a rural property in Andalusia, investigate whether a DAFO applies.


Developer and Seller Vetting

Developers: For new-build and off-plan purchases, verify the developer's registration with the Registro Mercantil (Companies Register), review their filed accounts, and check their track record on completed projects. Under Spain's Building Defects Law (Ley 38/1999 de Ordenación de la Edificación), developers and builders are liable for:

  • Cosmetic defects: 1 year from handover
  • Installation and structural defects: 3 years
  • Major structural defects: 10 years

Confirm that the developer has obtained the required insurance (seguro decenal) and bank guarantee (aval bancario) for off-plan purchases. Under law, off-plan deposits must be protected by either a bank guarantee or insurance policy, and the developer must hold them in a separate account. Verify this protection before paying any deposit — your deposit is not protected unless you hold the original guarantee or insurance policy in your name.

Resale sellers: Run a credit search or obtain a certificado de deudas (debt certificate) via your lawyer to identify any judgments against the seller. For corporate sellers, review the Registro Mercantil entry.


Contract Clauses to Watch For

Contrato de Arras (Deposit Contract): Most Spanish transactions are preceded by a private deposit contract rather than a formal escritura. The most common form — arras penitenciales under Article 1454 of the Civil Code — allows either party to withdraw: the buyer forfeits the deposit if they pull out; the seller returns double the deposit if they pull out. Ensure the deposit contract clearly:

  • Identifies the property by its Nota Simple reference
  • Specifies the agreed price and payment schedule
  • States the completion date
  • Makes completion conditional on satisfactory searches
  • References that the seller warrants the property is free of charges and debts at completion

NIE requirement: Ensure completion is not required before your NIE is obtained. Processing times vary by consulate.

Fiscal representation: Non-resident buyers are required under Spanish tax law to appoint a Spanish fiscal representative in certain circumstances. Your lawyer can advise.

Completion date and penalty: Agree a fixed completion date with clear consequences for delay.


The Conveyancing Process

  1. Instruct a Spanish abogado (lawyer): Independent of the developer, agent, or any party with a conflicting interest. The Colegio de Abogados (Bar Association) in each province maintains a register of qualified lawyers.
  2. Obtain NIE: Apply at a Spanish consulate in your home country or, if in Spain, at a police station (comisaría). Allow weeks rather than days.
  3. Conduct due diligence: Nota Simple, Catastro, IBI, community fees, planning checks, LPO verification.
  4. Sign arras/deposit contract: Reserve the property and fix the terms.
  5. Obtain mortgage (if required): Non-resident buyers can obtain Spanish mortgages, typically at 60–70% LTV. The bank will conduct its own valuation (tasación).
  6. Completion (escritura de compraventa): At the notaría (notary's office), the notary reads the title deed aloud, both parties sign, and the balance is paid. The notary registers the transaction with the Property Registry.
  7. Pay taxes: Transfer tax (ITP — Impuesto sobre Transmisiones Patrimoniales) applies to resale purchases at rates varying by autonomous community (typically 6–10%). For new builds, VAT (IVA) at 10% plus stamp duty (AJD) applies instead. Non-residents must also consider the seller's non-resident withholding obligation (3% of purchase price withheld from the seller and paid to the tax authority on account of any capital gains liability).
  8. Register at Property Registry: The notary transmits a nota simple to the Registry electronically; the buyer or their lawyer follows up to ensure registration completes.

The Role of Local Solicitors (Abogados)

Unlike the UK, where solicitors handle both legal and conveyancing work, Spain separates the role of the abogado (lawyer) and the notario (notary). The notary authenticates the transaction but does not act for either party — they are a public official. The notary will check for registered charges at the Registry and confirm basic legal requirements, but they do not conduct the full scope of due diligence described above.

Your abogado is your independent advocate. They should be retained early — before you sign anything — and should conduct all searches, review contracts, and advise on tax implications. Legal fees in Spain are typically 1–1.5% of the purchase price, negotiable for larger transactions.


Common Pitfalls for Foreign Buyers

Buying without an LPO: Particularly on the Costa del Sol, many properties were sold (including by developers) without a valid first occupation licence. Buying without one creates risk of inability to connect utilities, problems with insurance, and complications on resale.

Rural land surprises: Properties marketed as "country houses" or "fincas" on non-urban land may have been built without proper rural building exemptions. A property on rústico land may have far fewer legal protections than anticipated.

Unpaid community fees: A buyer can inherit up to three years of unpaid fees from the seller. This is a statutory charge — it attaches to the property, not just the seller.

Relying on the developer's lawyer: Developer-recommended lawyers have a conflict of interest. Always appoint your own.

NIE delays: Underestimating NIE processing time — particularly at busy consulates — can cause delays to completion and potential forfeit of a deposit under the arras contract.


How Global Investments Can Help

Global Investments has guided clients through Spanish property acquisitions across all the major coastal and urban markets. We work with trusted, independent abogados experienced in cross-border transactions, and our team coordinates due diligence, tax planning, currency, and mortgage processes to ensure a smooth acquisition.

We do not provide legal advice, but our experienced oversight means critical issues are flagged and addressed before exchange — not after completion. Contact us to discuss your Spanish property investment.

This guide is for general information only and does not constitute financial, legal or tax advice. Programme rules, prices and tax rates change; verify current requirements with a qualified adviser before acting.