A quasi contract is not a contract at all. It is an obligation a court imposes to make someone pay the reasonable value of a benefit they received at your expense, used when no valid agreement covers the situation and letting them keep the benefit for free would be unjust. Courts sometimes call it an “implied-in-law contract,” but the label misleads: nobody agreed to anything. The court looks at what happened and decides fairness requires compensation.
How It Differs From a Real Contract
A real contract forms when two people reach a mutual agreement, whether written, spoken, or shown through behavior. An implied-in-fact contract, for example, arises from conduct. Sit down at a restaurant and order food, and both sides understand you will pay for the meal. That mutual understanding, expressed through actions, is a genuine contract.1Legal Information Institute. Contract Implied in Fact
A quasi contract skips all of that. There is no meeting of the minds, no mutual understanding, often no communication at all. The court imposes the obligation after the fact because one party received something valuable and keeping it for free would be wrong. Think of it less as contract law and more as the court’s way of saying: you got something you didn’t pay for, and you can’t simply walk away with it.
The engine behind every quasi contract claim is unjust enrichment. The principle holds that a person who receives a benefit at someone else’s expense, without legal justification for keeping it, must pay for what they received.2Legal Information Institute. Unjust Enrichment
What You Have to Prove
Courts have distilled a quasi contract claim into a handful of requirements. The most widely cited formulation identifies three essential elements:3Justia Law. Bailey v West, 249 A2d 414
- You conferred a benefit on the other party, whether labor, materials, money, or professional services.
- The recipient knew about the benefit. This awareness distinguishes genuine unjust enrichment from a situation where the benefit arrived completely unnoticed.
- Keeping the benefit without paying would be inequitable under the circumstances.
Some courts add a fourth consideration: that you reasonably expected to be paid and did not intend the benefit as a gift. That piece prevents someone from giving services away freely and changing their mind later. You carry the burden of proving every element.2Legal Information Institute. Unjust Enrichment
When a Quasi Contract Claim Is Off the Table
This is where most people trip up. You cannot bring a quasi contract claim when a valid, enforceable contract already covers the same situation. If you and the other party signed an agreement governing the work, the payment terms, and the remedies for breach, the court will hold you to that agreement. You don’t get to bypass a bad deal by repackaging your claim as unjust enrichment.
The logic is straightforward. Contract law exists so people can define their own terms, and when they do, courts enforce those terms. Quasi contract is a safety net for situations where no real agreement exists, not a do-over for one that turned out worse than expected.4Legal Information Institute. Quasi Contract
There is an important exception. When a formal agreement turns out to be void or unenforceable, quasi contract fills the gap. A contractor who finishes a project only to discover the underlying contract was invalid, because of a procedural defect like improper government bidding, can still recover for the value of the work. The other party received a tangible benefit and shouldn’t keep it for free just because the paperwork was flawed.
What You Can Actually Recover
When a court rules in your favor, you receive compensation measured by “quantum meruit,” a Latin phrase meaning “as much as one has deserved.”5Legal Information Institute. Quantum Meruit The court calculates the reasonable value of whatever you provided. Not what you might have charged under a formal contract. Not what the recipient thinks the benefit was worth.
This matters in practice. Say you are a plumber who performs emergency repairs on a burst pipe for a homeowner who was out of town. Your standard rate might be $150 per hour, but the court will look at the fair market value of that specific work, considering the complexity of the job, the going rate in the area, and the urgency of the situation. The goal is to compensate you fairly for the benefit you delivered, not to create a windfall in either direction.5Legal Information Institute. Quantum Meruit
Common Scenarios Where a Quasi Contract Applies
Emergency Services
The textbook case involves a doctor who provides emergency medical care to an unconscious accident victim. The patient never agreed to treatment and couldn’t have, but received lifesaving care. The law presumes a reasonable person would consent to and pay for necessary emergency services, allowing the provider to recover the fair value of the care. The same logic applies to other emergency responders who intervene when someone cannot speak for themselves.
Mistaken Payments
When money lands in the wrong hands due to an error, quasi contract principles apply. If your employer accidentally deposits your paycheck into a former employee’s account, or an insurance company sends a settlement check to the wrong claimant, the recipient has been unjustly enriched. Courts allow recovery of mistaken payments even when the payer was careless. Negligence in making the mistake does not erase the recipient’s obligation to return what was never theirs.
Work Done Under a Void Contract
Sometimes a contractor completes a job in good faith and only later learns the underlying agreement was legally defective. Maybe the contract violated a bidding requirement, lacked a necessary signature, or failed to comply with a licensing statute. In those situations you cannot sue for breach of contract, because no valid contract exists to breach. But the property owner still has a new roof, a renovated kitchen, or a repaved driveway. Courts use quasi contract to bridge the gap, allowing recovery of the reasonable value of the work.
Defenses the Other Side Will Raise
Not every situation where someone receives a benefit leads to liability. Courts recognize several defenses that can defeat a claim.
- Volunteering or forcing a benefit. If you provided services without being asked and without any reasonable basis for expecting payment, you are what the law calls an “officious intermeddler.” You cannot mow your neighbor’s lawn uninvited and then demand $200. The benefit has to be one the recipient knowingly accepted or that circumstances made necessary.
- An existing contract governs the subject matter.
- Change of position. A defendant who already spent or committed the benefit in ways they cannot reverse may argue that requiring full restitution would itself be unjust.
- Unclean hands. If you acted dishonestly or in bad faith during the transaction, the court may refuse to grant an equitable remedy.
- Lack of knowledge. If the defendant genuinely had no idea they received a benefit and did not act unjustly in retaining it, that cuts against the awareness element.
The volunteer defense catches people off guard most often. Courts have little sympathy for someone who thrusts an unrequested service on another person and then complains about not getting paid. The main exception is a true emergency, where the recipient was unable to consent.
Deadlines and Where to File
Every quasi contract claim has a deadline. Statutes of limitations for unjust enrichment generally run two to six years depending on the jurisdiction, and the clock typically starts when the unjust enrichment occurs or when you discover it. Missing this window means losing the claim entirely, no matter how strong the underlying facts. Because the deadlines vary significantly by state, checking the applicable time limit early is one of the first things to do.
Filing costs vary too. For smaller amounts, small claims court is often available and far less expensive than a full civil lawsuit. Most states set their small claims ceiling somewhere between $5,000 and $25,000, which covers many quasi contract disputes. Whichever court you end up in, the core question stays the same: did the other party receive something valuable at your expense, and would it be unfair to let them keep it without paying?