In a criminal prosecution, can ignorance of the law serve as a defence?

Published on November 29, 2026

As a rule, no: section 19 of the Criminal Code provides that ignorance of the law does not excuse the commission of an offence. Three exceptions exist: offences requiring a particular intent, unpublished laws, and officially induced error.

Homme perplexe consultant un recueil de lois à la table de sa cuisine, le soir.

Learn more

Have you ever done something without knowing it was illegal? Laws are numerous, sometimes complex and hard to understand. Can citizens really know every rule that governs their daily lives?

Even if the answer to that question is almost certainly no, the principle remains that ignorance of the law is no excuse. This well-known rule is set out in the Canadian Criminal Code, which provides that a person who commits an offence cannot raise ignorance of the law to excuse the act, subject to exceptions.

Error of law

Ignorance of the law amounts to an “error of law” — a mistaken interpretation of a legal rule that leads a person to commit an illegal act they wrongly believed to be permitted.

For example, a former spouse who threatens to use force against their ex-partner could, depending on the circumstances, be charged with assault, even if they did not know that the absence of physical contact could still engage criminal liability.

Being unaware of the law — even after taking reasonable steps to learn it — or making a mistake about its scope or interpretation does not justify a criminal offence.

Exceptions

There are, however, clear exceptions that frame this principle.

Exceptions under the Criminal Code

First, for certain offences such as theft, the Criminal Code requires the accused to have broken the law intentionally and wilfully.

Note that the accused would not justify the act by claiming ignorance that theft is a criminal offence, but rather by showing a sincere initial belief that they owned the property taken without authorization, when in fact they did not. This nuance belongs to mens rea, the guilty intent the offence requires.

Unpublished law

Second, an error of law may be accepted as a defence where the offence charged is genuinely prohibited by a statute or regulation that has not been published. In that case, the accused had no way of knowing that the act was illegal.

Error induced by a state official

Third, where a person commits an act on the recommendation of a state official and that act turns out to be illegal, an error of law may allow the accused not to be acquitted, but to obtain a stay of proceedings — as if no prosecution had been brought.

The six criteria from Jorgensen

This exception comes from the Supreme Court of Canada’s decision in Jorgensen, which recognized that an error induced by the administration — that is, by a state official — may constitute an accepted defence where six cumulative criteria are met. The accused must prove them on a balance of probabilities, by showing it is more likely than not that the following six criteria led them to commit the offence.

  • An error of law, or a mixed error of law and fact, was made;
  • The accused considered the legal consequences of the act before committing it;
  • The accused obtained advice from a state official competent in the field in which the advice was sought. Public servants and police officers are state officials; a security guard hired by a private company is not. A police officer contacted about a threat to life or safety is competent; one called about a breach of contract is not;
  • The advice given by the state official was reasonable;
  • The advice given was erroneous;
  • The accused committed the illegal act after obtaining the advice and because of it.

In summary

In short, the legality of an act is assessed in its context — something our lawyers at Gaucher Ross Avocats will gladly review with you. And above all, remember that ignorance of the law is the exception, not the rule!

Back to home