Skip to main content
Cal. CodesPenal CodePart 2. Of Criminal ProcedureTitle 6. Pleadings and Proceedings Before TrialChapter 4. Plea

Cal. Penal Code § 1018 (2026)

Edition and currency
leginfo export of Nov. 23, 2026: changes through Nov. 11, 2026 (checked Nov. 24, 2026). The text is the edition Syfert holds; for a past event, check the version in force on that date.
Other sources
CURRENTleginfo export of Nov. 23, 2026: changes through Nov. 11, 2026 (checked Nov. 24, 2026) cited 1940–2026 259citing cases
At a glance

Courts have cited this section in 259 opinions since 1940, 32 of them in the last five years.

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.

The 20 cases that cite Cal. Penal Code § 1018 most heavily, weighted by court and treatment. RelevanceNewestTreatment
1
GREENPeople v. Miracle, 6 Cal. 5th 318 (2018).
cites § 1018 73×cited by 66 cases
Where it cites § 1018
“And I think that the Court ought to authorize advisory counsel to be involved in the change of plea so that you could satisfy Penal Code Section 1018.”
The case’s holding
A capital defendant may not enter a guilty plea without the consent of appointed counsel, as the consent of advisory counsel does not satisfy this statutory requirement.
Later courts cite it for
“because the defendant did not object to the restitution fine at his sentencing hearing, he has forfeited his challenge” · 6 citing courts
2
GREENPeople v. Nance, 1 Cal. App. 4th 1453 (Ct. App. 1991).
cites § 1018 94×cited by 100 cases
Where it cites § 1018
“The sole issue presented by this appeal is whether the burden of proof borne by a defendant moving to withdraw his plea of guilty pursuant to Penal Code section 1018, prior to pronouncement of judgment, is *1455 by the standard of clear and convincing evidence or by a…”
The case’s holding
A defendant must establish good cause by clear and convincing evidence to withdraw a guilty plea prior to the pronouncement of judgment.
Later courts cite it for
“a plea may not be withdrawn simply because the defendant has changed his mind.” · 6 citing courts
3
GREENPeople v. Morelos, 13 Cal. 5th 722 (2022).
cites § 1018 42×cited by 40 cases
Where it cites § 1018
“As explained, on October 27, 1993, the trial court precluded Morelos from pleading guilty after “review[ing] Penal Code section 1018, as well as the cases that relate to that code section, specifically People versus Chadd, 28 Cal.”
The case’s holding
A trial court may appoint an additional attorney as co-counsel in a capital case upon the written request of the first appointed attorney.
4
GREENPeople v. Chadd, 28 Cal. 3d 739 (1981).
cites § 1018 44×cited by 213 cases
Where it cites § 1018
“(1a) As will appear, we hold that the trial court committed prejudicial error in accepting that plea without the consent of defendant's counsel as required by Penal Code section 1018.”
The case’s holding
A guilty plea to a felony punishable by death or life imprisonment without parole requires the consent of the defendant's counsel.
Later courts cite it for
“a judicial admission of every element of the offense charged.” · 10 citing courts
5
GREENPeople v. Patterson, 2 Cal. 5th 885 (2017).
cites § 1018 17×cited by 119 cases
Where it cites § 1018
“Patterson filed a timely motion to withdraw the plea under Penal Code section 1018 on grounds of mistake or ignorance.”
The case’s holding
A generic statutory advisement regarding immigration consequences does not bar a defendant from seeking to withdraw a guilty plea based on ignorance of specific deportation risks.
Later courts cite it for
“the generic advisement under section 1016.5 is not designed, nor does it operate, as a substitute for such advice.” · 3 citing courts
6
GREENPeople v. Alfaro, 41 Cal. 4th 1277 (2007).
cites § 1018 17×cited by 93 cases
Where it cites § 1018
“” The trial court explained that pursuant to Penal Code section 1018, it did not have authority to accept a guilty plea from a defendant in a capital trial without the consent of counsel, and accordingly, even if she desired to do so, defendant could not enter a guilty plea…”
The case’s holding
A claim of prosecutorial misconduct is preserved only if the defendant makes a timely objection and requests an admonition that would not have cured the harm.
Later courts cite it for
“in order to preserve a claim of misconduct, a defendant must make a timely objection and request an admonition; only if an admonition would not have cured the harm is the claim of misconduct preserved for review.” · 3 citing courts
7
GREENPeople v. Superior Court of Yolo Cnty., 10 Cal. App. 5th 1316 (Ct. App. 2017).
cites § 1018 17×cited by 19 cases
Where it cites § 1018
“According to the People, Rodas’s conviction had long been final for review purposes because she did not challenge the probation order within the six-month time limit set forth in Penal Code section 1018.”
Later courts cite it for
“motion to vacate her felony transportation conviction and replace it with a misdemeanor sentence for simple possession” · 2 citing courts
8
GREENPeople v. McKenzie, 25 Cal. App. 5th 1207 (Ct. App. 2018).
cites § 1018 9×cited by 27 cases
Where it cites § 1018
“) In granting writ relief, the appellate court considered the People's argument that Rodas's judgment was final because of *1216 the "interplay" between Penal Code section 1018, which addresses when a guilty plea may be withdrawn (e.”
The case’s holding
A grant of probation with imposition of sentence suspended is not a final judgment for retroactivity purposes, so the judgment remains non-final while appeal and certiorari time run and ameliorative amendments apply.
Later courts cite it for
“when probation is granted, . . . the timing of the judgment can vary because a trial court may grant probation by either suspending imposition of the sentence, or by imposing the sentence and suspending its execution. these two situations affect when the judgment becomes final, which in turn affects whether a defendant is eligible to seek the retroactive benefit of a change in law.” · 2 citing courts
9
GREENPeople v. Massie, 40 Cal. 3d 620 (1985).
cites § 1018 32×cited by 10 cases
Where it cites § 1018
“[*] Defendant Robert Lee Massie appeals from a judgment imposing a sentence of death following his plea of guilty to charges of murder *622 with special circumstances, assault with a deadly weapon, four counts of possession of a concealable weapon by an ex-felon, and three…”
Holding on this section
A court may not accept a guilty plea to a capital charge against the advice of defense counsel, because Penal Code section 1018 requires counsel's consent.
10
GREENLuis Ballinas-Lucero v. Merrick Garland, 44 F.4th 1169 (9th Cir. 2022).
cites § 1018 11×cited by 10 cases
Where it cites § 1018
“Penal Code § 1018 , to withdraw his guilty pleas and set aside his convictions. In his Memorandum of Points and Authorities, he wrote that he was afraid for his safety in jail, ignorant of his rights in court, and did not have a working knowledge of English.”
Later courts cite it for
“a 6 noncitizen with only one conviction for a cimt crime is not inadmissible if the crime qualifies 7 under the 'petty offense exception.” · 2 citing courts
11
GREENPeople v. Miranda, 123 Cal. App. 4th 1124 (Ct. App. 2004).
cites § 1018 15×cited by 13 cases
Where it cites § 1018
“[f] Under Penal Code section 1018 a motion to withdraw guilty pleas may be made anytime before the trial court imposes a judgment and sentence.”
12
GREENPeople v. Weaver, 26 Cal. 4th 876 (2001).
cites § 1018 3×cited by 562 cases
Where it cites § 1018
“This is sufficient compliance with the requirement of Penal Code section 1018 that ‘every plea must be put in by the defendant himself in open court’ ”].”
The case’s holding
An ineffective assistance of counsel claim must be rejected if the record provides no explanation for counsel's actions unless counsel fails to provide a satisfactory reason for those actions.
Later courts cite it for
“in the usual case, where counsel's trial tactics or strategic reasons for challenged decisions do not appear on the record, we will not find ineffective assistance of counsel on appeal unless there could be no conceivable reason for counsel's acts or omissions.” · 11 citing courts
13
GREENPeople v. Vivar, 11 Cal. 5th 510 (2021).
cites § 1018 2×cited by 248 cases
Where it cites § 1018
“, Pen. Code, § 1018 [a trial court “may” permit a defendant to withdraw a plea “for a good cause shown”]) — and argued that denial of the motion should be reviewed deferentially for abuse of discretion.”
The case’s holding
Showing prejudicial error under section 1473.7 requires demonstrating a reasonable probability that the defendant would have rejected the plea if they had correctly understood its actual or potential immigration consequences.
Later courts cite it for
“showing prejudicial error under section 1473.7, subdivision (a)(1) means demonstrating a reasonable probability that the defendant would have rejected the plea if the defendant had correctly understood its actual or potential immigration consequences.” · 37 citing courts
14
GREENPeople v. Gari, 199 Cal. App. 4th 510 (Ct. App. 2011).
cites § 1018 9×cited by 17 cases
Where it cites § 1018
“4th at page 1617 , stated, “the courts have required a showing essentially identical to that required under Penal Code section 1018: ‘[W]here on account of duress, fraud, or other fact overreaching the free will and judgment of a defendant he is deprived of the right of a trial…”
15
GREENPeople v. Vaughn, 9 Cal. 3d 321 (1973).
cites § 1018 22×cited by 19 cases
Where it cites § 1018
“Defendant claims that his original plea of guilty should be set aside because (1) the trial court erroneously permitted defendant to represent himself at the guilt stage, and (2) the court did not fully comply with Penal Code section 1018 in appointing counsel just prior to…”
The case’s holding
A defendant's decision to plead guilty is personal, and a trial court may accept it when the defendant is competent, the decision is voluntary and informed, and counsel was appointed and consulted.
16
GREENPeople v. Totari, 111 Cal. App. 4th 1202 (Ct. App. 2003).
cites § 1018 6×cited by 26 cases
Where it cites § 1018
“) The “normal rules” for withdrawal of a plea, when the strict time limits set forth in Penal Code section 1018 have expired, are identical to the rules for obtaining a writ of coram nobis.”
Later courts cite it for
“because a 'motion to vacate' has long been equated in california with a petition for a writ of coram nobis” · 2 citing courts
17
GREENPeople v. Williams, 17 Cal. 4th 148 (1998).
cites § 1018 2×cited by 1,390 cases
Where it cites § 1018
“) "With respect to postjudgment motions to withdraw a guilty plea, the courts have required a showing essentially identical to that required under Penal Code section 1018: `[W]here on account of duress, fraud, or other fact overreaching the free will and judgment of a defendant…”
The case’s holding
A trial court exercising discretion to strike a sentencing allegation must consider the defendant's background and character to determine if they fall outside the spirit of the law.
Later courts cite it for
“must consider whether, in light of the nature and circumstances of his present felonies and prior serious and/or violent felony convictions, and the particulars of his background, character, and prospects, the defendant may be deemed outside the scheme's spirit, in whole or in part, and hence should be treated as though he had not previously been convicted of one or more serious and/or violent felonies.” · 223 citing courts
18
GREENPeople v. Hunt, 174 Cal. App. 3d 95 (Ct. App. 1985).
cites § 1018 5×cited by 72 cases
Where it cites § 1018
“Appellant contends that: (1) the trial court abused its discretion in denying his motion to withdraw pleas he previously entered; (2) his counsel was incompetent; (3) allowing the pleas to stand violated due process and the right to a fair trial; and (4) the sentence imposed…”
The case’s holding
A trial court is not bound by the uncontradicted statements of a defendant when determining the facts regarding a motion to withdraw a guilty plea.
Later courts cite it for
“the trial court is not bound by uncontradicted statements of the defendant” · 5 citing courts
19
GREENPeople v. Ramirez, 141 Cal. App. 4th 1501 (Ct. App. 2006).
cites § 1018 5×cited by 23 cases
Where it cites § 1018
“This appeal follows the denial of his motion to withdraw his plea under Penal Code section 1018.”
The case’s holding
A prosecutor's suppression of favorable evidence before a plea is an extrinsic cause that may overcome the defendant's free judgment, and may warrant withdrawal of the plea.
Later courts cite it for
“the state's suppression of favorable evidence is an extrinsic cause which may overcome the exercise of free judgment.” · 1 citing court
20
GREENPeople v. Castaneda, 37 Cal. App. 4th 1612 (Ct. App. 1995).
cites § 1018 4×cited by 62 cases
Where it cites § 1018
“) With respect to postjudgment motions to withdraw a guilty plea, the courts have required a showing essentially identical to that required under Penal Code section 1018: “[W]here on account of duress, fraud, or other fact overreaching the free will and judgment of a defendant…”
The case’s holding
A defendant must demonstrate unawareness of immigration consequences, a different plea choice if properly advised, and reasonable diligence in bringing a motion to vacate a judgment.
Later courts cite it for
“although section 1018 is limited on its face to the period before judgment, the courts have long permitted defendants to move to set aside the judgment as a means of allowing the defendant to withdraw the guilty plea after judgment.” · 2 citing courts

Show all 259 citing cases (list view) →

The flag is Syfertize’s treatment of the citing case itself, not of the statute. “Where it cites” is the passage in the opinion; the holding is a summary of the whole case and may concern another point. Annotations are extracted automatically from the opinions in the Syfert caselaw corpus.

Citing cases by year
194019832026

One bar per 2 years. Tallest: 32 cases in 2014–2015. 2026 is a partial year. These are opinions in the Syfert collection, which holds more of some courts’ recent opinions than their older ones, so a rise can reflect what the collection holds and not more litigation.

By court
Cal. Ct. App.205Cal.429th Cir.4Cal. App. Dep’t Super. Ct.2Cal. Ct. App. 5th1N.D. Cal.1S.D. Cal.1Ill. App. Ct.1

The 8 courts with the most citing cases, of 10 courts in all.

By subsection

Courts have not cited this section by subsection, so its cases are not split up here. The Leading cases tab lists the cases that cite it most heavily.

Show all 259 citing cases (list view) →

Enactment and amendments
Amended by Stats. 1991, Ch. 421, Sec. 1.
Versions

Edition shown: leginfo export of Nov. 23, 2026: changes through Nov. 11, 2026 (checked Nov. 24, 2026). Syfert holds no earlier or later version of this section.