Cal. PEN § 2623
This is the official text of Cal. PEN § 2623, 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
If in a civil action or special proceeding a witness be a prisoner, confined in a state prison within this state, an order for the prisoner’s examination in the prison by deposition may be made.
1. By the court itself in which the action or special proceeding is pending, unless it be a small claims court.
2. By a judge of the superior court of the county where the action or proceeding is pending, if pending before a small claims court or before a judge or other person out of court.
Such order can only be made on the motion of a party, upon affidavit showing the nature of the action or proceeding, the testimony expected from the witness, and its materiality. The deposition, when ordered, shall be taken in accordance with Section 2622.
1. By the court itself in which the action or special proceeding is pending, unless it be a small claims court.
2. By a judge of the superior court of the county where the action or proceeding is pending, if pending before a small claims court or before a judge or other person out of court.
Such order can only be made on the motion of a party, upon affidavit showing the nature of the action or proceeding, the testimony expected from the witness, and its materiality. The deposition, when ordered, shall be taken in accordance with Section 2622.
Status: in_force · Read it on the official government site
Dealing with a criminal defense matter in California?
See all California Criminal Defense lawyers
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.