|Part of the common law series|
|Defenses against formation|
|Excuses for non-performance|
|Rights of third parties|
|Breach of contract|
|Related areas of law|
|Other common law areas|
Clean hands, sometimes called the clean hands doctrine, unclean hands doctrine, or dirty hands doctrine, is an equitable defense in which the defendant argues that the plaintiff is not entitled to obtain an equitable remedy because the plaintiff is acting unethically or has acted in bad faith with respect to the subject of the complaint—that is, with "unclean hands". The defendant has the burden of proof to show the plaintiff is not acting in good faith. The doctrine is often stated as "those seeking equity must do equity" or "equity must come with clean hands". This is a matter of protocol, characterised by A. P. Herbert in Uncommon Law by his fictional Judge Mildew saying (as Herbert says, "less elegantly"), "A dirty dog will not have justice by the court".
A defendant's unclean hands can also be claimed and proven by the plaintiff to claim other equitable remedies and to prevent that defendant from asserting equitable affirmative defenses.  In other words, 'unclean hands' can be used offensively by the plaintiff as well as defensively by the defendant. Historically, the doctrine of unclean hands can be traced as far back as the Fourth Lateran Council.
"He who comes into equity must come with clean hands" is an equitable maxim in English law.
The maxim prevents those who have acted improperly in someway relating to the matter at hand from seeking a remedy or relief. Essentially, anyone with 'unclean hands', someone who has in some way contributed to their own injury, loss, or has in some other way acted dishonourably relating to the matter will be prevented by a court from remedy or relief regardless of how the adversary has treated them. The maxim protects the integrity of a court.
U.S. patent law
The clean hands doctrine is used in U.S. patent law to deny equitable or legal relief to a patentee that has engaged in improper conduct, such as using the patent to extend monopoly power beyond the claims of the patent.
- "unclean hands doctrine definition". Businessdictionary.com. Archived from the original on 2020-09-21. Retrieved 2020-09-09.
- Herbert, A. P. (1935). Uncommon Law (1st ed.). Methuen.
- https://www.upcounsel.com/unclean-hands ("Note that the plaintiff can also use the unclean hands defense. Specifically, the plaintiff could argue that the defendant isn’t entitled to another type of defense due to his or her unclean hands")
- https://content.next.westlaw.com/6-521-9533?transitionType=Default&contextData=(sc.Default)&firstPage=true ("Although the unclean hands doctrine is typically an affirmative defense asserted by a defendant, it may also be asserted by a plaintiff in opposition to an equitable defense such as estoppel")
- "Maxim - "he Who Comes Into Equity Must Come With Clean Hands."". law.jrank.org. Archived from the original on 2007-09-15. Retrieved 21 December 2021.
- See, e.g., Morton Salt Co. v. G.S. Suppiger Co.