The Assignment of Credits (Cesion de Creditos) in Spain in 2026: CC Articles 1526 to 1536 and How Property-Related Credits Transfer
The cesion de creditos under CC Articles 1526 to 1536 governs credit transfers in Spain, from mortgage subrogation to the retracto de creditos litigiosos.
The cesion de creditos is the Spanish legal mechanism for transferring a credit, right or action from one party to another. Articles 1526 to 1536 of the Codigo Civil govern this transfer, setting the rules for when it binds third parties, what the assignor warrants, how the debtor is protected, and the special right of the debtor to recover a litigious credit. For property owners, credit assignment matters in mortgage subrogation, where a lender assigns the mortgage credit to a new bank, and in the sale of property subject to encumbrances, where secured credits follow the asset.
What is the cesion de creditos under Spanish law?
The cesion de creditos is the transfer of a credit, right or action from the cedent (the assignor) to the cessionary (the assignee). Under Article 1526 of the Codigo Civil, the cession does not take effect against third parties until its date can be considered certain under Articles 1218 and 1227 of the Code. Article 1218 makes the date of a public instrument certain against third parties from the day of its execution, and Article 1227 extends this to private documents whose date is verified by a notary or other legally recognised means. When the cession relates to real estate, Article 1526 provides that it takes effect from the date of its inscription in the Land Registry. This two-track system, documentary certainty for movable credits and registry inscription for real estate credits, determines priority among competing assignees.
How does Article 1527 protect the debtor?
Article 1527 of the Codigo Civil protects a debtor who, before having knowledge of the cession, pays the original creditor. The payment discharges the obligation, and the debtor is free of the debt even though the credit has already been assigned. This rule places the risk of double payment on the assignee, who must ensure the debtor is notified to prevent payment to the original creditor. After the debtor learns of the cession, payment must be directed to the assignee. The debtor’s existing defences against the original creditor, such as set-off or procedural objections, can also be raised against the assignee, because the assignee steps into the shoes of the assignor and acquires no greater rights than the assignor had.
What does the cession include under Article 1528?
Article 1528 of the Codigo Civil provides that the sale or cession of a credit includes all accessory rights attached to it, such as the fianza (guarantee), hipoteca (mortgage), prenda (pledge) or privilegio (privilege). This means that when a mortgage credit is assigned, the mortgage security transfers automatically with it. The assignee does not need a separate agreement to acquire the accessory rights, because they follow the principal credit by operation of law. This is the mechanism that underpins mortgage subrogation in Spain: when a new lender takes over a mortgage under the subrogacion procedure, the mortgage lien on the property transfers to the new lender without requiring a new mortgage deed.
What warranties does the assignor give under Article 1529?
Article 1529 of the Codigo Civil distinguishes between good-faith and bad-faith assignors. A good-faith assignor warrants the existence and legitimacy of the credit at the time of the sale, unless the credit was sold as doubtful. The good-faith assignor does not warrant the solvency of the debtor, unless solvency was explicitly stipulated or the insolvency was prior and public. Even in those cases, liability is capped at the price received plus the costs listed in Article 1518. A bad-faith assignor, by contrast, is liable for the payment of all costs and for damages and prejudice suffered by the assignee. The distinction matters because a buyer of a credit who discovers the debtor is insolvent cannot recover from a good-faith assignor unless the insolvency was known and public at the time of the cession.
How long does the solvency warranty last under Article 1530?
Article 1530 of the Codigo Civil sets the duration of the solvency warranty when the assignor has agreed to warrant the debtor’s solvency but the parties have not stipulated a timeframe. If the credit was already due at the time of the cession, the warranty lasts one year from the date of the cession. If the credit is payable at a future date, the warranty lasts one year from the maturity date. For a perpetual rent, the warranty lasts ten years from the date of the cession. These default periods protect the assignor from indefinite liability while giving the assignee a reasonable window to test the debtor’s solvency.
What are Articles 1531 to 1534 about?
Articles 1531 to 1534 of the Codigo Civil address the sale of inheritances and bulk rights, a related but distinct topic from the assignment of individual credits. Article 1531 provides that a person who sells an inheritance without enumerating its components is only obliged to warrant their status as heir. Article 1532 covers the bulk sale of rights, rents or products, where the seller warrants the legitimacy of the whole but not the validity of each component, except in cases of eviction of the whole or the major part. Article 1533 requires a seller who has consumed fruits or received anything from the sold inheritance to reimburse the buyer, unless agreed otherwise. Article 1534 obliges the buyer to reimburse the seller for debts and charges paid and credits held against the inheritance. These articles are relevant where a property forms part of an inherited estate that is sold as a whole.
What is the retracto de creditos litigiosos under Article 1535?
Article 1535 of the Codigo Civil gives a debtor the right to extinguish a litigious credit that has been assigned to a third party. The debtor reimburses the assignee the price paid, the costs incurred and the interest on the price from the date of payment. A credit is considered litigious from the moment the debtor contests the demanda, the claim filed in court relating to that credit. The debtor may exercise this right within nine days, counted from the date the assignee demands payment. This is the same nine-day deadline that applies to the civil retracto legal under Article 1524, and the mechanism is structurally similar: the debtor steps into the assignee’s position by reimbursing the acquisition cost. The retracto de creditos litigiosos is the debtor’s shield against speculators who buy disputed debts at a discount to pursue enforcement.
What exceptions does Article 1536 carve out?
Article 1536 of the Codigo Civil exempts three categories of cession from the retracto de creditos litigiosos. First, cessions made to a co-heir or co-owner of the assigned right. Second, cessions made to a creditor in payment of their own credit, meaning a dation in payment rather than a speculative purchase. Third, cessions made to the possessor of a property subject to the litigious right being ceded. These exceptions prevent the retracto from disrupting legitimate internal settlements among co-owners, debt-for-credit swaps and transactions by parties with a direct property interest. The exceptions reflect the principle that the retracto targets speculative third-party acquisitions, not arrangements between parties with a pre-existing relationship to the credit or the property.
How does credit assignment apply to mortgage subrogation?
Mortgage subrogation in Spain is a practical application of the cesion de creditos framework. Under the subrogacion acreedora procedure governed by Ley 2/1994, the original lender assigns the mortgage credit to a new lender. The accessory mortgage lien transfers automatically under Article 1528, so the new lender steps into the secured position without a new mortgage deed. Ley 5/2019 governs the cost allocation and fee caps for this transfer, including the 15-day matching window in which the original bank can match the new lender’s offer. The disposition adicional cuarta of Ley 5/2019 requires the original lender to preserve precontractual documentation and provide it to the assignee on request, ensuring the assignee has the full loan file. The disposition adicional sexta extends the Ley 5/2019 protections to subrogation of the debtor, where a buyer of a mortgaged property assumes the seller’s loan, and to novation, where terms are modified with the same lender.
How does credit assignment interact with property encumbrances?
When a property is sold subject to a mortgage or other secured credit, the credit follows the property. The cession of the mortgage credit to a new lender does not require the property owner’s consent, because the owner is the debtor, not a party to the cession. The owner’s obligation to pay remains unchanged, but the payment destination shifts to the assignee once the owner is notified under Article 1527. For buyers, this means that property encumbrances recorded in the Land Registry, including mortgages and other liens, remain attached to the property regardless of who holds the underlying credit. A buyer should always verify the encumbrance status through a notarial escrow arrangement and confirm that any credit assignment has been properly registered.
Can a community of owners assign delinquent fee credits?
A community of owners in Spain may assign delinquent fee credits to a recovery agent or debt collector, and this falls within the cesion de creditos framework. The community, as the original creditor, assigns the right to collect unpaid community fees to a third party. The debtor-owner retains the protections of Article 1527, meaning that if the owner pays the community before learning of the assignment, the obligation is discharged. The community’s debt enforcement procedure under LPH Article 21 can proceed alongside or after the assignment, but the assignee acquires no greater rights than the community held. Any defences the owner has against the community, such as procedural defects in the debt claim, can be raised against the assignee.
What should a property owner know about credit assignment?
A property owner whose mortgage is assigned to a new lender should verify that the assignment has been registered in the Land Registry, because Article 1526 requires registry inscription for the cession to take effect against third parties for real estate credits. The owner should confirm that the new lender’s details match the registry entry and that the mortgage terms have not changed without a novation agreement. For owners facing a litigious credit that has been assigned, the nine-day retracto window under Article 1535 is a non-extendable caducidad period, so acting quickly is essential. For owners selling property subject to a mortgage, the buyer’s mortgage assumption is itself a form of credit subrogation that requires the lender’s approval under Ley 5/2019. A lawyer should verify the specific credit assignment exposure before any property transaction involving assigned or encumbered credits.
Frequently asked questions
- What is the cesion de creditos under Spanish law?
- The cesion de creditos is the transfer of a credit, right or action from the cedent (assignor) to the cessionary (assignee). Under CC Article 1526, it takes effect against third parties when the date of the cession is certain under Articles 1218 and 1227, or from the date of registry inscription when the credit relates to real estate. The cession includes all accessory rights under Article 1528.
- Does the debtor need to be notified of a credit assignment in Spain?
- Notification is not required for the cession to be valid between the parties, but Article 1527 protects a debtor who pays the original creditor before learning of the assignment. Such payment discharges the obligation. Once the debtor has knowledge of the cession, payment must be made to the assignee. The debtor's existing defences against the original creditor can be raised against the assignee.
- What is the retracto de creditos litigiosos and how long does the debtor have?
- Article 1535 of the Codigo Civil gives a debtor the right to extinguish a litigious credit that has been assigned, by reimbursing the assignee the price paid, costs incurred and interest from the payment date. A credit is litigious from the moment the debtor contests the demanda. The debtor has nine days from the assignee's demand for payment to exercise this right.
- Does the assignor warrant the debtor's solvency?
- Under Article 1529, a good-faith assignor warrants the existence and legitimacy of the credit at the time of the sale but does not warrant the debtor's solvency unless this was explicitly agreed or the insolvency was prior and public. A bad-faith assignor is liable for all costs and damages. Under Article 1530, if the solvency warranty is given without a stated duration, it lasts one year.
- How does credit assignment relate to mortgage subrogation in Spain?
- Mortgage subrogation under the subrogacion acreedora procedure in Ley 2/1994 is a specific form of credit assignment. The original lender assigns the mortgage credit to a new lender. The Ley 5/2019 framework governs the cost allocation and fee caps for this transfer, including the 15-day matching window and the requirement that the original lender preserve precontractual documentation for the assignee.
Sources and data
- Codigo Civil, texto consolidado (Arts. 1526-1536, cesion de creditos) — BOE - Agencia Estatal Boletin Oficial del Estado
- Ley 5/2019, de 15 de marzo, reguladora de los contratos de credito inmobiliario, texto consolidado (DA cuarta, sexta) — BOE - Agencia Estatal Boletin Oficial del Estado
- Ley 2/1994, de 30 de marzo, sobre subrogacion y modificacion de prestamos hipotecarios — BOE - Agencia Estatal Boletin Oficial del Estado