> 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 § 1997. — Section 1997.

- **Citation**: Cal. Code of Civil Procedure - CCP § 1997.
- **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-1997](https://corpuslaw.us/codes/california/code-of-civil-procedure/part-4/title-3/chapter-2/section-1997)
- **Semantic URL**: [https://corpuslaw.us/codes/california/code-of-civil-procedure/part-4/title-3/chapter-2/section-1997](https://corpuslaw.us/codes/california/code-of-civil-procedure/part-4/title-3/chapter-2/section-1997)

## 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 imprisoned in a jail in the county where the action or proceeding is pending, his production may be required. In all other cases his examination, when allowed, must be taken upon deposition.
