California Codes homeSearch California
Cal. CodesPenal CodePart 2. Of Criminal ProcedureTitle 3. Additional Provisions Regarding Criminal ProcedureChapter 7. Examination of the Case, and Discharge of the Defendant, or Holding Him to Answer

Cal. Penal Code § 867 (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 1961–2015 11citing cases
At a glance

Courts have cited this section in 11 opinions since 1961.

While a witness is under examination, the magistrate shall, upon motion of either party, exclude all potential and actual witness who have not been examined.

The magistrate shall also order the witnesses not to converse with each other until they are all examined. The magistrate may also order, where feasible, that the witnesses be kept separated from each other until they are all examined.

This section does not apply to the investigating officer or the investigator for the defendant, nor does it apply to officers having custody of persons brought before the magistrate.

Either party may challenge the exclusion of any person under this section. Upon motion of either party, the magistrate shall hold a hearing, on the record, to determine if the person sought to be excluded is, in fact, a person excludable under this section.

The 11 cases that cite Cal. Penal Code § 867 most heavily, weighted by court and treatment. RelevanceNewestTreatment
1
GREENPeople v. Pompa-Ortiz, 27 Cal. 3d 519 (1980).
cites § 867 3×cited by 238 cases
Where it cites § 867
“Nothing in this section shall affect the right to exclude witnesses as provided in Section 867 of the Penal Code.” 7 See Gels, Preliminary Hearings and the Press (1961) 8 UCLA L.”
The case’s holding
Non-jurisdictional irregularities in preliminary examination procedures require reversal only if the defendant demonstrates that the error deprived him of a fair trial or otherwise caused prejudice.
Later courts cite it for
“irregularities in the preliminary examination procedures which are not jurisdictional in the fundamental sense shall be reviewed under the appropriate standard of prejudicial error and shall require reversal only if defendant can show that he was deprived of a fair trial or otherwise suffered prejudice as a result of the error at the preliminary examination.” · 19 citing courts
2
GREENPeople v. Lopez, 60 Cal. 2d 223 (1963).
cites § 867 4×cited by 195 cases
Where it cites § 867
“9 The provisions of section 867, relating specifically to the exclusion of witnesses, are discretionary whereas the terms of section 868, relating to the exclusion of persons generally, are mandatory.”
The case’s holding
A prisoner has no right of privacy in a jail except for consultations with an attorney in a room designated for that purpose.
Later courts cite it for
“except only insofar as concerns consultation with his attorney in a room designated for that purpose, a prisoner has no right of privacy in a jail.” · 3 citing courts
3
GREENSan Jose Mercury-News v. Mun. Court, 30 Cal. 3d 498 (1982).
cites § 867 2×cited by 50 cases
Where it cites § 867
“The person so chosen shall not discuss prior to or during the preliminary hearing the testimony of the prosecuting witness with any person, other than the prosecuting witness, who is a witness in the examination.”
The case’s holding
The state constitution and federal constitution do not guarantee an unqualified right of public access to preliminary hearings that outweighs a defendant's right to a fair trial.
Later courts cite it for
“changes of venue or continuances may subject the parties and courts to considerable inconvenience or expense . . . .” · 1 citing court
4
GREENPeople v. Valdez, 177 Cal. App. 3d 680 (Ct. App. 1986).
cites § 867 2×cited by 28 cases
Where it cites § 867
“Neither Evidence Code section 777, applying to trials, nor Penal Code section 867, applying to preliminary hearings, includes any enforcement provision.”
The case’s holding
A trial court may exclude a witness from the courtroom, and when a party knowingly keeps a witness present in violation of that order, it may disqualify the witness from testifying.
Later courts cite it for
“the court may exclude from the courtroom any witness not at the time under examination so that such witness cannot hear the testimony of other witnesses.” · 6 citing courts
5
GREENPeople v. Guy, 191 Cal. App. 2d 714 (Ct. App. 1961).
cites § 867 4×cited by 10 cases
Where it cites § 867
“” (Pen. Code, § 867.) 3 Penal Code, section 207, provides, in part: “Every person who forcibly steals, takes, or arrests any person in this state and carries him into another country, state, or county, or into another part of the same county .”
6
YELLOWPeople v. Malloy, 199 Cal. App. 2d 219 (Ct. App. 1962).
cites § 867 4×cited by 38 cases
Disapproved by People v. Kelley on other ground: 2 citing opinions limit it to other ground.
Where it cites § 867
“5 Penal Code section 867 provides: “While a witness is under examination, the magistrate may exclude all witnesses who have not been examined.”
The case’s holding
Evidence of other offenses is admissible in sex perversion prosecutions to show criminal intent, motive, or a common plan or scheme, subject to the general tests of relevancy.
7
GREENEversole v. Superior Court, 148 Cal. App. 3d 188 (Ct. App. 1983).
cites § 867 1×cited by 5 cases
Where it cites § 867
“Nothing in this section shall affect the right to exclude witnesses as provided in Section 867 of the Penal Code, [f] This section shall become operative on March 1, 1982.”
8
GREENMcGonagill v. Superior Court, 214 Cal. App. 2d 192 (Ct. App. 1963).
cites § 867 1×cited by 8 cases
Where it cites § 867
“The district attorney contends that the petition should be denied because it is not timely, in that it has not been filed within 15 days after the denial of the motion in the superior court.”
9
NO FLAGPeople v. Disandra, 193 Cal. App. 3d 1354 (Ct. App. 1987).
cites § 867 9×cited by 0 cases
Where it cites § 867
“Nothing in this section shall affect the right to exclude witnesses as provided in Section 867 of the Penal Code.” (Italics added; Stats.”
10
GREENPeople v. Johnson, 207 Cal. App. 2d 794 (Ct. App. 1962).
cites § 867 1×cited by 1 case
Where it cites § 867
“(Pen. Code, § 867.) The trial was conducted without error, including the instruction of the jury, which was proper and adequate.”
11
NO FLAGPeople v. Chubbs, No. B258569 (Cal. Ct. App. Jan. 9, 2015).
cites § 867 1×cited by 0 casesunpublished
Where it cites § 867
““(f) The court, subject to Section 867 of the Penal Code, may allow witnesses who are bound by a protective order entered in the criminal proceeding protecting trade secrets, pursuant to Section 1061, to remain within the courtroom during the closed portion of the proceeding.”

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
196119882015

One bar per year. Tallest: 2 cases in 1962. 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. Ct. App.8Cal.3
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. 1986, Ch. 868, Sec. 1.
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