Quick summary
California Penal Code 626.9, the Gun-Free School Zone Act, makes it a crime to possess a firearm in a place you know or reasonably should know is a school zone: the grounds of a K-12 public or private school or anywhere within 1,000 feet of them. It also bans firearms on college and university campuses.
- Penalties: On K-12 school grounds, a felony with 2, 3 or 5 years. Within 1,000 feet, usually a wobbler (up to 1 year in jail, or 2, 3 or 5 years). Recklessly firing a gun in a school zone: 3, 5 or 7 years.
- Exceptions: Your home, business or private property off school grounds; an unloaded handgun locked in a container or trunk; a restraining order protecting you; and peace officers and security guards.
- CCW holders: A concealed carry license covers the 1,000-foot zone, but not school buildings, grounds, parking areas or the streets and sidewalks right next to them.
- Example: Ana drives past a school with her unloaded pistol locked in a lockbox in her trunk. That falls within an exception and is not a crime.
These penalties come on top of any punishment for violating other California gun laws at the same time.1 If one of the law’s exceptions applies to you, you should not be convicted.

In this article, our California criminal defense attorneys answer 3 common questions about the Gun-Free School Zone Act:
- 1. What is California’s Gun-Free School Zone Act?
- 2. What are exceptions to the law?
- 3. What are the penalties?
1. What is California’s Gun-Free School Zone Act?
California’s Gun-Free School Zone Act punishes you for possessing a firearm in a place you know, or reasonably should know, is a school zone. It also punishes discharging a firearm, or attempting to, in a school zone with “reckless disregard for the safety of another.”2
“Firearm” definition
For this law, a “firearm” is a device designed to be used as a weapon that expels a projectile through a barrel by the force of an explosion or other form of combustion.3 It does not matter whether the gun is loaded or not; the K-12 school zone rule covers possession of any firearm.
Separately, since January 1, 2012, California has made it a crime to openly carry even an unloaded handgun in public places within cities and in many unincorporated areas.4

“School zone” definition
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.”5
The ban does not apply “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 and the possession of the firearm is otherwise lawful.”6
Example: Luis lives two blocks from an elementary school and keeps a handgun in his house. That is lawful. But if he carries the gun on the public sidewalk outside his home, he is in the school zone, because a California appeals court has held that a public sidewalk is not part of the owner’s private property for this law.7
2. What are exceptions to the law?
The Gun-Free School Zone Act has several exceptions. The Legislature included them so that law-abiding gun owners would not be unfairly penalized.8 The ban on possession in a school zone does not apply to:9
- your home, business or private property that is not part of the school grounds, if your possession is otherwise lawful,
- an unloaded handgun in a locked container in a vehicle or in a vehicle’s locked trunk at all times, and other guns being lawfully transported (see Penal Code 25400 on concealed carry),
- a person who reasonably believes they are in grave danger because of circumstances that led to a current restraining order issued against someone found to pose a threat to their life or safety (a mutual restraining order generally doesn’t count),
- certain people exempt from California’s concealed-carry ban, such as licensed gun dealers transporting unloaded handguns as merchandise, guards or messengers for banks or common carriers delivering valuables, and authorized military or civil organizations while parading,
- a person with a concealed carry (CCW) license, but only in the area within 1,000 feet of a school, and not in any building, real property or parking area under the school’s control, or on a street or sidewalk immediately next to them,
- peace officers, active or honorably retired as authorized by law, military members on duty, and armored vehicle guards on duty,10
- security guards authorized to carry loaded firearms under California law,11 and
- existing school shooting ranges and school-sanctioned shooting sports or hunter education programs.12
Beyond these exceptions, your lawyer should examine the usual legal defenses to a gun charge. If the gun was found during an illegal search, for example, the evidence may be suppressed and the PC 626.9 charge dismissed. And because the law requires that you knew or reasonably should have known you were in a school zone, lack of knowledge can be a defense in the 1,000-foot area.
3. What are the penalties?
Penalties under California’s Gun-Free School Zone Act depend on where the gun was and the circumstances:13
- On K-12 school grounds: a felony punishable by 2, 3 or 5 years in county jail under Penal Code 1170(h).
- Within 1,000 feet of K-12 school grounds, with aggravating facts: a felony punishable by 2, 3 or 5 years if you have a prior felony conviction (or a prior conviction under certain firearm laws), you are legally prohibited from having guns (for example under Penal Code 29800), or the gun was a concealable firearm and the offense is punished as a felony under PC 25400.
- Within 1,000 feet, in other cases: a wobbler, punishable by up to 1 year in county jail as a misdemeanor or 2, 3 or 5 years as a felony.
- Recklessly discharging, or trying to discharge, a gun in a school zone: a felony punishable by 3, 5 or 7 years.
A prior conviction for certain firearm-related misdemeanors or any felony can also require at least 3 months in county jail as a condition of probation, unless the judge finds an unusual case.14

College and university campuses
PC 626.9 also covers college and university campuses and buildings used for student housing, teaching, research or administration. Without written permission from the school’s president or equivalent authority, bringing or possessing:15
- a loaded firearm on campus is a felony punishable by 2, 3 or 4 years, and
- an unloaded firearm on campus is a felony punishable by 1, 2 or 3 years.
Additional penalties
A felony conviction under this law means the loss of your gun rights. See our article on restoring your California gun rights.
If you are not a U.S. citizen, a PC 626.9 conviction can lead to deportation, because firearm offenses are a ground of removal.16
If you’ve been charged with having a gun in a school zone, contact our California criminal defense lawyers for a free consultation.
Legal references:
- California Penal Code 626.9.
- Penal Code 626.9(b), (d): “(b) Any person who possesses a firearm in a place that the person knows, or reasonably should know, is a school zone as defined in paragraph (4) of subdivision (e), shall be punished as specified in subdivision (f). … (d) Except as provided in subdivision (b), it shall be unlawful for any person, with reckless disregard for the safety of another, to discharge, or attempt to discharge, a firearm in a school zone ….”
- Penal Code 626.9(e)(2); Penal Code 16520(a).
- Penal Code 26350 (added by AB 144, effective January 1, 2012).
- Penal Code 626.9(e)(4).
- Penal Code 626.9(c)(1).
- People v. Tapia (2005) 129 Cal.App.4th 1153, 1165.
- People v. Tapia, 129 Cal.App.4th at 1163 (see note 7 above).
- Penal Code 626.9(c)(1)-(5); Penal Code 25615, 25625, 25630, 25645.
- Penal Code 626.9(l), (o), (p).
- Penal Code 626.9(m).
- Penal Code 626.9(n), (q).
- Penal Code 626.9(f).
- Penal Code 626.9(g).
- Penal Code 626.9(h), (i).
- 8 U.S.C. 1227(a)(2)(C).