Property Sale and Purchase Agreement Spain
CONTRATO PRIVADO DE COMPRAVENTA DE INMUEBLE
Regulado por el Código Civil, artículo 1445, y la Ley Hipotecaria
1. PARTES CONTRATANTES
VENDEDOR/A:
Nombre: [Seller Name]
DNI / NIE / NIF: [Seller DNI]
Domicilio: [Seller Address]
Estado civil: [Seller Marital Status]
COMPRADOR/A:
Nombre: [Buyer Name]
DNI / NIE / NIF: [Buyer DNI]
Domicilio: [Buyer Address]
2. DESCRIPCIÓN DEL INMUEBLE
Dirección del inmueble: [Property Address]
Tipo de inmueble: [Property Type]
Referencia catastral: [Cadastral Reference]
Registro de la Propiedad: [Registro Finca]
Superficie útil: [Surface Area]
3. TÍTULO Y CARGAS
El Vendedor manifiesta ser titular registral del pleno dominio del inmueble descrito, inscrito en el Registro de la Propiedad.
Cargas y gravámenes: [Encumbrances]
Estado de ocupación: [Occupancy Status]
El Vendedor manifiesta que se encuentran al corriente de pago todas las cuotas del IBI (Impuesto sobre Bienes Inmuebles) y las cuotas de la comunidad de propietarios a la fecha del presente contrato.
4. PRECIO Y FORMA DE PAGO
Precio total de compraventa: [Purchase Price]
Arras ya entregadas: [Deposit Paid]
Saldo pendiente a abonar en escritura: [Balance At Closing]
Fecha de escritura / cierre: [Closing Date]
El saldo se abonará mediante transferencia bancaria certificada o cheque bancario en el acto de otorgamiento de la escritura pública de compraventa ante Notario. El Comprador asumirá el Impuesto sobre Transmisiones Patrimoniales y Actos Jurídicos Documentados (ITP-AJD), los aranceles notariales, los aranceles registrales y los honorarios de gestoría. El Vendedor asumirá la plusvalía municipal (IIVTNU) y la ganancia patrimonial del IRPF derivada de esta compraventa.
5. OTORGAMIENTO DE ESCRITURA
Las partes se comprometen a comparecer ante Notario en la fecha de cierre acordada para otorgar la escritura pública de compraventa. El Vendedor entregará el inmueble libre de ocupantes (salvo pacto en contrario) y hará entrega de todas las llaves y documentación. Tras el otorgamiento, el Comprador o la notaría presentarán la escritura en el Registro de la Propiedad para su inscripción a nombre del Comprador, completando la transmisión de la propiedad registral conforme a la Ley Hipotecaria.
6. LEY APLICABLE Y JURISDICCIÓN
El presente contrato se rige por el Derecho español — principalmente los artículos 1445 a 1537 del Código Civil, la Ley Hipotecaria (Decreto de 8 de febrero de 1946) y la normativa autonómica aplicable. Para la resolución de controversias, las partes se someten a los Juzgados y Tribunales del lugar donde radique el inmueble, conforme al artículo 52.1 de la Ley de Enjuiciamiento Civil (LEC).
FIRMAS
Firmado en [Contract City], a [Contract Date].
EL/LA VENDEDOR/A: [Seller Name]
Firma: _________________________ Fecha: _________________________
EL/LA COMPRADOR/A: [Buyer Name]
Firma: _________________________ Fecha: _________________________
Vendedor/a
________________
Signature
Comprador/a
________________
Signature
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. Courts interpret agreements based on the written terms rather than oral representations. Under the Ley de Arrendamientos Urbanos (LAU) 29/1994, Spanish tenancy law sets minimum duration (5 years individuals, 7 years entities) and deposit requirements. 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. Where the transaction involves regulated activities, prior approval from the relevant authority may be required before execution.
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.
Forms-legal.com provides this Property Sale and Purchase Agreement Spain template as a practical starting point. 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: Under the Ley de Arrendamientos Urbanos (LAU) 29/1994, Spanish tenancy law sets minimum duration (5 years individuals, 7 years entities) and deposit requirements. 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. Forms-legal.com provides this template as a starting point for Spain-compliant documentation.
Cite this page
Reference this free template in an article, syllabus, or research note:
Forms Legal. (2026). Property Sale and Purchase Agreement Spain (Spain) [Legal document template]. Forms Legal. https://forms-legal.com/espana/real-estate/purchase-sale/property-sale-purchase-agreement-spain
"Property Sale and Purchase Agreement Spain (Spain)." Forms Legal, 2026, https://forms-legal.com/espana/real-estate/purchase-sale/property-sale-purchase-agreement-spain.
@misc{formslegal-property-sale-purchase-agreement-spain,
author = {{Forms Legal}},
title = {Property Sale and Purchase Agreement Spain (Spain)},
year = {2026},
howpublished = {\url{https://forms-legal.com/espana/real-estate/purchase-sale/property-sale-purchase-agreement-spain}},
note = {Free legal document template}
}Also available for these jurisdictions:
Frequently Asked Questions
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.
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.
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.
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.
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.
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.
This template is provided for informational purposes only and does not constitute legal advice. Laws vary by jurisdiction and change over time. Consult a qualified attorney for advice specific to your situation.Full disclaimer
Found an error? Let us knowRelated Documents
You may also find these documents useful:
Contrato de Arrendamiento de Vivienda España
Contrato de Arrendamiento de Vivienda para España — conforme a la Ley de Arrendamientos Urbanos (Ley 29/1994, modificada por Ley 12/2023), estableciendo los derechos y obligaciones del arrendador e inquilino para inmuebles residenciales en España.
Contrato de Compraventa de Solar España
Contrato de Compraventa de Solar para España — regulado por el artículo 1445 del Código Civil y la Ley del Suelo (Real Decreto Legislativo 7/2015), formalizando la transmisión de la propiedad de suelo urbano o urbanizable entre vendedor y comprador ante Notario Público con inscripción en el Registro de la Propiedad.
Contrato de Compraventa de Plaza de Garaje España
Contrato de Compraventa de Plaza de Garaje para España — regulado por el artículo 1445 del Código Civil, formalizando la transmisión de la propiedad de una plaza de garaje inscrita en el Registro de la Propiedad, con obligaciones fiscales de ITP/AJD conforme al Real Decreto Legislativo 1/1993.