Quick summary
The California Racial Justice Act (Penal Code 745) lets you challenge a conviction or sentence that was sought, obtained or imposed on the basis of race, ethnicity or national origin. Since January 1, 2026, it reaches every felony judgment in California, no matter how old.
- Already convicted: You can raise a claim in a habeas corpus petition if you are in prison or jail, or in a motion to vacate if you are out of custody. A court must appoint a lawyer if you can’t afford one and your petition plausibly alleges a violation.
- What counts: Bias shown by a judge, lawyer, officer, expert or juror; racially coded language in court, including comparisons to animals; or charging or sentencing patterns that hit your racial group harder in your county. You don’t have to prove anyone meant to discriminate.
- What you can win: After judgment, the court must vacate the conviction or sentence. A new sentence can’t be longer than the old one.
- Example: At Andre’s 2012 trial, the prosecutor called him a “predator” stalking “prey.” Andre is still in prison. He can file a habeas petition under the Racial Justice Act asking the court to throw out his conviction.
In this article, our California criminal defense lawyers answer 8 common questions about the Racial Justice Act:
- 1. What is the Racial Justice Act?
- 2. Can I use it if I was already convicted?
- 3. How do I raise a claim after a conviction?
- 4. Will the court give me a lawyer?
- 5. What evidence can I get and use?
- 6. What counts as a violation?
- 7. What happens if the court finds a violation?
- 8. Does it apply to juvenile cases?
1. What is the Racial Justice Act?
The California Racial Justice Act of 2020 is a state law, codified at Penal Code 745, that bars the state from seeking or obtaining a criminal conviction, or seeking, obtaining or imposing a sentence, “on the basis of race, ethnicity, or national origin.”1 It took effect on January 1, 2021.2
The law was written because older rules made racial bias almost impossible to prove. Under the U.S. Supreme Court’s approach, a defendant generally had to show that someone in the case intended to discriminate.3 The Racial Justice Act drops that requirement. You only have to prove a violation by a preponderance of the evidence (more likely than not), and you “do[] not need to prove intentional discrimination.”4
Who can bring a claim?
The defendant brings the claim. That includes people whose cases are still in court and people who were convicted years ago and are still living with the sentence. This page focuses first on that second group.
2. Can I use it if I was already convicted?
Very likely, yes, if your conviction was for a felony. The Legislature phased in the law for older cases in steps. As of today, Penal Code 745(j) applies to:5
- Any case that isn’t final yet, including cases still on appeal;
- Death sentences, and motions filed because of immigration consequences, since January 1, 2023;
- People serving a state prison or county jail sentence (or committed to the Division of Juvenile Justice), since January 1, 2024;
- Felony judgments that became final on or after January 1, 2015, since January 1, 2025; and
- Every felony judgment, no matter when it became final, since January 1, 2026.
Example: Lena was convicted of a felony in 2009 and finished her sentence in 2014. Before 2026, the Racial Justice Act did not reach her case. Since January 1, 2026, it does, so she can now file a motion asking the court to vacate the conviction.
Is there a deadline?
There is no fixed filing deadline for a post-conviction claim. But don’t wait. A habeas petition raising a Racial Justice Act claim for the first time, or based on new evidence you couldn’t have found earlier, is not treated as a barred “successive” petition.6 Delay can still make a case harder to prove as records and witnesses disappear.
3. How do I raise a claim after a conviction?
Where you file depends on where your case stands. The chart below shows the usual path.
If you are in prison or jail: a habeas petition
A petition for a writ of habeas corpus under Penal Code 1473(e) is the main route for people still serving a sentence. You can also add a Racial Justice Act claim to a habeas petition you already have pending.7
If you are out of custody: a motion to vacate
If you have finished your sentence, probation and parole, you can file a motion to vacate under Penal Code 1473.7, which lists a Racial Justice Act violation as one of its grounds.8 This route matters most to people facing deportation or other immigration problems because of an old conviction.
If your appeal is still pending
Claims based on what’s in the trial record (for example, something the prosecutor said in closing argument) can be raised on direct appeal. You can also ask the appeals court to pause the appeal and send the case back to the trial court so you can file a motion there.9
If your case is still open
If you haven’t been convicted yet, your lawyer files a motion under Penal Code 745 in the trial court. Raise it as soon as you learn of the problem. A motion filed late may be treated as waived.10
In our experience, the strongest claims start with a careful reread of the trial transcript, especially jury selection and closing argument, where coded language tends to show up.
4. Will the court give me a lawyer?
Yes, if you can’t afford one and your habeas petition pleads a “plausible allegation” of a violation. The court must appoint counsel in that case, or when the State Public Defender asks it to. Your new lawyer can then amend the petition you filed on your own.11
A California appeals court held in November 2026 that this is a minimal pleading requirement, lower than the “prima facie” showing needed to get a hearing, and that the court must accept your factual allegations as true at that stage.12 In that case, a report showing that Black defendants accused of killing white victims were more often charged with felony murder, and another showing that Black defendants in San Francisco more often received life without parole, were enough to get the petitioner a lawyer.13
5. What evidence can I get and use?
You can ask the court to order the prosecution to turn over “all evidence relevant to a potential violation” in the state’s possession, such as charging records and data on similar cases. You can make this request even before you file a habeas petition, to prepare it.14 The court must order the records released if you show good cause.15
Courts have described good cause as “a plausible case, based on specific facts,” that a violation could or might have occurred.16
Statistics
Statistics and aggregate data are allowed, and they don’t have to reach “statistical significance.” The court must also consider whether racial profiling and historically biased policing shaped the numbers.17 If you belong to more than one racial or ethnic group, you can combine data across groups.18
6. What counts as a violation?
Penal Code 745(a) lists four types of violations. Proving any one of them is enough.19
1) Bias by someone in the case
The judge, a lawyer, a police officer involved in the case, an expert witness or a juror showed bias or animus toward you because of your race, ethnicity or national origin.
2) Racially discriminatory language in court
During your trial, one of those people used racially discriminatory language about your race, ethnicity or national origin, whether or not on purpose. The law defines this as language that, to an objective observer, “explicitly or implicitly appeals to racial bias,” including “racially coded language” and “language that compares the defendant to an animal.”20
Courts are applying this in real cases:
- In 2026, the California Supreme Court reversed a death sentence because the prosecutor repeatedly called the defendant a “thug” and compared him to a Bengal tiger. The court noted that “thug” is “a term that has historically been associated with racial bias.”21
- Also in 2026, an appeals court vacated three defendants’ convictions because the prosecutor used a pit bull analogy during jury selection and “predator” and “prey” imagery in argument. The court looked at “the language employed by the prosecutor, not his intent or apparent good faith.”22
3) Charging disparities
You were charged with or convicted of a more serious offense than people of other races who did similar things and were similarly situated, and prosecutors in your county more often sought or obtained the more serious charge against people of your race.
4) Sentencing disparities
You received a longer or harsher sentence than similarly situated people convicted of the same crime, and harsher sentences for that crime were imposed more often in your county either on people of your race or in cases with victims of a particular race.
Example: Marcus, who is Black, was charged with robbery with a gun enhancement. His lawyer obtains county data showing that white defendants in similar robberies usually had the enhancement dropped. That pattern can support a charging-disparity claim.
7. What happens if the court finds a violation?
If you’ve already been convicted and the court finds that the conviction was sought or obtained in violation of the law, it must vacate the conviction and sentence and order new proceedings. If only the sentence was affected, it must vacate the sentence and resentence you. Either way, the new sentence can’t be greater than the old one.23 If the only violation was a charging disparity, the court may instead reduce the conviction to a lesser offense.24
Before judgment, a court can grant a mistrial, seat a new jury, dismiss enhancements or special circumstances, or reduce charges.25
Older cases: judgments before 2021
For judgments entered before January 1, 2021, a claim based on bias or discriminatory language (the first two types) entitles you to relief unless the state proves beyond a reasonable doubt that the violation did not contribute to the judgment.26 This is a real hurdle. In one 2026 case, the California Supreme Court assumed the prosecutor’s “wolf” and “predator” remarks violated the law but found them harmless.27
Death penalty cases
When a court finds a violation, the defendant isn’t eligible for the death penalty.28 The California Supreme Court has read this as applying to the proceeding where the violation occurred, so prosecutors may still seek death again at a new penalty trial.29
8. Does it apply to juvenile cases?
Yes. The Racial Justice Act also covers juvenile delinquency adjudications and dispositions, and decisions to transfer a juvenile case to adult court.30 See our article on California juvenile law.
Frequently asked questions
Do I have to prove the prosecutor or judge meant to discriminate?
No. You must prove a violation by a preponderance of the evidence, but you don’t need to prove intentional discrimination.31
Can the Racial Justice Act make my sentence longer?
No. If the court vacates your conviction or sentence after judgment, any new sentence can’t be greater than the one you had.32
Does it apply to misdemeanors?
It applies to any case that isn’t final, including misdemeanors. For finished cases, the retroactivity rules mostly cover felony judgments, though motions based on immigration consequences are covered regardless of when the judgment became final.33
Does the law stop prosecutors from charging hate crimes?
No. The law says it does not prevent hate crime prosecutions under Penal Code 422.6 through 422.865.34
For additional help
If you believe race played a part in your charges, your trial or your sentence, contact our California post-conviction lawyers for a free consultation. We can review your transcript and records, request the data you need, and file the right motion or petition.
Legal references:
- California Penal Code 745(a): “The state shall not seek or obtain a criminal conviction or seek, obtain, or impose a sentence on the basis of race, ethnicity, or national origin.” Full text of section 745 (as amended by Stats. 2025, ch. 784 (SB 734), eff. Jan. 1, 2026):
(a) The state shall not seek or obtain a criminal conviction or seek, obtain, or impose a sentence on the basis of race, ethnicity, or national origin. A violation is established if the defendant proves, by a preponderance of the evidence, any of the following:
(1) The judge, an attorney in the case, a law enforcement officer involved in the case, an expert witness, or juror exhibited bias or animus towards the defendant because of the defendant’s race, ethnicity, or national origin.
(2) During the defendant’s trial, in court and during the proceedings, the judge, an attorney in the case, a law enforcement officer involved in the case, an expert witness, or juror, used racially discriminatory language about the defendant’s race, ethnicity, or national origin, or otherwise exhibited bias or animus towards the defendant because of the defendant’s race, ethnicity, or national origin, whether or not purposeful. This paragraph does not apply if the person speaking is relating language used by another that is relevant to the case or if the person speaking is giving a racially neutral and unbiased physical description of the suspect.
(3) The defendant was charged or convicted of a more serious offense than defendants of other races, ethnicities, or national origins who have engaged in similar conduct and are similarly situated, and the evidence establishes that the prosecution more frequently sought or obtained convictions for more serious offenses against people who share the defendant’s race, ethnicity, or national origin in the county where the convictions were sought or obtained.
(4) (A) A longer or more severe sentence was imposed on the defendant than was imposed on other similarly situated individuals convicted of the same offense, and longer or more severe sentences were more frequently imposed for that offense on people that share the defendant’s race, ethnicity, or national origin than on defendants of other races, ethnicities, or national origins in the county where the sentence was imposed.
(B) A longer or more severe sentence was imposed on the defendant than was imposed on other similarly situated individuals convicted of the same offense, and longer or more severe sentences were more frequently imposed for the same offense on defendants in cases with victims of one race, ethnicity, or national origin than in cases with victims of other races, ethnicities, or national origins, in the county where the sentence was imposed.
(b) A defendant may file a motion pursuant to this section, or a petition for writ of habeas corpus or a motion under Section 1473.7, in a court of competent jurisdiction, alleging a violation of subdivision (a). For claims based on the trial record, a defendant may raise a claim alleging a violation of subdivision (a) on direct appeal from the conviction or sentence. The defendant may also move to stay the appeal and request remand to the superior court to file a motion pursuant to this section. If the motion is based in whole or in part on conduct or statements by the judge, the judge shall disqualify themselves from any further proceedings under this section.
(c) If a motion is filed in the trial court and the defendant makes a prima facie showing of a violation of subdivision (a), the trial court shall hold a hearing. A motion made at trial shall be made as soon as practicable upon the defendant learning of the alleged violation. A motion that is not timely may be deemed waived, in the discretion of the court.
(1) At the hearing, evidence may be presented by either party, including, but not limited to, statistical evidence, aggregate data, expert testimony, and the sworn testimony of witnesses. The court may also appoint an independent expert. For the purpose of a motion and hearing under this section, out-of-court statements that the court finds trustworthy and reliable, statistical evidence, and aggregated data are admissible for the limited purpose of determining whether a violation of subdivision (a) has occurred.
(2) The defendant shall have the burden of proving a violation of subdivision (a) by a preponderance of the evidence. The defendant does not need to prove intentional discrimination.
(3) If the defendant is represented by an attorney and the motion alleges a violation of paragraph (1) or (2) of subdivision (a), based in whole or in part on the conduct of one or more law enforcement officers, the attorney shall serve a copy of the motion on the law enforcement agency or agencies that employed the officer or officers.
(4) At the conclusion of the hearing, the court shall make findings on the record.
(d) In any proceeding alleging a violation of subdivision (a), a defendant or petitioner may file a motion requesting disclosure to the defense of all evidence relevant to a potential violation of subdivision (a) in the possession or control of the state. A motion filed under this section, a motion under paragraph (2) of subdivision (e) of Section 1473, or a motion under paragraph (3) of subdivision (a) of Section 1473.7 shall describe the type of records or information the defendant seeks. Upon a showing of good cause, the court shall order the records to be released. Upon a showing of good cause, and in order to protect a privacy right or privilege, the court may permit the prosecution to redact information prior to disclosure or may subject disclosure to a protective order. If a statutory privilege or constitutional privacy right cannot be adequately protected by redaction or a protective order, the court shall not order the release of the records.
(e) Notwithstanding any other law, except as provided in subdivision (k), or for an initiative approved by the voters, if the court finds, by a preponderance of evidence, a violation of subdivision (a), the court shall impose a remedy specific to the violation found from the following list:
(1) Before a judgment has been entered, the court shall impose any of the following remedies:
(A) Grant a defendant’s request for a mistrial.
(B) Discharge the jury panel and empanel a new jury.
(C) If the court determines that it would be in the interest of justice, dismiss enhancements, special circumstances, or special allegations, or reduce one or more charges.
(D) Any other remedy not prohibited by another law.
(2) (A) After a judgment has been entered, if the court finds that a conviction was sought or obtained in violation of subdivision (a), the court shall vacate the conviction and sentence, find that it is legally invalid, and order new proceedings consistent with subdivision (a). If the court finds that the only violation of subdivision (a) that occurred is based on paragraph (3) of subdivision (a), the court may modify the judgment to a lesser included or lesser related offense. On resentencing, the court shall not impose a new sentence greater than that previously imposed.
(B) After a judgment has been entered, if the court finds that only the sentence was sought, obtained, or imposed in violation of subdivision (a), the court shall vacate the sentence, find that it is legally invalid, and impose a new sentence. On resentencing, the court shall not impose a new sentence greater than that previously imposed.
(3) The remedies available under this section do not foreclose any other remedies available under the United States Constitution, the California Constitution, or any other law.
(f) This section also applies to adjudications and dispositions in the juvenile delinquency system and adjudications to transfer a juvenile case to adult court.
(g) This section shall not prevent the prosecution of hate crimes pursuant to Sections 422.6 to 422.865, inclusive.
(h) As used in this section and for the purposes of a petition pursuant to subdivision (e) of Section 1473 or a motion pursuant to paragraph (3) of subdivision (a) of Section 1473.7, the following definitions apply:
(1) “More frequently sought or obtained” or “more frequently imposed” means that the totality of the evidence demonstrates a significant difference in seeking or obtaining convictions or in imposing sentences comparing individuals who have engaged in similar conduct and are similarly situated, and the prosecution cannot establish race-neutral reasons for the disparity. The evidence may include statistical evidence, aggregate data, or nonstatistical evidence. Statistical significance is a factor the court may consider, but is not necessary to establish a significant difference. In evaluating the totality of the evidence, the court shall consider whether systemic and institutional racial bias, racial profiling, and historical patterns of racially biased policing and prosecution may have contributed to, or caused differences observed in, the data or impacted the availability of data overall. Race-neutral reasons shall be relevant factors to charges, convictions, and sentences that are not influenced by implicit, systemic, or institutional bias based on race, ethnicity, or national origin.
(2) “Prima facie showing” means that the defendant produces facts that, if true, establish that there is a substantial likelihood that a violation of subdivision (a) occurred. For purposes of this section, a “substantial likelihood” requires more than a mere possibility, but less than a standard of more likely than not.
(3) “Relevant factors,” as that phrase applies to sentencing, means the factors in the California Rules of Court that pertain to sentencing decisions and any additional factors required to or permitted to be considered in sentencing under state law and under the state and federal constitutions.
(4) “Racially discriminatory language” means language that, to an objective observer, explicitly or implicitly appeals to racial bias, including, but not limited to, racially charged or racially coded language, language that compares the defendant to an animal, or language that references the defendant’s physical appearance, culture, ethnicity, or national origin. Evidence that particular words or images are used exclusively or disproportionately in cases where the defendant is of a specific race, ethnicity, or national origin is relevant to determining whether language is discriminatory.
(5) “State” includes the Attorney General, a district attorney, or a city prosecutor.
(6) “Similarly situated” means that factors that are relevant in charging and sentencing are similar and do not require that all individuals in the comparison group are identical. A defendant’s conviction history may be a relevant factor to the severity of the charges, convictions, or sentences. If it is a relevant factor and the defense produces evidence that the conviction history may have been impacted by racial profiling or historical patterns of racially biased policing, the court shall consider the evidence.
(i) A defendant may share a race, ethnicity, or national origin with more than one group. A defendant may aggregate data among groups to demonstrate a violation of subdivision (a).
(j) This section applies as follows:
(1) To all cases in which judgment is not final.
(2) Commencing January 1, 2023, to all cases in which, at the time of the filing of a petition pursuant to subdivision (e) of Section 1473 raising a claim under this section, the petitioner is sentenced to death or to cases in which the motion is filed pursuant to Section 1473.7 because of actual or potential immigration consequences related to the conviction or sentence, regardless of when the judgment or disposition became final.
(3) Commencing January 1, 2024, to all cases in which, at the time of the filing of a petition pursuant to subdivision (e) of Section 1473 raising a claim under this section, the petitioner is currently serving a sentence in the state prison or in a county jail pursuant to subdivision (h) of Section 1170, or committed to the Division of Juvenile Justice for a juvenile disposition, regardless of when the judgment or disposition became final.
(4) Commencing January 1, 2025, to all cases filed pursuant to Section 1473.7 or subdivision (e) of Section 1473 in which judgment became final for a felony conviction or juvenile disposition that resulted in a commitment to the Division of Juvenile Justice on or after January 1, 2015.
(5) Commencing January 1, 2026, to all cases filed pursuant to Section 1473.7 or subdivision (e) of Section 1473 in which judgment was for a felony conviction or juvenile disposition that resulted in a commitment to the Division of Juvenile Justice, regardless of when the judgment or disposition became final.
(k) For petitions that are filed in cases for which judgment was entered before January 1, 2021, and only in those cases, if the petition is based on a violation of paragraph (1) or (2) of subdivision (a), the petitioner shall be entitled to relief as provided in subdivision (e), unless the state proves beyond a reasonable doubt that the violation did not contribute to the judgment.
(l) When the court finds there has been a violation of subdivision (a), the defendant shall not be eligible for the death penalty.
- Assembly Bill 2542 (Stats. 2020, ch. 317), the California Racial Justice Act of 2020.
- McCleskey v. Kemp (1987) 481 U.S. 279 (rejecting a challenge to a death sentence based on statistical evidence of racial disparities because the defendant did not show purposeful discrimination in his own case).
- California Penal Code 745(c)(2): “The defendant shall have the burden of proving a violation of subdivision (a) by a preponderance of the evidence. The defendant does not need to prove intentional discrimination.”
- California Penal Code 745(j)(1)-(5); subdivision (j)(5): “Commencing January 1, 2026, to all cases filed pursuant to Section 1473.7 or subdivision (e) of Section 1473 in which judgment was for a felony conviction or juvenile disposition that resulted in a commitment to the Division of Juvenile Justice, regardless of when the judgment or disposition became final.”
- California Penal Code 1473(e)(3): “A petition raising a claim of this nature for the first time, or on the basis of new discovery provided by the state or other new evidence that could not have been previously known by the petitioner with due diligence, shall not be deemed a successive or abusive petition.”
- California Penal Code 1473(e), (e)(4).
- California Penal Code 1473.7(a)(3); Penal Code 745(b).
- California Penal Code 745(b): “For claims based on the trial record, a defendant may raise a claim alleging a violation of subdivision (a) on direct appeal from the conviction or sentence. The defendant may also move to stay the appeal and request remand to the superior court to file a motion pursuant to this section.”
- California Penal Code 745(c): “A motion made at trial shall be made as soon as practicable upon the defendant learning of the alleged violation. A motion that is not timely may be deemed waived, in the discretion of the court.”
- California Penal Code 1473(e)(5): “the court shall appoint counsel if the petitioner cannot afford counsel and either the petition pleads a plausible allegation of a violation of subdivision (a) of Section 745 or the State Public Defender requests counsel be appointed.”
- Terrell v. Superior Court (Nov. 20, 2026, A175811) __ Cal.App.5th __ [slip opn. pp. 11-12, 15-16]: the standard “should be construed as a minimal pleading requirement” (quoting Stats. 2025, ch. 721, § 1, subd. (b)).
- Terrell v. Superior Court (Nov. 20, 2026, A175811) __ Cal.App.5th __ (see note 12 above).
- California Penal Code 745(d); Penal Code 1473(e)(2): “A petitioner, or their counsel, may file a motion for relevant evidence under subdivision (d) of Section 745 upon the prosecution of a petition under this subdivision, or in preparation to file a petition.”
- California Penal Code 745(d): “Upon a showing of good cause, the court shall order the records to be released.”
- Young v. Superior Court (2022) 79 Cal.App.5th 138, 159: a defendant “may claim entitlement to discovery under the Act if he makes a plausible case, based on specific facts, that any of the enumerated violations of section 745(a) could or might have occurred.”
- California Penal Code 745(h)(1): “Statistical significance is a factor the court may consider, but is not necessary to establish a significant difference.”
- California Penal Code 745(i): “A defendant may aggregate data among groups to demonstrate a violation of subdivision (a).”
- California Penal Code 745(a)(1)-(4).
- California Penal Code 745(h)(4): “‘Racially discriminatory language’ means language that, to an objective observer, explicitly or implicitly appeals to racial bias, including, but not limited to, racially charged or racially coded language, language that compares the defendant to an animal, or language that references the defendant’s physical appearance, culture, ethnicity, or national origin.”
- People v. Bankston (2026) 19 Cal.5th 786 [slip opn. pp. 107-108]: “it is a term that has historically been associated with racial bias”; “an objective observer would find that the prosecutor’s language constituted an implicit appeal to bias.”
- People v. Diaz (Oct. 23, 2026, H050849) __ Cal.App.5th __ [slip opn. p. 24]: “under the RJA, we examine the language employed by the prosecutor, not his intent or apparent good faith.”
- California Penal Code 745(e)(1)-(2): “On resentencing, the court shall not impose a new sentence greater than that previously imposed.”
- California Penal Code 745(e)(1)-(2) (see note 23 above).
- California Penal Code 745(e)(1)-(2) (see note 23 above).
- California Penal Code 745(k): “the petitioner shall be entitled to relief as provided in subdivision (e), unless the state proves beyond a reasonable doubt that the violation did not contribute to the judgment.”
- People v. Demolle (2026) 19 Cal.5th 1117 (assuming the prosecutor’s references to the defendant as a “wolf” and a “predator” violated the Racial Justice Act, the error was harmless).
- California Penal Code 745(l): “When the court finds there has been a violation of subdivision (a), the defendant shall not be eligible for the death penalty.”
- People v. Bankston (2026) 19 Cal.5th 786 (see note 21 above).
- California Penal Code 745(f).
- California Penal Code 745(c)(2) (see note 4 above).
- California Penal Code 745(e)(1)-(2) (see note 23 above).
- California Penal Code 745(j)(1)-(5) (see note 5 above).
- California Penal Code 745(g).