In brief
A mistake of law exists where someone knows exactly what they are doing but does not realise that it is prohibited. The person goes unpunished only if the mistake was unavoidable. Courts rarely accept this; more often the mistake leads to a lower sentence.
Legal basis
Under Section 17 StGB, a person who lacks the awareness of acting unlawfully at the time of the offence acts without guilt if the mistake (Verbotsirrtum) could not be avoided. If it could have been avoided, the sentence may be mitigated under Section 49(1) StGB. Intent is unaffected in both cases. The mistake concerns guilt only.
Distinction from a mistake of fact
A mistake of law must be distinguished from a mistake about the facts under Section 16 StGB. Someone who takes another person’s coat from a cloakroom believing it to be their own does not know that the item belongs to someone else. They lack intent to steal, and whether the mistake was avoidable does not matter.
The position is different for someone who knows all the facts and still believes their conduct is permitted. An example: a person thinks they may forcibly take back a bicycle from the thief who stole it days ago. They overestimate the limits of self-defence, which only protects against a present attack. Mistakes about the scope of a justification of this kind are treated as a mistake of law.
When is the mistake unavoidable?
The courts apply a strict standard. The person must have examined their conscience and, where doubts were obvious, sought advice. Someone who asks a reliable source, such as the competent authority or a lawyer who knew all the facts, and relies on the answer may be in an unavoidable mistake. A quick internet search or the opinion of an acquaintance is not enough. Anyone working in a regulated field must know the rules that apply there or find out about them.
In practice
We encounter mistakes of law mainly where prohibitions do not follow from everyday morality: in firearms law, under the Cannabis Act or with licensing requirements in business. An acquittal under Section 17 StGB remains the exception. More often an avoidable mistake has an effect on sentencing or supports a discontinuation of proceedings.
Anyone wishing to rely on a mistake should be able to show when they received which information from whom. Written statements from authorities, emails and notes of telephone calls should therefore be secured early. Whether to raise the mistake at all is something we decide only after inspecting the file, because it presupposes that the client admits the underlying facts.
Related terms
- Intent and negligence
- Self-defence
- Lack of criminal capacity
- Sentencing
- Dismissal subject to conditions
General explanation, not advice on an individual case. As of November 2026.