> 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. Penal Code - PEN § 18165. — Section 18165.

- **Citation**: Cal. Penal Code - PEN § 18165.
- **Node Type**: section
- **Jurisdiction**: California (state)
- **Code Body**: Penal Code - PEN (PEN)
- **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/penal-code/part-6/title-2/division-3-2/chapter-3/section-18165](https://corpuslaw.us/codes/california/penal-code/part-6/title-2/division-3-2/chapter-3/section-18165)
- **Semantic URL**: [https://corpuslaw.us/codes/california/penal-code/part-6/title-2/division-3-2/chapter-3/section-18165](https://corpuslaw.us/codes/california/penal-code/part-6/title-2/division-3-2/chapter-3/section-18165)

## Hierarchy

Title PEN — Penal Code - PEN > Part 6. — PART 6. CONTROL OF DEADLY WEAPONS [16000. - 34400.] > Title 2. — TITLE 2. WEAPONS GENERALLY [17500. - 19405.] > Division 3.2. — DIVISION 3.2. Gun Violence Restraining Orders [18100. - 18225.] > Chapter 3. — CHAPTER 3. Ex Parte Gun Violence Restraining Order [18150. - 18165.]

## Text

Within 21 days after the date on the order, before the court that issued the order or another court in the same jurisdiction, the court shall hold a hearing pursuant to Section 18175 to determine if a gun violence restraining order should be issued under Chapter 4 (commencing with Section 18170).
