California Codes homeSearch California
Cal. CodesPenal CodePart 3. Of Imprisonment and the Death PenaltyTitle 1. Imprisonment of Male Prisoners in State PrisonsChapter 3. Civil Rights of Prisoners

Cal. Penal Code § 2623 (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 1976–2016 5citing cases
At a glance

Courts have cited this section in 5 opinions since 1976.

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.

The 5 cases that cite Cal. Penal Code § 2623 most heavily, weighted by court and treatment. RelevanceNewestTreatment
1
GREENPayne v. Superior Court, 17 Cal. 3d 908 (1976).
cites § 2623 2×cited by 196 cases
Where it cites § 2623
“(d); Pen. Code, § 2623). Most importantly, no default judgment may be taken in a tort action, here involved, until the court first has heard the plaintiff's evidence and has determined that he should recover.”
The case’s holding
Due process and equal protection require that an indigent prisoner facing a civil action threatening property interests be provided a meaningful opportunity to be heard.
Later courts cite it for
“generally, a writ of mandate will lie when there is no plain, speedy, and adequate alternative remedy; the respondent has a duty to perform; and the petitioner has a clear and beneficial right to performance.” · 5 citing courts
2
GREENSwarthout v. Superior Court, 208 Cal. App. 4th 701 (Ct. App. 2012).
cites § 2623 1×cited by 10 cases
Where it cites § 2623
“If a prison inmate is a witness in a civil action, his testimony may be obtained by deposition in prison (Pen. Code, § 2623) or by two-way electronic audiovisual communication (Pen.”
Later courts cite it for
“our supreme court is of the opinion that trial courts lack the power to transfer inmates outside of the situations specifically provided for by statute” · 2 citing courts
3
NO FLAGRussell v. Superior Court, No. C080911 (Cal. Ct. App. Aug. 3, 2016).
cites § 2623 4×cited by 0 casesunpublished
Where it cites § 2623
“They wanted to question him about what he had told parole and County officials about his relationship with his grandmother and his feelings and anger towards her. Pursuant to Penal Code section 2623, they obtained a court order requiring DeAvila to participate in the deposition…”
4
NO FLAGRussell v. Superior Court, No. C080911M (Cal. Ct. App. Aug. 5, 2016).
cites § 2623 4×cited by 0 casesunpublished
Where it cites § 2623
“They wanted to question him about what he had told parole and County officials about his relationship with his grandmother and his feelings and anger towards her. Pursuant to Penal Code section 2623, they obtained a court order requiring DeAvila to participate in the deposition…”
5
NO FLAGHamilton v. Yates, No. F069608 (Cal. Ct. App. May 4, 2015).
cites § 2623 1×cited by 0 casesunpublished
Where it cites § 2623
“In a footnote, the Swarthout court noted that if a prison inmate is a witness in a civil action, his testimony may be obtained by deposition in prison (Pen. Code, § 2623) or by two-way electronic audiovisual communication (Pen.”

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
197619962016

One bar per year. Tallest: 2 cases in 2016. 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.4Cal.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

Syfert holds no separate history line for this section. Where this code prints a source or history note, it appears with the text, usually at the end.

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