California · Penal Code

PEN §1018: Unless otherwise provided by law, every plea shall be entered or withdrawn by the defendant himself or herself in open court.

Civil

What this law says, in plain English

This statute establishes procedural rules for entering and withdrawing pleas in criminal cases, including counsel requirements and conditions for plea withdrawal.

Read the full statutory text
Unless otherwise provided by law, every plea shall be entered or withdrawn by the defendant himself or herself in open court. No plea of guilty of a felony for which the maximum punishment is death, or life imprisonment without the possibility of parole, shall be received from a defendant who does not appear with counsel, nor shall that plea be received without the consent of the defendant’s counsel. No plea of guilty of a felony for which the maximum punishment is not death or life imprisonment without the possibility of parole shall be accepted from any defendant who does not appear with counsel unless the court shall first fully inform him or her of the right to counsel and unless the court shall find that the defendant understands the right to counsel and freely waives it, and then only if the defendant has expressly stated in open court, to the court, that he or she does not wish to be represented by counsel. On application of the defendant at any time before judgment or within six months after an order granting probation is made if entry of judgment is suspended, the court may, and in case of a defendant who appeared without counsel at the time of the plea the court shall, for a good cause shown, permit the plea of guilty to be withdrawn and a plea of not guilty substituted. Upon indictment or information against a corporation a plea of guilty may be put in by counsel. This section shall be liberally construed to effect these objects and to promote justice.

Verify at the official source: California legislative text

Facing this? Know exactly what happens next.

MOFRD turns this code section into your situation: the deadlines that apply to you, the forms your county uses, and the resolution paths people in your position actually take. Free for 3 days — no card required.

This page is legal information, not legal advice. Code text is sourced from official publications and may lag amendments — always confirm at the official source linked above. Plain-English summaries and relationship data are AI-derived and reviewed on an ongoing basis; verify with a licensed attorney before acting.