Unjust Enrichment: When the Law Requires Giving Back What Was Gained

Unjust enrichment is a legal doctrine requiring that a party who gains a benefit at another's expense without justification must make restitution. Learn the elements, how it differs from contract claims, and when courts apply it.

The InfoNexus Editorial TeamMay 14, 20269 min read

Gains That the Law Will Not Let You Keep

A contractor builds an addition on the wrong house due to an address mix-up — the real owner gets a brand-new room at no cost. A payment is transferred to the wrong bank account through a clerical error. A person provides emergency medical care to an unconscious stranger. A company profits from using a competitor's trade secrets without a formal license agreement. In each scenario, one party has benefited at another's expense without a valid legal justification. Unjust enrichment is the doctrine that prevents such gains from being retained and requires the enriched party to make restitution. It operates outside contract and tort, filling gaps in the law where traditional doctrines leave parties without a remedy.

The Three Core Elements

A plaintiff claiming unjust enrichment must establish three essential elements. Courts articulate these somewhat differently across jurisdictions, but the substance is consistent.

ElementWhat Must Be ShownExample
Enrichment of the defendantDefendant received a benefit of measurable valueContractor built an addition on defendant's house
Enrichment at plaintiff's expensePlaintiff bore the cost or provided the benefitPlaintiff paid for labor and materials
Unjustness of retentionNo legal justification exists for defendant to keep the benefitNo contract, no gift, no legal entitlement

The third element — unjustness — is the most contested in litigation. Courts ask whether, in good conscience, the defendant should be allowed to retain the benefit without compensating the plaintiff. This is a normative, fact-specific inquiry. The presence of a valid contract between the parties, or a gift relationship, or a voluntary risk assumed by the plaintiff, can all make retention just.

Unjust Enrichment vs. Contract Claims

Unjust enrichment is not a contract claim, and the two are often confused. Contract law enforces the parties' agreed-upon exchange. Unjust enrichment operates when no valid contract governs the transaction — or when a contract existed but was unenforceable, void, or failed to cover the situation at hand.

The doctrine is often described as quasi-contract or contract implied in law. These terms are somewhat misleading: there is no actual agreement. The law simply imposes an obligation to make restitution as if there were a contract, to prevent the unjust outcome of allowing one party to retain an unearned gain.

  • Failed contract: If parties had a contract that turned out to be void — for example, a contract for an illegal purpose — unjust enrichment may provide a remedy for benefits already transferred.
  • Pre-contractual benefit: Work or value provided before a formal contract is signed may support a restitution claim if the deal falls through and the defendant keeps the benefit.
  • Enrichment beyond contract scope: A party may seek restitution for benefits provided that fall outside the boundaries of an existing contract.

Quantum Meruit: The Value of Services Rendered

Quantum meruit — Latin for "as much as is deserved" — is the most common form of unjust enrichment claim. It allows a party who provided services without a valid enforceable contract to recover the reasonable value of those services. The measure of recovery is the objective market value of the services, not the contract price (if any was discussed) or the plaintiff's subjective valuation.

Quantum meruit claims arise frequently in construction and professional services. An attorney who performs work under a contingency fee agreement that turns out to be unenforceable may claim quantum meruit for the reasonable value of services rendered. A contractor who performs work beyond the written contract scope — "extras" — may claim quantum meruit if the owner benefited from and accepted the extra work without objecting.

The "Volunteer" Limitation

A key limitation on unjust enrichment recovery is the intermeddler or volunteer principle: a plaintiff who confers a benefit on the defendant without the defendant's knowledge or consent, and without any emergency or necessity justifying unrequested action, generally cannot recover for unjust enrichment. You cannot paint your neighbor's house without asking and then sue for the value of the paint job.

The principle reflects a core concern of unjust enrichment law: protecting defendants from being forced to pay for benefits they never requested and would not have chosen to accept. Courts look at whether the defendant had a reasonable opportunity to decline the benefit and whether the circumstances justified the plaintiff's action without consent.

ScenarioUnjust Enrichment Available?Reasoning
Payment by mistakeYesNo legal basis to retain mistaken payment
Services under void contractUsually yesDefendant accepted benefit under expectation of payment
Unrequested services (volunteer)Usually noDefendant did not request or accept the benefit
Emergency medical care to unconscious personYes (in most states)Necessity justifies unrequested services; unjust to retain benefit without payment
Gift (donative intent)NoPlaintiff intended to confer benefit without compensation; no unjustness in retention

Defenses to Unjust Enrichment

Several recognized defenses bar unjust enrichment recovery. Change of position applies when the defendant, upon receiving the benefit in good faith, changed their circumstances in reliance on it — making restoration unjust. A bank that receives a mistaken wire transfer and immediately distributes the funds to account holders before learning of the error may assert change of position. Bona fide purchaser status protects a defendant who purchased property in good faith and for value without notice of the plaintiff's claim. Statute of limitations bars stale claims — typically three to six years, depending on the state.

Unjust Enrichment in Modern Commercial Law

Unjust enrichment claims have become increasingly significant in commercial disputes. Technology companies have faced restitution claims for data monetization — the argument that a company which profits from users' personal data without adequate disclosure has been unjustly enriched. Courts remain divided on whether data-sharing arrangements that provide free services satisfy the unjustness element. Pharmaceutical pricing litigation has also invoked unjust enrichment theories where manufacturers allegedly charged prices that bore no relationship to the value of what was provided.

A Residual Doctrine With Real Reach

Unjust enrichment has been called a residual or catch-all doctrine, filling the space where contract and tort do not reach. Its flexibility is both its strength and its limitation. Because it turns heavily on what is "just" in context, outcomes can be difficult to predict. But in cases where one party has genuinely profited at another's expense without a legitimate basis for doing so, unjust enrichment provides an essential corrective mechanism that other bodies of law cannot replicate. This article is for informational purposes only and does not constitute legal advice.

Civil LawContract LawRestitution

Related Articles