The difference between a mistake of law and a mistake of fact comes down to what you were wrong about. A mistake of fact means you misunderstood the real-world situation in front of you. A mistake of law means you understood the situation perfectly well but didn’t know the rules that applied to it. The practical consequence is big: a factual mistake can often defeat a criminal charge because it shows you lacked the required intent, while a legal mistake almost never excuses the conduct, with a handful of narrow exceptions.
Mistake of Fact, Defined
A mistake of fact is a false belief about the circumstances. You acted on that belief, and if the world had actually been the way you thought it was, nothing illegal would have happened.
The familiar example is the umbrella. You leave a restaurant and grab the umbrella by the door, certain it’s yours. It isn’t. You’ve walked off with someone else’s property, but your error was about a fact — whose umbrella it was — not about whether taking other people’s things is against the law.
Agreeing to hold a package for a friend without knowing it contains drugs or stolen goods works the same way. You know you’re holding a package. What you don’t know is what’s inside. The gap between your belief and the actual facts is the heart of this kind of mistake.
Mistake of Law, Defined
A mistake of law is the opposite setup. You have the facts exactly right. What you got wrong is the rule.
A tourist drinking a beer in a public park where open containers are banned knows it’s a park, knows it’s beer, and knows other people can see them. Their error is not knowing the local ordinance exists. Recording a phone call without the other person’s consent in a two-party-consent state is the same pattern: the caller meant to record, understood exactly what they were doing, and simply didn’t know the state required both sides to agree. The dividing line is clean on paper. “I didn’t know the situation was what it was” is a mistake of fact. “I didn’t know the rule was what it is” is a mistake of law.
When a Mistake of Fact Works in a Criminal Case
Mistake of fact is a real, widely accepted defense because it attacks the mental state the prosecution has to prove. Most crimes require some level of intent — knowingly, purposely, recklessly. If a genuine misunderstanding of the facts means you didn’t have that mental state, the government can’t make its case. How much weight the mistake carries depends on the type of crime.
Specific Intent Crimes
Crimes that require a particular purpose give the defense the most room. Theft requires the intent to permanently deprive someone of their property. If you honestly thought the umbrella was yours, you didn’t form that intent, and the defense works even if your belief was unreasonable. Sincerity is what the law tests here, not quality of judgment.
General Intent Crimes
For crimes that only require the intent to do the act, the standard tightens. The mistake still has to be genuine, but it also has to be reasonable — the kind of error an ordinary person could have made in the same spot. Battery is a common example. If you swung at someone because you reasonably but wrongly thought they were about to attack you, the mistake matters. If the belief was paranoid and baseless, it doesn’t.
Strict Liability Crimes
Some offenses require no mental state at all, and for those, mistake of fact is irrelevant. Selling alcohol to a minor is the standard illustration: a convincing fake ID and a buyer who looked of age won’t help the seller. Speeding, certain regulatory violations, and statutory rape in some states work the same way. The legislature has decided that being wrong about the facts is the defendant’s problem on these offenses.
When a Mistake of Law Works in a Criminal Case
“Ignorance of the law is no excuse” is one of the oldest rules in the system, and it’s still the default. The reasoning is practical: if not knowing a statute were a valid defense, anyone could escape liability by claiming they’d never read it. The exceptions are genuinely narrow, and most defendants who reach for them lose. But they exist.
Unpublished or Unavailable Laws
Enforcing a law that was never published or made reasonably available can violate due process. The Supreme Court set this out in Lambert v. California, where a convicted felon was prosecuted for failing to register with the city under a local ordinance. The Court held that convicting someone with no actual knowledge of the registration duty, where nothing would have alerted them to it, violated the Fourteenth Amendment.1Justia. Lambert v. California, 355 U.S. 225 (1957)
Reasonable Reliance on an Official Statement
If you relied on an official statement of the law that later turned out to be wrong, that reliance can serve as a defense. The key word is “official.” It covers situations where a statute was later struck down, a court decision was later overruled, or the agency responsible for administering a law gave you an interpretation that was incorrect. The reliance has to be reasonable; a stray comment from a low-level employee doesn’t count.
The Tax Exception
Federal tax law is the biggest carve-out. The tax statutes require that violations be “willful,” meaning the government has to prove you voluntarily and intentionally violated a legal duty you knew about.2Office of the Law Revision Counsel. 26 USC 7201 – Attempt to Evade or Defeat Tax In Cheek v. United States, the Supreme Court held that a good-faith misunderstanding of tax law defeats willfulness even if the misunderstanding is objectively unreasonable.3Justia. Cheek v. United States, 498 U.S. 192 (1991) The Court’s reasoning was that the tax code is complex enough that holding ordinary people to perfect knowledge of it would criminalize innocent errors. This exception is specific to federal tax law and doesn’t travel to other offenses.
Advice From Your Own Lawyer
“My lawyer told me it was legal” is not a standalone defense, but it can be evidence that you didn’t act willfully. To raise it, you generally need to show that you disclosed all relevant facts to the attorney, specifically asked whether the planned conduct was legal, received advice that it was, and followed that advice in good faith.4United States Courts for the Ninth Circuit. 5.10 Advice of Counsel – Model Jury Instructions There’s a trade-off: raising the argument usually waives attorney-client privilege with that lawyer, so the prosecution gets to probe exactly what you told them and what they said back.
How These Mistakes Play Out in Contracts
Both kinds of mistake show up in civil law too, mostly in contract disputes. No one goes to jail, but a mistake can undo a deal.
Mutual Mistake
When both parties were wrong about the same material fact, the contract may be voidable. The classic case involved a cow both sides believed was barren and priced at about $80. The cow turned out to be pregnant and worth closer to $750, and the court let the seller rescind. Courts generally look at whether the mistake involved a basic assumption underlying the deal, whether it materially changed what each side was getting, and whether the party seeking relief bore the risk of being wrong. If all three line up, the mistaken party can walk away.
Unilateral Mistake
When only one side was wrong, courts are far less willing to tear up the contract — otherwise agreements would mean nothing. Relief is usually limited to two situations: the other party knew or should have known about the mistake, or enforcing the contract as written would be unconscionable. A contractor who leaves a zero off a bid may get relief if the number is so obviously wrong that the other side should have noticed. A contractor who simply underestimated costs probably won’t.
Mistake of Law in Contracts
Modern contract law has largely dropped the old rule that mistakes of law could never justify rescission. If both parties entered a deal based on a shared misunderstanding of its legal effect, courts may treat it like any other mutual mistake and ask whether the error went to a basic assumption of the contract.
Who Has to Prove What
In criminal cases, the burden question depends on which kind of mistake is in play. A mistake of fact doesn’t require the defendant to prove anything independently, because it negates an element of the crime. The prosecution still has to prove every element, including intent, beyond a reasonable doubt. If the defendant’s mistaken belief creates reasonable doubt about intent, the government has failed. As a practical matter, the defendant still has to put some evidence of the mistake in front of the jury; silence won’t do the work.
The mistake-of-law exceptions work differently. Reliance on official statements and the unpublished-law doctrine generally function as affirmative defenses, which the defendant has to prove, usually by a preponderance of the evidence. The tax rule from Cheek is the outlier: because willfulness is an element of the offense, the prosecution still has to disprove a good-faith belief beyond a reasonable doubt.3Justia. Cheek v. United States, 498 U.S. 192 (1991) That allocation of burden is a large part of why tax defenses based on mistaken belief are more viable than mistake-of-law arguments elsewhere.
Where the Line Blurs
The categories look clean until you hit a crime whose definition itself depends on another body of law. If a statute requires you to “knowingly” sell stolen property, and you honestly believed the property wasn’t stolen because you misread the property rules governing the earlier transfer, some courts will treat that legal error as negating the “knowingly” element. A mistake of law, in that posture, functions like a mistake of fact. These cases are fact-specific and heavily litigated, and they’re the reason the textbook distinction between the two kinds of mistake is less tidy in practice than it sounds on paper.