Pen. Code, § 2620 · Article 2. Prisoners as Witnesses
Pen. Code, § 2620
Text — As published in the Legislative Counsel's database, tables dated October 18, 2026 (pubinfo_2025.zip)
(a) When it is necessary to have a person imprisoned in the state prison brought before any court to be tried for a felony, or for an examination before a grand jury or magistrate preliminary to trial for a felony, or for the purpose of hearing a motion or other proceeding, to vacate a judgment, an order for the prisoner’s temporary removal from prison, and for the prisoner’s production before the court, grand jury, or magistrate, must be made by the superior court of the county in which action, motion, or examination is pending or by a judge thereof. The order shall be made only upon the affidavit of the district attorney or defense attorney, stating the purpose for which that person is to be brought before the court, grand jury or magistrate or upon the court’s own motion. The order shall be executed by the sheriff of the county in which it shall be made, whose duty it shall be to bring the prisoner before the proper court, grand jury or magistrate, to safely keep the prisoner, and when the prisoner’s presence is no longer required to return the prisoner to the prison from whence the prisoner was taken. The expense of executing such order shall be a proper charge against, and shall be paid by, the county in which the order shall be made.
(b) An order pursuant to subdivision (a) shall recite the purposes for which that person is to be brought before the court, grand jury, or magistrate, and shall be signed by the judge making the order and sealed with the seal of the court. The order must be to the following effect:
County of ____ (as the case may be).
The people of the State of California to the warden of ____:
An order having been made this day by me, that A.B. be produced in the ____ court (or before the grand jury, as the case may be) to be prosecuted or examined for the crime of ____, a felony (or to have that motion heard), you are commanded to deliver the prisoner into the custody of ____ for the purpose of (recite purposes).
Dated this ____ day of ____, 20____.
(c) When a prisoner is removed from a state prison under this section the prisoner shall remain in the constructive custody of the warden thereof. During the prisoner’s absence from the prison, the prisoner may be ordered to appear in other felony proceedings as a defendant or witness in the superior court of the county from which the original order directing removal issued. A copy of the written order directing the prisoner to appear before that court shall be forwarded by the district attorney to the warden of the prison having protective custody of the prisoner.
Notes and commentary — not statutory text
History
Amended by Stats. 2024, Ch. 495, Sec. 9. (SB 1518) Effective January 1, 2025.
Source of truth
- Edition
- As published in the Legislative Counsel's database, tables dated October 18, 2026 (pubinfo_2025.zip)
- Official file
- https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=PEN§ionNum=2620.
- Text hash
- sha256 d93772a1a768484852508484433f2e14b7eaec2cb18af82d57f4d6a866eb544e
- Composed by
- compose_ca.py 2026-10-22: the Legislative Counsel's CAML content files read by a tokenizer (caml_readers.reader_a); an independent xml.etree reading (caml_readers.reader_b) agrees on every section
Cited by 2 provisions
Provisions in this library whose text cites Pen. Code, § 2620. Each shows the citation as that text prints it.
Procedural information only. Not legal advice and not a substitute for the advice of an attorney. Confirm the current text with the official publisher before relying on it.