Can You Legally Have a Gun in Your Car in California?

You can legally have a gun in your car in California without a permit, but the firearm has to be unloaded and stored either in the trunk or in a locked container inside the vehicle. A valid Carry Concealed Weapon (CCW) permit changes those rules and lets you carry a loaded handgun, subject to location restrictions. Every other scenario, from the glove box to a zippered soft case on the back seat, is a criminal offense.

How to Transport a Handgun Without a Permit

Penal Code 25400 makes it a crime to carry a concealed handgun in a vehicle. Penal Code 25610 is the exception that lets ordinary gun owners move a handgun from point A to point B: the firearm must be unloaded, and it must be stored in the vehicle’s trunk or in a locked container.1California Legislative Information. California Penal Code 25610

Under Penal Code 16850, a locked container is a fully enclosed case secured by a padlock, key lock, combination lock, or similar device. The trunk qualifies. The glove compartment and center console do not, even when they lock.2State of California Department of Justice – Office of the Attorney General. Transporting Firearms in California A hard-sided gun case with a working lock satisfies the law. A soft zippered case or an unlocked box does not.

Ammunition can sit in the same locked container as the unloaded handgun. California does not require you to store ammo separately. What it requires is that no ammunition is attached to the firearm: no loaded magazine inserted, no round in the chamber.

SUVs, Hatchbacks, and Pickups

If your vehicle has no traditional trunk, the “put it in the trunk” option disappears. California specifically says the rear cargo area of a hatchback, station wagon, or SUV is not a trunk, and neither is any compartment with a window.3California Legislative Information. California Penal Code 25140

In those vehicles you need a separate locked container, like a hard case or lockbox, placed somewhere in the vehicle. For pickup trucks, a locked toolbox or utility box attached to the bed works, as long as it fully encloses the firearm. Tossing an unloaded handgun loose into the back of your SUV is still a violation.

Rules for Rifles and Shotguns

Long guns follow different rules. Rifles and shotguns that cannot be concealed on a person are not covered by the concealed-carry prohibition in Penal Code 25400, so they do not need to be in a locked container during transport. They do need to be unloaded.2State of California Department of Justice – Office of the Attorney General. Transporting Firearms in California

The catch is the concealability test. If a rifle has a short barrel, a folding stock, or is otherwise compact enough to hide on your person, California treats it like a handgun for transport purposes. The locked-container rule applies regardless of what the manufacturer calls it.

What California Means by “Loaded”

Carrying a loaded firearm in a vehicle is a separate and more serious offense under Penal Code 25850. A locked container does not save you if the gun inside is loaded.

The legal definition is narrower than most people think. A firearm is loaded when an unexpended cartridge or shell is in the firing chamber, or in a magazine or clip that is attached to the firearm.4Judicial Council of California Criminal Jury Instructions. CALCRIM No. 2530 Carrying Loaded Firearm Remove the magazine and the gun is legally unloaded, even if you drop that loaded magazine loose into the same case. Snap the magazine back into the gun and it becomes loaded, chambered round or not.

The clean approach: unload the firearm, detach the magazine, and put everything in your locked container or trunk. No ambiguity, no argument at a traffic stop.

If You Have a CCW Permit

A valid California CCW permit exempts you from both the locked-container requirement and the loaded-firearm prohibition. You can carry a loaded, concealed handgun in your vehicle.

The exemption has limits. After the U.S. Supreme Court’s 2022 Bruen decision, California passed Senate Bill 2, which replaced the old “good cause” standard with objective eligibility criteria and created a long list of “sensitive places” where CCW holders still cannot carry.5State of California Department of Justice – Office of the Attorney General. Attorney General Bonta’s Sponsored Bill to Strengthen California’s Concealed Carry Weapons Law Parts of that list have been blocked by federal courts. As of the Ninth Circuit’s September 2024 ruling, CCW holders still cannot carry in bars and restaurants serving alcohol, playgrounds, parks, public libraries, stadiums, casinos, amusement parks, zoos, and museums, among other places. Bans on carrying in hospitals, public transit, places of worship, financial institutions, and permitted gatherings were enjoined. The litigation is active, so check current court orders before relying on any specific carve-out.

Magazines and Assault Weapons

California bans possession of any magazine holding more than 10 rounds. Proposition 63 put that limit in place in 2016, and it applies regardless of when or where you bought the magazine.6State of California Department of Justice – Office of the Attorney General. Attorney General Bonta: Restrictions on Large-Capacity Magazines and Assault Weapons Are Constitutional and Commonsense Simple possession is an infraction with a fine of up to $100. Manufacturing, importing, or selling large-capacity magazines is punishable by up to a year in county jail.7California Legislative Information. California Penal Code 32310

Assault weapons, as California defines them, cannot be transported inside the state at all. Penal Code 30600 makes it a felony punishable by four, six, or eight years in state prison. The California definition is broader than the federal one and sweeps in many semi-automatic rifles based on features like pistol grips, thumbhole stocks, or detachable magazines. If you are not sure where your rifle falls, check the California Department of Justice’s published list before taking it anywhere.

Where You Still Cannot Bring the Gun

Transporting a firearm legally does not get you into every location.

Schools

The federal Gun-Free School Zones Act prohibits possessing a firearm within 1,000 feet of a K-12 school. Driving through with an unloaded firearm locked in a container or firearms rack in your vehicle is covered by an exception, as is possession by someone licensed by the state to carry.8Bureau of Alcohol, Tobacco, Firearms and Explosives. Gun Free School Zone Notice A CCW permit meets the licensing exception. The penalties here are federal, so follow the transport rules exactly.

Government Buildings and Courthouses

Penal Code 171b bans firearms in state or local public buildings where government employees regularly work, including courthouses and city halls. Violations carry up to a year in county jail or state prison.

Airports

Penal Code 171.5 makes it illegal to possess a firearm in any airport building, on airport property, or in airport parking areas, with narrow exceptions.9California Legislative Information. California Penal Code 171.5 The prohibition applies the moment you enter airport-controlled property, separately from TSA screening.

National Parks

Federal law lets you have a firearm in a national park as long as you follow the host state’s rules. In California, that means unloaded and in a locked container. Firearms are prohibited inside all National Park Service buildings, including visitor centers and ranger stations, and discharging a firearm in a park is illegal unless specifically authorized.10National Park Service. Firearms in National Parks

Driving Through California or Moving In

If you are passing through, the federal Firearm Owners Protection Act (18 U.S.C. ยง 926A) lets you transport a firearm through California as long as it is unloaded and neither it nor the ammunition is readily accessible from the passenger compartment. In a vehicle without a trunk, that means a locked container other than the glove compartment or console.11Office of the Law Revision Counsel. 18 U.S. Code 926A – Interstate Transportation of Firearms

FOPA only covers genuine transit. An overnight at a hotel, a visit with friends, or a stop to run errands pulls you out of “transporting” and drops you under California’s full set of laws. Any firearm or magazine California bans outright can turn into felony charges even if it was legal where you started and where you are going.

New residents have 60 days to register each firearm with the California Department of Justice using the New Resident Report of Firearm Ownership form, or to sell or transfer it through a licensed California dealer.12State of California Department of Justice – Office of the Attorney General. Firearms Information for New California Residents Missing the deadline is itself an offense. Check the banned-firearms list and the magazine limit before you load the moving truck.

If You Get Pulled Over

California has no “duty to inform” law. You are not required to tell a traffic-stop officer that there is a firearm in the vehicle. Some CCW-issuing agencies, Orange County among them, impose disclosure as a condition of the permit, and violating a permit condition can cost you the permit even where state law stays silent.

If an officer learns about the firearm, they generally can examine it to confirm it is unloaded. A properly stored gun, unloaded and locked up with the ammunition detached, keeps the stop short.

Penalties If You Get It Wrong

  • Carrying a concealed handgun without a permit under PC 25400 is a misdemeanor with up to a year in county jail and a fine of up to $1,000. Prior felony or firearm convictions, a stolen gun, or gang involvement can push it to a felony carrying up to three years and a $10,000 fine.
  • Carrying a loaded firearm in public or in a vehicle under PC 25850 is a misdemeanor with up to a year in county jail and a fine of up to $1,000, and can become a felony with the same aggravating factors.4Judicial Council of California Criminal Jury Instructions. CALCRIM No. 2530 Carrying Loaded Firearm
  • Possessing a large-capacity magazine under PC 32310 is an infraction with a fine of up to $100; selling or importing one can mean up to a year in county jail.7California Legislative Information. California Penal Code 32310
  • Transporting an assault weapon under PC 30600 is a felony punishable by four, six, or eight years in state prison.
  • Possessing a firearm in a prohibited location under PC 171b or 171.5 carries up to a year in county jail or state prison.9California Legislative Information. California Penal Code 171.5

Diversion or probation may be available for first-time misdemeanor offenders, but it is discretionary. Even a misdemeanor firearm conviction can trigger federal consequences, including loss of the right to buy firearms in the future. Setting up the gun correctly before you turn the key is far cheaper than untangling it from the back of a patrol car.