Motion to Withdraw Plea – California Penal Code 1018
California Penal Code 1018 allows a criminal defendant to withdraw a guilty plea or no-contest plea if they can show “good cause.”
This legal process allows defendants to correct a plea entered in error, due to a misunderstanding, or for other legal reasons.
Many criminal cases in California are resolved through plea bargains. However, there are situations where a defendant later realizes they did not fully understand the consequences of their plea or were not properly advised by their attorney.
In those situations, a motion to withdraw a plea may allow the court to vacate the plea and reopen the case.
If the motion is granted, the criminal case returns to the stage before the plea was entered, allowing the defendant to negotiate a new plea agreement or proceed to trial.
Your best chance for a positive outcome is to work with an experienced California criminal defense attorney at Esfandi Law Group. We're here to help—call us for a free consultation at (310) 274-6529 or reach out to us through our contact form.
What Is a Motion to Withdraw a Plea?
A motion to withdraw a plea is a legal request asking the court to allow a defendant to take back a previously entered guilty or no-contest plea.
Under California Penal Code 1018, the court may allow a plea to be withdrawn if the defendant demonstrates that the plea was entered due to:
-
mistake
-
ignorance
-
inadvertence
-
fraud or misrepresentation
-
any other factor showing the defendant did not knowingly or voluntarily enter the plea
The purpose of the law is to ensure that criminal pleas are made voluntarily and with a full understanding of the legal consequences.
What Does California Penal Code 1018 Say?
California Penal Code 1018 states that a defendant may withdraw a guilty plea before judgment is entered, or within six months after being granted probation if the sentence was suspended.
The statute requires the defendant to show “good cause” for the withdrawal. Courts interpret good cause as evidence that the plea was not entered freely, knowingly, and intelligently.
This legal standard protects defendants who may have entered a plea without fully understanding their rights or the consequences of the agreement.
It may be possible to reopen an old criminal case and challenge the conviction through post-conviction relief.
What Qualifies as “Good Cause” to Withdraw a Plea?
Courts require a legitimate legal reason to withdraw a plea. A defendant cannot simply change their mind or regret pleading guilty.
Common examples of good cause include the following situations.
Lack of Legal Representation
If a defendant entered a plea without having an attorney or without properly understanding their right to legal counsel, the court may allow the plea to be withdrawn.
Ineffective Assistance of Counsel
A plea may be withdrawn if the defense attorney failed to provide competent legal advice. For example, the attorney may have failed to explain important consequences of the plea.
Failure to Understand the Consequences
Defendants must understand the consequences of a plea agreement. If a defendant did not understand the potential sentence, fines, probation conditions, or other penalties, the court may find good cause.
Failure to Understand Constitutional Rights
Before entering a plea, defendants must be advised of their constitutional rights, including the right to a jury trial, the right to confront witnesses, and the right against self-incrimination.
If these rights were not properly explained, the plea may be invalid.
Language Barriers or Miscommunication
A plea may be withdrawn if a language barrier or miscommunication prevented the defendant from understanding the plea agreement.
Immigration Consequences
In some cases, defendants were not informed that a conviction could lead to deportation or other immigration consequences. This issue may also be addressed through a separate motion under Penal Code 1473.7.
When Can a Motion to Withdraw a Plea Be Filed?
Timing is critical when filing a motion under Penal Code 1018.
A motion to withdraw a plea can typically be filed:
-
any time before sentencing, or
-
within six months after probation is granted if the sentence was suspended
Once the deadline passes, the defendant may need to pursue other post-conviction remedies.
Legal Process for Filing a Motion to Withdraw a Plea
The process for withdrawing a plea involves several steps.
Step 1: Review the Case
A criminal defense attorney reviews the case record, plea agreement, court transcripts, and any evidence showing that the plea was entered improperly.
Step 2: Prepare the Motion
The attorney prepares a written motion explaining why the defendant has good cause to withdraw the plea. This document includes legal arguments and supporting evidence.
Step 3: File the Motion with the Court
The motion is filed with the court and served on the prosecutor.
Step 4: Court Hearing
The judge holds a hearing at which both sides present arguments on whether good cause exists.
Step 5: Judge's Decision
The judge decides whether to grant or deny the motion.
What Happens if the Motion Is Granted?
If the judge grants the motion:
-
the guilty or no-contest plea is withdrawn
-
the plea bargain is canceled
-
the case returns to the stage before the plea was entered
The defendant will enter a not guilty plea, and the case proceeds as if the plea never occurred.
Possible outcomes include:
-
negotiating a new plea agreement
-
filing additional defense motions
-
proceeding to trial
What Happens if the Motion Is Denied?
If the judge denies the motion to withdraw the plea, the case will continue toward sentencing based on the original plea agreement.
In some cases, the defendant may still pursue other legal options such as an appeal or post-conviction motion.
Withdrawing a Plea After Conviction
If a defendant has already been convicted and sentenced, withdrawing a plea becomes more complicated.
Additional legal remedies may include the following options.
Habeas Corpus Petition
A writ of habeas corpus challenges a conviction based on constitutional violations, such as ineffective assistance of counsel.
Motion to Vacate a Conviction – Penal Code 1473.7
Penal Code 1473.7 allows defendants to vacate convictions when they did not understand immigration consequences of the plea.
Criminal Appeals
An appeal may challenge legal errors that occurred during the plea process.
Each of these remedies requires careful legal analysis and may involve strict deadlines.
Frequently Asked Questions
What is a motion to withdraw a plea in California?
A motion to withdraw a plea is a request asking the court to allow a defendant to take back a guilty or no-contest plea due to legal error or misunderstanding.
What is considered good cause under Penal Code 1018?
Good cause may include mistake, ignorance, ineffective assistance of counsel, lack of understanding of consequences, or failure to understand constitutional rights.
Can a guilty plea be withdrawn after sentencing?
Yes, but only within six months after probation is granted and the sentence is suspended. After that, other post-conviction remedies may be required.
What happens if the plea is withdrawn?
The plea is vacated, the plea agreement becomes invalid, and the criminal case returns to the stage before the plea was entered.
Does withdrawing a plea guarantee the charges will be dismissed?
No. Withdrawing the plea simply reopens the case. The prosecution may still pursue charges, negotiate a new plea, or proceed to trial.
Why Legal Representation Is Important
A motion to withdraw a plea requires strong legal arguments and supporting evidence. Courts carefully review these motions and will only grant them if the defendant can demonstrate clear good cause.
An experienced criminal defense attorney can evaluate whether withdrawing a plea is in the defendant's best interest and prepare the necessary legal arguments to support the motion.
Because withdrawing a plea may expose a defendant to additional risks or penalties, legal guidance is essential before filing a motion to withdraw the plea.
Esfandi Law Group is ready to assist you. Book your free consultation by calling (310) 274-6529 or filling out the contact form here.
