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

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

## Hierarchy

Title CCP — Code of Civil Procedure - CCP > Part 1. — PART 1. OF COURTS OF JUSTICE [35. - 286.] > Title 2. — TITLE 2. JUDICIAL OFFICERS [165. - 187.] > Chapter 4. — CHAPTER 4. Incidental Powers and Duties of Judicial Officers [177. - 179.]

## Text

A judicial officer shall have power:

(a)

To preserve and enforce order in the officer’s immediate presence, and in proceedings before the officer, when the officer is engaged in the performance of official duty.

(b)

To compel obedience to the officer’s lawful orders as provided in this code.

(c)

To compel the attendance of persons to testify in a proceeding before the officer, in the cases and manner provided in this code.

(d)

To administer oaths to persons in a proceeding pending before the officer, and in all other cases where it may be necessary in the
				  exercise of the officer’s powers and duties.

(e)

To prohibit activities that threaten access to state courthouses and court proceedings, and to prohibit interruption of judicial administration, including protecting the privilege from civil arrest at courthouses and court proceedings.
