Motion to Withdraw a Plea: California Penal Code 1018 PC Explained
In California criminal proceedings, most charges are resolved through plea bargains. However, defendants sometimes enter a guilty or no-contest plea due to coercion, incompetent legal advice, or a complete misunderstanding of the penalties involved.
Under California Penal Code Section 1018 PC, a defendant may file a formal motion to withdraw their prior plea and reopen their case upon demonstrating "good cause."
If the court grants a PC 1018 motion, the previous plea is vacated, the original charges are reinstated, and the defendant is returned to the pre-plea stage of litigation.
This legal mechanism gives individuals the opportunity to negotiate a fairer plea deal, motion to suppress evidence, or proceed to a jury trial.
Legal Definitions: Penal Code 1018 PC Statutory Framework
To determine whether a plea can be lawfully withdrawn, California courts refer directly to the statutory language of the Penal Code:
-
Penal Code Section 1018 PC provides: "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 shall, for a good cause shown, permit the plea of guilty to be withdrawn and a plea of not guilty substituted."
-
California courts define "good cause" under PC 1018 as establishing by clear and convincing evidence that the plea was entered as a result of "mistake, ignorance, inadvertence, fraud, duress, or any other factor overreaching the defendant's free will and judgment."
-
Penal Code Section 1018 PC further provides: "This section shall be liberally construed to effect these objects and to promote justice."
California Penal Code 1018 PC Grounds for Relief & Standards Comparison
Winning a motion to withdraw a plea under PC 1018 requires meeting specific evidentiary standards depending on the underlying legal error:
|
Legal Ground for Withdrawal |
Primary Evidentiary Basis |
Impact on Criminal Case |
| Ineffective Assistance of Counsel (IAC) | Defense attorney failed to advise on key rights, defense strategies, or consequences | Plea is invalidated; case reopens with new defense counsel |
| Coercion, Threat, or Duress | Outside pressure from prosecutors, co-defendants, or counsel forced the plea | Demonstrates overborne free will; court must vacate plea |
| Mistake or Ignorance of Penalties | Defendant genuinely misunderstood mandatory jail time, fines, or registry requirements | Proves lack of knowing and intelligent waiver of rights |
| Language Barrier or Failure of Interpreter | Lack of qualified court interpreter resulted in misunderstanding the plea terms | Demonstrates constitutional due process violation |
| Unadvised Immigration Consequences | Defense counsel failed to advise non-citizen on mandatory deportation risks | Plea vacated under PC 1018 (or PC 1473.7 if out of custody) |
Penalties, Legal Risks, and Consequences of Filing a PC 1018 Motion
While Penal Code 1018 PC offers a crucial remedy to correct unjust pleas, filing a motion to withdraw carries significant tactical risks and sentencing implications:
-
Reinstatement of Original, More Severe Charges: Withdrawing a plea bargain voids the entire deal. Prosecutors are legally permitted to reinstate all original charges, including severe sentencing enhancements or extra counts that were initially dismissed.
-
Loss of Negotiated Maximum Sentences: If the original plea bargain capped state prison time or guaranteed probation, vacating the plea exposes the defendant to the maximum statutory sentence if convicted at trial.
-
Strict Statutory Time Limits: A PC 1018 motion must be filed before formal sentencing or within six months of being granted probation (if entry of judgment was suspended). Missing this strict window forever bars relief under PC 1018, forcing the defendant to rely on more complex habeas corpus petitions or PC 1473.7 motions.
-
Adverse Statements and Evidentiary Risks: Declarations submitted in support of a PC 1018 motion must be crafted carefully so they cannot be weaponized by prosecutors if the case proceeds to trial.
Hypothetical Examples
-
Example 1 (Defense Counsel Miscalculation): A defendant pled guilty to grand theft after defense counsel falsely promised they would receive probation. At the sentencing hearing, the judge prepares to impose a 2-year state prison sentence. The defendant files an immediate PC 1018 motion based on ineffective assistance of counsel and mistake of fact.
-
Example 2 (Unadvised Sex Offender Registration): A defendant enters a no-contest plea to a misdemeanor without being informed that the conviction carries mandatory lifetime sex offender registration under PC 290. Before sentencing, new counsel files a PC 1018 motion showing the defendant did not knowingly accept the plea's collateral consequences.
-
Example 3 (Coercion and Duress): A defendant facing high bail enters a guilty plea after co-defendants tell them that their family will be harmed if they do not take sole responsibility. Upon securing private counsel before judgment, the defendant submits clear evidence of duress to withdraw the plea.
Related California Laws
Penal Code 1018 PC functions alongside several other procedural, post-conviction, and constitutional statutes in California:
-
Penal Code § 1473.7: Allows individuals who are no longer in criminal custody to vacate a conviction if it is legally invalid due to unadvised adverse immigration consequences.
-
Penal Code § 1016.5: Mandates that state courts advise all pleading defendants that a conviction may result in deportation, exclusion from admission, or denial of naturalization.
-
Penal Code § 1203.4: The standard California expungement statute, which allows past offenders who completed probation to dismiss convictions (though it does not vacate the plea for immigration or federal purposes).
-
Penal Code § 1237.5: Requires a defendant seeking to appeal a guilty or no-contest plea to first obtain a "Certificate of Probable Cause" from the trial court judge.
Why Related Charges Matter: The exact offense charged dictates whether withdrawing a plea is strategically sound. If a defendant withdraws a plea to a lesser charge—such as simple assault under PC 240—the prosecution can reinstate original strike offenses, such as assault with a deadly weapon under PC 245(a)(1). Evaluating the potential statutory exposure for all related charges is essential before seeking to have a court set aside a negotiated agreement.
Frequently Asked Questions (FAQs)
What is a Motion to Withdraw a Plea under Penal Code 1018 PC?
It is a formal legal request asking the trial court judge to allow a defendant to take back a previously entered guilty or no-contest plea because it was entered due to mistake, fraud, duress, or ineffective legal counsel.
What is the deadline to file a PC 1018 Motion to Withdraw a Plea?
The motion must be filed prior to formal sentencing (entry of judgment) or within six months after being granted probation if the imposition of judgment was suspended.
What constitutes "good cause" to withdraw a guilty plea in California?
Good cause requires showing by clear and convincing evidence that you entered the plea under mistake, ignorance, inadvertence, fraud, coercion, improper attorney advice, or without understanding your constitutional rights.
What happens if the judge grants my PC 1018 motion?
Your guilty or no-contest plea is officially withdrawn, the plea agreement is canceled, the original criminal charges are fully reinstated, and your case returns to the pre-plea arraignment stage.
Can I withdraw my plea simply because I changed my mind or regret the deal?
No. California courts explicitly hold that "buyer's remorse" or general regret over a plea agreement does not constitute legal good cause under Penal Code Section 1018 PC.
Does withdrawing a plea mean my criminal charges are dismissed?
No. Granting a PC 1018 motion reopens the criminal case. You and your defense attorney must then negotiate a new plea agreement, file motions to dismiss, or prepare to go to trial.
What if my deadline to file a PC 1018 motion has already passed?
If the PC 1018 time limit has expired, you cannot use PC 1018. However, you may still challenge the conviction using a Petition for Writ of Habeas Corpus or a Motion to Vacate under Penal Code 1473.7.
Can I file a PC 1018 motion if my attorney gave me bad legal advice?
Yes. Ineffective assistance of counsel (IAC)—such as an attorney failing to investigate clear defenses or misinforming you about mandatory jail terms—is one of the most common grounds for establishing good cause.
Get Legal Help From a Defense Lawyer
If you entered a guilty or no-contest plea under duress, mistake, or flawed legal advice, acting quickly is critical due to strict statutory deadlines under Penal Code 1018 PC. Successfully demonstrating "clear and convincing evidence" of good cause requires meticulous review of transcripts, attorney records, and court files.
The defense team at Esfandi Law Group evaluates prior court records to identify legal errors and petition the court for post-conviction relief. Contact us to schedule a free, confidential consultation.
