California Penal Code 12022 is the sentencing enhancement that adds extra prison time when a firearm is involved in a felony. For a standard firearm, it adds one consecutive year. For an assault weapon, machine gun, or .50 BMG rifle, it adds three. For being personally armed during certain drug offenses, it adds three, four, or five years. That time is stacked on top of whatever sentence the underlying felony already carries.
What “Armed” Actually Means
Being armed under this statute is not the same as firing, pointing, or even holding a gun. You are armed if a firearm is available to you for offensive or defensive use during the crime. Carrying it on your body qualifies. So does keeping it within reach in a bag, a waistband, or a vehicle’s glove compartment. The prosecution does not need to prove you ever touched the weapon during the act, only that you could have accessed it if you wanted to.
The line is drawn at awareness. If you genuinely did not know a firearm was in your immediate area, the enhancement generally should not apply to you personally. Prosecutors prove knowledge through circumstantial evidence: your proximity to the weapon, your control over the space where it was found, or evidence of planning that involved the gun. A firearm locked in a trunk you cannot access is a much harder case for the prosecution than one sitting on the passenger seat next to you.
Unloaded and inoperable firearms still count. California courts have held that even a gun incapable of firing can support the enhancement because its presence during a crime creates fear and elevates the risk of violence. That said, an inoperable or unloaded firearm is now a specific mitigating factor that weighs in favor of dismissing the enhancement, which is discussed below.
The One-Year Enhancement for Standard Firearms
Under Penal Code 12022(a)(1), being armed with a standard firearm during any felony or attempted felony triggers one additional year of imprisonment, served consecutively to the base sentence. “Standard” here covers the weapons most people picture: revolvers, semi-automatic handguns, rifles, and shotguns that do not fall into the assault weapon, machine gun, or .50 BMG categories.1California Legislative Information. California Penal Code 12022 – Sentence Enhancements
The statute directs that this one-year term be served “pursuant to subdivision (h) of Section 1170.” That provision allows certain felony sentences to be served in county jail rather than state prison under California’s realignment laws. However, if the defendant has a prior or current serious or violent felony conviction, is required to register as a sex offender, or falls into other categories listed in Section 1170(h)(3), the sentence must be served in state prison.2California Legislative Information. California Penal Code 1170 – Determinate Sentencing In practice, many felonies that involve firearms end up qualifying for state prison through these exceptions.
One important limit: the one-year enhancement does not apply if being armed is already an element of the underlying felony. A charge like assault with a firearm under Penal Code 245(a)(2) already factors in the weapon’s presence, so stacking a separate armed enhancement on top would punish the same conduct twice.3California Legislative Information. California Penal Code 245 – Assault With Deadly Weapon
Three Years for Assault Weapons, Machine Guns, and .50 BMG Rifles
When the firearm is an assault weapon (as defined in Penal Code 30510 or 30515), a machine gun, or a .50 BMG rifle, the enhancement jumps to three consecutive years under Penal Code 12022(a)(2).1California Legislative Information. California Penal Code 12022 – Sentence Enhancements
Unlike the one-year version, this three-year term applies even when being armed is already an element of the underlying offense. The statute explicitly says “whether or not the arming is an element of the offense.” The element-of-the-offense exception that shields a defendant from the one-year enhancement offers no protection when the weapon falls into one of these three categories.
Classification depends on technical features like firing capacity, barrel length, and specific hardware attachments listed in the code sections. The gun does not need to be fired, modified, or even loaded. Its presence during the felony is enough.
Three to Five Years for Being Personally Armed During a Drug Offense
Penal Code 12022(c) imposes a separate, harsher penalty for anyone who is personally armed with a firearm during specific drug trafficking and manufacturing offenses. Instead of one year, subdivision (c) adds three, four, or five additional years of consecutive imprisonment in state prison. The statute overrides the realignment option here, requiring state prison even when the underlying drug felony might otherwise qualify for county jail.1California Legislative Information. California Penal Code 12022 – Sentence Enhancements
Covered offenses include possession for sale, transportation, and manufacturing of controlled substances under Health and Safety Code sections 11351, 11352, 11378, 11379, and 11379.6, among others. Simple possession for personal use is not on the list.4California Legislative Information. California Penal Code 12022 – Armed With Firearm
Two details separate subdivision (c) from the general rule. First, the defendant must be personally armed, not just present while someone else has a gun. Second, when subdivision (c) is applied to an unarmed co-principal in a drug offense, the prosecution must prove that unarmed participant knew another principal was personally armed. That knowledge requirement does not exist under subdivision (a).
When Someone Else Had the Gun
Under Penal Code 12022(a), the enhancement applies to every principal in the felony if any one of them is armed with a firearm. A principal is anyone who directly commits the crime or helps carry it out. If two people burglarize a home and only one carries a handgun, both face the extra prison time.1California Legislative Information. California Penal Code 12022 – Sentence Enhancements
Here the law is harsher than most people expect. Under subdivision (a)(1), the unarmed accomplice does not need to know the other person had a gun. The Court of Appeal addressed this directly in People v. Overten, holding that “there is no requirement an aider and abettor know any principal is armed with a firearm to be found vicariously armed under section 12022, subdivision (a)(1).” The court noted the legislature was fully aware it was imposing vicarious liability without a knowledge requirement.5Justia Law. People v. Overten (1994)
This creates a real trap. A getaway driver who had no idea a partner brought a gun inside can still receive the one-year or three-year enhancement depending on the type of firearm. The same vicarious liability rule covers the three-year enhancement under subdivision (a)(2).
The drug-offense enhancement under subdivision (c) works differently. For those charges, the prosecution must prove the unarmed principal knew another principal was personally armed, which makes subdivision (c) somewhat easier to defend against than the strict liability approach in subdivision (a).
When PC 12022 Does Not Apply
Two situations take the one-year enhancement off the table.
The first is the element-of-the-offense limit already described. If the underlying felony itself requires a firearm, the one-year enhancement under (a)(1) cannot stack on top. Assault with a firearm under PC 245(a)(2) is the common example. This limit does not apply to the three-year enhancement under (a)(2), so a defendant charged with assault using a classified assault weapon can still face the three extra years on top of the base sentence.
The second is displacement by a more severe firearm enhancement. Penal Code 12022.5 covers personally using a firearm during a felony, which goes beyond possession and includes firing, pointing, or striking someone with the weapon. Penal Code 12022.53 covers enumerated violent felonies like murder, robbery, and kidnapping, and layers in much heavier terms when a firearm is personally used, intentionally discharged, or discharged causing great bodily injury or death. These enhancements are mutually exclusive with PC 12022 on a per-crime basis: if the court imposes a 12022.53 enhancement, it cannot also impose a 12022 enhancement for the same offense.6California Legislative Information. California Penal Code 12022.53 – Use of Firearm During Felony In practice, prosecutors charge the most serious enhancement the facts will support and may negotiate downward.
Getting the Enhancement Dismissed
Before 2022, judges had limited ability to strike firearm enhancements even when the extra time seemed disproportionate. Senate Bill 81 amended Penal Code 1385(c) to create a presumption that dismissing an enhancement is in the furtherance of justice. The prosecution can overcome that presumption only by showing dismissal would endanger public safety, meaning a likelihood of physical injury to others.7LegiScan. California SB 81 – Sentencing Enhancements
The law lists specific mitigating factors that courts must weigh heavily in favor of dismissal:
- Multiple enhancements apply in a single case (all beyond one should be dismissed).
- Adding the enhancement would push the total sentence past 20 years.
- The defendant was a juvenile when committing the offense.
- The offense is connected to mental illness, childhood trauma, or prior victimization.
- The current felony is not classified as a violent felony under Penal Code 667.5(c).
- The enhancement is based on a prior conviction more than five years old.
- The firearm involved was inoperable or unloaded.
- Applying the enhancement would contribute to a racially discriminatory sentencing pattern.
When one or more of these factors is present, the court must dismiss unless the prosecution proves dismissal would endanger public safety. The judge must put the reasoning on the record whether the motion is granted or denied. The law applies at initial sentencing, on cases on appeal that are not yet final, and in cases recalled for resentencing under Penal Code 1172.1.7LegiScan. California SB 81 – Sentencing Enhancements For a defendant facing a PC 12022 enhancement, that framework is often the most direct path to cutting the extra time off a sentence.