Contract Nullity and Annulability for Spanish Property in 2026: CC Articles 1261 to 1300, the Four Ineficacia Categories and When a Purchase Can Be Undone
Spanish contract nullity under CC Articles 1261 to 1300: the four ineficacia categories, vices of consent, four-year deadline and when a purchase can be undone.
Spanish property law treats a contract as effective only when it meets the three essential requirements in Article 1261 of the Codigo Civil: consent of the parties, a certain object, and a lawful cause. When one of those is missing, or when the consent itself is vitiated by error, dolo, intimidation or incapacity, the contract falls into one of four ineficacia categories that determine whether it can be unwound, ratified or rescinded. For a property buyer, understanding the difference between absolute nullity, annulability, rescission and resolution is what separates a purchase you can challenge from one you are stuck with.
What are the four categories of contract ineficacia in Spanish law?
The Codigo Civil structures the failure of contracts across four distinct categories, each with its own causes, effects and deadlines. They are not interchangeable, and confusing them is the most common mistake foreign buyers make when assessing whether a purchase can be undone.
Nulidad absoluta applies when an essential element under Article 1261 is missing entirely: no consent, no object, or an illicit or absent cause under Articles 1275 to 1277. The contract is void from the moment it was made (ab initio), produces no legal effects, and cannot be ratified or confirmed by any subsequent act. Anyone with a legitimate interest can invoke it, and there is no statutory prescription period for absolute nullity.
Anulabilidad (voidability) applies under Article 1300 to contracts that meet the Article 1261 requirements but suffer from a vice of consent (error, violence, intimidation, dolo under Article 1265) or incapacity (Article 1263). The contract is valid and produces effects until challenged, but the injured party can seek annulment within the four-year period in Article 1301. Critically, a voidable contract can be confirmed under Articles 1309 to 1313, purging the vice and making the contract irreversible.
Rescision and resolution distinguished
Rescision (Articles 1290 to 1299) applies to contracts that are validly celebrated but cause harm to a protected party: a ward whose tutor contracted without judicial authorisation (Article 1291.1), an absent person’s representative acting to their detriment (Article 1291.2), or a debtor contracting in fraud of creditors (Article 1291.3). The contract remains valid until a rescission action succeeds, and the action also lasts four years (Article 1299).
Resolucion under Article 1124 applies to contracts that are fully valid but where one party has breached. The non-breaching party can resolve the contract, unwinding it prospectively rather than retroactively. This is the mechanism behind the condicion resolutoria in property contracts.
| Category | Governing articles | Effect | Confirmable | Deadline |
|---|---|---|---|---|
| Nulidad absoluta | Arts 1261, 1275-1277 | Void ab initio, no effects | No | No prescription |
| Anulabilidad | Arts 1263, 1265, 1300 | Valid until challenged | Yes (Arts 1309-1313) | 4 years (Art 1301) |
| Rescision | Arts 1290-1299 | Valid, rescindable | No | 4 years (Art 1299) |
| Resolucion | Art 1124 | Valid, resolved for breach | N/A | Per contract terms |
What vices of consent void a property contract under Article 1265?
Article 1265 of the Codigo Civil declares that consent given under error, violence, intimidation or dolo is null. These four vices are the core of annulability for property contracts, and each has a specific legal definition that determines whether a buyer can unwind a purchase.
Error (Article 1266) invalidates consent only when it concerns the substance of the thing that is the object of the contract, or the conditions that principally motivated the contract. Error about the person only invalidates when the identity of that person was the main reason for the contract. A simple error of account only gives rise to correction, not annulment. For a property buyer, this means that error about planning status (a buyer thinking a property had a first-occupation licence when it did not), undisclosed encumbrances, or the habitable status of an illegal build can ground an annulment action if those conditions were the principal motivation for the purchase.
Violence, intimidation and dolo
Violencia (Article 1267) requires irresistible force. Intimidacion requires a rational and founded fear of suffering an imminent and serious evil to one’s person, property, spouse, descendants or ascendants. The fear of displeasing persons to whom submission and respect are owed does not annul the contract. Article 1268 extends the rule: violence or intimidation annul the obligation even when employed by a third party who did not participate in the contract.
Dolo (Article 1269) exists when insidious words or machinations by one contracting party induce the other to celebrate a contract they would not otherwise have made. Article 1270 requires the dolo to be grave and not employed by both parties. Incidental dolo only obliges the party who employed it to indemnify damages, without annulling the contract itself. A developer’s misrepresentation about the legal status of a property, or an agent’s concealment of a known planning violation, can constitute grave dolo if it was decisive in the buyer’s decision to purchase.
The practical significance of Article 1300 is that a contract can be annulled for these vices even when there is no financial loss (lesion) to the contracting parties. The vice itself is sufficient. This is a key distinction from rescission, which under Article 1293 requires lesion exceeding one quarter of the value for tutor or absent-person contracts.
When is a property contract absolutely null rather than voidable?
Absolute nullity arises from the absence of an essential element, not from a defect in an element that is present. The distinction matters because absolute nullity cannot be cured.
A contract lacking consent entirely is null. Article 1263 lists those who cannot give consent: unemancipated minors and those judicially incapacitated. A contract signed by a person lacking legal capacity does not produce consent at all, making the contract null rather than voidable. Article 1259 adds that a contract celebrated in the name of another without authorisation is null unless ratified before revocation.
A contract lacking a certain object is null. Article 1271 requires the object to be a thing not outside commerce, and Article 1273 requires it to be determined in species. A contract to sell a property that does not exist, or that is indeterminate in a way that cannot be resolved without a new agreement, is null.
A contract with an illicit or absent cause is null. Article 1275 declares that contracts without cause or with an illicit cause produce no effect. Article 1276 adds that a false cause gives rise to nullity unless it is proved the contract was founded on another true and lawful cause. A simulated sale, where the declared cause does not correspond to the real intention of the parties, falls here.
The practical test for a property buyer: if the vice is in the quality of consent (it was given but was distorted by error, dolo or intimidation), the contract is voidable. If the vice is in the existence of consent, object or cause, the contract is absolutely null.
How long does the action of nullity last under Article 1301?
Article 1301 fixes the action of nullity at four years, and specifies different start dates depending on the vice that grounds the claim. This is a caducidad period, meaning it is non-extendable and cannot be interrupted in the way a prescripcion period can.
The four-year clock starts:
- For intimidation or violence, from the day these cease.
- For error, dolo or falsity of the cause, from the completion (consumacion) of the contract.
- For contracts celebrated by minors or incapacitated persons, from when they leave guardianship (tutela).
- For acts or contracts by one spouse without the other’s necessary consent, from the dissolution of the marital society or marriage, unless the other spouse had sufficient prior knowledge of the act.
Article 1299 sets the same four-year deadline for rescission actions, with the same start-date extensions for persons under tutela and absent persons. The distinction from the nullity deadline is that rescission is subsidiary under Article 1294: it can only be exercised when the injured party has no other legal remedy to obtain reparation.
For a non-resident property buyer, the four-year deadline running from contract completion is the critical one. A buyer who discovers an error or dolo three years after signing a purchase deed still has one year to act. A buyer who discovers it after five years has lost the annulment action and must rely on other remedies, such as the building defects liability framework for construction defects, or the gazumping and conditional clauses mechanisms for contract-level protection.
Can a voidable property contract be confirmed under Articles 1309 to 1313?
Yes. Spanish law allows the holder of an annulment action to waive it by confirming the contract, either expressly or tacitly. This is a key difference from absolute nullity, which cannot be cured.
Article 1309 extinguishes the nullity action the moment the contract is validly confirmed. Article 1310 restricts confirmation to contracts that meet the Article 1261 requirements: only a voidable contract can be confirmed, not an absolutely null one. Article 1311 allows express or tacit confirmation, with tacit confirmation understood when the holder, knowing the cause of nullity and with the cause having ceased, performs an act that necessarily implies the will to waive the action. Article 1312 states that confirmation does not require the concurrence of the contracting party who did not have the right to exercise the nullity action. Article 1313 provides that confirmation purifies the contract of its vices from the moment of celebration.
The practical risk for a property buyer: performing acts consistent with ownership after discovering a potential vice (renovating the property, letting it, paying community fees, registering utilities) can constitute tacit confirmation under Article 1311, extinguishing the right to annul. A buyer who suspects error or dolo should seek legal advice before any act that a court could read as acceptance.
What restitution applies when a contract is declared null?
Article 1303 establishes the general rule: when nullity is declared, the contracting parties must mutually restitute the things that were the object of the contract, with their fruits, and the price with interest. This is retroactive restitution, returning the parties to the position they were in before the contract.
Article 1304 modifies this for incapacity-based nullity: an incapacitated party is only obliged to return what they were enriched by, not the full value received. This protects vulnerable parties from having to return what they no longer possess.
Article 1305 addresses illicit cause or object: if the act constitutes a crime or misdemeanour common to both parties, neither has any action against the other, and the things or price are dealt with as instruments of the offence. If only one party is culpable, the non-culpable party can reclaim what they gave without being obliged to fulfil what they promised.
Article 1307 covers the case where the thing cannot be returned because it was lost: the obligor must return the fruits perceived and the value the thing had when it was lost, with interest from that date. Article 1308 creates a condition precedent: one party cannot be compelled to perform its obligation while the other has not returned what it owes.
For a property buyer who successfully annuls a purchase, this means the seller must return the purchase price with interest, and the buyer must return the property with any fruits (such as rental income if the property was let). If the property has been lost or destroyed, the buyer’s restitution obligation is measured at the value at the time of loss, not the current market value.
How does rescission differ from nullity for property contracts?
Rescision under Articles 1290 to 1299 applies to contracts that are validly celebrated but cause harm to a protected party. The contract is not void; it remains effective until a rescission action succeeds. The protected categories in Article 1291 are narrow:
- Contracts by tutors without judicial authorisation, where the ward suffered lesion exceeding one quarter of the value (Article 1291.1).
- Contracts by representatives of absent persons causing the same degree of lesion (Article 1291.2).
- Contracts in fraud of creditors, when creditors cannot otherwise collect what they are owed (Article 1291.3).
- Contracts involving litigious things, celebrated by the defendant without knowledge and approval of the litigants or the competent judicial authority (Article 1291.4).
- Any other case where the law specifically determines it (Article 1291.5).
Article 1293 bars rescission for lesion outside the tutor and absent-person cases in Article 1291.1 and 1291.2. This means a property buyer who simply overpaid, without any of the protected circumstances, cannot rescind the contract for lesion alone. Article 1294 makes the action subsidiary: it can only be exercised when the injured party has no other legal remedy. Article 1295 requires mutual restitution of the things and price, with the same condition as nullity that the claimant can return what they received.
The practical distinction: nullity attacks the validity of the contract (it was never properly formed). Rescision attacks a valid contract because it harms a protected interest. A buyer who was misled by dolo into overpaying should pursue annulment, not rescission, because the contract is voidable for a vice of consent, not rescindable for lesion.
What does resolution under Article 1124 do differently?
Resolution under Article 1124 is the mechanism for unwinding a valid contract when one party breaches. Unlike nullity (retroactive, the contract never existed) and rescission (retroactive, the valid contract is undone), resolution operates from the point of breach forward, though it also involves restitution of what was received.
Article 1124 gives the obligee the faculty to resolve obligations when the obligor fails to comply. The resolution operates de pleno derecho (by operation of law) when the obligor fails to deliver the thing or price in the agreed time. The resolved party can claim restitution with fruits and the price with interest, and the court may grant the contracting parties a reciprocal period to fulfil their obligations.
For property contracts, resolution is the condicion resolutoria mechanism: a clause in the purchase contract that triggers resolution if the buyer fails to pay or the seller fails to deliver. It is also the mechanism behind the arras reservation contract penalty structure, where the arras deposit is forfeited or doubled on breach.
The key distinction from nullity: resolution assumes the contract was valid and effective. It unwinds it because of a subsequent failure, not because of an original defect. A buyer who discovers a latent defect years after purchase should consider whether the property purchase contract contained a resolutory clause, whether the due diligence checklist should have caught the issue, and whether the common mistakes that foreign buyers make contributed to the failure to detect it.
How do these rules apply to a non-resident buyer who discovers a defect?
A foreign buyer who discovers that a Spanish property has an undisclosed encumbrance, a planning violation, or a misrepresented condition should first determine which ineficacia category applies, because the remedy and deadline depend on it.
If the buyer was induced to purchase by the seller’s or agent’s misrepresentation about a material condition (error or dolo), the contract is voidable under Article 1265 and the four-year deadline runs from completion under Article 1301. The buyer must act before the deadline, avoid any act that could constitute tacit confirmation under Article 1311, and be prepared for mutual restitution under Article 1303.
If the property was sold by a person lacking capacity, the contract may be absolutely null under Article 1263, with no prescription period but also limited restitution for the incapacitated party under Article 1304.
If the contract involved a simulated cause or illicit object, it is absolutely null under Article 1275, and restitution follows the special rules in Articles 1305 and 1306 depending on whether the illicit act was a criminal offence common to both parties.
If the buyer simply overpaid without any vice of consent, the contract stands. The remedy is not ineficacia but the building defects liability framework for construction issues, or negotiation with the seller. The escritura publica process at the notary is the point where most defects should be caught through due diligence, before the contract is perfected and the four-year clock starts.
Frequently asked questions
- What makes a property contract null in Spain?
- A property contract is null ab initio under Article 1261 when it lacks one of the three essential elements: consent, a certain object or a lawful cause. A contract to sell a non-existent property, or one with an illicit cause such as a simulated sale to defraud creditors, is null from the outset. Nullity is absolute: anyone with a legitimate interest can invoke it, and the contract cannot be ratified.
- What is the difference between nullity and annulability in Spanish law?
- Nullity (nulidad absoluta) means the contract never existed legally and cannot be confirmed. Annulability (anulabilidad) means the contract is valid until challenged, produces effects while unchallenged, and can be expressly or tacitly confirmed under Articles 1309 to 1313. A contract vitiated by error, dolo, intimidation or incapacity is voidable; a contract missing an essential element under Article 1261 is void.
- How long do you have to challenge a contract for nullity in Spain?
- Article 1301 of the Codigo Civil sets a four-year caducidad period for the action of nullity. The start date depends on the vice: from when intimidation or violence ceases, from contract completion for error, dolo or false cause, from the end of guardianship for incapacity, or from dissolution of the marriage for acts needing spousal consent. After four years the right is lost.
- Can a voidable Spanish property contract be confirmed?
- Yes. Articles 1309 to 1313 allow confirmation of voidable contracts, express or tacit, once the vice has ceased and the holder has knowledge of it. Only contracts meeting the Article 1261 requirements are confirmable. An absolutely null contract, lacking consent, object or cause, cannot be ratified by any subsequent act.
- What happens to money and property when a contract is declared null?
- Article 1303 requires mutual restitution: each party returns what it received under the contract, with fruits and interest. If the thing was lost, Article 1307 obliges return of its value at the time of loss plus fruits and interest. An incapacitated party under Article 1304 only returns what it was enriched by. Restitution is a precondition: Article 1308 bars compelling one party to perform while the other has not returned.
Sources and data
- Codigo Civil, texto consolidado (Arts. 1124, 1254-1314, ineficacia de los contratos) — BOE - Agencia Estatal Boletin Oficial del Estado
- Civil Code (approved by Royal Decree of July 24, 1889, amended up to Law 4/2017) — WIPO Lex