The contractual preference right in Spanish property: a private first-refusal pact under Codigo Civil Article 1255 and how it differs from statutory retracto
A pacto de preferencia is a private first-refusal clause under Codigo Civil Article 1255 obliging an owner to offer property to a beneficiary before any sale.
A contractual preference right, or pacto de preferencia, is a private clause in a Spanish property contract under which the owner promises to offer the property to a named beneficiary first, at the price a third party is willing to pay, before selling to anyone else. It is built on the general freedom of contract in Article 1255 of the Codigo Civil, not on any specific sale provision, so it sits outside the statutory catalogue of pre-emption rights. It is the instrument a buyer or seller reaches for when a statutory retracto does not fit and an opcion de compra is too strong.
What legal basis does a pacto de preferencia have in Spanish law?
A pacto de preferencia is an atypical contract: the Codigo Civil does not name it or regulate it, so its validity rests on the autonomy of the parties under Article 1255, which states that “los contratantes pueden establecer los pactos, clausulas y condiciones que tengan por conveniente, siempre que no sean contrarios a las leyes, a la moral ni al orden publico”. This is the same provision that underpins the opcion de compra and most precontractual figures Spanish property practice relies on. The 2023 Propuesta de Modernizacion del Codigo Civil en materia de Obligaciones y Contratos would, if adopted, give the pacto de preferencia an express statutory home, framing it as a right to be a priority party in a future contract; until then it lives entirely in the general law of obligations.
The practical consequence of resting on Article 1255 is that the pact is a personal obligation, not a real right. The beneficiary acquires no direct power over the property itself, only a claim against the owner. The enciclopedia juridica tradition describes the pact as a conventional right of tanteo (a first-offer right), exercisable only when the owner actually decides to sell, and extinguished if the owner never alienates the property. Compare this with the statutory pre-emption and first-refusal rights the law grants to tenants, co-owners and adjoining landowners, which arise automatically by operation of law.
How does a contractual preference right differ from a statutory retracto?
The distinction a buyer most often misses is that a contractual preference right is prospective, while a statutory retracto is retroactive. Article 1521 of the Codigo Civil defines the retracto legal as “el derecho de subrogarse, con las mismas condiciones estipuladas en el contrato, en lugar del que adquiere una cosa por compra o dacion en pago”: the holder steps into the shoes of the third-party buyer and undoes the sale already made. The retracto de colindantes of Article 1523, the co-owner’s retracto of Article 1522 and the tenant’s statutory pre-emption under the Ley de Arrendamientos Urbanos all share this retroactive, substitution structure.
A pacto de preferencia does the opposite. It obliges the owner to offer the property to the beneficiary before any sale, so that the preference is exercised at the offer stage, not after a transfer to a third party. If the owner breaches and sells to a third party anyway, the beneficiary does not automatically step into the buyer’s position. The beneficiary’s remedy is a claim for damages for the lost opportunity, not rescission of the third-party sale. The retracto convencional of Article 1507, which we cover in our pacto de retro guide, is closer in spirit but still different: it is a reservation by the seller to recover the thing sold by repaying the price, whereas a preference right binds the owner only to offer, never to repurchase.
| Feature | Pacto de preferencia (Art 1255) | Retracto legal (Arts 1521 to 1525) | Retracto convencional (Art 1507) |
|---|---|---|---|
| Source | Contractual, party autonomy | Statutory, operation of law | Contractual, at the sale |
| Timing | Prospective, before sale | Retroactive, after sale | Retroactive, after sale |
| Effect on third-party sale | No automatic unwinding | Subrogation into buyer’s position | Recovery by repaying price |
| Price | The third party’s offer price | The third party’s contract price | The original sale price |
| Remedy for breach | Damages | Rescission and subrogation | Repayment and recovery |
How does a preference pact differ from an opcion de compra?
The preference right is weaker than an opcion de compra. An option grants the holder an irrevocable right to buy at a predetermined price within a set period; the owner is bound to keep the offer open and cannot withdraw it. A preference right obliges only the act of offering: the owner must give the beneficiary the first chance, but the beneficiary then has to decide whether to match the third-party price, and if the beneficiary declines, the owner is free to sell to the third party.
The registration treatment reflects this difference. An opcion de compra registers directly as a real right under Reglamento Hipotecario Article 14, provided there is an express agreement to register, a stipulated price and an exercise period not exceeding four years. A pacto de preferencia, being a personal obligation, does not register in the same way. The beneficiary’s practical protection against a third-party buyer is the anotacion preventiva de demanda under Ley Hipotecaria Article 42, a preventive notice lodged once a claim for breach is filed, which warns any later acquirer that the property is under litigation. This is a weaker, litigation-triggered shield than the option’s direct registration.
| Feature | Pacto de preferencia | Opcion de compra |
|---|---|---|
| What the holder gets | First offer, no fixed price | Irrevocable right to buy at fixed price |
| Owner’s obligation | Offer before selling | Keep offer open for the period |
| Registration | Personal, no direct registration | Real right under RH Art 14, up to 4 years |
| Tax on premium | No statutory premium tax | ITP (min base 5%) or IVA 21% on the premium |
| Lapses when | Beneficiary declines the offer | Period expires unexercised |
What remedy does a beneficiary have if the owner breaches the pact?
Spanish doctrine and the line of Tribunal Supremo authority treat the preference pact as a personal obligation of hacer (to do, namely to offer), not as a real right that follows the property. When the owner sells to a third party without first offering the property to the beneficiary, the sale to the third party is not automatically void. The beneficiary’s remedy is a claim for damages against the breaching owner for the value of the lost preference.
The 2023 Propuesta de Modernizacion, although not yet enacted, codifies the position the doctrine has long held: the pacto de preferencia generates a personal obligation opposable to interested third parties only where the pact had sufficient publicity, whether registral or documentary. Without that publicity, a good faith third-party acquirer takes free of the preference. The beneficiary’s tool to create that publicity, once a dispute arises, is the anotacion preventiva de demanda of Ley Hipotecaria Article 42, which records the existence of a pending claim on the property’s registry entry. This is the same preventive notice mechanism that protects a private sale contract claimant or an arras holder facing a recalcitrant counterparty.
The practical lesson for a buyer negotiating a preference clause is to insist on recording it, or at minimum to obtain a notarial undertaking from the owner, so that any later acquirer is on notice. A purely private, unrecorded preference pact leaves the beneficiary with a damages claim against an owner who may have spent or hidden the proceeds.
When does a contractual preference right make sense in a Spanish property deal?
A preference pact fills the gap between two better-known instruments. It suits the situation where a buyer wants a meaningful first chance at a property but is unwilling to pay an option premium for an irrevocable right, and where no statutory pre-emption right applies. Common scenarios in Costa del Sol practice include a neighbour who wants to be offered an adjoining plot before it goes to the open market, a family member in a shared joint ownership arrangement who wants first refusal on the other’s share, or a developer who wants a right of first offer on a neighbouring parcel for future expansion without committing to buy.
The pact should specify the trigger (a genuine intention to sell, excluding gifts, contributions to a company, or the grant of a mortgage, none of which the doctrinal preference right covers), the notice mechanism (the owner must communicate the third-party offer in an indubitable form), the matching period (typically a short window of days), and the consequence of breach (liquidated damages or a formula for calculating compensation). Because Article 1255 leaves the content to the parties, a vague preference clause is the most common drafting failure: “the owner will give the buyer first refusal” without specifying price, notice or window is hard to enforce and often collapses into a bare damages claim of uncertain quantum.
How should a buyer record and enforce a pacto de preferencia?
Recording is the difference between a preference right that bites and one that produces only a paper claim. Three practical steps matter. First, include the pact in the public deed of any related transaction, so that it appears in the notarial record and can be referenced in any later registry filing. Second, consider lodging an anotacion preventiva at the Land Registry under Ley Hipotecaria Article 42 the moment a dispute crystallises, so that a later acquirer cannot claim ignorance. Third, specify the damages formula in the pact itself, because the default position, a personal obligation of compensation, leaves the court to quantify a loss that may be hard to prove after the property has been sold on.
The contrast with the statutory retracto is instructive here. The retracto legal of Articles 1521 to 1525 carries its own nine-day deadline from registration or knowledge of the sale (Article 1524) and its own subrogation mechanism, so the holder needs no separate recording step; the law supplies the remedy. A contractual preference right has no such statutory safety net. The buyer who wants protection equivalent to a statutory pre-emption without the statutory pre-emption must build the protection into the clause and the recording.
A practical comparison of first-refusal instruments in Spanish property
| Instrument | Legal basis | What it grants | Registration | Remedy for breach |
|---|---|---|---|---|
| Pacto de preferencia | CC Art 1255 (contractual) | First offer before sale | Personal, anotacion preventiva LH Art 42 | Damages |
| Retracto legal (colindantes) | CC Arts 1521 to 1525 (statutory) | Subrogation after sale | Automatic by operation of law | Rescission and subrogation |
| Retracto convencional | CC Art 1507 (contractual) | Repurchase by repaying price | Registers at sale | Repayment and recovery |
| Opcion de compra | CC Art 1255 + RH Art 14 | Irrevocable right to buy | Real right, RH Art 14, up to 4 years | Specific performance |
The table distils the choice a buyer faces. If the goal is to be offered the property before anyone else, at the market price a third party brings, the pacto de preferencia is the right instrument, with the caveat that its enforcement rests on the clause and the recording, not on the statute book. If the goal is to buy at a fixed price regardless of the market, an opcion de compra is stronger but costs a premium. If the goal is to undo a sale already made, only a statutory retracto reaches back, and only the statute decides who qualifies.
This material is for general information and does not constitute legal, tax or investment advice. Spanish property law and its interpretation change; before signing or relying on any contractual clause, consult a qualified Spanish abogado and a notary.
Frequently asked questions
- Is a pacto de preferencia the same as a retracto?
- No. A retracto, whether the retracto convencional of Codigo Civil Article 1507 or the statutory retracto legal of Articles 1521 to 1525, lets its holder undo a sale already completed with a third party by subrogating into the buyer's position. A pacto de preferencia is a prospective first-offer obligation: it forces the owner to offer the property to the beneficiary before selling, but it does not retroactively unwind a sale. The remedy for breach is damages, not rescission.
- Can a pacto de preferencia be registered in the Land Registry?
- A preference pact itself is a personal obligation and does not register as a real right the way an opcion de compra does under Reglamento Hipotecario Article 14. The beneficiary's practical protection is the anotacion preventiva de demanda under Ley Hipotecaria Article 42, a preventive notice lodged once a claim for breach is filed, which warns any later acquirer that the property is in dispute.
- What happens if the owner sells to a third party without offering the property to the beneficiary first?
- The sale to the third party is not automatically void. The beneficiary's remedy is a claim for damages against the breaching owner for the value of the lost preference, not the recovery of the property from the third party. The 2023 Propuesta de Modernizacion del Codigo Civil frames the pacto de preferencia as an obligation of hacer (to do, namely to offer) with personal effects, opposable to interested third parties only where the pact had sufficient publicity.
- How does a pacto de preferencia differ from an opcion de compra?
- An opcion de compra grants the holder an irrevocable right to buy at a predetermined price within a fixed period, and registers directly under Reglamento Hipotecario Article 14 for up to four years. A pacto de preferencia obliges only an offer: the beneficiary gets the first chance to match a third party's price, but there is no fixed price and no duty to buy. The preference lapses if the beneficiary declines the offer; the option lapses only if the holder lets the period expire.
- Who pays for the cost of drafting and enforcing a pacto de preferencia?
- The cost is a private matter agreed between the parties, since the pact is an atypical contract under Article 1255 with no statutory fee schedule. Notarial and registration costs for lodging an anotacion preventiva de demanda, if breach occurs, fall on the party a court ultimately holds liable. There is no fixed tax on the pact itself, unlike the ITP or IVA treatment of an option premium.
Sources and data
- Codigo Civil, texto consolidado (Articulo 1255, libertad de pactos) — Boletin Oficial del Estado
- Codigo Civil, texto consolidado (Articulos 1521 a 1525, retracto legal) — Boletin Oficial del Estado
- Codigo Civil, texto consolidado (Articulo 1507, retracto convencional) — Boletin Oficial del Estado
- Ley Hipotecaria, texto consolidado (Articulo 42, anotacion preventiva de demanda) — Boletin Oficial del Estado
- Reglamento Hipotecario (Articulo 14, inscripcion del derecho de opcion) — Boletin Oficial del Estado