Codify — Article

Bill C-370 lets judges order people to unlock electronic devices for serious crimes

Creates a judicial power to compel device unlocking on ex parte application for a closed list of serious offences — raising practical, constitutional and enforcement questions for investigators and defence counsel.

The Brief

Bill C-370 inserts a new section (487.0921) into the Criminal Code that allows a judge to order a person to unlock an electronic device when a peace officer, on an ex parte application, shows reasonable grounds that a listed serious offence has been committed and that access to the device will afford evidence. The provision limits scope by requiring the person be a “user” of the device, that other investigative procedures have been tried or are impractical given urgency, and that the order be in the interests of the administration of justice.

The bill creates practical tools for investigators — including telewarrant authority and the ability to execute orders anywhere in Canada — and a stiff criminal penalty for non‑compliance (up to 10 years’ imprisonment). It also includes an evidentiary carve‑out: proof that someone unlocked a device under the order cannot be used to establish ownership or knowledge of the device’s contents.

Those design choices bring immediate operational implications for law enforcement, defence counsel and technical communities and point to likely constitutional and implementation challenges.

At a Glance

What It Does

The bill authorizes a judge, on an ex parte application by a peace officer who already has lawful authority to examine a device, to order a person to unlock an electronic device or provide access to specified data contained in or available to the device. The judge may impose terms to ensure the execution is reasonable, and may issue the order by telecommunication when appearing in person is impracticable.

Who It Affects

Directly affected are peace officers and Crown prosecutors who seek access to encrypted or locked devices, persons who are users of such devices, judges who must evaluate technical and legal thresholds, and forensic examiners who will implement orders. Device makers, encryption service providers and cloud hosts will be indirectly affected where orders target data accessible through a device.

Why It Matters

It creates a targeted compulsory‑access power for a narrow set of serious offences, elevates operational expectations for law enforcement (including telewarrants and interprovincial execution), and criminalizes refusal to comply — all while carving out a limited evidentiary protection. That combination will drive litigation over constitutional limits, shape forensic practice, and affect how tech companies respond to orders and secure products.

More articles like this one.

A weekly email with all the latest developments on this topic.

Unsubscribe anytime.

What This Bill Actually Does

The bill adds a single, detailed provision to the Criminal Code giving judges the power to compel a person to unlock an electronic device when certain conditions are met. A peace officer who already has lawful authority to examine a device must apply ex parte to a judge and swear to reasonable grounds on several points: that a listed serious offence likely occurred, that examining the device or specified data will likely yield evidence, that the targeted person is a user of the device, and that other investigative means have failed or are impractical given urgency.

The judge must also consider whether making the order serves the administration of justice.

Judges retain discretion to attach any terms and conditions they consider necessary to make the execution reasonable. The bill explicitly allows an order to be executed anywhere in Canada provided the executing peace officer has authority at that location, and it permits judges to grant orders on information supplied by telephone or other telecommunication when personal appearance would be impracticable.

Those mechanics are designed to let investigators move quickly across jurisdictions and to address time‑sensitive threats.If a person, without reasonable excuse, refuses to comply with an order they face criminal liability: an indictable offence carrying up to 10 years’ imprisonment or a summary conviction offence. At the same time, the bill limits how evidence of compliance may be used: proof that someone unlocked a device under the order cannot be admitted to prove ownership of the device or that the person knew the contents.

The text also defines “electronic device” to include computer programs, computer systems, computer data and data storage devices and extends compelled access to data “contained in or available to” the device, which can reach data accessible via cloud services through the device.Taken together the measure is narrow in the catalogue of offences it targets (terrorism offences, a series of sexual offences, murder, trafficking, abduction, and the Crimes Against Humanity and War Crimes Act, among others) but expansive in procedure and sanction. Implementing the power will require courts and police to grapple with technical realities (biometric locks, remote wiping, encrypted cloud accounts), draft precise judicial terms to protect privacy and evidentiary integrity, and anticipate constitutional challenges around compelled production and search‑and‑seizure protections.

The Five Things You Need to Know

1

The bill defines “electronic device” to include computer programs, computer systems, computer data (per s. 342.1(2)) and data storage devices, and the order covers data contained in or available to the device.

2

A judge may grant an order on an ex parte application by a peace officer who already has lawful authority to examine the device — but only if the judge is satisfied the person is a user and other investigative procedures have failed or are impracticable due to urgency.

3

The list of qualifying offences is limited to a closed set of serious crimes (terrorism offences, specified sexual offences, murder, trafficking, abduction, and offences under the Crimes Against Humanity and War Crimes Act, among others).

4

The bill allows orders to be issued by telecommunication if appearing in person is impracticable and permits execution anywhere in Canada, provided the executing peace officer has local authority.

5

Failure to comply without reasonable excuse is a criminal offence (indictable up to 10 years or summary), and evidence that a person unlocked a device under the order is inadmissible solely as proof of ownership or knowledge of the device’s contents.

Section-by-Section Breakdown

Every bill we cover gets an analysis of its key sections. Expand all ↓

487.0921(1)

Definitions — what counts as a device and an offence

▾

Subsection (1) sets the vocabulary the rest of the provision uses. It borrows “data” and “judge” from existing Code definitions and specifies that “electronic device” includes computer programs, computer systems, computer data and data storage devices. It also enumerates the offences that trigger the power, pulling together terrorism provisions, a series of sexual‑offence provisions, murder, trafficking, abduction, and the Crimes Against Humanity and War Crimes Act. That dual drafting choice narrows the power to serious crimes while making clear the order can reach both locally stored and device‑accessible data (e.g., cloud content available through the device).

487.0921(2)

Order to unlock — thresholds a judge must find

▾

Subsection (2) is the core: it authorizes a judge to compel a person to unlock a device or provide access to specified data if the judge is satisfied on sworn information of five things: reasonable grounds an offence was committed, that examining the device or specified data will afford evidence, that the person is a user, that other investigative procedures have been tried and failed or are impractical given urgency, and that the order is in the administration of justice. Practically, this imports a proportionality and necessity assessment into the judicial evaluation: the Crown must justify intrusion by both the link to the offence and the inadequacy of other investigative tools.

487.0921(3)

Reasonableness terms — tailoring execution

▾

Subsection (3) requires the judge to include any terms and conditions needed to make execution reasonable in the circumstances. That creates a vehicle for courts to prescribe technical limits — for example, specifying forensic protocols, limiting scope to particular files or time ranges, mandating presence of counsel or independent experts, or imposing rules to prevent broader searching. The clause places the onus on judges to translate legal standards into operational instructions for forensic teams and officers executing the order.

2 more sections▾
487.0921(4)–(5)

Execution across Canada and telewarrants

▾

Subsections (4) and (5) allow orders to be executed anywhere in Canada and permit judges to issue orders on information conveyed by telephone or other telecommunications when personal appearance is impracticable, with section 487.1 applying as modified. Execution across provincial boundaries requires that the executing peace officer have authority where the order is carried out. These provisions prioritize operational flexibility — they speed cross‑jurisdictional access and urgent investigations — but they also increase the importance of ensuring proper authority and maintaining an unbroken chain of custody and lawful process.

487.0921(6)–(7)

Non‑compliance penalty and evidentiary limit

▾

Subsection (6) criminalizes non‑compliance without reasonable excuse, punishable either as an indictable offence with up to ten years’ imprisonment or as a summary offence. Subsection (7) limits one evidentiary consequence: evidence that a person unlocked a device under the order cannot be used to prove ownership of the device or that the person knew the device’s contents. That narrow exclusion protects against a specific prosecutorial use of compelled unlocking, but it does not broadly immunize other derivative uses of the unlocked data and leaves many evidentiary questions to future case law.

Who Benefits and Who Bears the Cost

Every bill creates winners and losers. Here's who stands to gain and who bears the cost.

Who Benefits

  • Victims and investigators in serious‑crime investigations — investigators gain a judicially sanctioned tool to access locked devices that often contain central evidence (messages, location data, media), potentially shortening investigations and improving evidence preservation.
  • Crown prosecutors — the provision can help them secure otherwise inaccessible evidence to support charges and prosecutions in cases where device access is dispositive.
  • National security and specialized units — terrorism‑ and trafficking‑focused units will benefit from a statutory mechanism tailored to serious, time‑sensitive offences and the telewarrant/extra‑provincial execution flexibilities.
  • Forensic investigators and police units — will have clearer judicial authority to seek compelled access and a judicial mechanism to obtain targeted search parameters and execution terms that can reduce legal uncertainty during examinations.

Who Bears the Cost

  • Persons compelled to unlock devices — accused individuals, witnesses or third parties identified as “users” face criminal sanctions for non‑compliance and potential intrusion into private material that may be legally guarded or unrelated to the offence.
  • Digital device manufacturers and security providers — may face increased legal requests, pressure to assist or design around compelled‑access models, and reputational/market challenges when customers demand stronger protections.
  • Small forensic labs and police units — increased workload, need for technical expertise, and potential costs for secure handling, special software or outside technical experts to implement narrow judicial terms.
  • Courts and judicial system — judges will need training and possibly additional resources to evaluate technical claims (encryption, biometrics, cloud access) and to draft precise, operational terms for orders, creating administrative and capacity costs.

Key Issues

The Core Tension

The bill pits two legitimate aims against one another: the state’s need to obtain probative electronic evidence quickly in serious, often urgent crimes, versus individuals’ Charter‑protected privacy and protection against compelled self‑incrimination and the practical limits of contemporary device security; the statute provides a targeted investigatory tool but leaves unresolved whether and how compelling access can be squared with constitutional protections and modern technical realities.

The bill trades a tailored access power for a set of unresolved legal and operational questions. Constitutionally, compelling a person to produce the means to access data sits at the intersection of search‑and‑seizure protections and protections against compelled self‑incrimination; the statute attempts to cabin some downstream use of compelled unlocking but does not squarely resolve whether compelling a passcode or biometric use is testimonial or violates Charter protections.

That gap invites litigation and case law to reconcile the statute with Charter principles and prior jurisprudence on compelled production.

Operationally, the provision assumes that compelled unlocking is feasible and that being a “user” of a device can be clearly established; in practice, devices can be protected by hardware security modules, remote wipe or cloud authentication, or use shared accounts and multiple users. Enforcing orders where unlocking is technically impossible will produce contestable non‑compliance charges and may incentivize destruction or use of countermeasures.

The ex parte structure speeds access but raises a risk of insufficient adversarial testing of technical claims and necessitates robust post‑order review mechanisms. Finally, the narrow evidentiary exclusion (ownership/knowledge) reduces one prosecutorial use of compelled unlocking but leaves open many derivative uses of the obtained data, meaning the practical shield for compelled persons is limited and will be fleshed out in litigation.

There's more to this law than the bill.

Codify Laws traces every connection across the legislative lifecycle.

Bill↓Regulations↓Statute↓Proclamation↓In-Force Date
Try Codify Laws →