In most cases, you cannot legally carry a gun while hiking in California. The state bans open carry of handguns everywhere, restricts loaded firearms in public, and a 2024 law designates public parks, state parks, national parks, national forests, and other publicly owned recreational lands as “sensitive places” where carry is prohibited even for people with a concealed carry permit.1California Legislative Information. California Penal Code 26230 Parts of that law are being challenged in federal court, but the provisions covering parks and public lands are currently enforceable.
The Sensitive Places Law Is the Main Barrier
California Senate Bill 2, effective in 2024, added a long list of locations where firearms cannot be carried regardless of whether you hold a California Concealed Carry Weapon (CCW) permit. For hikers, the categories that matter are public parks, state parks, national parks, national forests, and other publicly owned lands used for recreation.1California Legislative Information. California Penal Code 26230 A CCW that authorizes carry in ordinary public places does not authorize carry on a trail in any of these areas.
The law is being contested. In September 2024, the Ninth Circuit ruled on a preliminary injunction in May v. Bonta, blocking enforcement of some provisions and leaving others in place.2Justia Law. May, et al. v. Bonta, et al., No. 23-4356 The struck provisions mostly involve private commercial property, places of worship, hospitals, public transit, and financial institutions. The park and public land restrictions were not blocked and remain enforceable. The litigation continues, so check the current status before relying on any of this.
What This Means By Land Type
California State Parks
State parks are the most restrictive. California regulations prohibit carrying or possessing any firearm within any unit of the state park system, loaded or unloaded, and a CCW permit creates no exception.3Cornell Law School. California Code of Regulations Title 14, Section 4313 – Weapons and Traps Discharge is also prohibited. Narrow exceptions exist for underwater parks and designated archery ranges.
National Parks
Federal law does not let the National Park Service ban firearm possession outright. Under 54 U.S.C. ยง 104906, you may possess a firearm in a park unit if you are not otherwise prohibited from having one and possession complies with the law of the state where the park sits.4Office of the Law Revision Counsel. 54 USC 104906 – Protection of Right of Individuals To Bear Arms Because California designates national parks as sensitive places, state law effectively overrides that federal permission for most hikers.1California Legislative Information. California Penal Code 26230 Federal park regulations separately prohibit discharging a firearm within a park and restrict loaded weapons in vehicles inside park boundaries.5eCFR. 36 CFR 2.4 – Weapons, Traps and Nets
National Forests
Same pattern. The Forest Service allows firearm possession subject to state law, and California’s sensitive places designation covers national forests.1California Legislative Information. California Penal Code 26230 Forest Service rules also prohibit discharge within 150 yards of any designated camping area and near residences, recreation grounds, and bodies of water.6eCFR. 36 CFR Part 261 Subpart A – General Prohibitions Designated wilderness areas within national forests add no separate firearm rules.
BLM Land
Bureau of Land Management land is the most permissive category for hikers, but not by much. The BLM allows firearm use as provided under California state law, so the baseline carry restrictions still apply.7Bureau of Land Management. California Hunting, Fishing and Recreational Shooting The sensitive places law can restrict carry in developed recreation sites and campgrounds on BLM property.1California Legislative Information. California Penal Code 26230 Undeveloped BLM land away from those sites is where lawful carry is most plausible, subject to everything else in this article.
City and County Parks
Local parks often add their own bans through municipal ordinances, and many prohibit firearms outright within park boundaries. Check the specific park’s rules and the local code before you go.
The Baseline Rules That Still Apply Anywhere
Even outside sensitive places, California’s general carry law limits what you can do on foot. Openly carrying an unloaded handgun in any public place is a misdemeanor punishable by up to one year in county jail or a fine up to $1,000 when aggravating factors are present.8California Legislative Information. California Penal Code 26350 Carrying a loaded firearm in public is a separate offense with penalties that scale up to felony charges depending on your history and the circumstances.9California Legislative Information. California Penal Code 25850 Carrying concealed without a CCW is also illegal.
Long guns work a little differently. You cannot openly carry an unloaded rifle or shotgun within an incorporated city or city and county.10California Legislative Information. California Penal Code 26400 In unincorporated areas, unloaded open carry of a long gun is generally permitted unless a local ordinance says otherwise.
“Loaded” Is Broader Than You Think
A firearm is “loaded” when an unexpended cartridge or shell is in or attached to the firearm in any manner, including in the firing chamber, a magazine, or a clip attached to the gun. A detached magazine in your pocket with the firearm in hand is not “loaded” under that definition. Snap the magazine on and it is, even with no round in the chamber. A separate, broader definition treats a firearm as loaded whenever the gun and compatible ammunition are in the same person’s immediate possession.11California Legislative Information. California Penal Code 16840 If you’re anywhere loaded carry isn’t clearly lawful, keep ammunition fully separate from the firearm.
Getting Your Firearm to the Trailhead
Transport rules are strict and specific. A handgun must be unloaded and stored either in the vehicle’s trunk or in a locked container inside the vehicle.12California Legislative Information. California Penal Code 25610 A “locked container” is a fully enclosed and locked case secured by a padlock, key lock, or combination lock.13California Legislative Information. California Penal Code 16850 The glove compartment and center console do not qualify even when they lock. A hard-sided handgun case works; a zippered range bag does not.
Rifles and shotguns must be unloaded in transport but do not need to be in a locked container. Back seat or truck bed rack is fine as long as they’re unloaded.
Wildlife Defense Isn’t the Answer You’d Hope
Mountain lions, bears, and rattlesnakes are real. The problem is that the places where you’re most likely to encounter dangerous wildlife are the same places where carry is prohibited.
If you kill an animal protected under the federal Endangered Species Act, the ESA provides a defense: no criminal penalty applies where the person acted on a good-faith belief that they were protecting themselves or another person from bodily harm caused by an endangered or threatened species.14U.S. Fish & Wildlife Service. Endangered Species Act – Section 11 – Penalties and Enforcement The same defense applies to civil penalties under a preponderance standard. That defense covers the killing of the animal. It does not retroactively legalize possessing the firearm in a sensitive place. You could win the self-defense argument against a mountain lion and still face a separate charge for carrying where carry was prohibited.
California also has no duty to retreat in self-defense, and the state’s self-defense law applies in any location where you have a legal right to be. For wildlife specifically, bear spray and situational awareness carry no legal exposure and are what most hikers actually rely on.