Skip to main content

Pen. Code, § 1018 · Chapter 4. Plea

Pen. Code, § 1018

Verbatim from the official edition

Text — As published in the Legislative Counsel's database, tables dated October 18, 2026 (pubinfo_2025.zip)

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.

Notes and commentary — not statutory text

History

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

Source of truth

Edition
As published in the Legislative Counsel's database, tables dated October 18, 2026 (pubinfo_2025.zip)
Official file
https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=PEN&sectionNum=1018.
Text hash
sha256 45582ba1dbba6c1399aaade20b8e89d033556989e65d4d12211fe49cb605bbe4
Composed by
compose_ca.py 2026-10-22: the Legislative Counsel's CAML content files read by a tokenizer (caml_readers.reader_a); an independent xml.etree reading (caml_readers.reader_b) agrees on every section

Cited by 4 provisions

Provisions in this library whose text cites Pen. Code, § 1018. Each shows the citation as that text prints it.

Procedural information only. Not legal advice and not a substitute for the advice of an attorney. Confirm the current text with the official publisher before relying on it.