Several places. Penal Code 626.9 generally bars possessing a firearm in a school zone, section 171b generally bars it in state and local public buildings, and section 26230(a) lists more places that a person with a license to carry may not enter with a firearm. Court rulings affect some of the 26230 places.
Where is a firearm off limits to everyone?
Section 626.9 covers school zones and college campuses, and section 171b covers state and local public buildings and public meetings, each with listed exceptions such as written permission.
Section 626.9(b) covers "Any person who possesses a firearm in a place that the person knows, or reasonably should know, is a school zone". Under subdivision (e)(4), a school zone is "an area in, or on the grounds of, a public or private school providing instruction in kindergarten or grades 1 to 12, inclusive, or within a distance of 1,000 feet from the grounds of the public or private school". Subdivision (c)(1) excepts possession "Within a place of residence or place of business or on private property, if the place of residence, place of business, or private property is not part of the school grounds" when "the possession of the firearm is otherwise lawful". Subdivision (i) covers a person who "brings or possesses a firearm upon the grounds of a campus of" a public or private university or college, for property that "are contiguous or are clearly marked university property", "unless it is with the written permission of the university or college president, their designee, or equivalent university or college authority".
Section 171b(a) covers a person who "brings or possesses within any state or local public building or at any meeting required to be open to the public" "Any firearm". Subdivision (c) defines a state or local public building by three criteria; the first is "a building or part of a building owned or leased by the state or local government, if state or local public employees are regularly present for the purposes of performing their official duties", and the others leave out residences and places other sections cover. Subdivision (b)(4) excepts "A person who has permission to possess that weapon granted in writing by a duly authorized official who is in charge of the security of the state or local government building".
Other statutes name other places. Section 171.5(b) makes it unlawful "to knowingly possess any firearm in any building, real property, or parking area under the control of an airport", except as section 26230 provides, and subdivision (e) excepts an unloaded firearm in a hard-sided, locked container for transport under federal rules, outside any sterile area. Section 171c(a)(1) covers a person who "brings a loaded firearm into, or possesses a loaded firearm within, the State Capitol" and other listed state offices and hearing rooms. For a loaded firearm elsewhere, section 25850(a) covers a person who "carries a loaded firearm on the person or in a vehicle" in "any public place or on any public street in an incorporated city" or in a "prohibited area of an unincorporated area". Section 4574(a) makes it a felony to knowingly bring "any firearms, deadly weapons, or explosives" into a state prison or a jail, or within grounds belonging or adjacent to it, without authorization. Under 18 U.S.C. 930(a), knowingly possessing a firearm "in a Federal facility (other than a Federal court facility)" is a federal crime, subject to the exceptions in subsection (d) and the posted-notice rule in subsection (h); subsection (e) covers federal court facilities. This page does not list every exception or every other place.
Where can't a person with a license to carry go?
Section 26230(a) bars licensees from carrying firearms into 26 kinds of places plus those other laws bar; a March 27, 2025 Department of Justice bulletin lists six as enjoined.
Section 26230(a) applies to "A person granted a license to carry a pistol, revolver, or other firearm capable of being concealed upon the person" and says that person "shall not carry a firearm on or into any of the following". Paragraph (1) is "A place prohibited by Section 626.9." Paragraphs (27) to (29) reach "Any other place or area prohibited by other provisions of state law", "Any other place or area prohibited by federal law" and "Any other place or area prohibited by local law".
The Department of Justice's Information Bulletin 2025-DLE-06, dated March 27, 2025, sorts paragraphs (1) to (26) and says "20 out of 26 of the sensitive places identified in section 26230 are now in effect". Eleven "were never enjoined": school zones, preschools and childcare facilities, buildings under the control of an officer of the state executive or legislative branch, court buildings, local government buildings, adult and juvenile detention centers, colleges and universities, airports and passenger vessel terminals, property controlled by the federal Nuclear Regulatory Commission, police stations and polling places. A Ninth Circuit ruling made nine more enforceable: bars and restaurants that serve alcohol, playgrounds and youth centers, parks, athletic areas and athletic facilities, most real property under the control of the Department of Parks and Recreation or Department of Fish and Wildlife, casinos and similar gambling establishments, stadiums and arenas, public libraries, amusement parks, and zoos and museums.
The other six "remain subject to the preliminary injunction entered on December 20, 2023": hospitals and medical facilities, public transit, public gatherings, places of worship, financial institutions, and private property open to the public. This page does not say whether any of the 26 places is enforceable on a later date.
Can you carry a gun in a church in California?
Section 26230(a)(22) lists places of worship, but the Department of Justice's bulletin of March 27, 2025 lists that paragraph among six that remain subject to a preliminary injunction.
Paragraph (22) lists "A church, synagogue, mosque, or other place of worship" and applies "unless the operator of the place of worship clearly and conspicuously posts a sign at the entrance of the building or on the premises" "indicating that licenseholders are permitted to carry firearms on the property". In its opinion filed September 6, 2024, the Ninth Circuit wrote that "we affirm the injunction insofar as it enjoins Defendant from implementing or enforcing California Penal Code sections 26230(a)(7), (8), (10), (22), (23), and (26)". This page does not say whether a particular church allows firearms, or state any ruling in those cases after the dates here.
What have the courts said about the list?
A district court enjoined parts of the list in 2023, the Ninth Circuit narrowed that order in 2024, and the Supreme Court decided a related Hawaii case in 2026.
The Department's bulletin says the nine provisions "had previously been enjoined by a December 20, 2023 preliminary injunction issued by the United States District Court for the Central District of California". In the opinion filed September 6, 2024 in Carralero v. Bonta, No. 23-4354, and May v. Bonta, No. 23-4356, the Ninth Circuit also affirmed the injunction as to "the new default rule as to private property". The order filed January 15, 2025 says "Appellees’ petition for panel rehearing and petition for rehearing en banc, Docket No. 80, is DENIED." The bulletin says "Effective January 23, 2025, the United States Court of Appeals for the Ninth Circuit reversed that preliminary injunction in multiple respects".
On June 25, 2026, the Supreme Court decided Wolford v. Lopez, No. 24-1046, a Hawaii case. Its syllabus says "Hawaii's law prohibiting licensed concealed-carry permit holders from carrying handguns on private property open to the public without the property owner's express authorization violates the Second and Fourteenth Amendments". California's paragraph (26) covers "Any other privately owned commercial establishment that is open to the public" "unless the operator of the establishment clearly and conspicuously posts a sign at the entrance of the building or on the premises". This page does not say how Wolford applies to paragraph (26) or what the courts have ruled in the California cases since the dates above.
What do the open carry laws add?
Sections 26350 and 26400 cover openly carrying unloaded firearms in incorporated cities and prohibited areas, and the Department of Justice said on April 16, 2026 they remain in effect.
Section 26350(a)(1) covers an "exposed and unloaded handgun outside a vehicle" in listed places, and section 26400(a) covers "an unloaded firearm that is not a handgun outside a vehicle" in listed areas. The Department's Information Bulletin 2026-DLE-10, dated April 16, 2026, says "California's restrictions on the open carrying of firearms and issuance of open-carry licenses remain in effect". It reports that on April 15, 2026 the Ninth Circuit ordered that Baird v. Bonta "be reheard en banc and vacated the three-judge panel opinion issued on January 2, 2026". This page does not state the exceptions to sections 26350 and 26400 or any later ruling in Baird.
Related questions
- Penal Code 626.9 and School-Zone Firearm Allegations
- Does a restraining order suspend my concealed carry permit in California?
- Concealed Firearm
Frequently asked questions
Can you carry a gun near a school in California?
Generally not within 1,000 feet of a K-12 school's grounds, which section 626.9(e)(4) makes part of a school zone. Subdivision (c)(2)(A) excepts an unloaded handgun "within a locked container in a motor vehicle" or its locked trunk, and (c)(5) excepts a licensee who is not on school-controlled property "or on a street or sidewalk immediately adjacent" to it. This page does not say whether a particular place is a school zone.
Can you carry a gun into a government building in California?
Generally not. Section 171b(a) covers "Any firearm" brought or possessed "within any state or local public building". Subdivision (b) excepts, among others, a person with permission "granted in writing by a duly authorized official who is in charge of the security of the state or local government building", peace officers, weapons brought into court as evidence, the parts of a building the government does not own or lease, and some gun show activity.
Did the law change recently?
As of November 21, 2026, Penal Code 26230 is shown as last amended by Statutes 2025, chapter 570 (Assembly Bill 1078), effective January 1, 2026, which added the public transit lock box exception in paragraph (8). The Supreme Court decided Wolford v. Lopez on June 25, 2026. The newest Department of Justice bulletin on the 26230 places read for this page is dated March 27, 2025.
Talk to a lawyer
The Law Offices of David S. Chesley defend weapons charges across California (see the firm's violent crimes lawyer page and its page on unlawful possession of firearms).
The firm offers a free consultation, is available 24/7, and offers payment plans. Se habla español. Call (800) 755-5174 or request a free consultation online.
This page is general information, not legal advice, and no outcome is guaranteed.
