Internal prototype — noindexed, not linked from public navigation yet.

Cal. PEN § 171d

This is the official text of Cal. PEN § 171d, part of California’s Penal Code — defines crimes and sets criminal procedure in California.

Not legal advice. This page reproduces the official text of a government statute for reference only. Laws change, and how a statute applies depends on your specific facts. For advice about your situation, consult a licensed attorney in your state.

Official statutory text

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.

Status: in_force · Read it on the official government site

About this page: Statute text is reproduced from official government publishers via the Open US Law dataset (Vaquill AI, snapshot v2026.08, CC BY 4.0). Primary legislative text like this is public domain under the government-edicts doctrine (Georgia v. Public.Resource.Org, 2020). We link every section back to its official source so you can verify it independently.