Yes, in some cases. Penal Code 1473.7(a)(1) lets a person who is no longer in criminal custody move to vacate a conviction or sentence that is legally invalid because a prejudicial error damaged the person's ability to meaningfully understand, defend against or knowingly accept the actual or potential adverse immigration consequences. Penal Code 1016.5 and 1203.43 are two other routes.

Which California laws let a court vacate a conviction because of immigration consequences?

Three California statutes can lead to a vacated conviction or a withdrawn plea on immigration grounds: Penal Code 1473.7, 1016.5(b) and 1203.43(b). Each has its own conditions.

Statute Who it covers What the statute says the court does
Penal Code 1473.7 A person who is no longer in criminal custody and whose conviction or sentence is legally invalid because of a prejudicial error about immigration consequences Shall grant the motion if a ground is proved by a preponderance of the evidence (for the immigration ground, also that the conviction causes or could cause removal or a denied benefit) and, for a conviction obtained through a plea, shall allow the plea to be withdrawn
Penal Code 1016.5(b) A defendant whose plea was taken without the required immigration advisement On the defendant's motion, shall vacate the judgment and permit the plea to be withdrawn, if the listed consequences may follow
Penal Code 1203.43(b) A person granted deferred entry of judgment on or after January 1, 1997, who performed satisfactorily and whose charges were dismissed under Section 1000.3 Shall, on request, permit the plea to be withdrawn and shall dismiss the complaint or information

The three routes as Penal Code 1473.7, 1016.5 and 1203.43 state them.

For Section 1203.43, subdivision (b) applies where a defendant "was granted deferred entry of judgment on or after January 1, 1997", performed satisfactorily during the deferral, and had the charges "dismissed pursuant to Section 1000.3". The court then "shall, upon request of the defendant, permit the defendant to withdraw the plea of guilty or nolo contendere" and shall "dismiss the complaint or information against the defendant". The firm's answer on old drug-diversion pleas covers that route.

What must a person prove to vacate a conviction under Penal Code 1473.7?

The person must prove a listed ground by a preponderance of the evidence. The immigration ground also requires showing the conviction causes or could cause removal or a denied benefit.

Section 1473.7(a) says "A person who is no longer in criminal custody may file a motion to vacate a conviction or sentence" for any of three reasons:

  • The conviction or sentence "is legally invalid due to prejudicial error" that damaged "the moving party's ability to meaningfully understand, defend against, or knowingly accept the actual or potential adverse immigration consequences of a conviction or sentence."
  • "Newly discovered evidence of actual innocence exists that requires vacation of the conviction or sentence as a matter of law or in the interests of justice."
  • The conviction or sentence "was sought, obtained, or imposed on the basis of race, ethnicity, or national origin in violation of subdivision (a) of Section 745."

For the first reason the statute adds: "A finding of legal invalidity may, but need not, include a finding of ineffective assistance of counsel." Under subdivision (f)(1) the court "shall grant the motion" if the moving party establishes a ground "by a preponderance of the evidence", and for the immigration ground the moving party "shall also establish that the conviction or sentence being challenged is currently causing or has the potential to cause removal or the denial of an application for an immigration benefit, lawful status, or naturalization."

Subdivision (f)(2) creates a presumption. There is "a presumption of legal invalidity" for the immigration ground if the person pleaded guilty or nolo contendere under a statute providing that, on completion of specific requirements, the arrest and conviction "shall be deemed never to have occurred", the person complied, and the disposition has been or could be used as a basis for adverse immigration consequences. Subdivision (d) says "All motions shall be entitled to a hearing."

Is there a deadline for a Penal Code 1473.7 motion?

An immigration-ground motion is timely at any time the person is no longer in criminal custody, but may be untimely without reasonable diligence after an immigration notice.

Section 1473.7(b)(1) says a motion on the immigration ground "shall be deemed timely filed at any time in which the individual filing the motion is no longer in criminal custody." Paragraph (b)(2) adds that it "may be deemed untimely filed if it was not filed with reasonable diligence after the later of" two events. One is receiving a "notice to appear in immigration court" or other notice from immigration authorities that asserts the conviction or sentence as a basis for removal or the denial of an application for an immigration benefit, lawful status or naturalization. The other is notice that a final removal order has been issued, based on the conviction or sentence the person seeks to vacate.

A motion on the actual innocence or bias ground "shall be filed without undue delay" from the date the person discovered, or could have discovered with due diligence, the evidence (subdivision (c)). This page does not say what counts as criminal custody.

What if the court did not give the immigration warning before the plea?

A defendant may move under Penal Code 1016.5(b). If the required warning was not given and the listed consequences may follow, the court shall vacate the judgment.

Section 1016.5(a) requires the court to give the advisement "verbatim on the record" before accepting a plea of guilty or nolo contendere to an offense punishable as a crime under state law, other than an infraction. The advisement says that conviction "may have the consequences of deportation, exclusion from admission to the United States, or denial of naturalization". Under subdivision (b), if the court failed to give it and "the defendant shows that conviction of the offense to which defendant pleaded guilty or nolo contendere may have the consequences" listed, "the court, on defendant's motion, shall vacate the judgment and permit the defendant to withdraw the plea". The statute adds that, absent a record of the advisement, "the defendant shall be presumed not to have received the required advisement."

Subdivision (e), which refers to the amendment of the section, addresses pleas accepted before January 1, 2026. For those pleas it "is not the intent of the Legislature" that a failure to give a verbatim advisement requires vacation of the judgment, but the section "does not inhibit a court in the exercise of its discretion" to vacate a judgment and permit a plea to be withdrawn. The firm's answer on an old plea with a missing transcript covers the presumption.

Does vacating a conviction settle the immigration question?

Not by itself. A California order vacates the conviction or sentence, while federal law defines "conviction" for immigration purposes in 8 U.S.C. 1101(a)(48)(A).

8 U.S.C. 1101(a)(48)(A) defines "conviction" as "a formal judgment of guilt of the alien entered by a court" or, "if adjudication of guilt has been withheld", a finding or plea of guilt together with a judge's order of "some form of punishment, penalty, or restraint on the alien's liberty". The Penal Code sections above decide whether the California conviction or sentence is vacated. They do not grant immigration status, and this page does not say how federal immigration authorities treat a vacated California conviction.

The firm's page on immigration consequences of criminal convictions and its page on habeas corpus petitions, which also covers Penal Code 1473.7, cover related relief.

Frequently asked questions

What happens if the court grants a Penal Code 1473.7 motion?

For a conviction obtained through a plea of guilty or nolo contendere, "the court shall allow the moving party to withdraw the plea." An order granting or denying the motion is "appealable under subdivision (b) of Section 1237", according to subdivision (g).

Can the prosecution agree to the motion?

Yes. Section 1473.7(d) says "If the prosecution has no objection to the motion, the court may grant the motion to vacate the conviction or sentence without a hearing."

Did these laws change recently?

Yes. As of November 21, 2026, Section 1473.7 was last amended by Statutes 2025, chapter 784 (Senate Bill 734), effective January 1, 2026, and Section 1016.5 by Statutes 2025, chapter 666 (Senate Bill 281), effective January 1, 2026. Section 1203.43 was added by Statutes 2015, chapter 646.

Talk to a lawyer

The Law Offices of David S. Chesley handle criminal defense and immigration matters across California (see the firm's immigration lawyer page).

The firm offers a free consultation, is available 24/7, and offers payment plans. Se habla español. Call (800) 755-5174 or request a free consultation online.

This page is general information, not legal advice, and no outcome is guaranteed.