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

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

## Hierarchy

Title PEN — Penal Code - PEN > Part 2. — PART 2. OF CRIMINAL PROCEDURE [681. - 1620.] > Title 3. — TITLE 3. ADDITIONAL PROVISIONS REGARDING CRIMINAL PROCEDURE [777. - 883.] > Chapter 5. — CHAPTER 5. Arrest, by Whom and How Made [833. - 851.93.]

## Text

Any person who has lawfully entered a house for the purpose of making an arrest, may break open the door or window thereof if detained therein, when necessary for the purpose of liberating himself, and an officer may do the same, when necessary for the purpose of liberating a person who, acting in his aid, lawfully entered for the purpose of making an arrest, and is detained therein.
