Cal. PEN § 1542
This is the official text of Cal. PEN § 1542, part of California’s Penal Code — defines crimes and sets criminal procedure in California.
Not legal advice. This page reproduces the official text of a government statute for reference only. Laws change, and how a statute applies depends on your specific facts. For advice about your situation, consult a licensed attorney in your state.
Official statutory text
When a person charged with a felony is supposed by the magistrate before whom he is brought to have on his person a dangerous weapon, or anything which may be used as evidence of the commission of the offense, the magistrate may direct him to be searched in his presence, and the weapon or other thing to be retained, subject to his order, or to the order of the Court in which the defendant may be tried.
Status: in_force · Read it on the official government site
Dealing with a criminal defense matter in California?
See all California Criminal Defense lawyers
About this page: Statute text is reproduced from official government publishers via the
Open US Law dataset
(Vaquill AI, snapshot v2026.08, CC BY 4.0). Primary legislative text like this is public domain under the government-edicts doctrine
(Georgia v. Public.Resource.Org, 2020). We link every section back to its official source so you can verify it independently.