Skip to main content
Guide · California law

How do I legally transport a rifle or shotgun in California?

California law makes it a crime to carry a loaded firearm in a vehicle in a public place or on a public street in a city (Penal Code 25850(a)) and to possess a loaded rifle or shotgun in a vehicle on a public highway (Fish and Game Code 2006(a)), and the California Department of Justice says long guns are generally not required to be in a locked container (DOJ, Transporting Firearms). Outside the vehicle, carrying an unloaded long gun in a city is a crime unless an exemption applies, such as keeping it in a locked container or a fastened gun case while traveling directly between lawful places (Penal Code 26400, 26405(c)).

Quick facts

  • In a vehicle: unloaded. Rifles and shotguns "are not required to be transported in a locked container" (DOJ, Transporting Firearms).
  • Penal Code meaning of loaded: a cartridge or shell in the firearm or attached to it in any manner, including in an attached magazine or clip (Penal Code 16840(b)).
  • Fish and Game Code meaning of loaded: a cartridge or shell in the firing chamber (Fish and Game Code 2006).
  • On foot in a city: an unloaded long gun must fit an exemption, such as being in a locked container or a fastened case made for firearms while it is transported directly between places where the person may lawfully possess it (Penal Code 26405(c), 16505).
  • Registered assault weapons and .50 BMG rifles: unloaded, in a locked container, and only between listed places (Penal Code 30945(g)).
  • Federal school zones: unloaded and in a locked container or a locked firearms rack on the vehicle (18 U.S.C. 922(q)(2)(B)(iii)).

What are the rules inside a vehicle?

Two state laws cover a loaded long gun in a vehicle.

  • Penal Code. It is a crime to carry a loaded firearm in a vehicle in a public place or on a public street in an incorporated city, or in a public place or on a public street in a prohibited area of unincorporated territory (Penal Code 25850(a)). A "prohibited area" is any place where it is unlawful to discharge a weapon (Penal Code 17030).
  • Fish and Game Code. It is unlawful to possess a loaded rifle or shotgun in any vehicle or conveyance that is standing on or along, or being driven on or along, a public highway or other way open to the public (Fish and Game Code 2006(a)). This rule is not limited to cities.

The DOJ sums up the result this way: long guns "are not generally covered" by the concealed firearm law and need not be in a locked container, but "as with any firearm," they "must be unloaded while they are being transported" (DOJ, Transporting Firearms).

That DOJ page is a summary, and parts of it have not been updated. As of 2026-11-10, its handgun paragraph still describes Penal Code 25610 with the phrase "for any lawful purpose," which is not in the current text of that section (Penal Code 25610), and its long gun paragraph does not mention the unloaded carry law in Penal Code 26400 that is described below. The page is DOJ's summary. Where the page and a statute differ, the statute controls.

Why are there two definitions of "loaded"?

The two codes define the word differently.

Under the Penal Code, a firearm is loaded when there is an unexpended cartridge or shell "in, or attached in any manner to, the firearm," including in the firing chamber, magazine, or clip attached to the firearm (Penal Code 16840(b)).

Under the Fish and Game Code, a rifle or shotgun is loaded when there is a cartridge or shell in the firing chamber, "but not when the only cartridges or shells are in the magazine" (Fish and Game Code 2006(b)).

Put side by side: Penal Code 16840(b) deems a firearm loaded when a cartridge or shell is in the firearm or attached to it in any manner, including in an attached magazine or clip, and Fish and Game Code 2006(b) deems a rifle or shotgun loaded when a cartridge or shell is in the firing chamber. Neither of those two definitions refers to ammunition that is not in the firearm or attached to it (Penal Code 16840(b), Fish and Game Code 2006(b)).

What are the rules outside the vehicle?

Carrying an unloaded rifle or shotgun on your person outside a vehicle is a misdemeanor in an incorporated city, and in a public place or public street in a prohibited area of an unincorporated county (Penal Code 26400).

Penal Code 26405 lists the exemptions. The ones most relevant to transport:

  • Locked or cased, direct travel. The firearm is in a locked container or encased, and it is being transported directly between places where the person may lawfully possess it, with only reasonably necessary deviations (subdivision (c)).
  • Home, business, private property. Carrying within a residence, a place of business, or on private real property the person owns or lawfully occupies, or with that person's permission (subdivisions (a) and (b)).
  • Hunting. A licensed hunter while hunting, or while going to or returning from the hunting expedition (subdivision (j)).
  • Target ranges. At an established public target range while using the firearm there, and for members of shooting clubs at their ranges (subdivisions (i) and (t)).

What about school zones?

California's school zone law covers the grounds of a K-12 school and the area within 1,000 feet (Penal Code 626.9(e)(4)). It says it "does not prohibit or limit the otherwise lawful transportation" of a firearm that is not a handgun, in accordance with state law (Penal Code 626.9(c)(2)(B)).

Federal law sets its own condition. Its school zone ban has an exception for a firearm that is "not loaded" and "in a locked container, or a locked firearms rack that is on a motor vehicle" (18 U.S.C. 922(q)(2)(B)(iii)). The federal statute lists other exceptions as well, including private property that is not part of school grounds.

How are registered assault weapons transported?

A person who registered an assault weapon or a .50 BMG rifle may possess it only in the places listed in Penal Code 30945, such as the person's residence, place of business, or other property the person owns, and certain target ranges. Transport is allowed between those places, or to a licensed gun dealer for servicing or repair, if the firearm is transported as required by sections 16850 and 25610 (subdivision (g)).

The DOJ describes that standard as "unloaded and stored in a locked container when transported" (DOJ, Transporting Firearms). A glove compartment or utility compartment is not a locked container (Penal Code 16850).

What changed recently

  • 2026-01-01the current version of Penal Code 26405 became operative. It was repealed and re-added by SB 899 (Stats. 2024, ch. 544) (Penal Code 26405).
  • 2024-01-01SB 2 (Stats. 2023, ch. 249) amended the loaded carry law and the school zone law (Penal Code 25850, 626.9).

FAQ

Does a rifle or shotgun have to be in a locked case in my car?

The DOJ says rifles and shotguns "are not required to be transported in a locked container" under California law, though they must be unloaded (DOJ, Transporting Firearms). Registered assault weapons are the exception (Penal Code 30945(g)), and the federal school zone exception calls for a locked container or locked rack (18 U.S.C. 922(q)).

Can I leave a loaded magazine attached if the chamber is empty?

Under the Penal Code, a cartridge in a magazine attached to the firearm makes it loaded (Penal Code 16840(b)). The chamber-only definition belongs to the Fish and Game Code section (Fish and Game Code 2006(b)).

Does the unattended vehicle storage rule apply to long guns?

By its terms, Penal Code 25140 addresses "a handgun" left in an unattended vehicle (Penal Code 25140(a)). The section also says it does not override local ordinances on vehicle storage that were in effect before September 26, 2016.

I am a licensed hunter. Does the open carry rule apply on the way to a hunt?

Section 26400 does not apply to a licensed hunter while hunting or while transporting the firearm when going to or returning from the hunting expedition (Penal Code 26405(j)). The loaded vehicle rule in the Fish and Game Code still applies on public roads (Fish and Game Code 2006).

Sources

  1. 1.California DOJ, Transporting Firearms in California
  2. 2.California Penal Code 25850 (carrying a loaded firearm in public)
  3. 3.California Penal Code 16840 (loaded defined)
  4. 4.California Fish and Game Code 2006 (loaded rifle or shotgun in a vehicle)
  5. 5.California Penal Code 26400 (carrying an unloaded long gun in public)
  6. 6.California Penal Code 26405 (exemptions to section 26400)
  7. 7.California Penal Code 16505 (encased defined)
  8. 8.California Penal Code 16850 (locked container defined)
  9. 9.California Penal Code 17030 (prohibited area defined)
  10. 10.California Penal Code 30945 (registered assault weapons and .50 BMG rifles)
  11. 11.California Penal Code 25610 (locked transport standard)
  12. 12.California Penal Code 626.9 (Gun-Free School Zone Act of 1995)
  13. 13.18 U.S.C. 922(q) (federal school zone rule)
  14. 14.California Penal Code 25140 (handguns in unattended vehicles)

Last verified Nov 11, 2026Informational only, not legal advice

Get the weekly Roster and Law brief

One email a week on California roster changes, new laws and court rulings. Alerts when something changes.

For adults 18 and over. By subscribing you agree to the Terms and Privacy Policy. Unsubscribe any time.