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

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

## Hierarchy

Title PEN — Penal Code - PEN > Part 3. — PART 3. OF IMPRISONMENT AND THE DEATH PENALTY [2000. - 10008.] > Title 7. — TITLE 7. ADMINISTRATION OF THE STATE CORRECTIONAL SYSTEM [5000. - 7468.] > Chapter 2. — CHAPTER 2. The Secretary of the Department of Corrections and Rehabilitation [5050. - 5073.]

## Text

Whenever a person is incarcerated in a state prison for violating Section 261, 264.1, 266c, 285, 286, 287, 288, 288.5, 289, or former Section 288a, and the victim of one or more of those offenses is a child under the age of 18 years, the Secretary of the Department of Corrections and Rehabilitation shall protect the interest of that child victim by prohibiting visitation between the incarcerated person and the child victim pursuant to Section 1202.05. The secretary shall allow visitation only when the juvenile court, pursuant to Section 362.6 of the Welfare and Institutions Code, finds that visitation between the incarcerated person and his or her child victim is in the best interests of the child
						victim.
