Cal. PEN § 1017

This is the official text of Cal. PEN § 1017, 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

Every plea must be made in open court and, may be oral or in writing, shall be entered upon the minutes of the court, and shall be taken down in shorthand by the official reporter if one is present. All pleas of guilty or nolo contendere to misdemeanors or felonies shall be oral or in writing. The plea, whether oral or in writing, shall be in substantially the following form:

1. If the defendant plead guilty: “The defendant pleads that he or she is guilty of the offense charged.”

2. If he or she plead not guilty: “The defendant pleads that he or she is not guilty of the offense charged.”

3. If he or she plead a former conviction or acquittal: “The defendant pleads that he or she has already been convicted (or acquitted) of the offense charged, by the judgment of the court of ____ (naming it), rendered at ____ (naming the place), on the ____ day of ____.”

4. If he or she plead once in jeopardy: “The defendant pleads that he or she has been once in jeopardy for the offense charged (specifying the time, place, and court).”

5. If he or she plead not guilty by reason of insanity: “The defendant pleads that he or she is not guilty of the offense charged because he or she was insane at the time that he or she is alleged to have committed the unlawful act.”

Status: in_force · Read it on the official government site

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.