---
title: "Option to Purchase Agreement Spain (Contrato de Opción de Compra)"
url: "https://forms-legal.com/espana/real-estate/purchase-sale/option-to-purchase-agreement-spain"
description: "A Contract of Option to Purchase Spain (Contrato de Opción de Compra) is a unilateral agreement by which the property owner (optante concedente or grantor) irrevocably grants the prospective buyer (optante or beneficiario) the exclusive right — but not the obligation — to purchase a specific property at a pre-agreed"
language: "en"
jurisdiction: "Spain"
category: "Real Estate / Purchase & Sale"
primaryStatute: "Código Civil art. 1451; Reglamento Hipotecario art. 14; Ley Hipotecaria art. 1"
dateModified: "2026-06-06"
maintainer: "Vladislav Sergienko, founder (not a lawyer)"
---

# Option to Purchase Agreement Spain (Contrato de Opción de Compra)

- Spain · Real Estate / Purchase & Sale
- Legal basis: Código Civil art. 1451; Reglamento Hipotecario art. 14; Ley Hipotecaria art. 1

## What Is an Option to Purchase Agreement Spain (Contrato de Opción de Compra)?

A Contract of Option to Purchase Spain (Contrato de Opción de Compra) is a unilateral agreement by which the property owner (optante concedente or grantor) irrevocably grants the prospective buyer (optante or beneficiario) the exclusive right — but not the obligation — to purchase a specific property at a pre-agreed price (precio de la compraventa) within a defined period (plazo de ejercicio de la opción). Although the Código Civil does not contain a thorough statutory definition of the opción de compra, Article 1451 CC — governing the promise of sale (promesa de venta) — is consistently applied by analogy, and the Tribunal Supremo in its Sala de lo Civil has confirmed in numerous decisions (notably STS 21 March 2006, rec. 4846/1999, and STS 16 March 2018, rec. 2556/2015) that the opción de compra is a valid and enforceable atypical contract (contrato atípico) under Spanish civil law.

The opción de compra creates a real right (derecho real) when registered in the Registro de la Propiedad under Article 14 of the Reglamento Hipotecario (RH) and the general principles of the Ley Hipotecaria (Decreto de 8 de febrero de 1946). Registration gives the option right erga omnes effect — it is enforceable against third parties who acquire the property during the option period, making registration of the option essential in practice, particularly in competitive property markets. To register an opción de compra in the Registro de la Propiedad, the granting document must be executed in a public deed (escritura pública) before a Notario público and presented for registration at the Registro de la Propiedad of the district where the property is located.

The contratto de opción de compra involves two components: the option itself (the unilateral right granted by the seller) and the underlying sale (compraventa). The option is typically granted in exchange for an option premium (prima de la opción or precio de la opción), which constitutes the consideration for the seller's obligation to keep the property available and hold the option open during the agreed period. The option premium may be agreed to count as part of the purchase price upon exercise of the option (imputación a cuenta del precio de compra) or may be retained by the seller as compensation if the option is not exercised (compensation for the immobilisation of the asset during the option period).

Exercise of the option (ejercicio de la opción) by the optionee must be effected within the agreed period and in the manner specified in the contract — typically by notarial notification (burofax notarial or acta notarial de requerimiento) to the seller, followed by execution of the sale deed (escritura de compraventa) before a Notario. Failure to exercise the option within the agreed period causes the option to expire automatically — the optionee loses the option premium (which the seller retains) and has no further rights over the property.

The option to purchase is commonly used in Spain in the context of: (1) contrato de arrendamiento con opción de compra (rent-to-buy arrangements), where a tenant pays rent during a defined period and has the option to purchase the property; (2) property development (promoción inmobiliaria) transactions, where a developer acquires an option over land while awaiting planning permissions; (3) complex corporate transactions involving real estate assets; and (4) pre-emption arrangements in partnership or shareholders' agreements involving property assets.

From a tax perspective, the option premium (prima de la opción) is subject to Impuesto sobre Transmisiones Patrimoniales y Actos Jurídicos Documentados (ITP-AJD) in the autonomous community where the property is located — specifically under the Transmisiones Patrimoniales Onerosas (TPO) modality, typically at 1% of the option premium, under Article 14.3 of the Real Decreto Legislativo 1/1993 (Texto Refundido de la Ley del ITP-AJD). The subsequent exercise and completion of the sale triggers the full ITP or IVA charges applicable to the property transaction. The Agencia Tributaria autonómica (e.g., Agencia Tributaria de Cataluña, Agencia Tributaria de la Comunidad de Madrid) administers and collects ITP-AJD.

## When Do You Need an Option to Purchase Agreement Spain (Contrato de Opción de Compra)?

An Option to Purchase Agreement Spain is needed in a range of property transactions and investment scenarios where a buyer needs to secure the exclusive right to purchase a property at a fixed price while reserving time to complete due diligence, arrange financing, or satisfy conditions precedent.

An opción de compra is needed when a buyer identifies a property of interest but requires time to obtain a mortgage (hipoteca) from a Spanish bank (entidad financiera) or to arrange equity financing — the option secures the property and the purchase price while the buyer pursues funding, without the immediate commitment of a full contrato de compraventa.

The contract is needed when a property developer (promotor inmobiliario) or real estate investor wishes to secure a land plot or existing building while awaiting planning permission (licencia urbanística) from the Ayuntamiento, approval of a Plan de Actuación Urbanística, or completion of a property survey and environmental due diligence — the option provides exclusivity without triggering the full purchase price obligation before conditions are confirmed.

An option agreement is needed in a rent-to-buy transaction (alquiler con opción de compra) — formalised as a combined contrato de arrendamiento con opción de compra — where a tenant pays rent over a defined period and has the option to apply part of those rental payments (rescate de rentas) towards the purchase price if the option is exercised. This arrangement is governed by the Ley de Arrendamientos Urbanos (LAU, Ley 29/1994) for the rental component and by general CC principles for the option component.

The contract is required in corporate transactions where property assets held by a sociedad limitada or sociedad anónima are being transferred as part of a merger, acquisition, or demerger — the option secures the real estate component of the transaction while corporate approvals, due diligence, and regulatory clearances are completed.

An option agreement is needed when a co-owner of a property (copropietario) grants another co-owner or a third party the option to purchase their share — an opción de compra sobre cuota indivisa — as part of a dissolution of the condominium (extinción de condominio) process.

The option agreement is also needed when a Spanish non-resident (extranjero no residente) investor wishes to secure a property in Spain while completing their NIE (Número de Identidad de Extranjero) application at the Comisaría de Policía or the Spanish consulate and opening a Spanish bank account — conditions that may take weeks to complete but should not prevent the investor from securing the property immediately.

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.

## What to Include in Your Option to Purchase Agreement Spain (Contrato de Opción de Compra)

A valid Option to Purchase Agreement Spain under Código Civil Article 1451, Reglamento Hipotecario Article 14, and Ley Hipotecaria principles must contain the following essential elements to be enforceable and, where registration in the Registro de la Propiedad is intended, to comply with the requirements of the Ley Hipotecaria and the Reglamento Hipotecario.

Identification of Parties: Full legal name, DNI/NIF/NIE/passport number, nationality, civil status (estado civil), and address of both the optante concedente (seller/grantor) and the optante beneficiario (buyer/optionee). For legal entities, the company's NIF, Registro Mercantil entry, registered address, and the name and capacity of the legal representative (apoderado) must be included. Married optantes must comply with the matrimonial property regime provisions — a spouse's consent may be required for disposal of the family home (vivienda habitual) under Article 1320 CC.

Property Description: A precise description of the property (inmueble), including: full address; Registro de la Propiedad inscription details (tomo, libro, folio, número de finca registral); referencia catastral (land registry reference); surface area (metros cuadrados útiles y construidos); boundaries (linderos); and a description of any encumbrances, charges, or mortgages (cargas y gravámenes) affecting the property. The property description must match the Registro de la Propiedad entry exactly for the option to be registered.

Option Price: The agreed price (prima de la opción) payable by the optionee to the grantor for the grant of the option right — typically stated as a fixed amount and payable upon execution of the option agreement. The contract must specify whether the option price is: (a) imputable to the purchase price (a cuenta del precio de compra) upon exercise of the option; or (b) retained by the grantor as compensation for immobilisation of the asset if the option expires unexercised.

Purchase Price: The agreed total purchase price (precio de la compraventa) at which the optionee may exercise the option — fixed and unalterable throughout the option period. The price should be stated gross of applicable taxes, and the contract should reference which party bears the applicable ITP-AJD or IVA, plusvalía municipal (Impuesto sobre el Incremento del Valor de los Terrenos de Naturaleza Urbana — IIVTNU), and Notario and Registro de la Propiedad fees.

Option Period: The maximum period during which the optionee may exercise the option (plazo de ejercicio de la opción) — expressed as a specific end date or number of months from the execution date. Spanish courts have upheld option periods of up to 4 years; longer periods may require special justification. The exercise deadline must be stated precisely, as failure to exercise within the agreed period causes irrevocable expiry of the option under the jurisprudencia of the Tribunal Supremo.

Exercise Mechanism: The manner in which the optionee must exercise the option — typically by written notification (notificación fehaciente) to the grantor, ideally by burofax notarial (notarial telegram) or acta notarial de requerimiento, specifying the optionee's intention to exercise and proposing a date for execution of the compraventa deed before a Notario.

Title Clearance: A representation by the grantor that the property is free of undisclosed charges, liens, and encumbrances (libre de cargas y gravámenes no declarados), and an obligation to deliver clear title (título limpio) upon exercise. The optionee should conduct a Registro de la Propiedad search (nota simple informativa) before signing.

Registration: If the option is to be registered in the Registro de la Propiedad under Article 14 RH — which is strongly recommended for protection against third parties — the agreement must be executed before a Notario as escritura pública and presented for registration. The option generates an asiento de presentación and, if the Registrador de la Propiedad confirms compliance with Ley Hipotecaria, an inscription (inscripción) in the folio of the property.

Tax: An allocation of the ITP-AJD tax payable on the option premium, and the ITP or IVA applicable upon exercise and completion of the sale. The grantor must file a plusvalía municipal declaration with the Ayuntamiento within 30 days of the date of exercise.

Option agreements involving residential property, significant amounts, or non-Spanish parties should be executed before a Notario and registered in the Registro de la Propiedad, and the parties should consult a qualified abogado inmobiliario and a gestor fiscal to confirm correct tax treatment under the ITP-AJD rules of the applicable autonomous community.

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.

## Frequently Asked Questions

### ¿Cuál es la diferencia entre una opción de compra y un contrato de arras en España?

La opción de compra y el contrato de arras son ambos acuerdos previos a la compraventa utilizados en operaciones inmobiliarias españolas, pero cumplen funciones distintas y producen efectos jurídicos diferentes. La opción de compra es un derecho unilateral concedido por el vendedor al comprador — el comprador abona una prima de opción por el derecho exclusivo a adquirir el inmueble a un precio fijo dentro de un plazo determinado, pero no está obligado a completar la compra. Si el comprador no ejerce la opción, pierde la prima. El vendedor, por el contrario, queda vinculado — no puede vender a un tercero durante el período de opción. El contrato de arras conforme al Artículo 1454 del Código Civil es un acuerdo bilateral previo a la compraventa — ambas partes se comprometen a perfeccionar la venta. Las arras penitenciales (remedio por incumplimiento: devolución del doble por el vendedor si incumple, pérdida por el comprador si incumple) convierten las arras en un compromiso bilateral con penalizaciones definidas. A diferencia de la opción de compra, las arras no constituyen un derecho unilateral — no ofrecen al comprador la flexibilidad de desistir con un coste reducido. En la práctica, la opción de compra se prefiere cuando el comprador necesita tiempo para gestionar financiación o realizar la debida diligencia sin compromiso pleno; las arras se prefieren cuando ambas partes desean un compromiso bilateral más firme.

### ¿Se puede inscribir una opción de compra en el Registro de la Propiedad en España?

Sí. Una opción de compra puede inscribirse en el Registro de la Propiedad en España conforme al Artículo 14 del Reglamento Hipotecario (RH) si se cumplen las siguientes condiciones: (1) el contrato de opción se formaliza en escritura pública ante Notario; (2) el plazo de opción no excede de 4 años; y (3) se especifican la prima de la opción (precio de la opción) y el precio de compraventa pactado. La inscripción confiere al derecho del optante eficacia erga omnes — resulta oponible frente a terceros y compradores posteriores. Si el inmueble inscrito se vende a un tercero pese a la opción inscrita, el Registrador de la Propiedad denegará la inscripción de la transmisión competidora. La inscripción de la opción requiere el pago del Impuesto de Actos Jurídicos Documentados (AJD) y los aranceles del Registro de la Propiedad. La nota simple informativa del inmueble reflejará la opción inscrita, alertando a cualquier potencial comprador. Sin inscripción, la opción solo produce efectos entre las partes (inter partes) conforme al Artículo 1257 del Código Civil y no vincula a terceros adquirentes de buena fe.

### ¿Qué impuestos se aplican a un contrato de opción de compra en España?

La opción de compra en España genera obligaciones fiscales en dos fases. En la fase de concesión de la opción: la prima de la opción está sujeta al Impuesto sobre Transmisiones Patrimoniales Onerosas (TPO) al tipo aplicable en la comunidad autónoma donde radique el inmueble — habitualmente el 1% del importe de la prima conforme al Artículo 14.3 del Real Decreto Legislativo 1/1993 (Texto Refundido ITP-AJD). Si el contrato se formaliza ante Notario como escritura pública, también está sujeto a Actos Jurídicos Documentados (AJD) al tipo de la comunidad autónoma (habitualmente entre el 0,5% y el 1,5%). En la fase de ejercicio y formalización de la compraventa: si el concedente es una persona física particular, la venta está sujeta a ITP (Transmisiones Patrimoniales Onerosas) al tipo de la comunidad autónoma (habitualmente entre el 6% y el 11% según la comunidad); si el concedente es un promotor inmobiliario profesional, se aplica IVA al 10% (vivienda nueva) o 21% (local comercial), más AJD al tipo autonómico. El concedente debe además autoliquidar y abonar la plusvalía municipal (IIVTNU) al Ayuntamiento dentro de los 30 días siguientes a la escritura de compraventa. La AEAT y la agencia tributaria autonómica reciben la correspondiente declaración.

### ¿Qué ocurre si el vendedor intenta vender a un tercero durante el período de opción en España?

Si la opción de compra está inscrita en el Registro de la Propiedad conforme al Artículo 14 del Reglamento Hipotecario, el derecho de opción inscrito es oponible frente a cualquier tercero adquirente — el Registrador de la Propiedad denegará la inscripción de una transmisión competidora del inmueble durante el período de opción. El derecho del optante prevalece sobre la venta intentada. Si la opción no está inscrita (un mero derecho contractual entre las partes), un tercero adquirente de buena fe que compre el inmueble e inscriba su adquisición en el Registro de la Propiedad puede quedar protegido por el principio de fe pública registral conforme a los Artículos 34 y 38 de la Ley Hipotecaria — el optante no inscrito no puede obligar al tercero a vender pero dispone de una acción de daños y perjuicios contra el vendedor original conforme a los Artículos 1101 y 1124 del Código Civil por incumplimiento de la obligación de exclusividad. La responsabilidad del vendedor incluiría: devolución de la prima de opción más indemnización de daños (lucro cesante y daño emergente) cuantificada por referencia a la diferencia entre el precio de opción pactado y el valor de mercado del inmueble en el momento del incumplimiento.

### ¿Cómo debe ejercerse la opción de compra en España?

El ejercicio de una opción de compra en España debe ajustarse estrictamente al mecanismo de ejercicio especificado en el contrato de opción. El procedimiento estándar es: (1) el optante envía una comunicación escrita y fehaciente (notificación fehaciente) al concedente antes de la fecha de vencimiento de la opción — habitualmente mediante burofax notarial (telegrama certificado notarial con acuse de recibo) o acta notarial de requerimiento emitida en una Notaría — manifestando de forma inequívoca su voluntad de ejercer la opción; (2) el optante propone una fecha y hora para la formalización de la escritura de compraventa ante Notario, dentro de un plazo razonable tras la notificación; (3) en la Notaría, el optante abona el precio de compra pactado (descontando la prima de opción ya abonada si es imputable) y el concedente otorga la escritura de compraventa transmitiendo la propiedad; (4) la escritura se presenta a inscripción en el Registro de la Propiedad. Si el concedente se niega a otorgar la escritura tras un ejercicio válido, el optante puede instar la ejecución específica del contrato ante el Juzgado de Primera Instancia conforme al Artículo 1451 del Código Civil. El plazo de ejercicio es esencial — incluso un día de retraso respecto a la fecha de vencimiento pactada provoca la caducidad irrevocable de la opción conforme a la jurisprudencia del Tribunal Supremo.

### ¿Qué es un alquiler con opción de compra en España?

El alquiler con opción de compra es un contrato combinado utilizado en operaciones inmobiliarias españolas por el cual las partes formalizan simultáneamente un contrato de arrendamiento regulado por la Ley de Arrendamientos Urbanos (LAU, Ley 29/1994) y un contrato de opción de compra regulado por el Código Civil y el Reglamento Hipotecario. Durante el período de arrendamiento, el inquilino abona una renta mensual al arrendador. El contrato de opción concede al inquilino el derecho a adquirir el inmueble a un precio pactado dentro del plazo de opción (que habitualmente coincide con la duración del arrendamiento o se extiende más allá). Una parte definida de las rentas abonadas (rescate de rentas) se pacta frecuentemente como imputable al precio de compra si se ejerce la opción — por ejemplo, el 50% o el 100% de las rentas abonadas durante el período de opción se descuentan del precio de compra. Si el inquilino no ejerce la opción al término del período, las rentas ya abonadas quedan en poder del arrendador (como remuneración por el período de arrendamiento más la inmovilización del activo bajo la opción). El alquiler con opción de compra goza de popularidad en España como vía de acceso a la propiedad para compradores que no pueden obtener una hipoteca de forma inmediata pero desean asegurar el inmueble y acumular capital mediante los pagos de renta.

Fillable version (PDF or Word): [Download the free template](https://forms-legal.com/espana/real-estate/purchase-sale/option-to-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.
