Carrying a gun while hiking in California is tightly restricted, and on most trails it is not legal even if you hold a concealed carry permit. The state bans open carry of handguns everywhere, bans loaded carry 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 firearms are prohibited regardless of permit status. Parts of that law are being challenged in federal court, but the park and public-land provisions are currently enforceable.
The Statewide Rules That Apply Before You Pick a Trail
California prohibits openly carrying an unloaded handgun in any public place. The offense is a misdemeanor and can carry up to a year in county jail or a fine up to $1,000 when aggravating factors are present.1California Legislative Information. California Penal Code 26350 Carrying a loaded firearm in public is a separate offense whose penalties can rise to felony level depending on your record and the circumstances.2California Legislative Information. California Penal Code 25850
Carrying a concealed handgun requires a valid California CCW permit, issued through your county sheriff or local police chief after a training course and background check. Without that permit, concealed carry is illegal.
Long guns follow a different rule. Openly carrying an unloaded rifle or shotgun inside an incorporated city is prohibited.3California Legislative Information. California Penal Code 26400 In unincorporated areas, open carry of an unloaded long gun is permitted unless a local ordinance says otherwise.
What “Loaded” Means
California’s definition of loaded is broader than most hikers realize. A firearm is loaded when an unexpended cartridge is in or attached to it in any manner, including in the chamber, a magazine, or a clip attached to the gun. A detached magazine in your pocket is not “loaded.” Snap it in and the gun is loaded, even without a round chambered. A broader definition also treats a firearm as loaded when the gun and compatible ammunition are in the immediate possession of the same person.4California Legislative Information. California Penal Code 16840 If you are anywhere loaded carry is not lawful, keep ammunition completely separate from the firearm.
The Sensitive Places Law That Shuts Down Most Trail Carry
In 2024, California enacted Senate Bill 2, adding a long list of “sensitive places” where firearms are prohibited regardless of CCW status. For hikers, the key designations are public parks, state parks, national parks, national forests, and other publicly owned recreational lands.5California Legislative Information. California Penal Code 26230 A CCW permit that would otherwise let you carry does not help you on the trail.
The law has been challenged. 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.6Justia Law. May, et al. v. Bonta, et al., No. 23-4356 The blocked 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 are currently enforceable. The case continues, so check the current status before relying on any part of it.
Carry Rules by Type of Land
National Parks
Federal law bars the National Park Service from banning firearm possession outright. Under 54 U.S.C. ยง 104906, you may possess a firearm in any unit of the National Park System if you are not otherwise prohibited and the possession complies with the law of the state where the park sits.7Office of the Law Revision Counsel. 54 USC 104906 – Protection of Right of Individuals To Bear Arms California’s sensitive places designation covers national parks, so state law effectively overrides the federal permission for carry.5California Legislative Information. California Penal Code 26230 Federal regulations separately prohibit discharging a firearm within a park unit and restrict carrying a loaded weapon in a motor vehicle inside park boundaries.8eCFR. 36 CFR 2.4 – Weapons, Traps and Nets
National Forests
The U.S. Forest Service allows firearm possession subject to state law, and California’s sensitive places designation covers national forests.5California Legislative Information. California Penal Code 26230 Forest Service rules also prohibit discharging a firearm within 150 yards of any designated camping area and restrict shooting near residences, recreation grounds, and bodies of water.9eCFR. 36 CFR Part 261 Subpart A – General Prohibitions Designated wilderness areas inside national forests add no further firearm restrictions beyond those general rules.
California State Parks
State parks are among the strictest. State regulations prohibit carrying or possessing any firearm within any unit of the state park system, loaded or unloaded, with no CCW exception.10Cornell Law School. California Code of Regulations Title 14, Section 4313 – Weapons and Traps Discharge is also prohibited. Narrow exceptions exist only for underwater parks and designated archery ranges where the Department of Parks and Recreation has specifically authorized certain activities.
City and County Parks
Local parks often add their own restrictions through municipal ordinances, and many ban firearm possession entirely within park boundaries. Check the specific rules for the jurisdiction before hiking in any local park.
BLM Land
Bureau of Land Management land offers more flexibility than parks, but California’s baseline carry rules still apply, and the sensitive places law may restrict carry in developed BLM recreation sites and campgrounds.5California Legislative Information. California Penal Code 26230 Recreational target shooting is allowed in some areas and prohibited in developed recreation sites and anywhere signs are posted.11Bureau of Land Management. California Hunting, Fishing and Recreational Shooting Local counties can impose further limits; Riverside County, for example, prohibits shooting within 300 yards of any building, dwelling, corral, park, public campground, or public road.
Getting the Firearm to the Trailhead
Transport rules are strict. A handgun must be unloaded and kept either in the vehicle’s trunk or in a locked container inside the vehicle.12California Legislative Information. California Penal Code 25610 A locked container means a fully enclosed, locked case secured by a padlock, key lock, or combination lock.13California Legislative Information. California Penal Code 16850 A glove compartment or center console does not qualify, even if it locks. A zippered range bag does not qualify either. A small lockable hard case does.
Rifles and shotguns must be unloaded during transport but do not need to be in a locked container. They can ride in the back seat or a truck bed rack as long as they are unloaded.
If you are driving in from another state, federal law provides a safe harbor for interstate transport as long as the firearm is unloaded and neither the gun nor the ammunition is readily accessible from the passenger compartment.14Office of the Law Revision Counsel. 18 U.S. Code 926A – Interstate Transportation of Firearms In vehicles without a separate trunk, both the firearm and ammunition must be in a locked container other than the glove compartment or console. The federal rule covers transport only. It does not authorize carry once you arrive.
Wildlife, Self-Defense, and Why Bear Spray Is Usually the Better Answer
Mountain lions, bears, and rattlesnakes are real hazards, and wildlife defense is the most common reason hikers want to carry. The uncomfortable overlap: the places most likely to have dangerous wildlife are the same places where carrying is restricted.
If you kill an animal protected under the federal Endangered Species Act, a statutory defense exists. The ESA provides no criminal penalty applies if the person acted on a good-faith belief they were protecting themselves or another person from bodily harm caused by an endangered or threatened species.15U.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 addresses only the killing of the animal. It does not legalize possessing the firearm in a prohibited location. You could successfully defend the shooting and still be charged for carrying in a sensitive place.
California does not impose a duty to retreat in self-defense situations. The state’s self-defense law allows you to stand your ground if you reasonably believe you face imminent danger of great bodily harm, in any location where you have a legal right to be. For wildlife encounters, most hikers are better served by bear spray and situational awareness, both because those tools are effective and because carrying them does not create legal exposure.