> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# Cal. Code of Civil Procedure - CCP § 1995. — Section 1995.

- **Citation**: Cal. Code of Civil Procedure - CCP § 1995.
- **Node Type**: section
- **Jurisdiction**: California (state)
- **Code Body**: Code of Civil Procedure - CCP (CCP)
- **Official Source**: [https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip](https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip)
- **Canonical URL**: [https://corpuslaw.us/codes/california/code-of-civil-procedure/part-4/title-3/chapter-2/section-1995](https://corpuslaw.us/codes/california/code-of-civil-procedure/part-4/title-3/chapter-2/section-1995)
- **Semantic URL**: [https://corpuslaw.us/codes/california/code-of-civil-procedure/part-4/title-3/chapter-2/section-1995](https://corpuslaw.us/codes/california/code-of-civil-procedure/part-4/title-3/chapter-2/section-1995)

## Hierarchy

Title CCP — Code of Civil Procedure - CCP > Part 4. — PART 4. MISCELLANEOUS PROVISIONS [1855. - 2107.] > Title 3. — TITLE 3. OF THE PRODUCTION OF EVIDENCE [1985. - 2015.6.] > Chapter 2. — CHAPTER 2. Means of Production [1985. - 1997.]

## Text

If the witness be a prisoner, confined in a jail within this state, an order for his examination in the jail upon deposition, or for his temporary removal and production before a court or officer may be made as follows:

1.

By the court itself in which the action or special proceeding is pending, unless it be a small claims court.

2.

By a justice of the Supreme Court, or 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.
