Cal. PEN § 627
This is the official text of Cal. PEN § 627, part of California’s Penal Code — defines crimes and sets criminal procedure in California.
Not legal advice. This page reproduces the official text of a government statute for reference only. Laws change, and how a statute applies depends on your specific facts. For advice about your situation, consult a licensed attorney in your state.
Official statutory text
(a) The Legislature finds the following:
(1) Violent crimes perpetrated on public school grounds interfere with the education of students and threaten the health and safety of teachers, other employees, and students.
(2) Many serious crimes of violence are committed on school grounds by persons who are neither students nor school employees and who are not otherwise authorized to be present on school grounds.
(3) School officials and law enforcement officers, in seeking to control these persons, have been hindered by the lack of effective legislation restricting the access of unauthorized persons to school grounds and providing appropriate criminal sanctions for unauthorized entry.
(b) The Legislature declares that the purpose of this chapter is to safeguard the teachers, other employees, students, and property of public schools. The Legislature recognizes the right to visit school grounds for legitimate nonviolent purposes and does not intend by this enactment to interfere with the exercise of that right.
(c) The Legislature finds and declares that a disproportionate share of crimes committed on school campuses are committed by persons who are neither students, school officials, or staff, and who have no lawful business on the school grounds.
It is the intent of the Legislature in enacting this chapter to promote the safety and security of the public schools by restricting and conditioning the access of unauthorized persons to school campuses and to thereby implement the provisions of Section 28 of Article 1 of the California Constitution which guarantee all students and staff the inalienable constitutional right to attend safe, secure, and peaceful public schools. It is also the intent of the Legislature that the provisions of this chapter shall not be construed to infringe upon the legitimate exercise of constitutionally protected rights of freedom of speech and expression which may be expressed through rallies, demonstrations, and other forms of expression which may be appropriately engaged in by students and nonstudents in a campus setting.
(1) Violent crimes perpetrated on public school grounds interfere with the education of students and threaten the health and safety of teachers, other employees, and students.
(2) Many serious crimes of violence are committed on school grounds by persons who are neither students nor school employees and who are not otherwise authorized to be present on school grounds.
(3) School officials and law enforcement officers, in seeking to control these persons, have been hindered by the lack of effective legislation restricting the access of unauthorized persons to school grounds and providing appropriate criminal sanctions for unauthorized entry.
(b) The Legislature declares that the purpose of this chapter is to safeguard the teachers, other employees, students, and property of public schools. The Legislature recognizes the right to visit school grounds for legitimate nonviolent purposes and does not intend by this enactment to interfere with the exercise of that right.
(c) The Legislature finds and declares that a disproportionate share of crimes committed on school campuses are committed by persons who are neither students, school officials, or staff, and who have no lawful business on the school grounds.
It is the intent of the Legislature in enacting this chapter to promote the safety and security of the public schools by restricting and conditioning the access of unauthorized persons to school campuses and to thereby implement the provisions of Section 28 of Article 1 of the California Constitution which guarantee all students and staff the inalienable constitutional right to attend safe, secure, and peaceful public schools. It is also the intent of the Legislature that the provisions of this chapter shall not be construed to infringe upon the legitimate exercise of constitutionally protected rights of freedom of speech and expression which may be expressed through rallies, demonstrations, and other forms of expression which may be appropriately engaged in by students and nonstudents in a campus setting.
Status: in_force · Read it on the official government site
Dealing with a criminal defense matter in California?
See all California Criminal Defense lawyers
About this page: Statute text is reproduced from official government publishers via the
Open US Law dataset
(Vaquill AI, snapshot v2026.08, CC BY 4.0). Primary legislative text like this is public domain under the government-edicts doctrine
(Georgia v. Public.Resource.Org, 2020). We link every section back to its official source so you can verify it independently.