A contract or one of its terms is unenforceable as against public policy when a court decides that the harm enforcing it would do to society’s core interests outweighs the reasons to hold the parties to their bargain. Contracts against public policy don’t require a specific statute saying “this deal is illegal.” Judges draw the principle from the combined weight of legislation, constitutional values, and prior decisions, then apply it to strike down terms that encourage corruption, strip away safety protections, punish people for exercising legal rights, or bargain away protections meant for someone else, like a child. The doctrine shows up across employment contracts, prenups, consumer waivers, and arbitration clauses, and knowing how it works can be the difference between being stuck with an unfair term and watching a judge throw it out.
How Courts Decide What Violates Public Policy
Public policy isn’t a single statute you can look up. It’s a judicial principle, and the framework courts across the country rely on comes from Section 178 of the Restatement (Second) of Contracts: a term is unenforceable if legislation says so, or if the public interest in blocking it clearly outweighs the reasons for enforcing it. That balancing test is where most of the fight happens.
On the enforcement side, courts weigh the parties’ reasonable expectations, whether someone would lose money they can’t recover if the term is struck, and whether there’s any special public benefit to enforcement. On the other side, they look at how strong the public policy is as reflected in statutes and case law, how likely voiding the term is to actually further that policy, how serious the misconduct was, and how directly the misconduct connects to the term in question.
Two consequences follow. First, a court won’t void a term just because it feels unfair; the public policy at stake needs real grounding in existing law. Second, when the grounding is clear, the result can be absolute. A contract built around bribing a public official, for example, is void from the start. Federal law makes it a crime to offer anything of value to a public official to influence an official act, punishable by up to 15 years in prison and a fine of up to three times the bribe’s value.1Office of the Law Revision Counsel. 18 USC 201 – Bribery of Public Officials and Witnesses No court will help either side enforce an arrangement like that.
Non-Compete Agreements and Restraint of Trade
Agreements that restrict someone’s ability to earn a living draw heavy scrutiny. Courts evaluate non-competes along three axes: how wide the geographic area is, how long the restriction lasts, and how broadly it defines the prohibited activity. A clause barring a software engineer from working anywhere in the country for ten years almost certainly fails. A narrower clause barring the same engineer from soliciting specific clients in one city for 12 months has a much better chance.
Four states effectively ban non-competes outright: California, Oklahoma, Minnesota, and North Dakota. Several others impose strict limits. At the federal level, the Federal Trade Commission attempted a nationwide ban in 2024, but a federal district court blocked the rule before it took effect, and the FTC ultimately accepted that outcome.2Federal Trade Commission. Federal Trade Commission Files to Accede to Vacatur of Non-Compete Clause Rule The FTC now pursues enforcement case by case, investigating and ordering specific companies to stop enforcing non-competes it considers unfair or anticompetitive.3Federal Trade Commission. FTC Takes Action Against Noncompete Agreements, Securing Protections for Workers
Even in states that allow non-competes, overly broad clauses can get modified or struck. Some courts use a “blue pencil” approach that deletes the unreasonable parts and enforces the rest. Others follow all-or-nothing: an overbroad restriction kills the entire clause.
Wrongful Termination and the At-Will Exception
Most employment in the United States is at will, meaning either side can end the relationship for any reason or none. The public policy exception carves out firings that would undermine a societal interest important enough to override that default. Courts generally recognize four protected categories:
- Refusing to break the law. An employer cannot fire you for declining to falsify records, commit perjury, or otherwise violate a statute.
- Reporting illegal activity. Employees who report fraud, environmental violations, or other unlawful conduct are protected from retaliation.
- Exercising a legal right. Filing a workers’ compensation claim or taking legally protected leave cannot be grounds for termination.
- Fulfilling a public obligation. Serving on a jury, responding to a subpoena, or voting are civic duties the law protects.4National Conference of State Legislatures. At-Will Employment – Overview
These categories overlap in practice. A nurse fired for reporting unsafe patient conditions is both reporting illegal activity and protecting the public. The question is always whether the firing punishes the worker for something society wants to encourage.
Several of these protections carry concrete federal teeth. An employer who fires a permanent employee for serving on a federal jury faces a civil penalty of up to $5,000 per violation, plus liability for lost wages and benefits; the terminated employee can also seek reinstatement and attorney’s fees.5Office of the Law Revision Counsel. 28 USC 1875 – Protection of Jurors Employment The Uniformed Services Employment and Reemployment Rights Act prohibits adverse employment action based on military service; if service was a motivating factor in a firing, the employer violates the law unless it can prove the same action would have happened regardless.6Office of the Law Revision Counsel. 38 USC 4311 – Discrimination Against Persons Who Serve in the Uniformed Services For whistleblowers at publicly traded companies, Sarbanes-Oxley provides reinstatement with full seniority, back pay with interest, and compensation for litigation costs and attorney’s fees.7Office of the Law Revision Counsel. 18 USC 1514A – Civil Action to Protect Against Retaliation in Fraud Cases State-level wrongful termination claims grounded in the public policy exception sometimes add remedies federal statutes don’t, including damages for emotional distress, so where the case is filed matters.
Prenups, Custody, and Family Law Limits
Family courts are charged with protecting people who can’t protect themselves, especially children, and that creates hard limits on what spouses can agree to no matter how voluntarily they sign.
You cannot waive or limit child support in a prenup. Every state treats child support as the child’s right, not the parents’. A clause saying “neither party will seek child support” is dead on arrival because it attempts to contract away a third party’s legal entitlement, and courts reason that allowing parents to bargain it away would shift the cost of raising children onto taxpayers and harm the children themselves.
Custody provisions face the same problem. Any clause that tries to predetermine custody without applying the best-interests-of-the-child standard will be disregarded. A judge evaluates custody based on the circumstances that exist at separation, not what two people agreed to years earlier. Provisions that encourage divorce, such as escalating payouts tied to the length of the marriage, also risk invalidation because the state has an interest in marital stability.
Paid surrogacy agreements have drawn particular scrutiny. Courts have found that contracts requiring a birth mother to irrevocably surrender parental rights before birth contravene public policy against the commercialization of children. The most influential decision on the question called such contracts “illegal, perhaps criminal, and potentially degrading to women,” emphasizing that a birth mother must have time after delivery to reconsider.
Liability Waivers That Won’t Hold Up
Waivers are everywhere, from gyms to ski lifts to surgical consent forms. Courts generally enforce them for ordinary negligence because adults can knowingly accept everyday risks. But waivers cannot shield a business from gross negligence, recklessness, or intentional harm. Public policy requires every person and company to maintain at least a basic standard of care, and you can’t contract your way below that floor.8Vanderbilt Law Review. Unenforceable Waivers
Waivers get the hardest look when they involve services the public genuinely needs: healthcare, utilities, housing. The landmark California case Tunkl v. Regents of University of California established a set of factors courts across the country now use to decide when a waiver affects the public interest enough to be unenforceable. The signals include a regulated industry, a service that’s a practical necessity, a provider that holds itself out as willing to serve anyone, unequal bargaining power, standardized take-it-or-leave-it terms, and a transaction that puts the customer or their property under the provider’s control.9Justia. Tunkl v. Regents of University of California A waiver doesn’t have to satisfy every factor; courts look at the overall picture. This is why a hospital’s waiver for surgical negligence is almost always unenforceable while a skydiving waiver for ordinary risks usually holds up. The patient needs the hospital; nobody needs to skydive.
Forced Arbitration and the 2022 Carve-Out
Pre-dispute arbitration clauses, often buried in employment and consumer contracts, require you to resolve disputes privately instead of going to court. The Federal Arbitration Act has long given these clauses broad enforceability, even when the person signing had almost no bargaining power.
Congress drew a public policy line in 2022 with the Ending Forced Arbitration of Sexual Assault and Sexual Harassment Act. A person alleging sexual assault or sexual harassment can now choose to void any pre-dispute arbitration agreement and take the case to court. The choice belongs entirely to the person making the claim, and whether the law applies must be decided by a court, not an arbitrator, even if the contract says otherwise.10Office of the Law Revision Counsel. 9 USC 402 – No Validity or Enforceability
Outside sexual assault and harassment claims, federal enforceability of mandatory arbitration remains largely intact. Courts will still strike individual clauses as unconscionable when terms are so one-sided and bargaining power so lopsided that enforcement would be fundamentally unfair, and some states have passed laws limiting mandatory arbitration in specific contexts like wage disputes or nursing home admissions.
What Happens After a Court Strikes a Term
Voiding a term doesn’t always mean voiding the whole contract. The outcome depends on how central the offending provision is and how both parties behaved.
Severability
If the illegal or unenforceable term is distinct enough from the rest, courts sever it and enforce what remains. A severability clause makes this easier, but courts can sever even without one, and they’re more willing to do so when the surviving contract still makes sense on its own and reflects what the parties bargained for.11Legal Information Institute. Severable Contract When the illegal term goes to the heart of the deal, the whole contract falls.
Blue Pencil and Partial Enforcement
For non-competes and other restraints on trade, some courts will literally edit the offending language. Under the blue pencil approach, a judge crosses out the unreasonable parts and enforces whatever remains if it still reads as a coherent restriction. Other jurisdictions go further with “partial enforcement,” rewriting the restriction to make it reasonable. Not every state allows this, and some courts refuse to reform a clause at all when the employer appears to have deliberately overreached, on the theory that drafters shouldn’t get to write aggressive terms and count on judges to fix them.
In Pari Delicto
When both parties knowingly participated in the illegal arrangement, courts apply a doctrine called “in pari delicto,” meaning “in equal fault.” The practical effect is that neither side gets any help from the court. No enforcement, no damages, no refund. The judge leaves both parties exactly where they were found.12Legal Information Institute. In Pari Delicto You can’t participate in an illegal deal, profit from it, and then ask a court to unwind the loss when things go wrong.
There are exceptions. A party who was less at fault, was excusably ignorant of the illegality, or withdrew before the improper purpose was achieved can sometimes recover what they contributed through restitution. Courts also allow restitution when denying it would cause a loss wildly out of proportion to the public policy violation.