Civil law & contracts

Vices of Consent in Spanish Law: Error, Fraud and Duress

By the AbogadoAI editorial team · Updated 18 July 2026 · 12 min read

🇪🇸 Read the original in Spanish

When we sign a contract, buy a property, or accept an inheritance in Spain, we start from the premise that we are doing so freely and with a full understanding of what we are signing. However, what happens if we discover we have been deceived, that we made a serious mistake in our understanding, or that we were pressured under threat? The Spanish legal system protects the purity of contractual intent through the legal concept of vices of consent (vicios del consentimiento), a legal mechanism that allows contracts born "contaminated" to be annulled and restores the financial balance of those affected.

In Spanish civil law, consent is the cardinal element of any agreement. *Article 1261 of the Código Civil (Civil Code)* establishes that there is no contract unless three requirements are met: the consent of the contracting parties, a certain object, and the cause of the obligation. If consent is flawed or "viced", the contract is vulnerable.

*Article 1265 of the Código Civil** is categorical in this regard: “Consent given by error, violence, intimidation, or fraud shall be void.” The legal consequence of proving one of these vices is not automatic absolute nullity, but rather voidability (anulabilidad*, or relative nullity). This means that the contract produces temporary legal effects, but the injured party has the right to go to court to request its annulment. If successful, this will force the parties to reciprocally return the benefits and assets exchanged, as if the contract had never existed.

The Three Major Vices: Error, Fraud, and Duress (Violence and Intimidation)

To successfully challenge a contract, it is essential to understand the specific requirements that the jurisprudence of the Spanish Tribunal Supremo (Supreme Court) demands for each of these vices.

Error (Error): The False Representation of Reality

An error consists of a mistaken knowledge or a false assumption that induces a person to make a declaration of intent that they would not have made had they known the reality. Not just any mistake is valid to annul a contract. According to *Article 1266 of the Código Civil***, two strict requirements must be met:

  1. Essentiality (Esencialidad): The error must fall upon the substance of the thing that is the object of the contract, or upon those conditions of it which principally motivated its celebration.
  2. Inexcusability (Inexcusabilidad): Although not expressly mentioned in the Civil Code, jurisprudence requires that the error be inexcusable. This means it must not be attributable to the negligence of the person suffering it; if the contracting party could have avoided the error by employing average diligence (according to their background and circumstances), the courts will not annul the contract.

> Key difference: An error regarding the person will only invalidate the contract when the consideration of that specific person was the principal cause of the contract (for example, hiring a specific renowned painter and it turns out to be someone else). A simple error of account or calculation will only lead to its correction.

Fraud (Dolo): Malicious and Conscious Deception

Dolo equates to contractual fraud or intentional deception. *Article 1269 of the Código Civil** defines it very descriptively: “There is fraud when, with insidious words or machinations on the part of one of the contracting parties, the other is induced to enter into a contract which, without them, they would not have made.”*

For fraud to result in the nullity of contracts, *Article 1270 of the Código Civil*** requires it to be:

Violence and Intimidation (Violencia e Intimidación): Physical and Moral Coercion

Although the Civil Code groups them together, legal doctrine clearly distinguishes between irresistible physical force and fear instilled through threats.

Concrete Examples with Real Figures

Example 1: Essential error in the purchase of land

Carlos buys a rustic plot of land in the Valencian Community for €85,000 with the express intention, communicated to the seller, of building a single-family home. The seller, knowing that the municipal planning regulations strictly forbid building in that area because it is a specially protected agricultural zone, remains silent.

After signing the public deed and paying the €85,000, Carlos applies for a building permit and it is denied. In this case, there is an essential and inexcusable error (and even fraud by omission on the part of the seller). Carlos can file a lawsuit for voidability to recover his €85,000 plus the corresponding legal interest, returning ownership of the barren land.

Example 2: Severe fraud in the transfer of a business lease

Sofía is interested in acquiring an operating café in Madrid. The current owner assures her that the business generates a monthly net turnover of €4,500 and, to prove it, shows her falsified accounting books and invoices. Relying on these figures, Sofía signs the traspaso (business lease transfer) contract for a price of €60,000.

After three months of running the premises, Sofía verifies that the actual turnover barely reaches €1,200 per month and that the documentation provided was maliciously manipulated. Since there is severe fraud (insidious machinations without which Sofía would never have paid that amount for the transfer), Sofía can sue to annul the contract, demand the return of the €60,000, and claim compensation for the damages suffered during those months of activity.

If you have been the victim of a vice of consent, the path to restoring your rights is to file a civil lawsuit for voidability. According to the _Ley de Enjuiciamiento Civil_ (Civil Procedure Act - Law 1/2000), the process is structured as follows:

  1. Gathering and securing evidence: Before starting any action, you must gather emails, WhatsApp messages, preparatory contracts (arras or deposit agreements), expert reports, valuations, or testimonies that prove the deception, error, or coercion.
  2. Prior extrajudicial claim: Although not mandatory, it is highly recommended to send a burofax (a secure, certified registered letter) with acknowledgment of receipt and certification of content to the other party. In it, you should outline the detected vice and request an amicable resolution of the contract within a specific timeframe (usually 15 days). This demonstrates procedural good faith.
  3. Drafting and filing the lawsuit: If the amicable route fails, a lawsuit for an ordinary trial (juicio ordinario) must be filed. Given the complexity of the matter, it is usually channeled through this route if the amount in dispute exceeds €15,000 or if it is of an indeterminate value. The lawsuit must be signed by an Abogado (lawyer) and represented by a Procurador (court procurator).
  4. Statement of defence: The defendant will have a period of 20 business days to reply and oppose your claims.
  5. Preliminary hearing (Audiencia previa): A key court date regulated by the Civil Procedure Act where the parties attempt to reach an agreement, procedural issues are resolved, and the evidence (experts, witnesses, interrogations) to be presented at trial is proposed.
  6. The Trial (Juicio): Presentation of the admitted evidence and oral closing arguments by the lawyers.
  7. Ruling and enforcement: The judge will hand down a judgment (sentencia) granting or denying the nullity. If granted, the court will order the reciprocal restitution of the benefits (return of the money and the property), plus any accrued interest.

Key Deadlines and Figures You Must Know

Time is the number one enemy of anyone who suffers a vice in their consent. The law does not allow you to claim indefinitely.

Mistakes You Must Avoid

Frequently Asked Questions (FAQ)

Can a contract be annulled if I signed it under severe depression or medical treatment?

Yes, but technically this would be a lack of natural capacity to consent rather than a classic vice of consent. If it is proven through expert medical reports that, at the exact moment of signing, the person lacked the cognitive and volitional faculties necessary to understand the scope of the act, consent is considered non-existent, making the contract fully voidable.

What happens if the deception (fraud) comes from a third party and not the other party to the contract?

For fraud to annul a contract, it must come from one of the contracting parties. If a third party unrelated to the contract deceived you (for example, an independent financial advisor who recommended you buy shares in a specific company), you will not be able to annul the contract with the company issuing the shares, but you can file an extra-contractual civil liability action against that third party to demand compensation for the damages caused.

Is it possible to waive the right to annul a contract due to vices of consent?

Yes, the Civil Code allows the confirmation of voidable contracts (purifying them of the vices they suffered from their origin) provided that the vice has ceased and the person confirming the contract is aware of it. This confirmation can be express (via a document) or tacit (by performing acts that necessarily imply the will to waive the right to challenge it).

Can I request the partial nullity of a contract if the deception only affects one clause?

Yes. The principle of contract preservation allows, in certain cases, for only the clause affected by the vice to be declared null (for example, an abusive interest rate clause or a misleading specific condition), maintaining the validity of the rest of the contract if it can survive independently and fairly for both parties.

Summary

General legal information, not personalised legal advice. For your specific situation, ask your question for free at AbogadoAI — answers grounded in Spanish law (BOE), in English.

Have a specific legal question?

Ask AbogadoAI and get an answer based on Spanish law (BOE), with sources — in English.

Ask for free

This is general information, not legal advice. Verify on the BOE or consult a lawyer for your specific case.