Cal. Penal Code

Cal. Penal Code § 171d

This is the text of the statute as published at leginfo.legislature.ca.gov, retrieved July 24, 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.

Any person, except a duly appointed peace officer as defined in Chapter 4.5 (commencing with Section 830) of Title 3 of Part 2, a full-time paid peace officer of another state or the federal government who is carrying out official duties while in California, any person summoned by that officer to assist in making arrests or preserving the peace while they are actually engaged in assisting the officer, a member of the military forces of this state or of the United States engaged in the performance of their duties, the Governor or a member of their immediate family or a person acting with their permission with respect to the Governor’s Mansion or any other residence of the Governor, any other constitutional officer or a member of their immediate family or a person acting with their permission with respect to the officer’s residence, or a Member of the Legislature or a member of their immediate family or a person acting with their permission with respect to the Member’s residence, shall be punished by imprisonment in a county jail for not more than one year, by a fine of not more than one thousand dollars ($1,000), or by both the fine and imprisonment, or by imprisonment pursuant to subdivision (h) of Section 1170, if they do either of the following:

(a) Bring a firearm into, or possess a firearm within, the Governor’s Mansion, or any other residence of the Governor, the residence of any other constitutional officer, or the residence of any Member of the Legislature.

(b) Bring a firearm upon, or possess a firearm upon, the grounds of the Governor’s Mansion or any other residence of the Governor, the residence of any other constitutional officer, or the residence of any Member of the Legislature.

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 history note

(Amended by Stats. 2023, Ch. 249, Sec. 3. (SB 2) Effective January 1, 2024.)

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.