Defending Against Unlawful Discharge of a Firearm Charges (Penal Code § 246) in California

unlawful discharge of a firearm California

Facing Charges for Firing a Gun at a Home or Vehicle?

Shooting a firearm at an inhabited home, vehicle, or building isn’t just reckless — it’s a felony under California law. Penal Code § 246 makes it a serious crime to willfully and maliciously discharge a firearm at any place someone lives or occupies. Prosecutors and judges throughout California, especially in places like San Diego, treat these cases with gravity. The mere allegation can carry years of prison time, regardless of whether anyone was injured.

If you’ve been accused of violating Penal Code § 246, you need a criminal defense law firm that understands how to challenge every aspect of the case against you. These charges are rarely as straightforward as they seem, and there are often defenses and mitigating factors that can be strategically used to fight back.

What is Considered an “Unlawful Discharge” Under Penal Code 246?

Under California Penal Code § 246, it is a felony offense to:

“Maliciously and willfully discharge a firearm at an inhabited dwelling house, occupied building, occupied motor vehicle, occupied aircraft, inhabited housecar, or inhabited camper.”

Let’s break that down:

  • “Maliciously and willfully” means the act must be intentional and done with wrongful purpose, not an accident or done without awareness.
  • “Discharge a firearm” includes any firing of a gun, regardless of whether the shot hits anything or anyone.
  • “Inhabited” means the place is being used for dwelling purposes, even if the occupants aren’t home at the time. For example, shooting at an empty apartment is still a felony if someone lives there.

The statute applies to many locations beyond just homes:

  • Houses and apartments
  • Occupied vehicles or aircraft
  • Mobile homes or housecars
  • Campers
  • Any structure being used as a residence

It does not matter if anyone was actually harmed — firing at a structure where people live or occupy is enough to support a charge.

Penalties for Violating Penal Code § 246

Unlawful discharge of a firearm is always charged as a felony in California. The penalties include:

  • State prison sentence of 3, 5, or 7 years
  • Or county jail sentence of 6 months to 1 year, depending on the case and prior record
  • Felony probation in some cases
  • A strike under California’s Three Strikes Law

That means a conviction can enhance future sentencing dramatically if you face another felony later.

And that’s not all. If the alleged shooting is linked to a vehicle or a gang enhancement, you could be facing additional sentencing under related laws like:

  • Penal Code § 186.22 (gang enhancement)
  • Penal Code § 12022.53 (personal use of a firearm)
  • Vehicle forfeiture under § 246.1, which allows a court to order your vehicle sold if it was used in the commission of the offense

In short: prosecutors have powerful tools to stack enhancements on top of a § 246 charge. Without strong legal representation, you may be facing far more than a basic prison term.

Common Scenarios That Lead to Penal Code § 246 Charges

These charges often arise in high-stress or misunderstood situations, such as:

  • Firing a gun during a neighborhood dispute
  • Shooting into the air near homes during celebrations
  • A drive-by shooting (whether or not it involved injury)
  • Discharging a weapon outside a bar, party, or nightclub
  • Firing at a vehicle after a road rage incident

In some cases, individuals are charged with violating § 246 even though they weren’t the shooter. If the prosecution believes you aided or encouraged the act — or were simply present — you may be charged as an accomplice or principal.

How Prosecutors Prove a Violation of § 246

To convict someone of unlawful discharge of a firearm under Penal Code § 246, the prosecution must prove:

  1. The defendant willfully and maliciously fired a gun.
  2. The firearm was discharged at an inhabited or occupied dwelling, building, or vehicle.
  3. The location was being used for living or was currently occupied.
  4. The act wasn’t legally justified (such as self-defense or defense of others).

The law doesn’t require that a person be injured — or even present — at the time of the shooting. Nor does it require that the bullet hit the structure or vehicle.

Even if the shot missed completely or hit a nearby fence, a prosecutor may argue that the shot was intended for the structure and charge it as a felony.

Possible Defenses to a § 246 Charge

Many people accused of discharging a firearm unlawfully are overwhelmed by the severity of the allegations. But there are defenses — and they often make a difference.

Some of the most effective include:

  • Mistaken identity: Especially in drive-by shooting cases, it’s common for witnesses to wrongly identify the shooter or vehicle involved.
  • Accidental discharge: If the gun fired by accident and not maliciously or willfully, that may undercut a required element of the offense.
  • Lack of evidence: If there’s no clear link between the defendant and the gun, or no proof the shot was fired at the alleged location, the case may fall apart.
  • Alibi: Solid evidence placing the defendant elsewhere at the time of the shooting can cast doubt on the prosecution’s case.
  • No inhabited or occupied structure: The statute only applies to inhabited or occupied locations. Shooting at an abandoned building or unoccupied vehicle may fall under a different statute with lesser penalties.

Every case is different. An experienced criminal defense attorney will analyze the evidence, challenge the reliability of witnesses and ballistics, and raise doubt about the circumstances of the shooting.

Related Charges You Might Face

Prosecutors often stack § 246 charges with other offenses, such as:

Some of these charges can be used to increase penalties or negotiate plea reductions, depending on the facts and your defense strategy.

Why You Need a Defense Attorney If You’re Facing § 246 Charges

A felony conviction for unlawful discharge of a firearm in California can upend your life, from years in prison to a permanent strike on your record. These cases are prosecuted aggressively, especially if they involve gang allegations or alleged shootings from vehicles.

At David P. Shapiro Criminal Defense Attorneys, we understand how high the stakes are. We don’t take shortcuts or rely on generic defenses. Our legal team crafts a defense tailored to the facts of your case, and we’re not afraid to go to trial when the prosecution overreaches.

Contact a San Diego Criminal Defense Lawyer Today

If you’re being investigated or have been arrested for unlawful discharge of a firearm under Penal Code § 246, you need a team that will fight for you from day one. The earlier you get legal counsel, the better your chances of avoiding charges or beating them in court.

Contact David P. Shapiro Criminal Defense Attorneys today.

We’ll help you protect your future, defend your freedom, and tell your side of the story — the right way.

Author Bio

David P. Shapiro

David P. Shapiro, the managing partner and founder of a leading San Diego criminal defense firm, is driven by an unwavering commitment to providing the best possible representation to his clients facing criminal charges. With a deep understanding of the fear, uncertainty, and concern for one’s future that his clients experience, David approaches each case with empathy and dedication, advocating tirelessly for their rights and freedoms.

Focused on complex and high-stakes cases, David handles a wide range of serious charges, including felonies, violent crimes, sex crimes, drug offenses, and white-collar crimes. Since establishing his practice in 2010, David has earned a reputation as one of San Diego’s most respected criminal defense attorneys.

His firm has been recognized by LawFirm500 as one of the nation’s fastest-growing law firms and was a 2022 Better Business Bureau Torch Award for Ethics Winner. The San Diego Business Journal named David’s firm the 17th Fastest Growing Private Company in San Diego from 2019-2021 and recognized David as one of San Diego’s 500 Most Influential People in 2022. With a strong dedication to his clients and community, David continues to be a driving force in the San Diego legal landscape.

Google | Avvo | LinkedIn| The State Bar of California