Cal. PEN § 866

This is the official text of Cal. PEN § 866, 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) When the examination of witnesses on the part of the people is closed, any witness the defendant may produce shall be sworn and examined.

Upon the request of the prosecuting attorney, the magistrate shall require an offer of proof from the defense as to the testimony expected from the witness. The magistrate shall not permit the testimony of any defense witness unless the offer of proof discloses to the satisfaction of the magistrate, in his or her sound discretion, that the testimony of that witness, if believed, would be reasonably likely to establish an affirmative defense, negate an element of a crime charged, or impeach the testimony of a prosecution witness or the statement of a declarant testified to by a prosecution witness.

(b) It is the purpose of a preliminary examination to establish whether there exists probable cause to believe that the defendant has committed a felony. The examination shall not be used for purposes of discovery.

(c) This section shall not be construed to compel or authorize the taking of depositions of witnesses.

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.