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

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

## 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 2. — CHAPTER 2. Temporary Emergency Gun Violence Restraining Order [18125. - 18148.]

## Text

(a)

(1)

A judicial officer may issue a temporary emergency gun violence restraining order orally based on the statements of a law enforcement officer made in accordance with subdivision (a) of Section 18140.

(2)

If time and circumstances
				  permit, a temporary emergency gun violence restraining order may be obtained in writing and based on a declaration signed under penalty of perjury.

(b)

The presiding judge of the superior court of each county shall designate at least one judge, commissioner, or referee who shall be reasonably available to issue temporary emergency gun violence restraining orders when the court is not in session.
