Mass. Gen. Laws ch. 271
Mass. Gen. Laws ch. 271, § 17B
Use of electronic communications records in ongoing criminal investigations; subpoena of records
This is the text of the statute as published at malegislature.gov, retrieved July 29, 2026. It is reproduced as written; Criminal.law has not summarized or reworded it. Read it at the official source, which controls if the two ever differ.
Section 17B. Except as otherwise prohibited under section 2703 of Title 18 of the United States Code, whenever the attorney general or a district attorney has reasonable grounds to believe that records in the possession of: (i) a common carrier subject to the jurisdiction of the department of telecommunications and cable, as provided in paragraph (d) of section 12 of chapter 159; or (ii) a provider of electronic communication service as defined in subparagraph (15) of section 2510 of Title 18 of the United States Code; or (iii) a provider of remote computing service as defined in section 2711 of Title 18 of the United States Code, are relevant and material to an ongoing criminal investigation, the attorney general or district attorney may issue an administrative subpoena demanding all such records in the possession of such common carrier or service, and such records shall be delivered to the attorney general or district attorney within 14 days of receipt of the subpoena. No such common carrier or service, or employee thereof, shall be civilly or criminally responsible for furnishing any records or information in compliance with such demand. Nothing in this section shall limit the right of the attorney general or a district attorney to otherwise obtain records from such a common carrier or service pursuant to a search warrant, a court order or a grand jury or trial subpoena.
No subpoena issued pursuant to this section shall demand records that disclose the content of electronic communications or subscriber account records disclosing internet locations which have been accessed including, but not limited to, websites, chat channels and newsgroups, but excluding servers used to initially access the internet. No recipient of a subpoena issued pursuant to this section shall provide any such content or records accessed, in response to such subpoena.
Notes and history from the source
History, source credits and commentary retained from the official source, shown separately from the section text. Read alongside the section.
Official Source Note
Captured verbatim from the official source shown in the front matter.
Reading a statute is the first step
A statute says what the law is, not how it applies to one person. The Roadmap lays out the stages of a case and the questions worth taking to a lawyer — without asking what happened.