Skip to main content
Cal. CodesPenal CodePart 1. Of Crimes and PunishmentsTitle 7. Of Crimes Against Public JusticeChapter 7. Other Offenses Against Public Justice

Cal. Penal Code § 171c (2026)

Edition and currency
leginfo export of Nov. 23, 2026: changes through Nov. 11, 2026 (checked Nov. 24, 2026). The text is the edition Syfert holds; for a past event, check the version in force on that date.
Other sources
CURRENTleginfo export of Nov. 23, 2026: changes through Nov. 11, 2026 (checked Nov. 24, 2026) cited 1969–1997 8citing cases
At a glance

Courts have cited this section in 8 opinions since 1969.

(a)(1)Any person who brings a loaded firearm into, or possesses a loaded firearm within, the State Capitol, the state office building at 1021 O Street in the City of Sacramento, any legislative office, any office of the Governor or other constitutional officer, or any hearing room in which any committee of the Senate or Assembly is conducting a hearing, or upon the grounds of the State Capitol, which is bounded by 10th, L, 15th, and N Streets in the City of Sacramento, shall be punished by imprisonment in a county jail for a period of not more than one year, a fine of not more than one thousand dollars ($1,000), or both such imprisonment and fine, or by imprisonment pursuant to subdivision (h) of Section 1170.

(2)Any person who brings or possesses, within the State Capitol, any legislative office, any hearing room in which any committee of the Senate or Assembly is conducting a hearing, the Legislative Office Building at 1020 N Street in the City of Sacramento, the state office building at 1021 O Street in the City of Sacramento, or upon the grounds of the State Capitol, which is bounded by 10th, L, 15th, and N Streets in the City of Sacramento, any of the following, is guilty of a misdemeanor punishable by imprisonment in a county jail for a period not to exceed one year, or by a fine not exceeding one thousand dollars ($1,000), or by both that fine and imprisonment, if the area is posted with a statement providing reasonable notice that prosecution may result from possession of any of these items:

(A)Any firearm.

(B)Any deadly weapon described in Section 21510 or in any provision listed in Section 16590.

(C)Any knife with a blade length in excess of four inches, the blade of which is fixed or is capable of being fixed in an unguarded position by the use of one or two hands.

(D)Any unauthorized tear gas weapon.

(E)Any stun gun, as defined in Section 244.5.

(F)Any instrument that expels a metallic projectile, such as a BB or pellet, through the force of air pressure, CO2 pressure, or spring action, or any spot marker gun or paint gun.

(G)Any ammunition as defined in Sections 16150 and 16650.

(H)Any explosive as defined in Section 12000 of the Health and Safety Code.

(b)Subdivision (a) shall not apply to, or affect, any of the following:

(1)A duly appointed peace officer as defined in Chapter 4.5 (commencing with Section 830) of Title 3 of Part 2, a retired peace officer with authorization to carry concealed weapons as described in Article 2 (commencing with Section 25450) of Chapter 2 of Division 5 of Title 4 of Part 6, a full-time paid peace officer of another state or the federal government who is carrying out official duties while in California, or any person summoned by any of these officers to assist in making arrests or preserving the peace while that person is actually engaged in assisting the officer.

(2)A person holding a valid license to carry the firearm pursuant to Chapter 4 (commencing with Section 26150) of Division 5 of Title 4 of Part 6, and who has permission granted by the Chief Sergeants at Arms of the State Assembly and the State Senate to possess a concealed weapon upon the premises described in subdivision (a).

(3)A person who has permission granted by the Chief Sergeants at Arms of the State Assembly and the State Senate to possess a weapon upon the premises described in subdivision (a).

(c)(1)Nothing in this section shall preclude prosecution under Chapter 2 (commencing with Section 29800) or Chapter 3 (commencing with Section 29900) of Division 9 of Title 4 of Part 6 of this code, Section 8100 or 8103 of the Welfare and Institutions Code, or any other law with a penalty greater than is set forth in this section.

(2)The provisions of this section are cumulative, and shall not be construed as restricting the application of any other law. However, an act or omission punishable in different ways by different provisions of law shall not be punished under more than one provision.

The 8 cases that cite Cal. Penal Code § 171c most heavily, weighted by court and treatment. RelevanceNewestTreatment
1
GREENGalvan v. Superior Court, 70 Cal. 2d 851 (1969).
cites § 171c 1×cited by 108 cases
Where it cites § 171c
“, Pen.Code, §§ 171c, 171d, 417, 467, 12022, 12560) ; prohibited types of weapons (e.”
The case’s holding
A local ordinance requiring firearm registration is not preempted by state law unless the state has occupied the relevant field or the regulation unduly burdens transients.
Later courts cite it for
“the fact that there are numerous statutes dealing with guns or other weapons does not by itself show that the subject of gun or weapons control has been completely covered so as to make the matter one of exclusive state concern. to approach the issue of preemption as a quantitative problem provides no guidance in determining whether the legislature intends that local units shall not legislate concerning a particular subject, and further confounds a meaningful solution to preemption problems by offering a superficially attractive rule of preemption that requires only a statutory nosecount.” · 2 citing courts
2
GREENPeople v. Zonver, 132 Cal. App. 3d Supp. 1 (App. Dep’t Super. Ct. 1982).
cites § 171c 4×cited by 3 cases
Where it cites § 171c
“Because the search in DeLong was of a motor vehicle on a junior college campus, the Court of Appeal believed it more likely that the potential offense was governed by Penal Code section 171c and hence section 171e, authorizing inspection, would be applicable rather than…”
3
GREENPeople v. Mesce, 52 Cal. App. 4th 618 (Ct. App. 1997).
cites § 171c 1×cited by 20 casespartially published
Where it cites § 171c
“Code, § 171b); possessing a loaded firearm in a state office, the capitol grounds, or school grounds (Pen. Code, § 171c); possessing a loaded firearm in the Governor's mansion or the residence of a constitutional officer (Pen.”
Later courts cite it for
“looking to the past to inform the present,” · 2 citing courts
4
GREENBraxton v. Mun. Court, 10 Cal. 3d 138 (1973).
cites § 171c 1×cited by 63 cases
Where it cites § 171c
“, possessing a" firearm and ammunition on campus (Pen. Code, §§ 171c and 171e), concealment or malicious possession of explosives (Pen.”
The case’s holding
Statutes must be construed to satisfy procedural due process requirements, necessitating notice and a hearing for excluded persons.
Later courts cite it for
“necessary to prevent substantial interference with the work of captive audiences in classrooms and research facilities.” · 1 citing court
5
GREENPeople v. Heffner, 70 Cal. App. 3d 643 (Ct. App. 1977).
cites § 171c 1×cited by 15 cases
Where it cites § 171c
“2459), the Legislature enacted Penal Code sections 171c, 171 d, and 17le.”
6
GREENPeople v. Clark, 45 Cal. App. 4th 1147 (Ct. App. 1996).
cites § 171c 1×cited by 5 cases
Where it cites § 171c
“, Pen. Code, §§ 171c, 171d & 12023) and are not generally applicable definitions of the term “loaded.”
7
GREENPeople v. Singer, 56 Cal. App. 3d Supp. 1 (App. Dep’t Super. Ct. 1976).
cites § 171c 2×cited by 2 cases
Where it cites § 171c
“This argument is based on the fact that the predecessor statute to 626.9 was Penal Code section 171c.”
8
NEUTRALPeople v. Thomason, 13 Cal. App. 3d 14 (Ct. App. 1970).
cites § 171c 4×cited by 2 cases
Where it cites § 171c
“Defendant appeals from judgment entered on his plea of guilty to a violation of Penal Code section 171c, subdivision 2, following the denial of his motion to suppress evidence pursuant to Penal Code section 1538.”

The flag is Syfertize’s treatment of the citing case itself, not of the statute. “Where it cites” is the passage in the opinion; the holding is a summary of the whole case and may concern another point. Annotations are extracted automatically from the opinions in the Syfert caselaw corpus.

Citing cases by year
196919831997

One bar per year. Tallest: 1 case in 1969. These are opinions in the Syfert collection, which holds more of some courts’ recent opinions than their older ones, so a rise can reflect what the collection holds and not more litigation.

By court
Cal. Ct. App.4Cal.2Cal. App. Dep’t Super. Ct.2
By subsection

Courts have not cited this section by subsection, so its cases are not split up here. The Leading cases tab lists the cases that cite it most heavily.

Enactment and amendments
Amended by Stats. 2021, Ch. 253, Sec. 1. (AB 173) Effective September 23, 2021.
Versions

Edition shown: leginfo export of Nov. 23, 2026: changes through Nov. 11, 2026 (checked Nov. 24, 2026). Syfert holds no earlier or later version of this section.