A contract cannot supersede the law. Every private agreement sits beneath the Constitution, federal statutes, state statutes, and regulations, and any clause that conflicts with those higher authorities is unenforceable from the moment it’s signed. Courts will not help either party enforce an illegal term, and in some situations the people who signed it face consequences beyond just losing the deal. What a contract can do is fill in the space the law leaves open. What it cannot do is rewrite the rules that made the agreement possible in the first place.
The U.S. Constitution’s Supremacy Clause establishes that federal law is “the supreme Law of the Land” and binds judges in every state regardless of conflicting state law.1Congress.gov. U.S. Constitution – Article VI If federal law overrides an entire state constitution, a private agreement between two people is not going to win that fight.
Contracts With an Illegal Purpose Are Void
A contract that requires someone to break the law is void the moment it’s created. Courts treat it as if it never existed. A deal to sell controlled substances, an arrangement to commit fraud, an agreement to bribe a public official — none of these can be enforced, no matter how formally they were drafted or how much money changed hands.
The consequence is harsh for both sides. If you paid $10,000 under an illegal agreement and the other side didn’t deliver, you can’t sue to recover. Courts apply the “unclean hands” doctrine: both parties participated in something illegal, so neither deserves the court’s help. And the contract being void doesn’t erase any underlying crime. It just means the crime was committed without even the protection of an enforceable agreement.
Contracts That Violate Public Policy
Not every unenforceable clause is criminal. Courts also refuse to enforce agreements that undermine important societal interests, and this is where the line gets harder to see.
Unconscionable Terms
Courts can strike terms so one-sided they shock the conscience. Under the Uniform Commercial Code, if a court finds a contract or any clause was unconscionable when made, the court can refuse to enforce the whole contract, cut the offending clause and enforce the rest, or limit how the clause applies to avoid an unconscionable result.2Legal Information Institute. UCC 2-302 Unconscionable Contract or Clause Courts look at both the bargaining process (did one side have any real choice?) and the substance of the terms. A clause is most vulnerable when both problems are present: a take-it-or-leave-it deal with terms that overwhelmingly favor the drafter.
Overbroad Non-Competes
Non-compete agreements are the most common example. A clause that blocks a former employee from working in their entire industry, nationwide, for a decade goes beyond protecting legitimate business interests and starts preventing someone from earning a living. Courts in most states will narrow or void non-competes that are unreasonable in geographic reach, duration, or scope. The FTC issued a rule in 2024 banning most non-competes, but a federal court blocked it from taking effect in August 2024, so enforceability still turns on state law.3Federal Trade Commission. FTC Announces Rule Banning Noncompetes
Waivers for Gross Negligence
The liability waivers in gym memberships, ski passes, and service agreements have limits. A majority of states hold that these clauses cannot shield a business from claims arising from gross negligence, reckless conduct, or intentional harm. You can agree to accept the ordinary risks of rock climbing. The gym still can’t use your signature to escape liability for knowingly using frayed ropes.
Statutory Rights You Cannot Sign Away
Some rights exist specifically to protect people in unequal bargaining positions, and lawmakers have made them non-waivable. A contract clause saying otherwise is dead on arrival.
Minimum Wage and Overtime
The Fair Labor Standards Act sets minimum wage and overtime protections for covered workers, and the federal minimum wage is $7.25 per hour.4U.S. Department of Labor. State Minimum Wage Laws An employee cannot legally agree to work for less. The Supreme Court settled this in Brooklyn Savings Bank v. O’Neil, holding that a statutory right granted in the public interest cannot be waived if the waiver would undermine the policy the law was designed to achieve.5Justia Law. Brooklyn Savings Bank v. O’Neil, 324 U.S. 697 (1945) If cash-strapped workers could sign away wage protections, the protections would be worthless.
Worker Classification
A related move that doesn’t work: labeling an employee an “independent contractor” in the contract to sidestep minimum wage, overtime, or payroll taxes. The Department of Labor is explicit that signing an independent contractor agreement does not make someone an independent contractor under the FLSA. What matters is the actual working relationship, not what the paperwork calls it.6U.S. Department of Labor. Employment Relationship Under the Fair Labor Standards Act (FLSA)
The Right to File Bankruptcy
Some loan agreements contain promises not to file for bankruptcy. They don’t hold up. Federal law provides that a bankruptcy discharge voids judgments and stops collection actions “whether or not discharge of such debt is waived.”7Office of the Law Revision Counsel. 11 USC 524 – Effect of Discharge Congress wrote the override directly into the statute.
Habitability in a Residential Lease
A residential lease cannot require a tenant to waive the right to a livable home. The implied warranty of habitability requires landlords to keep rental property safe and fit for human habitation — functioning plumbing, structural soundness, heat — even if the lease says nothing about repairs. A clause saying “tenant accepts the property as-is and waives all habitability claims” is unenforceable in the vast majority of states.
Reporting to the SEC
Confidentiality agreements, NDAs, and severance packages cannot prevent someone from reporting potential securities violations to the SEC. Federal regulation 17 CFR 240.21F-17(a) prohibits any person from impeding an individual from communicating with the SEC about possible violations, including by enforcing or threatening to enforce a confidentiality agreement.8eCFR. 17 CFR Part 240 Subpart A – Securities Whistleblower Incentives and Protections The SEC has taken enforcement action against companies whose internal policies or separation agreements contained language that would discourage employees from reporting to regulators.9U.S. Securities and Exchange Commission. Whistleblower Protections
Where Contracts Actually Do Push Back: Arbitration
Mandatory arbitration clauses are the sharpest test of contract power against statutory rights. Buried in employment agreements, credit card terms, and consumer contracts, they force disputes into private arbitration and often ban class actions. Unlike the categories above, these clauses generally are enforceable, backed by a powerful federal statute.
The Federal Arbitration Act makes written arbitration agreements “valid, irrevocable, and enforceable” in contracts involving commerce.10Office of the Law Revision Counsel. 9 USC 2 – Validity, Irrevocability, and Enforcement of Agreements to Arbitrate In Epic Systems Corp. v. Lewis, the Supreme Court held that arbitration agreements requiring individualized proceedings must be enforced, and that neither the FAA’s savings clause nor the National Labor Relations Act stops employers from requiring workers to waive class action rights.11Supreme Court of the United States. Epic Systems Corp. v. Lewis, 584 U.S. 497 (2018) Millions of employees and consumers have signed away class action rights on that basis, and courts uphold the waivers.
The FAA’s savings clause does allow courts to invalidate arbitration agreements on the same grounds that would void any contract, such as fraud, duress, or unconscionability. But the Supreme Court has read it narrowly: defenses that specifically target arbitration are preempted.12Congressional Research Service. The Federal Arbitration Act and Class Action Waivers A state law voiding arbitration clauses in employment contracts would itself be overridden by federal law.
A few narrow carve-outs exist. Federal regulations prohibit nursing homes from requiring pre-dispute arbitration as a condition of admission. The FTC has interpreted the Magnuson-Moss Warranty Act to bar mandatory binding arbitration for written warranty disputes. The Military Lending Act bans forced arbitration in certain credit extended to active-duty service members. Outside those pockets, a properly drafted arbitration clause will usually hold.
What Happens When One Clause Is Illegal
Finding one bad clause doesn’t necessarily blow up the whole deal. Most well-drafted contracts include a severability clause telling a court to cut the offending provision and enforce the rest. In a 20-page agreement, one dead term shouldn’t kill the other 19 pages of legitimate ones.
Without a severability clause, the court makes a judgment call. A minor illegal term gets cut and the rest survives. But if the illegal provision was central enough that the parties wouldn’t have agreed without it, the whole contract can collapse. An employment agreement built around an unconscionable commission structure may fail entirely, because the payment terms were the whole point.
Courts also have a middle option. Under UCC 2-302, a court that finds an unconscionable clause can limit how the clause applies rather than strike it.2Legal Information Institute. UCC 2-302 Unconscionable Contract or Clause A non-compete that’s too broad might be narrowed to a reasonable geographic area and time period. Not every state permits this “blue pencil” approach, but where it’s available, courts use it to salvage the reasonable core of an overreaching restriction.
What to Do If You’ve Signed Something Questionable
The worst move is to ignore the contract and hope the illegal clause makes the whole thing disappear. Courts don’t automatically void contracts. Someone has to raise the issue, and until a court rules, the other side will treat the full agreement as binding.
Start by identifying which category the problem clause falls into. Clearly non-waivable rights — below-minimum-wage pay, a bankruptcy waiver, a habitability waiver in a lease — put the law on your side, but you still have to assert it. A letter to the other party pointing to the specific statute the clause violates is often enough to resolve the issue without going to court.
Gray-area disputes are harder. An arguably overbroad non-compete or a contested arbitration clause means either negotiating or litigating, and litigation costs money even when you’re right. Many state consumer protection statutes allow courts to award attorney fees to consumers who successfully challenge illegal contract terms, which can shift the math. An attorney who handles contract disputes can tell you whether the clause is likely unenforceable and whether the potential recovery justifies the fight.