Cal. PEN § 4021

This is the official text of Cal. PEN § 4021, 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

(a) Whenever any female prisoner or prisoners are confined in any local detention facility in the state there shall be an appropriately trained female custodial person assigned, available, and accessible for the supervision of the female prisoners.

(b) It shall be unlawful for any officer, station officer, jailer, or custodial personnel to search the person of any prisoner of the opposite sex, or to enter into the room or cell occupied by any prisoner of the opposite sex, except in the company of an employee of the same sex as the prisoner. Except as provided herein, the provisions of this subdivision shall not be applied to discriminate against any employee by prohibiting appointment or work assignment on the basis of the sex of the employee.

As used in this subdivision “station officer” means an unarmed civilian employee who assists a peace officer in the processing of persons who have been arrested and who performs duties including, but not limited to, booking and fingerprinting and maintaining custody and control of persons who have been arrested.

As used in this subdivision, “employee” means a deputy sheriff, correctional officer, custodial officer, medical staff person or designated civilian employee whose duties may include, but are not limited to, maintaining custody and control of persons who have been arrested or sentenced, or both.

Status: in_force · Read it on the official government site

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.