---
title: "Property Sale and Purchase Agreement Spain"
url: "https://forms-legal.com/espana/real-estate/purchase-sale/property-sale-purchase-agreement-spain"
description: "A Property Sale and Purchase Agreement (Contrato de Compraventa de Inmueble) in Spain is a written contract under which the seller (vendedor) transfers ownership of a real property — residential dwelling (vivienda), commercial premises (local comercial), or other immovable asset — to the buyer (comprador) in exchange"
language: "en"
jurisdiction: "Spain"
category: "Real Estate / Purchase & Sale"
primaryStatute: "Código Civil Article 1445; Ley Hipotecaria (Decreto de 8 de febrero de 1946)"
dateModified: "2026-11-01"
maintainer: "Vladislav Sergienko, founder (not a lawyer)"
---

# Property Sale and Purchase Agreement Spain

- Spain · Real Estate / Purchase & Sale
- Legal basis: Código Civil Article 1445; Ley Hipotecaria (Decreto de 8 de febrero de 1946)

## What Is a Property Sale and Purchase Agreement Spain?

A Property Sale and Purchase Agreement (Contrato de Compraventa de Inmueble) in Spain is a written contract under which the seller (vendedor) transfers ownership of a real property — residential dwelling (vivienda), commercial premises (local comercial), or other immovable asset — to the buyer (comprador) in exchange for an agreed price, governed principally by Article 1445 of the Código Civil (Real Decreto de 24 de julio de 1889) and the Ley Hipotecaria (Decreto de 8 de febrero de 1946). In Spanish property law, ownership transfer requires both a valid underlying contract (título) and delivery (traditio) — under the Spanish title-and-mode system (sistema de título y modo) codified in Article 609 of the Código Civil. For real property, traditio is effected by the execution of a public deed (escritura pública de compraventa) before a Notario, followed by inscription at the Registro de la Propiedad administered by the Colegio de Registradores de España.

The Spanish property transaction process typically follows a two-stage structure: a private purchase agreement (contrato privado de compraventa or contrato de arras) is signed first, followed weeks or months later by the public escritura de compraventa before a Notario. The private contract — a precursor to the public deed — is binding between the parties under Article 1278 CC but does not transfer registered ownership until the escritura is executed and inscribed at the Registro de la Propiedad. Article 1473 CC grants priority to the buyer who first inscribes at the Registro in good faith over an earlier buyer who holds only a private contract.

The Ley Hipotecaria (LH) and its implementing Reglamento Hipotecario (RH, Decreto de 14 de febrero de 1947) govern the Registro de la Propiedad and determine the legal effects of registration. Article 34 LH establishes the principle of fe pública registral — a third-party buyer who acquires a registered property in good faith and for value from the registered owner is protected even if the seller's title was later challenged, provided the buyer's acquisition is inscribed at the Registro. This makes Registro inscription the cornerstone of property security in Spain.

The fiscal obligations in a Spanish property sale are substantial and depend on the nature of the seller. For second-hand properties sold by private individuals: the buyer pays Impuesto sobre Transmisiones Patrimoniales y Actos Jurídicos Documentados (ITP-AJD) — modalidad Transmisiones Patrimoniales Onerosas (TPO) — at rates set by each autonomous community, typically between 6% and 11% of the agreed purchase price. For new-build properties sold by a developer (promotor): the buyer pays IVA at 10% (or 4% for officially protected housing — VPO/VPA) under Ley 37/1992, plus Actos Jurídicos Documentados (AJD) at autonomous community rates. The seller who is an individual must declare the capital gain (ganancia patrimonial) in their IRPF annual declaration under Ley 35/2006. The seller also pays the municipal capital gains tax (plusvalía municipal — Impuesto sobre el Incremento de Valor de los Terrenos de Naturaleza Urbana, IIVTNU) levied by the Ayuntamiento under Articles 104–110 of the Ley Reguladora de las Haciendas Locales (Real Decreto Legislativo 2/2004).

The Agencia Notarial de Certificación (ANCERT) and Consejo General del Notariado support electronic submissions of Spanish property deeds. The Notario verifies the identity of the parties, confirms the parties' legal capacity, reads the deed aloud, and advises on applicable taxes. The Agencia Tributaria (AEAT) requires the buyer to file Modelo 600 (for ITP) or Modelo 600 AJD at the Consejería de Hacienda of the autonomous community where the property is located within 30 working days of the escritura. Non-resident sellers are subject to a 3% withholding (retención) by the buyer under Ley del Impuesto sobre la Renta de no Residentes (Real Decreto Legislativo 5/2004).

Mortgages (hipotecas) registered against the property at the Registro de la Propiedad under Article 1875 CC and Articles 104–197 LH must be either cancelled (canceladas) before or simultaneously with the sale or assumed by the buyer with the lender's consent. Ley 5/2019 reguladora de los contratos de crédito inmobiliario (LCCI) governs residential mortgage contracts and imposes mandatory pre-contractual information obligations on lenders, including the Ficha Europea de Información Normalizada (FEIN) and Ficha de Advertencias Estandarizadas (FiAE).

## When Do You Need a Property Sale and Purchase Agreement Spain?

A Property Sale and Purchase Agreement in Spain is required whenever an immovable property — residential apartment (piso), house (chalet or casa), commercial premises (local comercial), warehouse (nave industrial), or other real estate — changes hands between seller and buyer.

A Contrato de Compraventa de Inmueble is needed as the private contract stage preceding the public escritura de compraventa before a Notario — signed when the parties have agreed the price and terms but need additional time before closing for mortgage financing, mortgage cancellation, or due diligence on the property.

A property sale agreement is required when buying a second-hand residential property in Spain — triggering ITP-AJD (modalidad TPO) paid by the buyer, and IRPF capital gains and plusvalía municipal obligations for the seller.

A purchase agreement is needed when acquiring a new-build property (vivienda de obra nueva) from a developer (promotor inmobiliario) — triggering IVA (10%) and AJD for the buyer, and IS (corporate tax) obligations for the developer-seller.

A sale and purchase agreement is required for commercial real estate transactions — purchase of offices (oficinas), retail units (locales comerciales), or industrial premises (naves industriales) — where the buyer may be an investor entity (sociedad inversora) acquiring the property as an income-producing asset.

A property sale contract is needed when purchasing property subject to an existing hipoteca — determining whether the seller cancels the mortgage before closing or the buyer assumes it (subrogación hipotecaria) under Ley 5/2019 LCCI.

A private purchase agreement is also required when a foreigner (extranjero) buys property in Spain — the buyer needs a Número de Identificación de Extranjero (NIE) from the Policía Nacional before completing the transaction and must open a Spanish bank account for the tax payment and transfer of funds.

Parties in Spain should prepare a Property Sale and Purchase Agreement Spain proactively rather than waiting for a dispute to arise. The Código Civil Articles 1445–1541 govern sale of property. The Ley Hipotecaria governs the Registro de la Propiedad. The Ley 5/2019 (LCCI) regulates mortgage lending with mandatory FEIN/FiAE disclosure. The Impuesto sobre Transmisiones Patrimoniales (ITP) applies to property transfers.

## What to Include in Your Property Sale and Purchase Agreement Spain

A valid Property Sale and Purchase Agreement in Spain under Código Civil Article 1445 and the Ley Hipotecaria must contain the following essential elements to protect both parties and prepare for execution of the public escritura.

Identification of Parties: Full legal name, DNI/NIE or NIF, marital status (estado civil) — since married sellers under the régimen de gananciales must have spousal consent for the sale of community property under Article 1377 CC — and address of both seller (vendedor) and buyer (comprador).

Property Description: Full description of the property — address, municipality (municipio), autonomous community, cadastral reference (referencia catastral) from the Dirección General del Catastro, Registro de la Propiedad registration details (tomo, libro, folio, finca registral number, Registro number), property type, total surface area (m² útiles and m² construidos), number of rooms, and any annex assets (garage, storage room — trastero) included in the sale.

Ownership and Registration: Confirmation that the seller holds registered title (dominio inscrito) at the Registro de la Propiedad, with the date and deed details of the seller's acquisition, and the Nota Simple informativa obtained from the Registro confirming current ownership and any registered encumbrances.

Encumbrances and Charges: Full disclosure of all hipotecas, embargos, servidumbres (easements), community of owners (comunidad de propietarios) debts, and any other charges registered against the property at the Registro de la Propiedad. The seller's obligation to cancel (cancelar) mortgages prior to or simultaneously with closing, or the buyer's agreed assumption of a specific mortgage (subrogación hipotecaria).

Purchase Price: The agreed total price in euros, payment schedule, and method — including the amount of any arras (deposit) already paid under a separate arras contract (contrato de arras, Articles 1454–1456 CC), and the balance to be paid at closing.

Notarial Completion Date: The agreed date for execution of the public escritura de compraventa before a Notario, after which the buyer or the Notario's office presents the deed at the Registro de la Propiedad for inscription.

Tax Allocation: Identification of the taxes applicable to the transaction — ITP or IVA + AJD for the buyer; IRPF capital gains and plusvalía municipal for the seller — and agreement on who bears each cost.

Community of Owners (Comunidad de Propietarios): Confirmation that all comunidad fees (cuotas de comunidad) and any special assessments (derramas) are paid to date, supported by a certificate from the community administrator under Ley 49/1960 de Propiedad Horizontal Article 9.1(e).

Occupancy and Vacant Possession: Whether the property is sold vacant (libre de ocupantes) or subject to an existing tenancy (arrendamiento) — important for purchasers who intend to occupy or to value the tenancy income stream.

Governing Law and Jurisdiction: Spanish law — Código Civil, Ley Hipotecaria, and autonomous community legislation — and the competent Juzgado de Primera Instancia of the property's location for disputes under Article 52.1 LEC.

The private contract must be followed by a public escritura de compraventa before a Notario and inscription at the Registro de la Propiedad to complete the legal transfer of ownership.

Additional compliance elements for a Property Sale and Purchase Agreement Spain used in Spain include: The Código Civil Articles 1445–1541 govern sale of property. The Ley Hipotecaria governs the Registro de la Propiedad. The Ley 5/2019 (LCCI) regulates mortgage lending with mandatory FEIN/FiAE disclosure. The Impuesto sobre Transmisiones Patrimoniales (ITP) applies to property transfers.

## Frequently Asked Questions

### ¿Cuál es el proceso para comprar un inmueble en España?

La compra de un inmueble en España sigue una secuencia definida regulada por el Código Civil y la Ley Hipotecaria. Paso 1: Obtener el Número de Identificación de Extranjero (NIE) de la Policía Nacional si no se es nacional español — requisito imprescindible para el pago de impuestos y todas las inscripciones registrales. Paso 2: Abrir una cuenta bancaria española para la transferencia de fondos y el pago de impuestos. Paso 3: Realizar la due diligence — obtener una Nota Simple informativa del Registro de la Propiedad para verificar la titularidad del vendedor y las cargas registrales (hipotecas, embargos), confirmar la referencia catastral en la Dirección General del Catastro y comprobar que no existen deudas con la comunidad de propietarios ni impagos de IBI (Impuesto sobre Bienes Inmuebles). Paso 4: Firmar un contrato privado de compraventa o contrato de arras — abonando la señal (habitualmente el 10%) y fijando el precio y la fecha de cierre. Paso 5: Gestionar la financiación hipotecaria si fuera necesario — regulada por la Ley 5/2019 LCCI, con la obligatoria información precontractual FEIN y FiAE. Paso 6: Otorgar la escritura pública de compraventa ante el Notario elegido por el comprador y abonar el saldo restante. Paso 7: Liquidar los impuestos aplicables (ITP o IVA + AJD) en la Consejería de Hacienda dentro de los treinta días hábiles siguientes. Paso 8: Presentar la escritura en el Registro de la Propiedad para su inscripción — completando la transmisión jurídica de la propiedad.

### ¿Qué impuestos paga el comprador al adquirir un inmueble en España?

Los impuestos que debe pagar el comprador en una compraventa inmobiliaria española dependen de si el inmueble es de obra nueva o de segunda mano. Para inmuebles de segunda mano adquiridos a un particular o vendedor no sujeto a IVA: Impuesto sobre Transmisiones Patrimoniales y Actos Jurídicos Documentados (ITP-AJD) — modalidad Transmisiones Patrimoniales Onerosas (TPO) — a tipos fijados por cada Comunidad Autónoma. Tipos habituales: Andalucía 7%, Cataluña 10%, Madrid 6%, Valencia 10%, Baleares 8%–13% según valor. Para inmuebles de obra nueva adquiridos a un promotor: IVA al 10% conforme a la Ley 37/1992 (4% para viviendas de protección oficial — VPO); más Actos Jurídicos Documentados (AJD) a tipos autonómicos (habitualmente 0,5%–2%). Los costes adicionales del comprador incluyen: aranceles notariales conforme al Real Decreto 1426/1989 (habitualmente 0,1%–0,5% del precio); arancel registral del Registro de la Propiedad; honorarios de gestoría para la liquidación fiscal y la inscripción registral (habitualmente entre 200 y 600 euros); y gastos de constitución de hipoteca si se financia la operación. La Agencia Tributaria (AEAT) controla el pago del ITP mediante el Modelo 600 en la Consejería de Hacienda de la Comunidad Autónoma donde radique el inmueble, dentro de los treinta días hábiles siguientes a la escritura.

### ¿Cuál es el papel del Notario en una compraventa inmobiliaria en España?

El Notario desempeña un papel central y obligatorio en las transmisiones inmobiliarias en España. Conforme a la Ley Hipotecaria y al Reglamento Notarial (Decreto de 2 de junio de 1944), el Notario es un funcionario público nombrado por el Estado que da fe pública de los actos jurídicos y proporciona seguridad jurídica. En una compraventa inmobiliaria, el Notario: verifica la identidad y capacidad jurídica de comprador y vendedor; lee íntegramente la escritura de compraventa a ambas partes; comprueba los datos actuales del Registro de la Propiedad y las anotaciones pendientes; verifica los recibos del IBI (Impuesto sobre Bienes Inmuebles) y el certificado de deudas con la comunidad de propietarios; asesora a las partes sobre los impuestos aplicables y sus obligaciones; presencia la firma de la escritura y el intercambio de fondos; conserva un original (protocolo) y entrega copias autorizadas a las partes; y comunica la operación al Registro de la Propiedad por vía telemática a través del sistema ANCERT del Consejo General del Notariado en las veinticuatro horas siguientes. El comprador tiene derecho a elegir libremente al Notario conforme al artículo 1455 del Código Civil. Los aranceles notariales están regulados por el Real Decreto 1426/1989 — se calculan sobre una escala progresiva basada en el valor declarado de la operación.

### ¿Qué es una Nota Simple y por qué es importante al comprar un inmueble en España?

La Nota Simple informativa es un extracto de los asientos del Registro de la Propiedad relativos a una finca concreta, expedida conforme al artículo 222 de la Ley Hipotecaria. La Nota Simple muestra: el titular registral actual y los datos de su adquisición (título y fecha); la descripción de la finca — dirección, referencia catastral, superficie y modificaciones; las cargas y gravámenes inscritos contra el inmueble — hipotecas con la entidad prestamista, importe inscrito y saldo pendiente; embargos anotados por tribunales o administraciones tributarias; anotaciones preventivas de procedimientos judiciales en curso; y las condiciones o limitaciones sobre uso o transmisión (servidumbres, derechos de tanteo y retracto). Todo comprador en España debe obtener una Nota Simple antes de firmar cualquier contrato de compraventa o entregar señal alguna — tiene un coste reducido (9,02 euros en 2024) y puede obtenerse telemáticamente a través del portal del Colegio de Registradores (registradores.org) en veinticuatro horas. La Nota Simple confirma que el vendedor es efectivamente el titular registral y revela las cargas que afectarían al título del comprador o requerirían resolución antes del cierre. La Nota Simple es meramente informativa (no constitutiva de derechos) — la Certificación Registral goza de plena fe pública registral.

### ¿Qué es la plusvalía municipal y quién la paga en una compraventa?

La plusvalía municipal (Impuesto sobre el Incremento de Valor de los Terrenos de Naturaleza Urbana — IIVTNU) es un tributo local liquidado por los Ayuntamientos sobre el incremento de valor de los terrenos de naturaleza urbana desde la adquisición anterior hasta la transmisión actual, conforme a los artículos 104 a 110 del Real Decreto Legislativo 2/2004 (Ley Reguladora de las Haciendas Locales). La base imponible se calcula sobre el valor catastral del suelo urbano del inmueble, multiplicado por un coeficiente según los años de tenencia y el tipo municipal aplicable. La plusvalía municipal la abona el vendedor dentro de los treinta días naturales siguientes a la venta (o seis meses para herencias, ampliable a un año). El Tribunal Constitucional, en Sentencia 182/2021 de 26 de octubre de 2021, declaró inconstitucional el método de cálculo objetivo que imponía el impuesto incluso cuando el terreno no había incrementado su valor — la normativa fue reformada por el Real Decreto-Ley 26/2021. Tras la reforma, los vendedores pueden optar entre el método objetivo (coeficientes) y el método de ganancia real basado en el incremento efectivo de valor del suelo; no tributan si el terreno no ha ganado valor. Por defecto (conforme al artículo 104 LRHL), la plusvalía municipal la abona el vendedor — aunque las partes pueden pactar contractualmente que la pague el comprador, si bien dicho pacto no es oponible al Ayuntamiento, que siempre considera al vendedor como sujeto pasivo legal.

### ¿Qué es la retención del 3% y cuándo se aplica en las ventas de inmuebles en España?

La retención del 3% en compraventas inmobiliarias españolas es un mecanismo de retención fiscal conforme al artículo 25 de la Ley del Impuesto sobre la Renta de no Residentes (LIRNR, Real Decreto Legislativo 5/2004) que se aplica cuando el vendedor de un inmueble en España es no residente fiscal — persona física o jurídica sin residencia fiscal en España. Cuando un no residente vende un inmueble español, el comprador está obligado por ley a retener el 3% del precio de compraventa e ingresarlo directamente a la Agencia Tributaria (AEAT) en el plazo de un mes desde la escritura, mediante el Modelo 211. Esta retención constituye un pago a cuenta de la posible deuda tributaria del vendedor no residente por ganancia patrimonial conforme a la LIRNR. Si la deuda tributaria real del vendedor es inferior al 3% del precio de venta, puede solicitar la devolución a la AEAT mediante el Modelo 210. Si la deuda excede la retención, el vendedor debe abonar la diferencia. La obligación recae sobre el comprador — si el comprador no retiene e ingresa, se convierte en responsable solidario de la deuda tributaria del vendedor por la LIRNR. Los vendedores residentes fiscales en España no están sujetos a esta retención — el comprador debe solicitar al vendedor el certificado de residencia fiscal para confirmar su condición antes del cierre.

Fillable version (PDF or Word): [Download the free template](https://forms-legal.com/espana/real-estate/purchase-sale/property-sale-purchase-agreement-spain)

General information, not legal advice — see our [accuracy & editorial policy](https://forms-legal.com/accuracy-policy). Confirm the cited law is current before relying on it.
