@dvoncock help
Google says
The Hidden Statutory Trap: Penal Code 171.7
Even though the 9th Circuit Court of Appeals has blocked the enforcement of SB 2's public transit ban under § 26230,
California Penal Code Section 171.7 remains fully active and enforceable. [
1]
- The Law: Section 171.7 makes it a misdemeanor to knowingly possess a firearm within any public transit facility or vehicle, which explicitly covers Metrolink trains, platforms, and stations. [1, 2]
- The Catch: Historically, CCW holders were exempt from Section 171.7. However, SB 2 permanently stripped the CCW exemption from this specific statute. Because Section 171.7 was an older law modified by SB 2—and was not part of the specific list of new sensitive places challenged and blocked in the May v. Bonta lawsuit—it is currently illegal to carry a loaded, concealed firearm on public transportation in California. [1]
- The Penalty: A violation of § 171.7 is a misdemeanor punishable by up to six months in jail, a $1,000 fine, and will almost certainly result in the revocation of your CCW permit. [1, 2]
Yes, mostly. I checked the statutes, the Ninth Circuit opinion, the actual injunction, and California DOJ’s 2026 guidance. As of October 2026, I would treat loaded concealed carry on Metrolink, BART, light rail, a public bus, etc. as prohibited even with a California CCW.
The Google answer has the right practical conclusion, but it misses an important development: California changed the law again in 2025 through AB 1078, effective January 1, 2026.
Before SB 2, Penal Code § 171.7 was much narrower. It prohibited firearms only in a posted “sterile area” of a transit facility, and it specifically exempted people who were lawfully carrying pursuant to one of the concealed-carry exemptions, which included CCW holders.
Justia Law
SB 2 eliminated that CCW exception and substantially broadened § 171.7. The current statute says it is unlawful to knowingly possess a firearm in a “public transit facility.” Ordinary CCW licensees are not among the listed exemptions. The statute now contains a specific exception for someone transporting an unloaded firearm locked in the particular type of lock box required by § 26230(a)(8). Violation remains punishable by up to six months in county jail and/or a $1,000 fine.
Justia Law
The interesting part is the injunction. The December 2023
May/Carralero injunction expressly prohibited enforcement of § 26230(a)(8) against CCW holders. It did not mention § 171.7. That's not speculation: the actual injunction lists the statutes by subsection, including § 26230(a)(8), and § 171.7 is absent.
Michel & Associates
Then the Ninth Circuit affirmed the public-transit portion of that injunction in 2024. But look at why. The court did not hold that California can never prohibit licensed carry on public transit. Quite the opposite. It held that the old law was constitutionally problematic because it was a categorical prohibition with no way to transport an unloaded, secured firearm. The court said the historical record supported prohibiting loaded firearms or improperly stored firearms on trains and concluded:
That language is unusually explicit.
Justia Law
California subsequently enacted AB 1078. Current § 26230(a)(8) now says a CCW holder shall not carry on a publicly funded bus, train, or other public transportation, or associated transportation-authority property, unless the firearm is unloaded and locked in a qualifying lock box for purposes of transportation.
Justia Law The Legislature's own analysis specifically discussed the Ninth Circuit transit ruling and the absence of an unloaded/secured exception as the issue AB 1078 was addressing.
TrackBill
California DOJ's 2026 firearms-law bulletin likewise describes the new rule as allowing an individual to possess an unloaded firearm on a bus, train, or other public transportation so long as it is locked in a lock box.
California DOJ
So, for something like Metrolink today:
- Loaded concealed handgun on your person under your CCW: I would regard this as prohibited under the current statutory scheme. § 26230(a)(8) now directly covers trains, and § 171.7 provides a separate firearm prohibition without an ordinary-CCW exception. The 2024 injunction is not something I would rely upon as protection from § 171.7 prosecution.
- Unloaded handgun in the statutorily compliant locked container: expressly contemplated as lawful transport under both current § 26230(a)(8) and § 171.7(c)(3). Note that § 26230 specifies a particular qualifying lock box, not merely “any random locked bag.” Justia Law
- Stations/platforms: Google's statement is a little too categorical when discussing § 171.7 alone, because that statute's definition of “public transit facility” contains language about access being controlled consistent with the transit authority's security plan. But § 26230(a)(8) separately reaches buildings, real property, and parking areas under the control of a publicly funded transportation authority, so the distinction often won't help at a Metrolink facility. Justia Law
- Penalty: the six-month/$1,000 statement for § 171.7 is correct. Justia Law
- “Almost certainly” losing the CCW: that's overstated. California's statewide revocation statute does not say that a § 171.7 violation automatically revokes a CCW merely because it occurred. It does require revocation for specified things such as violating license conditions under § 26200 or becoming a disqualified person. An arrest or conviction for illegal CCW conduct could absolutely create a serious revocation problem, particularly under an issuing agency's license conditions, but “automatic/almost certain” isn't what § 26195 actually says. Justia Law
There is still a procedural wrinkle:
May v. Bonta remains active litigation, and the preliminary injunction formally concerned § 26230(a)(8). I have not found a subsequent published order holding that the newly amended 2026 transit provisions of AB 1078 are themselves unconstitutional or extending the injunction to § 171.7. The case itself is still ongoing.
Second Amendment Foundation
So the short version is:
the old advice that “public transit is enjoined, therefore my CCW is good on the train” is no longer something I would rely on. For 2026, loaded CCW carry on Metrolink looks prohibited; unloaded and locked transport is the statutory route. The Google result found a real issue, although calling it merely a “hidden §171.7 trap” misses the much more important AB 1078 amendment.