Stewart Law

Lawful Purpose: Why the Object of a Contract Must Be Legal

Part of What Is a Contract? Formation and Enforceability Explained

Lawful Purpose: Why the Object of a Contract Must Be Legal

The Short Answer

A contract must have a lawful purpose to be enforceable. If the contract's object, subject matter, or required performance is illegal or contrary to public policy, a court will generally refuse to enforce it. But a regulatory violation does not automatically void an entire contract — courts look at the nature of the violation, the parties' circumstances, and whether enforcement would be contrary to public policy. The analysis is fact-specific.

What lawful purpose requires

A contract's purpose is unlawful if its performance requires a party to commit a crime, violate a statute, or act contrary to established public policy. Classic examples include contracts to commit fraud, to engage in unlicensed activity where a license is required, or to restrain trade in ways prohibited by law.

Florida courts will generally refuse to enforce a contract that is illegal on its face — one whose very performance requires illegal conduct. The parties cannot use the courts to enforce an agreement to do something the law prohibits.

Regulatory violations and partial illegality

Not every regulatory violation makes a contract unenforceable. Courts distinguish between contracts that are illegal in their formation or purpose and contracts that are merely performed in a way that incidentally violates a regulation.

Where only part of a contract is illegal, courts may sever the illegal portion and enforce the rest, if the legal and illegal parts are separable and enforcement of the legal portion would not undermine the policy behind the prohibition.

The intent of the parties also matters. A contract entered in good faith that later turns out to involve a regulatory issue is treated differently from a contract designed from the outset to circumvent the law.

Public policy limits

Beyond outright illegality, courts may refuse to enforce contracts that are contrary to public policy even if no specific statute prohibits them. Contracts that unreasonably restrain trade, that attempt to exempt a party from liability for intentional wrongdoing, or that involve certain types of unconscionable terms may be unenforceable on public policy grounds.

Florida has specific statutes addressing certain types of agreements that might otherwise be contrary to public policy — including section 542.335 governing restrictive covenants and section 725.01 governing certain agreements that must be in writing. These statutes reflect legislative judgments about which agreements are enforceable and under what conditions.

Consequences of an illegal contract

Courts generally decline to enforce a prohibited bargain, but the statute involved, the policy being protected, the parties' relative fault, and possible restitution or other remedies can affect the result. It is not safe to assume that every illegality bars every remedy for everyone. This can produce harsh results: a party who has performed under an illegal contract may not be able to recover the value of their performance.

Where the parties are not equally at fault — for example, where one party was the victim of the other's illegal scheme — courts may be more willing to provide relief to the less culpable party.

A practical example

A Florida contractor agrees to perform electrical work without the required license. The homeowner pays a deposit and the contractor begins work. The homeowner later discovers the contractor is unlicensed and refuses to pay the balance.

Under Florida law, a contract for work requiring a license, performed by an unlicensed contractor, may be unenforceable. The contractor may not be able to recover the unpaid balance. The homeowner may be able to recover the deposit. The specific outcome depends on the applicable licensing statute, the nature of the work, and the facts.

This is not a case where the contract's purpose was inherently illegal — electrical work is legal. But the manner of performance (without a required license) implicates a regulatory requirement that Florida courts take seriously in the construction context.

Common misunderstandings

  • ✗A regulatory violation does not automatically void an entire contract. Courts look at the nature of the violation and whether enforcement would undermine the policy behind the rule.
  • ✗Partial illegality does not necessarily void the entire contract. Courts may sever the illegal portion and enforce the rest if the parts are separable.
  • ✗A contract that is void for illegality cannot be enforced by either party — not just the party who engaged in the illegal conduct.
  • ✗Public policy limits are not limited to statutory violations. Courts can refuse to enforce contracts that are contrary to established public policy even without a specific statute.
  • ✗Unconscionability is a related but distinct doctrine — it addresses contracts that are oppressively one-sided, not necessarily illegal.

When professional review matters

Lawful purpose questions arise when a party claims a contract is unenforceable because of illegality or public policy, and in industries with significant licensing or regulatory requirements.

Before entering a contract in a regulated industry — or before relying on a contract that may have a regulatory dimension — having an attorney review the arrangement can identify potential enforceability issues before they become disputes.

Stewart Law reviews and drafts contracts for Florida businesses. See the contract review service or contact us to discuss a specific agreement.

Primary references

General legal information only — not legal advice. Verify current statutes and rules with an attorney.

Have a Contract Using These Provisions?

Contract language operates as part of the agreement as a whole.

Contract Review by a Licensed Attorney — Starting at $150

Upload Your Contract & Get a Quote