Sale with right of repurchase in Spain: investor risks

A sale with a right of repurchase (in Spanish, pacto de retroventa) is a property sale in which the seller keeps the right to buy the property back within an agreed period and at an agreed price. In Spain it is governed by articles 1507 to 1520 of the Civil Code. It is sometimes used to raise cash quickly against a property, but if it really hides a loan, the courts can set it aside. For an investor, understanding that boundary is essential.

This article explains how a repurchase sale works, how it differs from a mortgage-backed loan and from a sale and leaseback, what Spanish case law says about the ban on pacto comisorio (a lender keeping the collateral without enforcement), and what to check before investing in this kind of deal.

What a sale with right of repurchase is

The Spanish Civil Code calls it a “conventional right of redemption”. Article 1507 defines it as the seller’s right to recover the property sold, on condition of repaying what article 1518 requires and anything else agreed. Its key features are:

  • There is a genuine sale. Ownership passes to the buyer on signing, and is shown in the Land Registry if registered.
  • The seller has an option, not an obligation. They may buy back or not.
  • Limited term. If no term is agreed, the right lasts four years from the contract; if a term is agreed, it cannot exceed ten years (article 1508).
  • Repurchase price. The seller must repay the sale price, the contract costs and the necessary and useful expenses incurred on the property (article 1518), plus anything else agreed.
  • Effect on third parties. The seller can exercise the right against a later buyer, within the limits the Mortgage Act sets to protect those who rely on the Land Registry (article 1510).

The current text is available in the Spanish Civil Code published in the BOE (Official State Gazette).

Using a repurchase sale to raise liquidity

The typical use is this: a property owner needs cash quickly and cannot obtain it from a bank. They sell the property to an investor and keep the right to buy it back once they receive funds, for instance after selling another asset or collecting a receivable. The seller often keeps using the property under a lease.

On paper it is flexible. In practice, if the sale price is well below the property’s value and the repurchase amounts to repaying capital plus interest, the deal looks very much like a loan. That is where the legal problem starts.

The legal boundary: repurchase sale versus pacto comisorio

Article 1859 of the Civil Code prohibits a creditor from appropriating or disposing of assets given as security. This is the ban on pacto comisorio: if the debtor does not pay, the creditor cannot simply keep the property; it must enforce the security through the legal channels.

Spain’s Supreme Court has repeatedly held that this ban also covers indirect arrangements with a security purpose, such as a sale with repurchase that in reality secures a loan (as judgment 77/2020 of 4 February restates, for example). Each case depends on the evidence: in that same judgment the court did not find a sham transaction because it was not proven. Courts look at the economic substance, not just the label on the contract. The warning signs that usually carry weight are:

  • A sale price far below the property’s market value.
  • A repurchase price that amounts to repaying the money with interest.
  • The seller staying in possession and paying “rent” that works like a loan instalment.
  • A seller under financial pressure or urgency.
  • A buyer whose business is lending money.

If the contract is recharacterised as a loan, the buyer loses the ownership they thought they had. They are left with a claim to recover the money, without the protection of a registered mortgage. If the seller is a consumer, consumer protection rules, the rules on private mortgage lenders and Law 5/2019 and Spain’s 1908 Usury Act may also apply.

Sale with right of repurchase in Spain: property keys on a wooden table before signing

Illustrative and hypothetical example

Suppose a commercial unit valued at EUR 500,000. The owner sells it for EUR 300,000 with a two-year repurchase right at a repurchase price of EUR 360,000. The figures are invented and only show the logic:

Illustrative example prepared by Ondara Group, November 2026
Item Amount or ratio What it shows
Property value EUR 500,000 Valuation reference
Sale price EUR 300,000 (60% of value) EUR 200,000 discount
Repurchase price after 2 years EUR 360,000 (72% of value) EUR 60,000 above the sale price
Implied annual cost for the seller About 9.5% Works like an interest rate
If the seller does not buy back The buyer keeps an asset worth EUR 500,000 Typical sign of pacto comisorio

That combination (a low price, a repurchase with “interest” and possible appropriation of the excess value) is exactly what courts scrutinise. A sound repurchase sale looks more like a sale at market value with a reasonable buy-back option than a disguised loan.

Repurchase sale, mortgage loan and sale and leaseback

Source: Spanish Civil Code (arts. 1507-1520 and 1859) and Ondara Group analysis, November 2026
Aspect Sale with repurchase right Mortgage-backed loan Sale and leaseback
Who owns the property The buyer, with the seller’s buy-back option The borrower; the investor holds a mortgage The buyer; the seller becomes a tenant
If the seller or borrower does not pay No buy-back and the buyer keeps the property Mortgage enforcement or settlement Eviction and re-letting
Recharacterisation risk High if it hides a loan Low if well structured Medium if the price is not at market
Transaction taxes Both the sale and the buy-back may be taxed AJD (stamp duty on documented legal acts) on the mortgage The sale is taxed
Maximum legal term 10 years As agreed The lease term

If the debtor hands over the property to settle an existing debt, a different instrument applies: the deed in lieu of foreclosure.

Trends: what is happening worldwide and in Spain

  • Worldwide, more private credit defaults. On 19 November 2026 the rating agency KBRA reported that the default rate on the US middle-market loans it tracks rose to 3.9% in October, the highest since it began measuring it (KBRA, November 2026). When stress rises, collateral quality and the legal soundness of the security matter more than the agreed rate.
  • Spain, fewer registered sales. According to the INE (Spain’s statistics office, 17 November 2026, provisional data), registered home sales in September totalled 54,548, down 13.4% year on year. We cover it in Spain home sales in September 2026. With fewer transactions, selling quickly is harder and demand for liquidity solutions grows.
  • Europe, closer supervision. The ECB is stepping up scrutiny of banks’ exposure to private credit, as explained in the ECB and banks’ private credit exposure. More scrutiny favours transparent, well-documented structures.

Risks to consider

  • Nullity for pacto comisorio. If the contract hides a loan, you may lose ownership and be left with an unsecured claim.
  • Usury and consumer risk. If the seller is an individual and the implied cost is disproportionate, the contract can be annulled.
  • Illiquidity and term risk. Until the option expires you do not know whether you will get your money back or keep the property, and selling property takes time.
  • Value risk. The property may be worth less than expected; collateral mitigates but does not remove the risk of loss.
  • Tax and litigation costs. The sale and any buy-back may trigger taxes at each step, and litigation can last years.
  • Possession. If the seller stays in the property and neither buys back nor leaves, recovering possession may require court action.

Before any deal, review the Land Registry extract (nota simple), obtain an independent valuation and work with a lawyer.

How we approach it at Ondara

Since 2018, Ondara Group has structured private debt transactions secured on real estate. We prefer clear structures, such as a loan with a registered mortgage, because they protect both parties better: the borrower keeps the property and the investor holds a security recognised by law. We analyse each transaction (asset value, LTV, repayment capacity and exit plan), diversify and keep direct contact with our investors. Learn more about who we are.

Frequently asked questions

Is a sale with right of repurchase legal in Spain?

Yes. It is governed by articles 1507 to 1520 of the Civil Code. What is not valid is using it to disguise a loan in which the lender keeps the property if not repaid.

How long can the repurchase right last?

Four years if nothing is agreed and, at most, ten years if a term is set in the contract.

What must the seller pay to buy back?

The sale price, the contract costs, the necessary and useful expenses incurred on the property, and anything else agreed.

How does it differ from a purchase option?

With a purchase option, the owner remains the owner until someone exercises it. In a repurchase sale, ownership has already passed to the buyer and it is the seller who may recover it.

Is a mortgage-backed loan a better investment?

They are different instruments. A mortgage loan usually gives the investor more legal certainty because the security is recognised by law, although it is not free of risk either. Analyse each case with a professional.

In summary

  • A sale with right of repurchase is a sale in which the seller can buy back, for a maximum of ten years.
  • It can help raise liquidity, but if it hides a loan it can be annulled under the pacto comisorio ban.
  • A very low price, a buy-back with “interest” and a seller who stays in the property are red flags.
  • For an investor, a well-structured mortgage security is usually a clearer route.
  • None of these structures is free of risk.

If you would like to know how we invest, register as an investor and we will explain how it works. The minimum investment is EUR 25,000.

This article is for information purposes only and does not constitute an investment recommendation or financial advice. All investments carry risks, including the possible loss of the capital invested, and past or target returns do not guarantee future returns. Analyse each opportunity with a professional before investing.

Otros artículos