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

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

## Hierarchy

Title CCP — Code of Civil Procedure - CCP > Part 4. — PART 4. MISCELLANEOUS PROVISIONS [1855. - 2107.] > Title 5. — TITLE 5. OF THE RIGHTS AND DUTIES OF WITNESSES [2064. - 2065.]

## Text

A witness, served with a subpoena, must attend at the time appointed, with any papers under his control lawfully required by the subpoena, and answer all pertinent and legal questions; and, unless sooner discharged, must remain until the testimony is closed.
