You negotiated a contract, obtained the necessary signatures, performed the work, and fulfilled your obligations. The other party accepted the benefit of your work. Surely, you are entitled to be paid. However, if you contracted with a government entity, that may not be true.
Contracting with a government entity presents a unique set of legal risks that private companies may not anticipate. While government contracts may look and read like contracts between private businesses, the laws governing their formation, enforcement, and available remedies can be dramatically different.
In some circumstances, a private company can enter into what appears to be a perfectly valid government contract, perform all of its obligations in good faith, and still find itself without a legal right to payment.
Although federal government contracts present similar concerns, they are governed by a separate legal framework. This article focuses on the risks associated with contracting with state and local government entities.
The Rules Change When Public Money Is Involved
In contracts between private entities, the rights and obligations of the parties are generally outlined in the agreement itself. The contract may be long and complicated, but if you know how to parse the language, many of the answers can be found within its pages.
Even when a contract is defective or unenforceable, courts may apply equitable doctrines rooted in fairness, reliance, and good faith to protect the parties from unjust outcomes. Two of the most common are quantum meruit, which generally allows recovery for the reasonable value of services rendered, and unjust enrichment, which seeks to prevent one party from unfairly retaining a benefit at another’s expense. Government contracts, however, operate within an additional layer of law.
State and local governments are subject to numerous laws designed to protect public funds, prevent favoritism and corruption, promote competition, and ensure transparency in government decision-making. These laws regulate not only how public money can be spent, but also how government entities solicit, approve, award, and enter into contracts.
Competitive bidding requirements, public meeting laws, expenditure limitations, statutory approval requirements, and restrictions on contracting authority are just a few examples. These requirements are not merely internal procedures that a government entity can elect to waive. In many instances, compliance with these laws is essential to the validity and enforceability of the contract itself.
The result is that a government entity and a private company may both intend to enter into a binding agreement, sign the agreement, and proceed with performance, yet still find that the agreement is legally unenforceable.
“What do you mean I can perform the work and not get paid?”
It may seem fundamentally unfair that a contractor could perform work in good faith, deliver the promised benefits, and still be denied compensation because the government failed to comply with its own contracting requirements. But government entities are stewards of public money. When a government official makes a mistake, exceeds their authority, or disregards a statutory requirement, it is ultimately the taxpayers who may bear the financial consequences.
Courts and legislatures must therefore balance two competing interests: fairness to the contractor who performed the work and protection of the public funds entrusted to the government. In many jurisdictions, the protection of public funds takes precedence.
The reasoning is straightforward. If courts routinely allowed equitable remedies to rescue unlawful government contracts, the laws designed to protect public funds could lose much of their effectiveness. Government officials and contractors could bypass competitive bidding requirements, approval procedures, and other statutory safeguards, knowing that payment could ultimately be obtained through the courts.
To prevent that result, many states significantly restrict and, in certain circumstances, eliminate the equitable remedies otherwise available to private contracting parties.
The consequence is that a contractor may perform every obligation under an agreement, while the government’s failure to follow the law leaves the contractor bearing the financial loss.
How Much Can You Lose? It Depends on Where You Contract.
The consequences of entering into a legally defective government contract vary significantly by jurisdiction. In some states, contractors may lose their right to payment altogether. In others, they may even be required to return money they have already received.
Consider the following examples:
Texas: A Signed Contract May Not Be Enough
In Texas, government contracts that fail to comply with applicable statutory requirements may be void or voidable with no equitable recovery option, which means that a contractor may have performed valuable work for a government entity under a signed agreement and nevertheless find itself without an enforceable remedy for payment.
For example, certain contracts entered into by municipalities in violation of competitive bidding requirements are expressly declared void under the Texas Local Government Code.1 Other statutory violations, including certain violations of the Texas Open Meetings Act, may render governmental actions voidable through judicial proceedings.2
A contractor’s good-faith reliance on the representations or apparent authority of a government official will not necessarily save an otherwise invalid contract.
Moreover, governmental immunity can present an additional obstacle to recovery. Although Texas law provides a limited waiver of governmental immunity for certain written contracts with local governmental entities, that waiver applies only to legal contracts, and equitable claims such as quantum meruit and unjust enrichment cannot be used to circumvent governmental immunity where no applicable waiver exists.3
New York: You May Have to Give the Money Back
New York courts have taken a particularly strict approach to enforcing government contracting requirements, even when the result is a substantial financial loss to a contractor that has already performed the work.
In Michael R. Gianatasio, PE, P.C. v. City of New York (2016), the court reaffirmed that a contractor cannot recover payment under an illegal and unenforceable municipal contract by relying on equitable doctrines such as quantum meruit or unjust enrichment. Citing longstanding New York precedent, the court explained that when work is performed under an illegal municipal contract, a contractor generally cannot recover either under the contract or for the reasonable value of the work performed.4
The court emphasized the public policy underlying this seemingly harsh result, quoting the New York Court of Appeals’ explanation in S.T. Grand, Inc. v. City of New York (1973):
“The reason for this harsh rule, which works a complete forfeiture of the vendor’s interest, is to deter violation of the bidding statutes.”
The rationale is straightforward. If contractors could disregard statutory procurement requirements and still recover the reasonable value of their work, they would have little incentive to ensure compliance. Likewise, allowing government officials to authorize payment for improperly awarded contracts would enable them to accomplish indirectly what the law prohibits them from doing directly.5
The potential consequences are not limited to unpaid invoices. In appropriate circumstances, contractors may also be required to return payments already received under an unlawful government contract.
However, in a more recent New York case, Matter of Daniel J. Lynch, Inc. v. Board of Education of the Maine-Endwell Central School District (2025), aff’d (2026), the courts found that the contract violated procurement laws, but permitted the contractor to complete the work considering the project’s progress, the absence of evidence of misconduct, and the lack of demonstrated harm to taxpayers.6
That outcome did not eliminate New York’s longstanding restrictions on recovery under unlawful municipal contracts, but it did highlight that courts have discretion in how strictly to enforce disgorgement.
Alabama: The Law Expressly Closes the Door on Equitable Recovery
Alabama has established particularly strict statutory safeguards surrounding public contracts. Alabama’s public-works laws and applicable competitive bidding laws declare certain contracts entered into without compliance with statutory requirements void.
Alabama’s public-works laws expressly charge contractors with knowledge of the applicable legal requirements and restrict their ability to maintain actions against government entities arising from noncompliant contracts. The law also provides for contractors to return public funds paid under certain unlawful contracts when the contractor had actual knowledge of the violation before the contract was executed.7
Even if a contractor acted in good faith, Alabama’s public-works laws expressly restrict courts from applying equitable principles to compensate contractors for labor performed or materials furnished under contracts awarded in violation of applicable competitive bidding requirements.8
Alabama law also authorizes the attorney general and interested citizens, under applicable statutory provisions, to bring actions to prevent unlawful contracts from moving forward or to recover public funds already paid under certain unlawful contracts.9
However, Alabama provides an important statutory protection for contractors. The awarding authority must certify compliance with applicable contracting requirements before execution of the final contract. In a contractor’s payment action, that certification creates a presumption of compliance that may be rebutted only by clear and convincing evidence that the certification was false or fraudulent and that the contractor knew it was false or fraudulent before the contract was executed.10
Alabama’s statutory framework therefore illustrates both the severity of the potential consequences of an unlawful public contract and the importance of confirming compliance with applicable statutory procedures before beginning work.
Some States Take a Different Approach
Not every state imposes the same restrictions on recovery under a defective public contract.
Some jurisdictions recognize limited exceptions or provide statutory mechanisms that attempt to balance the protection of public funds with fairness to contractors who have acted in good faith.
Illinois: Good Faith May Provide a Path to Recovery
Illinois has recently shifted toward greater protections for contractors. In 2020, the Illinois Supreme Court allowed a contractor’s quantum meruit claims to proceed against a school district despite deficiencies in the contracting process.11
The contractor had performed emergency fire restoration work and limited its requested recovery to available insurance proceeds. Rather than enforcing the defective agreement itself, the court permitted the claims to proceed on equitable grounds, considering the circumstances surrounding the transaction, including the contractor’s good-faith performance, the school district’s acceptance of the work, and the involvement of a financial oversight official.
The dissent raised concerns that permitting such recovery could undermine statutory safeguards and create opportunities for favoritism and improper contracting arrangements. However, the majority emphasized that the contractor’s requested recovery was limited to insurance coverage and would not place taxpayer funds at risk.
While the decision illustrates that equitable relief may be available in certain circumstances, it does not establish an unrestricted right to payment under an unlawful government contract.
New Mexico: When the Law Provides a Second Chance
New Mexico takes a different approach by providing a statutory mechanism for addressing certain unlawful procurement awards.
Under the New Mexico Procurement Code, when a valid written contract has been executed by all parties and necessary approval authorities, and the award is subsequently determined to violate applicable procurement law, the government entity may, subject to statutory conditions, ratify and revise the contract to comply with the law or terminate it.12
If the contract is terminated under this provision, a contractor who has not acted fraudulently or in bad faith is entitled to compensation for actual expenses reasonably incurred under the contract, plus a reasonable profit attributable to the period before termination.
Although the statute provides a path to recovery of certain expenses and profit, it does not guarantee the full contract price or anticipated profits for work that was never performed.
It is a limited statutory remedy, not a blanket protection against defective government contracts.
Protect Yourself Before You Perform
One of the most dangerous assumptions a private company can make when contracting with a government entity is that compliance with government contracting laws is solely the government’s responsibility.
While the government entity may be responsible for following the applicable procurement and approval procedures, the private contractor may ultimately bear the financial consequences if those procedures are not followed.
Before entering into a government contract, contractors should consider:
- Whether the government entity has the legal authority to enter into the contract.
- Whether applicable competitive bidding and procurement requirements have been satisfied.
- Whether all necessary governmental approvals have been obtained.
- Whether the individual signing the contract has the legal authority to bind the government entity.
- Whether statutory funding or expenditure requirements have been satisfied.
- What remedies are available if the contract is subsequently determined to be invalid or unenforceable.
This analysis should extend beyond the original contract. Amendments, change orders, contract extensions, and authorizations for additional work may also be subject to statutory requirements that affect their enforceability. Contractors should be diligent in ensuring legal compliance through all stages of a project.
Notes
- Tex. Loc. Gov’t Code Ann. § 252.061 (municipal contracts); see also id. § 262.033 (taxpayer may enjoin performance of a county contract made in violation of competitive bidding requirements). ↩
- Tex. Gov’t Code Ann. § 551.141. ↩
- Tex. Loc. Gov’t Code Ann. §§ 271.151–.153; City of Houston v. Swinerton Builders, Inc., 233 S.W.3d 4, 12–13 (Tex. App.—Houston [1st Dist.] 2007, no pet.); City of Houston v. Petroleum Traders Corp., 261 S.W.3d 350, 359–60 (Tex. App.—Houston [14th Dist.] 2008, no pet.). ↩
- Michael R. Gianatasio, PE, P.C. v. City of New York, 53 Misc. 3d 757 (Sup. Ct. N.Y. Cnty. 2016), aff’d, 159 A.D.3d 659 (1st Dep’t 2018). ↩
- S.T. Grand, Inc. v. City of New York, 32 N.Y.2d 300, 305 (1973); Gerzof v. Sweeney, 22 N.Y.2d 297, 304 (1968). ↩
- Daniel J. Lynch, Inc. v. Bd. of Educ. of the Maine-Endwell Cent. Sch. Dist., 86 Misc. 3d 507, 515 (Sup. Ct. Broome Cnty. 2025), aff’d, 2026 NY Slip Op 03209 (3d Dep’t May 21, 2026). ↩
- Ala. Code §§ 39-5-1, 39-5-3, 39-5-5. ↩
- Ala. Code § 39-5-6. ↩
- Ala. Code §§ 39-5-3, 39-5-4. ↩
- Ala. Code § 39-5-1(b). ↩
- Restore Constr. Co. v. Bd. of Educ. of Proviso Twp. High Schs. Dist. 209, 2020 IL 125133. ↩
- N.M. Stat. Ann. § 13-1-182. ↩