Generally yes. Under Penal Code 16250 a pellet gun is a "BB device", and the firearm definition in Penal Code 16520 requires a projectile expelled by explosion or other combustion. But bringing one to school (626.10), threatening someone with a real-looking one (417.4), selling one to a minor (19910) or using one as a deadly weapon (245) is a crime.

Where does a BB or pellet gun become a crime?

In listed places, such as schools and public buildings, and for acts such as threatening someone, selling to a minor, grossly negligent firing and assault with a deadly weapon.

Place or act Section What it covers Punishment
K-12 school grounds 626.10(a)(1) Bringing or possessing an air, CO2 or spring gun that fires a metallic BB or pellet on the grounds of, or inside, a public or private school teaching kindergarten or grades 1 to 12; the principal's written permission is an exception Up to 364 days in county jail, or a felony term under Penal Code 1170(h); a wobbler
State or local public building, or a public meeting 171b(a)(6) The same kind of instrument; written permission from the official in charge of building security is an exception Up to 364 days in county jail, or state prison; a wobbler
Airport sterile area, public transit facility 171.5(c)(10), 171.7(b)(3) Knowingly possessing the instrument Up to six months in county jail, a $1,000 fine, or both
Threatening someone with an imitation firearm 417.4 Drawing or exhibiting a BB device or other device that looks like a real firearm in a threatening manner that would cause a reasonable person to fear bodily harm; self-defense is an exception Misdemeanor, county jail for not less than 30 days
Showing an imitation firearm in public 20170, 20180 Openly displaying one in a public place, which includes a street, a parking lot and a car Infraction, $100 for a first offense and $300 for a second; a third is a misdemeanor
Selling to a minor 19910 Selling any BB device to a minor Misdemeanor; Penal Code 19 sets up to six months in county jail, a $1,000 fine, or both
Lending or giving to a minor 19915(a) Loaning or transferring one without a sale, without a parent's or guardian's express or implied permission Misdemeanor, as above
Grossly negligent firing 246.3(b) Willfully firing a BB device in a grossly negligent manner that could result in injury or death to a person Up to 364 days in county jail
Assault with a deadly weapon 245(a)(1) See the deadly weapon section below State prison for 2, 3 or 4 years, or county jail up to 364 days, or a fine up to $10,000, or both; a wobbler

Where a BB or pellet gun can lead to a charge, and the punishment each section sets. Each section has more conditions than the table shows.

A wobbler can be charged as a felony or a misdemeanor, and Penal Code 17(b) lists the circumstances in which it counts as a misdemeanor for all purposes. Section 20175 lists exceptions to the public display rule, among them lawful hunting, a certified or regulated shooting range, and a device whose entire exterior surface is white or a listed bright color. The table is not a complete list: Penal Code 171c covers the State Capitol area when it is posted, and Fish and Game Code 10500(b) bars a BB device in a game refuge without a permit or specific authorization. The firm has separate pages on weapons on school or college grounds, airport weapons, public transit weapons and assault with a deadly weapon.

Is a pellet gun a firearm in California?

No, not under the Penal Code's definition. A firearm expels its projectile by explosion or other combustion, while a BB device uses air pressure, gas pressure or spring action.

Section 16250(a) says a BB device is any "instrument that expels a projectile, such as a BB or a pellet", whether it works "through the force of air pressure, gas pressure, or spring action" or is a "spot marker gun". Section 16520(a) says a firearm is a "device, designed to be used as a weapon" that expels "through a barrel, a projectile by the force of an explosion or other form of combustion". In the case In re Jose A. (1992) 5 Cal.App.4th 697, the Fourth District, Division One, held that "a pellet gun, which operates by use of compressed air, is not a firearm" for assault with a firearm (Penal Code 245(a)(2)) or exhibiting a firearm (417(a)(2)) "because it does not propel a shot through explosive means" (p. 699).

Other laws define the word for themselves. For example, Elections Code 18580(a) counts "any firearm that is in the nature of an air gun, spring gun or pistol" as a firearm for its article when the device ejects a missile smaller than three-eighths of an inch in diameter with sufficient force to injure a person and is "so substantially similar in coloration and overall appearance to an existing firearm or weapon as to lead a reasonable person to perceive that the device is a firearm or weapon". Under Section 16700(a)(1) a BB device that looks like a real firearm is an "imitation firearm", and CALCRIM No. 985, the Judicial Council's instruction on Section 417.4, describes that as a device "so substantially similar to a real firearm in color and overall appearance that a reasonable person would believe that it is a real firearm". For whether a past felony conviction changes the answer, see the firm's answer on whether a person with a felony conviction can own a BB gun.

Can a BB or pellet gun be a deadly weapon in an assault case?

Sometimes. Penal Code 245(a)(1) reaches a deadly weapon other than a firearm, and courts have upheld findings that a pellet gun and a BB gun were deadly weapons.

Penal Code 245(a)(1) covers an assault "with a deadly weapon or instrument other than a firearm". It carries state prison for two, three or four years, or county jail for up to one year (364 days under Penal Code 18.5(a)), or a fine up to $10,000, or both, so it can be charged or reduced as a misdemeanor under Section 17(b). CALCRIM No. 875, the Judicial Council's 2026 instruction, defines "A deadly weapon other than a firearm" as "any object, instrument, or weapon" that is "inherently deadly" or "used in such a way that it is capable of causing and likely to cause death or great bodily injury", and tells jurors to "consider all the surrounding circumstances".

Two Court of Appeal opinions applied that rule to air guns. In People v. Lochtefeld (2000) 77 Cal.App.4th 533, the Fourth District, Division One, noted that a pellet gun "is clearly an instrument other than a firearm" (p. 535), then affirmed a conviction for assault with a deadly weapon on a peace officer (pp. 537, 543). It held that the pellet gun, "a replica of a Smith & Wesson nine-millimeter semiautomatic pistol", "was, as a matter of law, a deadly weapon" under Section 245 (pp. 535, 536). An expert's testimony showed it "would expel pellets at speeds in excess of those required to penetrate a significant distance into muscle tissue or to enter an eyeball" (p. 541), and the court said the question is not firearms versus pellet guns but one "between those guns capable of inflicting great bodily injury, and those that are not" (p. 540).

In People v. Brown (2012) 210 Cal.App.4th 1, the Second District, Division Seven, affirmed two convictions for assault with a deadly weapon (pp. 4, 14). It found substantial evidence that "a BB gun, when shot at close range in the manner indicated, was a deadly weapon under section 245, subdivision (a)(1)", where the shooter was "at most, five feet away" (p. 8), and said evidence about the gun's nature "is not essential" (p. 8). Each ruling rests on its own facts.

Can cities and counties add their own rules?

Not on making, selling or possessing them, because state law claims that field, but Los Angeles County and its cities may adopt stricter rules for devices that look like firearms.

Government Code 53071.5(a) says the Legislature "occupies the whole field of regulation of the manufacture, sale, or possession of imitation firearms", including "BB devices and air rifles described in Section 16250 of the Penal Code". Subdivision (b) lets "the County of Los Angeles, and any city within the County of Los Angeles" adopt an ordinance "more restrictive than state law" on the "manufacture, sale, possession, or use" of a BB device, toy gun or replica that looks like a firearm and "expels a projectile that is no more than 16 millimeters in diameter". Subdivision (a) names "manufacture, sale, or possession" and does not mention use, such as firing one. Under article XI, section 7 of the California Constitution, a city or county may make local rules "not in conflict with general laws", so check the local code. Breaking a city or county ordinance can itself be charged: Government Code 36900(a) and 25132(a) say a violation "is a misdemeanor unless by ordinance it is made an infraction".

Frequently asked questions

Can I shoot a pellet gun in my backyard?

It depends on where you live and how you fire it. The sections quoted here do not say where firing one is allowed, so check your local rules; Government Code 53071.5(b) lets Los Angeles County and its cities adopt stricter rules on use. Section 246.3(b) makes it a public offense to fire a BB device willfully in a grossly negligent manner that could injure or kill a person, punishable by county jail for up to 364 days.

Can a minor have a pellet gun?

Under state law, yes, with limits on who supplies one. None of the sections that name a BB device sets an age limit for possessing one, but Section 19910 covers selling a BB device to a minor, and Section 19915(a) covers loaning or giving one to a minor without a parent's or guardian's express or implied permission. The place rules in the table, such as the school grounds rule, apply to anyone.

Talk to a lawyer

The Law Offices of David S. Chesley defend weapons charges across California (see the firm's violent crimes lawyer page).

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.