The Illegality
Defense
When a contract's subject matter or purpose breaks the law, courts may refuse to enforce it. Learn to determine when illegality bars enforcement.
What Is the Illegality Defense?
The illegality defense is a contract defense raised when the subject matter or purpose of an agreement violates a statute, regulation, or public policy. If a court finds the bargain illegal, it generally will not enforce the contract for either party.
Two Kinds of Illegality
Why Courts Refuse to Enforce
The Core Rule
Exceptions: When Enforcement Survives
Malum in Se vs. Malum Prohibitum
Step-by-Step Analysis
Example 1: Illegal Subject Matter
Facts: A agrees to pay B \(\$10{,}000\) to set fire to a competitor's warehouse. A pays \(\$5{,}000\) up front. B refuses to perform.
Example 2: Unlicensed Provider
Facts: C, an unlicensed electrician, wires D's home for \(\$8{,}000\). The licensing statute exists to protect public safety. C sues for the unpaid fee.
Example 3: Knowledge of Purpose
Facts: E sells a printing press to F. The press is lawful. F privately plans to print counterfeit currency. E suspects nothing. F defaults on payment and E sues.
Common Mistakes
Summary Table
| Illegal Subject | Illegal Purpose | |
|---|---|---|
| Status of contract | Void from start | Lawful subject |
| Who is barred? | Both parties | Party who knew/aided |
| Innocent recovery? | Rarely | Yes |
| Key exception | Not in pari delicto | Lack of knowledge |
Check Your Understanding
Question 1 of 5
G hires H to bribe a city inspector. The deal collapses. Which best describes enforceability?
Question 2 of 5
An unlicensed contractor sues a homeowner for fees. The licensing law protects public safety. The most likely result?
Question 3 of 5
J sells a lawful chemical to K. J has no idea K plans to make illegal explosives. K defaults. Can J enforce?
Question 4 of 5
L pays M for an illegal scheme but withdraws and demands the money back before the scheme is carried out. Which doctrine helps L?
Question 5 of 5
A contract contains one illegal covenant and several lawful, independent terms. What is a court most likely to do?