Skip to main content

Pen. Code, § 638.51 · Chapter 1.5. Invasion of Privacy

Pen. Code, § 638.51

Verbatim from the official edition

Text — As published in the Legislative Counsel's database, tables dated October 18, 2026 (pubinfo_2025.zip)

(a) Except as provided in subdivision (b), a person may not install or use a pen register or a trap and trace device without first obtaining a court order pursuant to Section 638.52 or 638.53.

(b) A provider of electronic or wire communication service may use a pen register or a trap and trace device for any of the following purposes:

(1) To operate, maintain, and test a wire or electronic communication service.

(2) To protect the rights or property of the provider.

(3) To protect users of the service from abuse of service or unlawful use of service.

(4) To record the fact that a wire or electronic communication was initiated or completed to protect the provider, another provider furnishing service toward the completion of the wire communication, or a user of that service, from fraudulent, unlawful, or abusive use of service.

(5) If the consent of the user of that service has been obtained.

(c) A violation of this section is punishable by a fine not exceeding two thousand five hundred dollars ($2,500), or by imprisonment in the county jail not exceeding one year, or by imprisonment pursuant to subdivision (h) of Section 1170, or by both that fine and imprisonment.

(d) A good faith reliance on an order issued pursuant to Section 638.52, or an authorization made pursuant to Section 638.53, is a complete defense to a civil or criminal action brought under this section or under this chapter.

Notes and commentary — not statutory text

History

Added by Stats. 2015, Ch. 204, Sec. 2. (AB 929) Effective January 1, 2016.

Source of truth

Edition
As published in the Legislative Counsel's database, tables dated October 18, 2026 (pubinfo_2025.zip)
Official file
https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=PEN&sectionNum=638.51.
Text hash
sha256 e4f2aa5841e05ca8846b440f4965aace2ddc26867792fa2af4d288d879752ccb
Composed by
compose_ca.py 2026-10-22: the Legislative Counsel's CAML content files read by a tokenizer (caml_readers.reader_a); an independent xml.etree reading (caml_readers.reader_b) agrees on every section

This section cites

Provisions in this library that the text above cites, as it prints each citation. A range cited as “ss. 61.13-61.16” links its first and last provisions.

Procedural information only. Not legal advice and not a substitute for the advice of an attorney. Confirm the current text with the official publisher before relying on it.