California Codes homeSearch California
Cal. CodesPenal CodePart 2. Of Criminal ProcedureTitle 3. Additional Provisions Regarding Criminal ProcedureChapter 4.5. Peace Officers

Cal. Penal Code § 831.5 (2026)

Edition and currency
leginfo export of Sept. 26, 2026 (applied Oct. 1, 2026). The text is the edition Syfert holds; for a past event, check the version in force on that date.
Other sources
CURRENTleginfo export of Sept. 26, 2026 (applied Oct. 1, 2026) cited 1989–2007 6citing cases
At a glance

Courts have cited this section in 6 opinions since 1989.

(a)As used in this section, a custodial officer is a public officer, not a peace officer, who is employed by a law enforcement agency of San Diego County, Fresno County, Kern County, Stanislaus County, Riverside County, Santa Clara County, Napa County, or a county having a population of 425,000 or less who has the authority and responsibility for maintaining custody of prisoners and performs tasks related to the operation of a local detention facility used for the detention of persons usually pending arraignment or upon court order either for their own safekeeping or for the specific purpose of serving a sentence in the local detention facility. Custodial officers of a county shall be employees of, and under the authority of, the sheriff, except in counties in which the sheriff, as of July 1, 1993, is not in charge of and the sole and exclusive authority to keep the county jail and the prisoners in it. A custodial officer includes a person designated as a correctional officer, jailer, or other similar title. The duties of a custodial officer may include the serving of warrants, court orders, writs, and subpoenas in the detention facility or under circumstances arising directly out of maintaining custody of prisoners and related tasks.

(b)A custodial officer has no right to carry or possess firearms in the performance of the officer’s prescribed duties, except, under the direction of the sheriff or chief of police, while engaged in transporting prisoners; guarding hospitalized prisoners; or suppressing jail riots, lynchings, escapes, or rescues in or about a detention facility falling under the care and custody of the sheriff or chief of police.

(c)A person described in this section as a custodial officer shall, within 90 days following the date of the initial assignment to that position, satisfactorily complete the training course specified in Section 832. In addition, a person designated as a custodial officer shall, within one year following the date of the initial assignment as a custodial officer, have satisfactorily met the minimum selection and training standards prescribed by the Board of State and Community Corrections pursuant to Section 6035. Persons designated as custodial officers, before the expiration of the 90-day and one-year periods described in this subdivision, who have not yet completed the required training, shall not carry or possess firearms in the performance of their prescribed duties, but may perform the duties of a custodial officer only while under the direct supervision of a peace officer, as described in Section 830.1, who has completed the training prescribed by the Commission on Peace Officer Standards and Training, or a custodial officer who has completed the training required in this section.

(d)At any time 20 or more custodial officers are on duty, there shall be at least one peace officer, as described in Section 830.1, on duty at the same time to supervise the performance of the custodial officers.

(e)This section does not confer any authority upon any custodial officer except while on duty.

(f)A custodial officer may use reasonable force in establishing and maintaining custody of persons delivered to the custodial officer by a law enforcement officer; may make arrests for misdemeanors and felonies within the local detention facility pursuant to a duly issued warrant; may make warrantless arrests pursuant to Section 836.5 only during the duration of the custodial officer’s job; may release without further criminal process persons arrested for intoxication; and may release misdemeanants on citation to appear in lieu of or after booking.

(g)Custodial officers employed by the Santa Clara County Department of Correction are authorized to perform the following additional duties in the facility:

(1)Arrest a person without a warrant whenever the custodial officer has reasonable cause to believe that the person to be arrested has committed a misdemeanor or felony in the presence of the officer that is a violation of a statute or ordinance that the officer has the duty to enforce.

(2)Search property, cells, prisoners, or visitors.

(3)Conduct strip or body cavity searches of prisoners pursuant to Section 4030.

(4)Conduct searches and seizures pursuant to a duly issued warrant.

(5)Segregate prisoners.

(6)Classify prisoners for the purpose of housing or participation in supervised activities.

These duties may be performed at the Santa Clara Valley Medical Center, or at other health care facilities in the County of Santa Clara, as needed and only as they directly relate to guarding in-custody inmates. This subdivision does not authorize the performance of any law enforcement activity involving any person other than the inmate or the inmate’s visitors.

(h)(1)Upon resolution by the Napa County Board of Supervisors, custodial officers employed by the Napa County Department of Corrections are authorized to perform all of the following duties in a facility located in that county:

(A)Arrest a person without a warrant whenever the custodial officer has reasonable cause to believe that the person to be arrested has committed a misdemeanor or felony in the presence of the officer that is a violation of a statute or ordinance that the officer has the duty to enforce.

(B)Search property, cells, prisoners, or visitors.

(C)Conduct strip or body cavity searches of prisoners pursuant to Section 4030.

(D)Conduct searches and seizures pursuant to a duly issued warrant.

(E)Segregate prisoners.

(F)Classify prisoners for the purpose of housing or participation in supervised activities.

(2)This subdivision does not authorize the performance of any law enforcement activity involving any person other than an inmate or the inmate’s visitors.

(i)(1)Upon resolution by the County of Madera Board of Supervisors, custodial officers employed by the Madera County Department of Corrections are authorized to perform all of the following duties in a facility located in that county:

(A)Arrest a person without a warrant whenever the custodial officer has reasonable cause to believe that the person to be arrested has committed a misdemeanor or felony in the presence of the officer that is a violation of a statute or ordinance that the officer has the duty to enforce.

(B)Search property, cells, prisoners, or visitors.

(C)Conduct strip or body cavity searches of prisoners pursuant to Section 4030.

(D)Conduct searches and seizures pursuant to a duly issued warrant.

(E)Segregate prisoners.

(F)Classify prisoners for the purpose of housing or participation in supervised activities.

(2)This subdivision does not authorize the performance of any law enforcement activity involving any person other than an inmate or the inmate’s visitors.

(j)This section does not authorize a custodial officer to carry or possess a firearm when the officer is not on duty.

(k)It is the intent of the Legislature that this section, as it relates to Santa Clara, Madera, and Napa Counties, enumerate specific duties of custodial officers known as “correctional officers” in Santa Clara, Madera, and Napa Counties and to clarify the relationships of the correctional officers and deputy sheriffs in those counties. These duties are the same duties of the custodial officers prior to the date of enactment of Chapter 635 of the Statutes of 1999 pursuant to local rules and judicial decisions. It is further the intent of the Legislature that all issues regarding compensation for custodial officers remain subject to the collective bargaining process between the counties and the authorized bargaining representative for the custodial officers. However, this section does not assert that the duties of custodial officers are equivalent to the duties of deputy sheriffs and does not affect the ability of the county to negotiate pay that reflects the different duties of custodial officers and deputy sheriffs.

The 6 cases that cite Cal. Penal Code § 831.5 most heavily, weighted by court and treatment. RelevanceNewestTreatment
1
GREENAbbate v. Cnty. of Santa Clara, 91 Cal. App. 4th 1231 (Ct. App. 2001).
cites § 831.5 10×cited by 6 cases
Where it cites § 831.5
“1[ 8 ] from forcing those deputies of the Sheriff to become custodial officers under Penal Code § 831.”
Later courts cite it for
“in reviewing a trial court's judgment on a petition for writ of ordinary mandate, the appellate court applies the substantial evidence test to the trial court's factual findings, but exercises its independent judgment on legal issues, such as the interpretation of statutes.” · 2 citing courts
cites § 831.5 2×cited by 16 cases
Where it cites § 831.5
“"(b) In determining relevance, the Court shall examine the information in chambers in conformity with Section 915, and shall exclude from disclosure: "(1) Information consisting of complaints concerning conduct occurring more than five years before the event or transaction that…”
3
GREENCity of Los Angeles v. Superior Court, 111 Cal. App. 4th 883 (Ct. App. 2003).
cites § 831.5 1×cited by 13 cases
Where it cites § 831.5
“5 governs the investigation of citizen complaints against peace officers, and the retention and maintenance of, and access to, records generated by such investigations.”
Later courts cite it for
“(c) election of employee benefits. (d) employee advancement, appraisal, or discipline, f (e) complaints, or investigations of complaints, concerning an event or transaction in which he or she participated, or which he or she perceived, and pertaining to the manner in which he or she performed his or her duties.” · 1 citing court
4
GREENGarcia v. Superior Court, 42 Cal. 4th 63 (2007).
cites § 831.5 1×cited by 2 cases
Where it cites § 831.5
“” Section 1046 provides: “In any case, otherwise authorized by law, in which the party seeking disclosure is alleging excessive force by a peace officer or custodial officer, as defined in Section 831.5 of the Penal Code, in connection with the arrest of that party, or for…”
The case’s holding
A trial court may allow a Pitchess affidavit to be filed under seal, but the declaration must be redacted before service because a protective order alone is insufficient.
Later courts cite it for
“this good cause showing is a 'relatively low threshold for discovery.” · 2 citing courts
5
GREENGarcia v. Superior Court, 42 Cal. 4th 63 (2007).
cites § 831.5 1×cited by 4 cases
Where it cites § 831.5
“" Section 1046 provides: "In any case, otherwise authorized by law, in which the party seeking disclosure is alleging excessive force by a peace officer or custodial officer, as defined in Section 831.5 of the Penal Code, in connection with the arrest of that party, or for…”
6
NO FLAGUntitled California Attorney Gen. Opinion, No. 88-1201 (Cal. Att'y Gen. July 6, 1989).
cites § 831.5 13×cited by 0 cases
Where it cites § 831.5
“Under the provisions of Penal Code section 831 (cities, and counties having a population of more than 425,000) and Penal Code section 831.5 (counties having a population of 425,000 or less) such custodial officers are "public officers" but not "peace officers.”

The flag is Syfertize’s treatment of the citing case itself, not of the statute. “Where it cites” is the passage in the opinion; the holding is a summary of the whole case and may concern another point. Annotations are extracted automatically from the opinions in the Syfert caselaw corpus.

Citing cases by year
198919982007

One bar per year. Tallest: 3 cases in 2007. These are opinions in the Syfert collection, which holds more of some courts’ recent opinions than their older ones, so a rise can reflect what the collection holds and not more litigation.

By court
Cal.3Cal. Ct. App.2Cal. Att'y Gen.1
By subsection

Courts have not cited this section by subsection, so its cases are not split up here. The Leading cases tab lists the cases that cite it most heavily.

Enactment and amendments
Amended by Stats. 2019, Ch. 497, Sec. 197. (AB 991) Effective January 1, 2020.
Versions

Edition shown: leginfo export of Sept. 26, 2026 (applied Oct. 1, 2026). Syfert holds no earlier or later version of this section.

California Codes Home  |  Search California  |  Search cases for this section  |  syfert.com