Cal. Penal Code

Cal. Penal Code § 1018

This is the text of the statute as published at leginfo.legislature.ca.gov, retrieved July 24, 2026. It is reproduced as written; Criminal.law has not summarized or reworded it. Read it at the official source, which controls if the two ever differ.

1018.

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.

(Amended by Stats. 1991, Ch. 421, Sec. 1.)

Reading a statute is the first step

A statute says what the law is, not how it applies to one person. The Roadmap lays out the stages of a case and the questions worth taking to a lawyer — without asking what happened.

Cal. Penal Code § 1018 · Criminal.law