Being sued for breach of contract does not mean you owe what the complaint says — or anything at all. California law recognizes a substantial catalog of defenses, from attacks on the contract's formation to excuses for nonperformance to strict filing deadlines that can end a case regardless of the merits. But many affirmative defenses can be forfeited if not timely raised, so the time to identify them is at the start, not mid-case. Here are the defenses California courts see most, and how they actually work.
Start with the plaintiff's own case
A breach of contract plaintiff must prove four elements: a contract, the plaintiff's own performance (or a valid excuse for nonperformance), the defendant's breach, and resulting damages. Every element is a potential defense. Was there actually a contract — offer, acceptance, and consideration — or just negotiations and an unsigned draft? Did the plaintiff perform its own obligations? A plaintiff who materially breached first generally cannot recover for your later nonperformance; in contracts with dependent obligations, their material breach excuses your performance. And did the claimed breach cause any loss? Damages that are speculative or unproven fail under Civil Code § 3301's certainty requirement. Holding the plaintiff to its proof is not a technicality — it is the baseline defense in every case.
The statute of limitations: the calendar defense
California gives plaintiffs four years to sue on a written contract (Code of Civil Procedure § 337) and two years on an oral one (§ 339), generally running from the breach. Sale-of-goods claims carry their own four-year period under Commercial Code § 2725. The clock can be extended — by written acknowledgment or part payment in some circumstances, by tolling agreements, or where delayed discovery applies — but when the deadline has genuinely passed, the defense is complete: the claim fails no matter how strong it otherwise was. Always run the dates first.
Attacks on the contract itself
Some defenses assert that the contract never validly bound you:
- Statute of frauds. Certain contracts — those that cannot be performed within a year, real property interests, and promises to answer for another's debt, among others — must be in writing under Civil Code § 1624. Sales of goods for $500 or more generally must be in writing under Commercial Code § 2201. An oral deal in these categories may be unenforceable.
- Fraud or misrepresentation. A contract induced by material false statements may be rescinded.
- Mistake, duress, and undue influence. Consent obtained through a material mutual mistake or genuine coercion is not free consent, and the contract may be voidable.
- Lack of authority or capacity. A signer without authority to bind the entity, or without legal capacity, can defeat formation.
- Unconscionability and illegality. Courts may refuse to enforce terms that are both procedurally and substantively unconscionable, and contracts with an unlawful object are void.
Excuses for nonperformance
Other defenses concede the contract but excuse the failure to perform. Civil Code § 1511 codifies several: performance is excused when prevented or delayed by operation of law, or by an irresistible superhuman cause — the statutory ancestor of modern force majeure analysis — or by the act of the other party itself. Related doctrines include:
- Impossibility and impracticability. Performance is excused where an unforeseen event destroys the subject matter or makes performance objectively impossible or achievable only at excessive, unreasonable cost. A deal that merely became unprofitable does not qualify.
- Frustration of purpose. Performance remains possible, but an unforeseen event has destroyed the basic purpose both parties understood the contract to serve.
- Failure of consideration. The promised exchange failed — you did not receive the substance of what you bargained for, so your own obligation is discharged in whole or in part.
- Prevention and noncooperation. A plaintiff who blocked your performance, or failed to satisfy a condition precedent, cannot then sue over the nonperformance it caused.
Conduct-based and equitable defenses
The parties' behavior after signing matters too. Waiver is the intentional relinquishment of a known right — a party that repeatedly accepted late payments without protest may have waived strict timeliness, though anti-waiver clauses complicate the analysis. Estoppel bars a plaintiff from enforcing a right after inducing your reasonable, detrimental reliance on a contrary position. Modification and novation — the parties changed the deal, by later written agreement, an executed oral agreement, or a substituted contract — mean the "breached" term may no longer exist. Accord and satisfaction discharges a disputed debt that was compromised and paid. And unclean hands, an equitable doctrine, can bar relief to a plaintiff whose own serious misconduct relates directly to the transaction at issue. Setoff deserves a mention as well: amounts the plaintiff owes you can reduce or eliminate the recovery, and may support a cross-complaint.
Raise defenses early or lose them
In California practice, affirmative defenses must generally be pleaded in your answer, and a defendant served with a summons generally has 30 days to respond. Blowing that deadline risks default; answering without the right defenses may require leave to amend and risks forfeiting them. The first weeks after service are when the case is shaped — gathering the contract and its amendments, the correspondence showing waiver or prevention, and the payment history that runs the limitations math. Our business litigation practice defends contract claims from answer through trial, and our business contracts practice can revise the agreements that produced the dispute to reduce the risk of future disputes.
Talk to a California business attorney
If you have been served with a breach of contract lawsuit — or see one coming — an early defense assessment can change the entire trajectory of the case. Schedule a free consultation or call (949) 418-2113.
This article is attorney advertising and provides general information only. It is not legal advice and does not create an attorney–client relationship. The law changes, and this article reflects the law as of its publication date. Every situation is different — contact us to discuss how the law applies to your exact circumstances. See our full disclaimer.

