A gun is California compliant when it matches the state’s rules for its specific type: handguns must appear on the state’s approved roster when sold by a dealer, semi-automatic rifles and shotguns must avoid the feature combinations that define an “assault weapon,” no firearm may feed from a magazine holding more than 10 rounds, every gun must carry a lawful serial number, and all firearms must be stored and transported the way the Penal Code requires. Miss any one of these and a legal gun becomes an illegal one. What follows is what each category actually requires.
Handguns and the Roster
Every handgun a California dealer sells to the public has to appear on the Roster of Handguns Certified for Sale. A handgun that hasn’t passed the required firing, safety, and drop tests cannot be manufactured in the state, imported for sale, or offered for sale by a dealer.1State of California – Department of Justice – Office of the Attorney General. Handguns Certified for Sale Selling or transferring an uncertified handgun through a dealer is a misdemeanor.
For new centerfire semi-automatic pistols added to the roster after July 1, 2022, two mechanical features are required: a chamber load indicator that gives a visible or tactile signal when a round is chambered, and a magazine disconnect that prevents firing when the magazine is removed.2California Legislative Information. California Penal Code 31910 Rimfire semi-automatic pistols need the magazine disconnect but not the chamber load indicator. Revolvers have separate safety standards tied to the hammer-retraction mechanism, plus the same firing and drop tests.
There’s a built-in attrition rule. For every new semi-automatic pistol added to the roster, the Department of Justice must remove three older semi-automatic pistols that lack the chamber load indicator or magazine disconnect, starting with the oldest entries.2California Legislative Information. California Penal Code 31910 The roster shrinks over time, which is why many popular models sold freely in other states aren’t available from California dealers.
One boundary worth knowing: the roster governs dealer sales. Private party transfers, intrafamily transfers such as parent to child, and certain law enforcement transactions can lawfully involve handguns not on the roster, though they still have to run through a licensed dealer for the background check.
Rifles: Staying Out of the Assault Weapon Definition
For rifles, the central compliance question is whether yours fits California’s definition of an “assault weapon.” Rimfire rifles, bolt-action rifles, and lever-action rifles are not subject to the feature restrictions, which matters when you’re choosing a platform. The restrictions bite on semi-automatic centerfire rifles.
A semi-automatic centerfire rifle without a fixed magazine becomes an assault weapon if it has any one of the following features:3California Legislative Information. California Penal Code 30515
- A pistol grip that protrudes conspicuously below the action
- A thumbhole stock
- A folding or telescoping stock
- A flash suppressor
- A forward pistol grip
- A grenade or flare launcher
Any single feature from that list, combined with a detachable magazine, is enough. Owners stay compliant one of two ways.
Featureless Builds
A featureless rifle strips every item off the prohibited-feature list. In practice that usually means replacing the pistol grip with a fin grip or similar wrap, removing the flash suppressor (a muzzle brake is fine), pinning the stock to a fixed length, and leaving off any forward grip. The magazine stays detachable, so reloads work normally.
Fixed-Magazine Builds
A fixed-magazine rifle keeps the ergonomic features but permanently attaches the magazine so it cannot be removed without breaking open the action. Various aftermarket devices accomplish this on AR-pattern rifles. Reloading is slower and clearing a malfunction is more involved. A fixed-magazine rifle also cannot hold more than 10 rounds, because a semi-automatic centerfire rifle with a fixed magazine exceeding 10-round capacity is itself an assault weapon.3California Legislative Information. California Penal Code 30515
One more rule often missed: a semi-automatic centerfire rifle with an overall length under 30 inches is an assault weapon regardless of its other features.3California Legislative Information. California Penal Code 30515
Shotguns
Shotguns have dimensional minimums and feature restrictions. The barrel must be at least 18 inches long, and overall length must be at least 26 inches. Anything shorter qualifies as a “short-barreled shotgun,” illegal to possess without special authorization.4California Legislative Information. California Penal Code 17180
Semi-automatic shotguns face assault weapon rules, but they work differently than for rifles. A semi-automatic shotgun is an assault weapon only if it has both a folding or telescoping stock and a pistol grip, thumbhole stock, or vertical handgrip.3California Legislative Information. California Penal Code 30515 The word “both” matters. Just a pistol grip, or just a folding stock, is not enough on its own; the combination is what triggers the classification.
Two shotgun categories are flatly prohibited regardless of specific features: any semi-automatic shotgun without a fixed magazine, and any shotgun with a revolving cylinder.3California Legislative Information. California Penal Code 30515
Semi-Automatic Pistol Features Beyond the Roster
The handgun roster isn’t the only control on pistols. Semi-automatic pistols also have their own assault weapon feature list. A semi-automatic pistol without a fixed magazine is an assault weapon if it has any of the following:3California Legislative Information. California Penal Code 30515
- A threaded barrel capable of accepting a flash suppressor, forward handgrip, or silencer
- A second handgrip
- A barrel shroud that lets you fire without burning your hand (the slide doesn’t count)
- The ability to accept a detachable magazine somewhere other than the pistol grip
A semi-automatic pistol with a fixed magazine holding more than 10 rounds is also an assault weapon. Standard-configuration handguns usually don’t trip these rules; some competition or heavily modified pistols can.
The 10-Round Magazine Ceiling
California prohibits all large-capacity magazines, meaning any ammunition feeding device holding more than 10 rounds. This applies across every firearm type. Manufacturing, importing, selling, buying, lending, or receiving a large-capacity magazine is punishable by up to one year in county jail or a felony prison sentence.5California Legislative Information. California Penal Code 32310
Possession alone is a separate offense, regardless of when you acquired the magazine. It can be charged as an infraction with a fine of up to $100 per magazine, or as a misdemeanor carrying up to one year in jail and a $100 fine per magazine.5California Legislative Information. California Penal Code 32310 Certain law enforcement personnel are exempt, but there’s no general grandfather clause for civilians who owned the magazines before the ban. The statute requires owners to remove them from the state, sell them to a licensed dealer, or surrender them for destruction.
Serial Numbers and Homemade Firearms
Tampering with a firearm’s serial number, manufacturer name, model designation, or any identification mark assigned by the Department of Justice is a felony.6California Legislative Information. California Penal Code 23900 That includes altering, removing, or covering the markings.
If you build your own firearm, you have to apply for a unique serial number from the DOJ before completing the build. The application must include a description of the firearm along with your personal information.7California Legislative Information. California Penal Code 29180 You also have to pass a firearms eligibility check as part of the application, just as you would for a retail purchase.8California Legislative Information. California Penal Code 29182 A homemade firearm without a DOJ-issued serial number is commonly called a “ghost gun” and is illegal to possess in California.
Transporting Firearms
How you move a gun is itself part of compliance. Handguns must be unloaded and locked in the vehicle’s trunk or in a locked container during transport. A “locked container” means a fully enclosed case secured by a padlock, key lock, or combination lock. The glove compartment and utility compartment do not qualify, even if they lock.9State of California – Department of Justice – Office of the Attorney General. Transporting Firearms in California
Rifles and shotguns are simpler: unloaded during transport, no locked container required. Registered assault weapons are stricter: unloaded and in a locked container, and only transported between specific locations such as your home, a range, or an authorized repair shop.9State of California – Department of Justice – Office of the Attorney General. Transporting Firearms in California
Storage at Home
Starting January 1, 2026, every firearm in a residence must be securely stored whenever it is not being carried or readily controlled by the owner or another authorized user. “Securely stored” means in a certified firearm safety device or a gun safe meeting DOJ standards.10California Legislative Information. SB 53 – California Penal Code 25145 “Readily controlled” means you’re carrying the firearm or close enough to prevent unauthorized access.
A separate rule applies if you share a residence with someone prohibited from possessing firearms. In that situation, your firearms must be in a certified safety device or gun safe, or under your direct control. Violating this is a misdemeanor.11California Legislative Information. California Penal Code 25135
Penalties for Getting It Wrong
The consequences range from infractions to felonies depending on what was violated.
- Possessing an assault weapon: up to one year in county jail, or a state prison sentence. This is a wobbler, chargeable as either a misdemeanor or a felony.12California Legislative Information. California Penal Code 30605
- Large-capacity magazine possession: an infraction (up to $100 per magazine) or a misdemeanor (up to one year in jail per magazine).5California Legislative Information. California Penal Code 32310
- Selling or importing large-capacity magazines: a wobbler, with misdemeanor penalties of up to one year in jail or felony prison time.5California Legislative Information. California Penal Code 32310
- Selling an uncertified handgun: a misdemeanor, up to one year in county jail.1State of California – Department of Justice – Office of the Attorney General. Handguns Certified for Sale
- Removing or altering a serial number: a felony carrying a state prison sentence.6California Legislative Information. California Penal Code 23900
Non-compliance is not treated as a technicality that ends with confiscation and a warning. A felony conviction means permanent loss of firearm rights nationwide, not just in California. Even a misdemeanor conviction for certain firearm offenses can trigger a 10-year prohibition on gun ownership in the state. If you’re uncertain whether a specific firearm meets California requirements, talk to a firearms attorney before modifying it or bringing it across state lines.