2023 California Code › Penal Code - PEN › PART 2 - OF CRIMINAL PROCEDURE › TITLE 3 - ADDITIONAL PROVISIONS REGARDING CRIMINAL PROCEDURE › CHAPTER 7 - Examination of the Case, and Discharge of the Defendant, or Holding Him to Answer › Section 859b.

859b. At the time the defendant appears before the magistrate for arraignment, if the public offense is a felony to which the defendant has not pleaded guilty in accordance with Section 859a, the magistrate, immediately upon the appearance of counsel, or if none appears, after waiting a reasonable time therefor as provided in Section 859, shall set a time for the examination of the case and shall allow not less than two days, excluding Sundays and holidays, for the district attorney and the defendant to prepare for the examination. The magistrate shall also issue subpoenas, duly subscribed, for witnesses within the state, required either by the prosecution or the defense.
Both the defendant and the people have the right to a preliminary examination at the earliest possible time, and unless both waive that right or good cause for a continuance is found as provided for in Section 1050, the preliminary examination shall be held within 10 court days of the date the defendant is arraigned or pleads, whichever occurs later, or within 10 court days of the date criminal proceedings are reinstated pursuant to Chapter 6 (commencing with Section 1367) of Title 10 of Part 2.
Whenever the defendant is in custody, the magistrate shall dismiss the complaint if the preliminary examination is set or continued beyond 10 court days from the time of the arraignment, plea, or reinstatement of criminal proceedings pursuant to Chapter 6 (commencing with Section 1367) of Title 10 of Part 2, and the defendant has remained in custody for 10 or more court days solely on that complaint, unless either of the following occur:
(a) The defendant personally waives his or her right to preliminary examination within the 10 court days.
(b) The prosecution establishes good cause for a continuance beyond the 10-court-day period.
For purposes of this subdivision, “good cause” includes, but is not limited to, those cases involving allegations that a violation of one or more of the sections specified in subdivision (a) of Section 11165.1 or in Section 11165.6 has occurred and the prosecuting attorney assigned to the case has another trial, preliminary hearing, or motion to suppress in progress in that court or another court. Any continuance under this paragraph shall be limited to a maximum of three additional court days.
If the preliminary examination is set or continued beyond the 10-court-day period, the defendant shall be released pursuant to Section 1318 unless:
(1) The defendant requests the setting of continuance of the preliminary examination beyond the 10-court-day period.
(2) The defendant is charged with a capital offense in a cause where the proof is evident and the presumption great.
(3) A witness necessary for the preliminary examination is unavailable due to the actions of the defendant.
(4) The illness of counsel.
(5) The unexpected engagement of counsel in a jury trial.
(6) Unforeseen conflicts of interest which require appointment of new counsel.
The magistrate shall dismiss the complaint if the preliminary examination is set or continued more than 60 days from the date of the arraignment, plea, or reinstatement of criminal proceedings pursuant to Chapter 6 (commencing with Section 1367) of Title 10 of Part 2, unless the defendant personally waives his or her right to a preliminary examination within the 60 days.
(Amended by Stats. 1996, Ch. 122, Sec. 1. Effective January 1, 1997.)