A court will refuse to enforce a contract against public policy when the harm enforcement would cause the public clearly outweighs the parties’ interest in holding each other to the deal. That includes agreements built on illegal conduct, clauses that unreasonably restrain competition, waivers of serious liability, unconscionable terms, gags on whistleblowers or harassment victims, deals that interfere with family relationships, and contracts with professionals who lacked a required license. When a court finds a contract falls into one of these categories, it can void the whole agreement, strike the offending clause, or in some cases rewrite the term to bring it inside the law.
The Balancing Test Courts Apply
Under the Restatement (Second) of Contracts § 178, a contract term is unenforceable on public policy grounds only if the interest in enforcing it is “clearly outweighed” by the policy against it.1H2O. Restatement Second of Contracts 1-2, 178 The imbalance has to be clear, not marginal, and the party arguing unenforceability carries the burden.
On the enforcement side, courts consider the parties’ justified expectations, any forfeiture that would result from voiding the deal, and any special public interest in honoring the term. On the other side, they weigh how strongly legislation or judicial decisions support the policy, how likely voiding the term is to advance that policy, how serious the misconduct was, and how directly it connects to the disputed term.1H2O. Restatement Second of Contracts 1-2, 178 A contract to build an unlicensed addition on a house triggers a stronger response than one with a slightly overbroad confidentiality clause, because the licensing violation sits at the heart of what the parties agreed to do.
The sources of public policy are not left to a judge’s personal views. Courts draw from statutes, administrative regulations, and established case law. A defense that points to a specific statute tends to fare far better than one that leans on general appeals to fairness.
Contracts Tied to Illegal Activity
Any agreement whose core purpose requires breaking the law is dead on arrival. You cannot sue to enforce a deal to sell prohibited drugs or recover a fee paid for an assault. Bribery agreements involving public officials carry federal penalties of up to fifteen years in prison, and the underlying contract is void no matter how carefully it was drafted.2Office of the Law Revision Counsel. 18 USC 201 – Bribery of Public Officials and Witnesses
The illegality does not have to be the main event. A consulting contract that is actually a conduit for kickbacks, or a loan that violates usury limits, can be voided even when the document reads like a routine business deal. Federal law requires national banks that knowingly charge excessive interest to forfeit the entire interest on the loan, leaving them able to collect only the principal.3Office of the Law Revision Counsel. 12 USC 86 – Usurious Interest; Penalty for Taking; Limitations Most states impose their own caps, and a loan that breaks them can be partially or entirely voided.
Private wagering agreements that lack state-sanctioned licensing fall into the same bucket. Even in jurisdictions with legal, regulated casinos, an unlicensed side bet between private parties is typically unenforceable. The legal system will not help you collect on a deal the law prohibits you from making.
Restraints on Fair Competition
When a contract blocks competition in ways that hurt consumers, courts treat it as contrary to public policy. This plays out at two scales: individual non-compete agreements between employers and workers, and antitrust violations between companies.
Non-Compete Agreements
A non-compete clause restricts where or for whom you can work after leaving a job. To be enforceable, it generally must protect a legitimate business interest, stay reasonable in geographic scope, and limit the restricted period to something proportionate to the interest being protected. An agreement that blocks a mid-level sales representative from working anywhere in the country for five years will almost certainly be struck down. One that keeps a senior executive from joining a direct competitor within 50 miles for twelve months stands a much better chance.
A growing number of states set minimum salary thresholds below which non-competes cannot be enforced at all, with floors ranging from roughly $40,000 to over $160,000 depending on the state. Lower-wage workers have less access to the trade secrets and client relationships that non-competes are meant to protect, and barring them from changing jobs does more economic harm than good.
At the federal level, the FTC tried to ban most non-competes outright, but the effort failed. A federal court blocked the rule in August 2024, and by early 2026 the FTC formally removed the Non-Compete Rule from the Code of Federal Regulations.4Federal Trade Commission. Noncompete Rule Enforceability therefore remains governed by state law, with enormous variation.
Antitrust Violations
Agreements between companies to fix prices, divide markets, or eliminate competition violate the Sherman Antitrust Act. A corporation convicted under the Act faces fines of up to $100 million, and individuals involved risk up to ten years in prison and fines up to $1 million.5Office of the Law Revision Counsel. 15 USC 1 – Trusts, Etc., in Restraint of Trade Illegal; Penalty The contract itself is unenforceable on top of those criminal penalties. Price-fixing, market allocation, and group boycotts are per se illegal, meaning courts do not apply the balancing test at all. The public policy against them is treated as absolute.
Liability Waivers That Reach Too Far
Exculpatory clauses can be valid for ordinary negligence in many circumstances, but they hit a hard wall when they try to excuse more serious conduct. Under the Restatement (Second) of Contracts § 195, a contract term that exempts a party from liability for harm caused intentionally or recklessly is unenforceable on public policy grounds.6H2O. Restatement 2d 195 Terms Exempting Torts No waiver form, however boldly printed, can shield someone who deliberately injures you.
The same rule carves out relationships where even ordinary negligence waivers fail. An employer cannot require employees to waive liability for workplace injuries. A party charged with a public service duty, such as a common carrier or a utility, cannot disclaim responsibility for negligent harm to customers it is obligated to serve. And sellers of consumer products cannot waive their special tort liability for physical harm to users unless the waiver was genuinely bargained for and aligns with the policy behind product liability law.6H2O. Restatement 2d 195 Terms Exempting Torts
Indemnity clauses raise a related problem. Roughly 45 states have enacted anti-indemnity statutes that void or restrict clauses shifting one party’s own fault onto another, particularly in construction. Most of those states prohibit you from contractually shifting the cost of your own sole negligence. A handful allow broad indemnity provisions but require the language to be unmistakably clear.
Unconscionable Contract Terms
Unconscionability is the doctrine courts use when a contract is so lopsided that enforcing it would be fundamentally unfair. Under UCC § 2-302, a court can refuse to enforce an unconscionable contract entirely, strike the offending clause while enforcing the rest, or limit the clause’s application to avoid an unconscionable result.7Legal Information Institute. Uniform Commercial Code 2-302 – Unconscionable Contract or Clause
Courts typically require both procedural and substantive unconscionability, though the worse one element is, the less the other needs to be. Procedural unconscionability looks at how the deal was formed: was the clause buried in fine print? Was it a take-it-or-leave-it offer from a party with overwhelming bargaining power? Did the signer have any realistic opportunity to negotiate? Substantive unconscionability looks at the term itself: is it so one-sided that no reasonable person would have agreed to it with full information?
Mandatory arbitration clauses are where this doctrine gets the most workout. An arbitration clause is not automatically unconscionable, but courts have invalidated provisions that strip away meaningful remedies, impose prohibitive filing fees on consumers, let the drafter pick the arbitrator, or force disputes into an inconvenient forum hundreds of miles from where the consumer lives. Class action waivers embedded in arbitration clauses have generated extensive litigation, though the U.S. Supreme Court has generally upheld them in the consumer context under the Federal Arbitration Act. The fight over specific arbitration terms remains active and varies considerably by jurisdiction.
Agreements Silencing Whistleblowers and Victims
A contract cannot lawfully prevent you from reporting a crime, and several federal statutes now say so directly. If you work on a federal government contract, the whistleblower protections under 41 U.S.C. § 4712 are non-waivable: no agreement, company policy, or condition of employment can strip your right to report waste, fraud, or abuse to authorized investigators.8Office of the Law Revision Counsel. 41 USC 4712 – Contractor Employees, Enhancement of Contractor Protection From Reprisal
The Dodd-Frank Act takes a similar approach for employees of publicly traded companies. Under 18 U.S.C. § 1514A, the rights and remedies available to whistleblowers who report securities violations cannot be waived by any agreement or employment policy, including predispute arbitration clauses. Any arbitration agreement that purports to require arbitration of a whistleblower dispute is invalid.9U.S. Securities and Exchange Commission. Dodd-Frank Act Section 922 – Whistleblower Protection
Non-disclosure agreements got their own statute with the Speak Out Act of 2022. Under 42 U.S.C. § 19403, no predispute NDA or non-disparagement clause is enforceable in a sexual assault or sexual harassment dispute.10Office of the Law Revision Counsel. 42 USC Chapter 164 – Speak Out Act The key word is “predispute.” An employer can still negotiate a confidentiality agreement after a specific incident arises, but a blanket NDA signed at the start of employment cannot be used to silence a harassment claim that surfaces later. This law overrides both federal and state law to the contrary.
Contracts Interfering with Family Relations
Courts give special scrutiny to contracts touching marriage, divorce, and child welfare. An agreement that rewards someone for never marrying, or that creates a financial incentive to seek a divorce, has historically been treated as void. Personal relationships should not be driven by contract payoffs.
Private agreements to waive child support obligations are virtually always unenforceable. Child support is considered the right of the child, not the parent, so a parent cannot bargain it away. Courts refuse to honor these arrangements even when both parents signed willingly.
Surrogacy contracts show how quickly this area evolves. Commercial surrogacy was once widely considered contrary to public policy. Today, a majority of states permit some form of surrogacy and will enforce gestational surrogacy contracts, provided the agreement was signed before pregnancy and certain procedural safeguards were followed, including independent legal counsel for the surrogate. A small number of states still treat surrogacy contracts as void by statute, and at least one criminalizes commercial surrogacy in most cases. If a surrogacy arrangement matters to you, the state where the birth will occur essentially decides whether your contract has teeth.
Contracts with Unlicensed Professionals
Hiring someone who lacks a required professional license can render the entire contract unenforceable, but only if the license exists to protect the public rather than simply raise revenue. A contractor who skips a regulatory license designed to ensure competency may be unable to enforce the contract or collect payment, even after completing the job. A business that failed to pay a routine occupational tax probably has an enforceable contract, because that fee exists to generate revenue, not to screen for competence.
Courts examine the nature of the industry, whether the licensing statute includes public safety measures like inspections or bonding, and whether the statute imposes specific penalties for noncompliance. Industries involving physical safety or financial trust get the strictest treatment. The consequence is harsh: an unlicensed party may forfeit the right to sue for payment, and in some states may lose lien rights on the property where the work was performed.
What Happens When a Court Voids a Contract
A contract voided on public policy grounds is typically treated as void ab initio, meaning it never had legal effect. That is different from a voidable contract, where the deal remains in force until one party exercises the right to cancel. With a void contract, there is nothing to cancel.
Limits on Getting Your Money Back
The practical sting is that courts often refuse to help either party recover what they put in. Under the doctrine of in pari delicto, when both parties share roughly equal blame, neither can seek the court’s help to unwind the deal. Courts will not referee between parties who knowingly entered a prohibited arrangement. Money paid under an illegal contract may not come back.
There is a narrow exception. If the contract was still executory, meaning neither side had fully performed, and the illegality was created by statute rather than something inherently immoral, a party who backs out before performance may be able to recover what they contributed. Think of it as a window for repentance that closes once performance begins. This matters most in commercial settings where a party spots the legal problem early enough to walk away.
Severability and the Blue Pencil Doctrine
Not every public policy violation kills the entire contract. Courts in roughly 35 states apply some version of the blue pencil doctrine, which allows a judge to strike the offending language while keeping the rest of the agreement intact. In strict blue pencil states, the court can only cross out problematic words or clauses without rewriting anything. In states that follow the broader reformation approach, the court can actually modify overbroad terms to make them enforceable.1H2O. Restatement Second of Contracts 1-2, 178 A handful of states reject blue penciling entirely, treating the whole agreement as unenforceable if any part violates public policy.
The practical difference is significant. In a reformation state, an overbroad non-compete that restricts you from working anywhere in the country for five years might be narrowed to your metro area for one year. In a strict blue pencil state, the court can only delete the problematic language, and if what remains no longer makes grammatical or logical sense, the entire clause falls. In a state that rejects the doctrine, the overbroad clause can void the non-compete entirely. Knowing which approach your state follows tells you a lot about whether an aggressive contract term is a real threat or a paper tiger.