> 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. Evidence Code - EVID § 777. — Section 777.

- **Citation**: Cal. Evidence Code - EVID § 777.
- **Node Type**: section
- **Jurisdiction**: California (state)
- **Code Body**: Evidence Code - EVID (EVID)
- **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/evidence-code/division-6/chapter-5/article-2/section-777](https://corpuslaw.us/codes/california/evidence-code/division-6/chapter-5/article-2/section-777)
- **Semantic URL**: [https://corpuslaw.us/codes/california/evidence-code/division-6/chapter-5/article-2/section-777](https://corpuslaw.us/codes/california/evidence-code/division-6/chapter-5/article-2/section-777)

## Hierarchy

Title EVID — Evidence Code - EVID > Division 6. — DIVISION 6. WITNESSES [700. - 795.] > Chapter 5. — CHAPTER 5. Method and Scope of Examination [760. - 778.] > Article 2. — ARTICLE 2. Examination of Witnesses [765. - 778.]

## Text

(a)

Subject to subdivisions (b) and (c), the court may exclude from the courtroom any witness not at the time under examination so that such witness cannot hear the testimony of other witnesses.

(b)

A party to the action cannot be excluded under this section.

(c)

If a person other than a natural person is a party to the action, an officer or employee designated by its attorney is entitled to be present.
