Quick summary
A habeas corpus petition in California asks a court to rule that you are being held unlawfully, usually because something went seriously wrong in your conviction or sentence. It is governed by Penal Code 1473 and the California Constitution.
- Who can file: Anyone “in custody,” which includes prison or jail and also parole, probation or release on bail or your own recognizance.
- Common grounds: Ineffective assistance of counsel, false evidence, new evidence of innocence, hidden evidence or other prosecutorial misconduct, and racial bias under the Racial Justice Act.
- Deadline: California sets no fixed deadline, but you must file without substantial delay. A federal petition generally must be filed within 1 year.
- Example: Two years after Luis’s trial, a witness admits she lied. His lawyer files a habeas petition based on false evidence, and the court orders a new trial.
Our California criminal defense attorneys answer these questions in this article:
- 1. What is habeas corpus?
- 2. What is the process for bringing a habeas corpus petition?
- 3. What are the grounds for a writ of habeas corpus?
- 4. What happens if my petition is granted?
- 5. What are my options if my petition is denied?
- 6. Do I need an attorney?
1. What is habeas corpus?
In California, habeas corpus is a legal procedure that lets you challenge your custody, conviction or sentence, or the conditions of your confinement. The petition asks a court to order whoever is holding you, such as a prison warden, to justify why you are being held.
The California Constitution guarantees the right to seek habeas corpus.1 Courts call it an “extraordinary remedy,” reserved for serious errors that can’t be fixed some other way.2 It doesn’t replace an appeal. Instead, it is often used for problems that don’t show up in the trial record, such as a lawyer’s mistakes, new evidence or hidden evidence. A habeas petition can be filed while an appeal is still pending, or after it ends.
2. What is the process for bringing a habeas corpus petition?
A habeas petition is usually filed first in the California superior court where you were convicted. It can be filed on the Judicial Council’s form MC-275 or as a written petition.3 To get relief, you generally must show that:
- you are “in custody,” which includes being in state prison or county jail, or on parole, probation, bail or own recognizance release,4 and
- your claim isn’t one that was already raised and rejected on appeal, or one that you could have raised on appeal but didn’t, unless an exception applies (for example, the claim depends on facts outside the trial record or on a change in the law).5
Deadlines to file
California has no fixed statute of limitations for most habeas petitions. But you must file without “substantial delay,” and if you wait, you must explain why. A petition filed long after you knew of the claim can be denied as untimely.6 In our experience, petitions have the best chance when they are filed as soon as the problem is discovered.
Special deadlines apply to some other post-conviction motions, such as a motion to vacate a conviction for immigration reasons under PC 1473.7, and to federal habeas petitions (see section 5).
3. What are the grounds for a writ of habeas corpus?
A California habeas petition must identify a serious legal error and support it with facts, usually with declarations signed under penalty of perjury. Common grounds include:
- ineffective assistance of counsel, meaning your lawyer’s performance fell below professional standards and it likely affected the outcome,
- false evidence that was material to guilt or punishment was used against you,7
- new evidence, presented without substantial delay, that is admissible, material and credible enough that it more likely than not would have changed the outcome,8
- a significant dispute has emerged in your favor about expert medical, scientific or forensic testimony that more likely than not affected the outcome,9
- prosecutorial misconduct, such as hiding evidence favorable to the defense,10
- a conviction or sentence sought, obtained or imposed in violation of the Racial Justice Act (PC 745),11
- you were incompetent to stand trial,
- a change in the law since your conviction that applies to your case, and
- unlawful conditions of confinement, such as cruel and unusual punishment.
If your petition raises a Racial Justice Act claim, the court must appoint a lawyer once you plead a plausible violation. That is a low bar, lower than the usual showing needed to get a hearing, and the court has to accept your factual allegations as true at that stage.12
4. What happens if my petition is granted?
If a California court grants your habeas petition, it can order relief such as:
- your release,
- a new trial,
- vacating or reducing a conviction, or
- a new or modified sentence, or changes to the conditions of your confinement.
The steps before a decision
The court first decides whether the petition states a case for relief. If it does, it issues an “order to show cause,” and the prosecution files a response called a “return.” You can then file a reply called a “traverse.” If the facts are in dispute, the court holds an evidentiary hearing before deciding.13 Before issuing an order to show cause, the court may also ask the other side for an informal response.14
5. What are my options if my petition is denied?
If a superior court denies your petition, you can file a new petition in the California Court of Appeal, and then in the California Supreme Court. Once you have gone through the state courts, you may be able to file a federal habeas petition.
Federal habeas relief for state prisoners is very limited. You must generally show that:
- your custody violates the U.S. Constitution or federal law,15
- you have exhausted the remedies available in the California courts, and
- the California courts’ decision was contrary to, or an unreasonable application of, clearly established U.S. Supreme Court law, or was based on an unreasonable determination of the facts.
Federal law also has a 1-year deadline, which generally runs from when your conviction became final. The time a properly filed state habeas petition is pending doesn’t count against it, and in rare cases the deadline can be extended (“tolled”) for good cause.16
6. Do I need an attorney?
It is strongly recommended. A lawyer can:
- review the trial record and investigate facts outside it to find claims that can support a petition,
- gather declarations, expert opinions and other evidence,
- research the case law that supports your claims,
- file the petition promptly, in the right court and in the correct form, and
- take the case to the higher state courts, and to federal court if needed.
If you or a loved one wants to challenge a California conviction or sentence, our California criminal defense attorneys offer a free consultation. Contact Shouse Law Group to discuss the case.
Legal references:
- California Constitution, article I, section 11: “Habeas corpus may not be suspended unless required by public safety in cases of rebellion or invasion.”
- In re Clark (1993) 5 Cal.4th 750 (parts superseded by statute for capital cases, as stated in In re Friend (2021) 11 Cal.5th 720).
- Judicial Council form MC-275, Petition for Writ of Habeas Corpus; California Rules of Court, rule 4.551.
- California Penal Code 1473(a) PC: “A person unlawfully imprisoned or restrained of their liberty, under any pretense, may prosecute a writ of habeas corpus to inquire into the cause of the imprisonment or restraint.”
- In re Harris (1993) 5 Cal.4th 813 (overruled in part on an unrelated issue by Shalabi v. City of Fontana (2021) 11 Cal.5th 842).
- In re Robbins (1998) 18 Cal.4th 770; Robinson v. Lewis (2020) 9 Cal.5th 883.
- Penal Code 1473(b)(1)(A) (see note 4 above).
- Penal Code 1473(b)(1)(C) (see note 4 above): “New evidence exists that is presented without substantial delay, is admissible, and is sufficiently material and credible that it more likely than not would have changed the outcome of the case.”
- Penal Code 1473(b)(1)(D) (see note 4 above) (as amended through Stats. 2025, ch. 784 (SB 734), effective January 1, 2026).
- People v. Kasim (1997) 56 Cal.App.4th 1360 (prosecution’s failure to disclose evidence favorable to the defense).
- Penal Code 1473(e) (see note 4 above); California Penal Code 745 PC.
- Terrell v. Superior Court (Nov. 20, 2026, A175811) __ Cal.App.5th __ [slip opn. pp. 11-12]: the requirement “should be construed as a minimal pleading requirement”; Penal Code 1473(e)(5).
- People v. Duvall (1995) 9 Cal.4th 464.
- Rules of Court, rule 4.551 (see note 3 above).
- 28 U.S.C. 2254.
- 28 U.S.C. 2244(d).