The Right of Retention (Derecho de Retencion) in Spain in 2026: When a Creditor Can Hold Your Property Until Paid
The derecho de retencion lets a creditor hold your property in Spain until paid. Seven scattered Civil Code articles grant it but none allow sale. Here is how.
A mechanic who repairs your car, a warehouse holding your goods, a builder who improved a property you disputed: each can refuse to return the thing until you pay. Spanish law calls this the derecho de retencion, the right of retention. It is not one article of the Civil Code but a possessory faculty scattered across at least seven provisions (Arts 453, 464, 522, 1600, 1730, 1780 and 1866). The retentor can hold but never sell, and the right does not appear in the Land Registry.
What is the derecho de retencion under Spanish law?
The derecho de retencion is a coercive faculty that lets a creditor keep possession of a thing they are otherwise obliged to return, holding it until the debtor pays what is owed. It is a self help remedy, a residue of taking justice into your own hands, and the Civil Code grants it only in specific cases. The retentor cannot use or enjoy the retained thing and must conserve it with due diligence. Critically, the retentor has no power to sell the thing to satisfy the debt. If the debtor refuses to pay, the creditor must go to court. The retention buys leverage, not enforcement.
The Civil Code does not define the retencion posesoria in a single provision. It does not exist as a unitary, general right available to any creditor. Instead, the Code scatters the faculty across several institutions, attaching it to specific relationships where a person lawfully holds another’s property and is owed money connected to that property.
Which Civil Code articles grant the right of retention?
Seven articles of the Spanish Civil Code expressly grant a right of retention. Each attaches the faculty to a different legal relationship, and the debt must be connected to the retained thing.
| Article | Relationship | What can be retained | Condition |
|---|---|---|---|
| 453 | Good faith possessor defeated in court | The thing possessed | Until necessary and useful expenses are reimbursed |
| 464 | Good faith acquirer in public sale | Lost or stolen movable | Until the true owner reimburses the purchase price |
| 522 | Usufructuary at end of usufruct | The thing under usufruct | Until disbursements due from the bare owner are reimbursed |
| 1600 | Person who executed work on a movable | The worked thing | Until the work is paid |
| 1730 | Mandatary (agent) | Things subject to the mandate | Until the mandant indemnifies and reimburses advances |
| 1780 | Depositary | The deposited thing | Until everything owed for the deposit is paid |
| 1866 | Pledge creditor (acreedor pignoraticio) | The pledged thing | Until all credits owed to the pledge creditor are paid, even those not secured by the pledge |
The common thread is possession combined with a connected debt. Article 453, for example, provides that necessary expenses are owed to any possessor, but only the good faith possessor may retain the thing until those expenses are reimbursed. Article 1780 lets a depositary retain the deposited thing as a pledge until full payment of everything owed for the deposit. Article 1866 grants the pledge creditor the right to retain the pledged thing, and this retention extends to any other credit the pledge creditor is owed, even if that other credit is not itself secured by the pledge.
How does retention differ from a pledge, mortgage or embargo?
The derecho de retencion is the weakest of the four mechanisms a creditor can use to secure a debt against property in Spain. The comparison matters because buyers and owners often confuse them.
| Feature | Derecho de retencion | Prenda (pledge) | Hipoteca (mortgage) | Embargo (attachment) |
|---|---|---|---|---|
| Legal nature | Possessory fact | Real right of security | Real right of security | Procedural measure |
| Requires delivery | Yes | Yes (Art 1866) | No | No |
| Right to sell the thing | No | Yes (Art 1872) | Yes (judicial auction) | Yes (judicial auction) |
| Registrable in Land Registry | No (Art 5 LH) | No (movables only) | Yes (Art 2 LH) | Yes (anotacion preventiva) |
| Origin | Law (7 CC articles) or contract | Agreement | Agreement or law | Court order or administrative act |
The decisive difference is the absence of a realisation right. A pledge creditor under Article 1866 can retain the thing and, under Article 1872, can proceed to sell it if the debtor defaults. A mortgage creditor can petition for judicial auction. An embargo attaches the property for judicial or administrative sale. The retentor can do none of these. The retention is purely a holding mechanism that pressures the debtor to pay by denying access to the thing. If the debtor simply walks away, the retentor must file an ordinary claim.
This is why the anticresis, where a creditor takes the income of a property (Art 1881 CC), is a different and stronger mechanism than retention. The anticretic creditor can apply the fruits of the property against the debt. The retentor cannot.
Can the right of retention be registered in the Land Registry?
No, in general terms. Article 5 of the Ley Hipotecaria states that titles referring to the mere or simple fact of possession are not registrable (Los titulos referentes al mero o simple hecho de poseer no seran inscribibles). Article 2 of the same Law lists the rights that are registrable: ownership transfers, usufruct, use, habitation, enfiteusis, mortgage, censos, servidumbres and other real rights. The derecho de retencion does not appear in that catalogue because doctrine characterises it as a particular possessory situation specially protected by the legal system, not as an autonomous real right.
This has a practical consequence for property buyers. A nota simple (the Land Registry summary) will not show a retention claim. A builder who improved a property, an agent holding documents, or a usufructuary claiming reimbursement can have a live retention right that is invisible to the registry. This is why direct due diligence matters: ask the seller whether any third party holds the property or any related items under a retention claim, and check with property encumbrances for the full picture of registered and unregistered burdens.
What happens to the right of retention in insolvency?
When a debtor is declared in concurso (insolvency), Article 155 of the Texto Refundido de la Ley Concursal (RDLeg 1/2020) suspends the exercise of the right of retention over assets and rights in the masa activa. The retentor must release the thing to the insolvency administration. The purpose is to allow the masa activa to be exploited or sold for the benefit of all creditors, rather than being locked up by individual retentors.
The rule has one important exception. The suspension does not apply to retentions imposed by administrative, tax, labour or social security law. Those retentions continue, giving those creditors a practical advantage over ordinary retentors.
The retentor also gains no preference over other creditors merely by holding the thing. The retention does not convert the underlying credit into a privileged claim. In the hierarchy of credits under the Ley Concursal, the retentor’s claim keeps its original rank. The retention is a guarantee of payment pressure, not of payment priority. This distinguishes it from an embargo, which can attach a preferential position depending on the type of debt.
Can parties create a retention right by contract?
Yes. Article 1255 of the Civil Code gives parties freedom to establish any clause or stipulation they consider convenient, provided it does not contradict law, morality or public order. Because the Code does not regulate retention as a general faculty, parties may agree a contractual retention right under this freedom.
A typical example is a storage contract that says the warehouse may hold the goods until all storage fees are paid, or a building contract that lets the builder retain tools or materials until the invoice is settled. The contractual retention works the same way as the statutory one: the retentor can hold but not sell, and must conserve the thing with due diligence.
One limitation applies to conventional retention. It has no erga omnes effect against third parties unless they had knowledge of it. A statutory retention (arising from the seven Code articles) has stronger protective effect because it is mandated by law, though it still cannot be registered. The practical lesson for a property owner is to document any contractual retention carefully and notify any party who might later claim the thing.
What should a property buyer check about retention rights?
A buyer of Spanish property should check three things related to retention. First, ask the seller whether any third party (a builder, a repairer, an agent, a community of owners) currently holds the property or any related items under a retention claim. The Land Registry will not show this. Second, if the property was under a usufruct that has recently ended, check whether the former usufructuary is claiming reimbursement of disbursements under Article 522, which could block delivery of the property. Third, if the seller is in financial difficulty, verify that no concurso has been declared, because Article 155 of the Ley Concursal would suspend any retention right and complicate the transfer.
The community debt rules are also relevant. A community of owners can retain possession in certain circumstances, and unpaid community fees create a real afectacion on the property under Article 9 of the Ley de Propiedad Horizontal. While that is technically a different mechanism, the practical effect is similar: the community can block the transfer until fees are settled.
The derecho de retencion is a narrow, scattered faculty that most property owners will never encounter directly. But when a dispute over improvements, repairs, agency or storage arises, it is the mechanism that determines who physically controls the thing while the lawyers argue. Knowing that it exists in seven articles, that it never allows sale, and that it is invisible to the registry is the due diligence a buyer needs.
Frequently asked questions
- Can a creditor sell my property under the derecho de retencion?
- No. The retentor can hold the thing until the debt is paid but has no power to sell it. This is the key distinction from a pledge (prenda) or a mortgage (hipoteca), both of which allow realisation of the asset through sale or judicial auction. If the debtor refuses to pay, the retentor must file an ordinary court action to enforce the credit. The retention itself is a coercive holding mechanism, not an enforcement power.
- Is the derecho de retencion registered in the Land Registry?
- Generally no. Article 5 of the Ley Hipotecaria states that titles referring to the mere or simple fact of possession are not registrable. Because the derecho de retencion is a possessory faculty rather than a real right in the catalogue of Article 2, it does not appear on a nota simple. A buyer can inherit a hidden retention risk if a builder, agent or usufructuary holds an unregistered claim, which is why direct due diligence with the seller and any party in possession matters.
- What happens to a retention right if the debtor declares insolvency?
- Article 155 of the Texto Refundido de la Ley Concursal suspends the exercise of the right of retention over assets and rights in the masa activa once the concurso is declared. The retentor must release the thing to the insolvency administration. The suspension does not apply to retentions imposed by administrative, tax, labour or social security law, which continue. The retentor also gains no priority over other creditors merely by holding the thing.
- Can parties create a retention right by contract?
- Yes. Article 1255 of the Civil Code allows parties to establish any clause or stipulation they consider convenient, provided it does not contradict law, morality or public order. Because the Civil Code does not regulate retention as a general faculty, parties may agree a contractual retention right under this freedom. Such a conventional retention has no erga omnes effect against third parties unless they had knowledge of it, and it remains subject to the no-sale limitation.
- Which Civil Code articles actually grant the derecho de retencion?
- The faculty appears in at least seven scattered articles: Article 453 (good faith possessor claiming necessary and useful expenses), Article 464 (good faith acquirer in public sale of a lost or stolen movable), Article 522 (usufructuary claiming reimbursement of disbursements), Article 1600 (person who executed work on a movable), Article 1730 (mandatary holding mandate objects), Article 1780 (depositary holding the deposited thing) and Article 1866 (pledge creditor holding the pledged thing).