How to File a Writ of Habeas Corpus in California

To file a writ of habeas corpus in California, you complete Judicial Council Form MC-275, state the facts and the specific constitutional violation you’re challenging, attach the records and declarations that back up your claim, and file the petition in the superior court of the county where you were convicted or where you’re currently held. If that court denies relief, you can file a new petition in the Court of Appeal and, after that, the California Supreme Court. The process sounds mechanical, but the petition itself has to do real work: it must present something the trial court and direct appeal did not already resolve, and it must be supported well enough to survive an initial screening.

Confirm You Are Still “In Custody”

You must be in custody to file. The definition reaches beyond a prison cell. Parole and probation count, as do supervised release conditions that limit where you can live or travel. Federal courts have recognized since the early 1960s that any significant government restraint on your liberty qualifies for habeas purposes.1Office of the Law Revision Counsel. 28 U.S. Code 2254 – State Custody; Remedies in Federal Courts

If your sentence has fully expired and you’re no longer under any form of supervision, you lose standing. People sometimes discover a viable claim years after release and find the courthouse closed to them. If you have grounds, don’t wait until the sentence runs.

Identify the Claim You Are Bringing

A habeas petition needs a specific constitutional or statutory basis for relief. Penal Code section 1473 lists grounds but is not exhaustive.2California Legislative Information. California Penal Code 1473 – Writ of Habeas Corpus The claims that most often support relief include:

  • Ineffective assistance of counsel, where your attorney’s performance fell below an objective standard of reasonableness and there is a reasonable probability the result would otherwise have been different, under the two-part test of Strickland v. Washington. Concrete failures, such as an uninvestigated alibi witness or objectively wrong plea advice, carry more weight than complaints about strategy.3Justia U.S. Supreme Court Center. Strickland v. Washington, 466 U.S. 668 (1984)
  • Prosecutorial misconduct, including suppression of material evidence favorable to the defense under the Brady rule, knowing use of false testimony, or witness coercion.
  • Newly discovered evidence that is credible, material, admissible, could not have been found earlier with reasonable diligence, and is strong enough that it more likely than not would have changed the outcome at trial.2California Legislative Information. California Penal Code 1473 – Writ of Habeas Corpus
  • Unconstitutional sentencing, including sentences that exceed the legal maximum, rest on a statute later invalidated, or were imposed under a legal theory now foreclosed. California’s own sentencing changes have opened resentencing avenues: Senate Bill 1437 narrowed felony murder liability, and people convicted under the old standard can petition under Penal Code section 1172.6. Miller v. Alabama similarly opened relief for juveniles sentenced to mandatory life without parole.4Justia U.S. Supreme Court Center. Miller v. Alabama, 567 U.S. 460 (2012)
  • Racial Justice Act claims under Penal Code section 745, where race was a factor in seeking, obtaining, or imposing your conviction or sentence. A pending petition may be amended to add this claim.

The petition must present something new. Rehashing arguments already decided on direct appeal will get you a denial without a hearing. The claim needs to raise an issue that wasn’t or couldn’t have been raised on appeal, or present evidence that wasn’t available earlier.

Choose the Right Court

The California Constitution gives original habeas jurisdiction to the Supreme Court, the courts of appeal, and superior courts.5California Legislative Information. California Constitution, Article VI, Section 10 In practice, you start at the superior court, and the general rule is to file in the county where you were convicted or where you are currently incarcerated.

If the superior court denies your petition, you file a new petition in the Court of Appeal rather than a traditional appeal. A denial there lets you petition the California Supreme Court, though that court takes habeas cases only when they raise significant legal questions or matters of statewide importance. Each court independently evaluates whether the petition states a viable claim.

Fill Out and File Form MC-275

Habeas petitions are filed on Judicial Council Form MC-275, available through the California Courts website.6California Courts. Writ of Habeas Corpus Petition (MC-275) The form asks for your personal information, case details, a clear statement of the facts supporting your claim, and the specific constitutional violation you’re alleging.

Attachments do the heavy lifting. Include the portions of the trial record that show the problem, declarations from witnesses, expert reports, and any other evidence backing the claim. Incomplete or thinly supported petitions are routinely dismissed, so assemble your documentation before you file rather than hoping to fix it later.

Filing fees can be waived. You qualify if you receive public benefits such as Medi-Cal or CalFresh, your household income falls below specified thresholds, or paying the fee would keep you from meeting basic needs.7Judicial Branch of California. Ask for a Fee Waiver

There is no general constitutional right to appointed counsel in habeas proceedings. California provides appointed attorneys in death penalty habeas cases. In other cases, appointment is discretionary and typically happens only when the petition raises complex issues an unrepresented petitioner cannot effectively litigate.

File Without Substantial Delay

California does not set a fixed filing deadline, but courts require that you file “without substantial delay.” The clock starts when you knew, or reasonably should have known, the facts and legal basis for your claim.8Justia U.S. Supreme Court Center. Walker v. Martin, 562 U.S. 307 (2011) If the court finds you waited too long, you’ll need to show good cause for the delay or a fundamental miscarriage of justice; otherwise the court will not reach the merits.

What counts as reasonable depends on the circumstances. Waiting on new evidence to develop is different from sitting on a known claim for years. File as soon as the factual and legal basis is assembled.

Federal habeas has a firmer clock. Under the Antiterrorism and Effective Death Penalty Act, you have one year from the latest of four possible dates: when your conviction became final after direct review, when a government-created obstacle to filing was removed, when the U.S. Supreme Court recognized a new retroactive constitutional right, or when the facts behind your claim could have been discovered through reasonable diligence.9Office of the Law Revision Counsel. 28 U.S. Code 2244 – Finality of Determination Miss the federal deadline and your petition is dead unless equitable tolling applies, which requires extraordinary circumstances beyond your control and diligent pursuit of your rights despite them.

What Happens After You File

The court makes an initial screening decision. If the petition fails to state a viable claim on its face, it is denied without a hearing. If it makes a preliminary showing that you may be entitled to relief, the court issues an order to show cause. At that point the court takes your factual claims as true and asks whether, if proven, they would entitle you to relief.10Judicial Branch of California. Rule 4.551 – Habeas Corpus Proceedings

An order to show cause is not a win. It means your claims deserve a response. The burden shifts to the state, usually represented by the Attorney General or the District Attorney, to justify your continued detention. The state files an opposition, you file a reply, and the court decides whether the written record is enough or whether a live evidentiary hearing is needed.

An evidentiary hearing is where habeas diverges sharply from a direct appeal. You can present new evidence, call witnesses, and introduce expert testimony. The court decides whether you have proven a constitutional violation by a preponderance of the evidence, meaning it is more likely true than not.2California Legislative Information. California Penal Code 1473 – Writ of Habeas Corpus The court has broad authority to compel witnesses and do whatever is necessary for a full and fair hearing.11California Legislative Information. California Penal Code 1484

Possible Outcomes

If the court finds a constitutional violation, the remedy depends on what went wrong. When trial errors undermined the verdict, the court vacates the conviction and orders a new trial. The prosecution then decides whether to retry you, offer a plea, or drop the charges. When the problem is an unlawful sentence rather than the conviction, the court modifies the sentence or orders resentencing under current standards. In rare cases where the evidence of innocence is overwhelming, the court may order immediate release.

If the state disagrees with a favorable ruling, the Attorney General’s office can appeal. The court may grant a stay of release while that appeal is pending, meaning you can remain incarcerated even after winning until the appellate process concludes.

If Your Petition Is Denied

A denial at the superior court is not the end. You can file a new habeas petition in the Court of Appeal, and if that fails, in the California Supreme Court. Appellate review of habeas in California is discretionary; the higher court chooses whether to take your case.

After exhausting state remedies, you can file a federal habeas petition under 28 U.S.C. ยง 2254. Federal review is more limited. The federal court does not start fresh. It asks whether the state court’s decision was contrary to clearly established federal law as determined by the U.S. Supreme Court, or involved an unreasonable application of that law.12Office of the Law Revision Counsel. 28 U.S.C. 2254 – State Custody; Remedies in Federal Courts A state decision can be wrong and still survive federal review as long as it was not unreasonable.

If the federal district court denies the petition, you cannot simply appeal. You need a certificate of appealability, which requires showing that reasonable jurists could disagree about whether the petition should have come out differently. The certificate must specify which issues meet that standard.13Office of the Law Revision Counsel. 28 U.S. Code 2253 – Appeal Without it, the case ends at the district court.

Make the First Petition Count

California courts take a dim view of successive petitions. Under In re Clark, if you fail to raise all known claims in a single, timely petition, later petitions raising those omitted claims are generally denied without consideration.14Justia. In re Clark (1993) The narrow exception is a fundamental miscarriage of justice, which includes actual innocence, a conviction under an unconstitutional statute, or a constitutional trial error so severe that no reasonable factfinder would have convicted.

Federal law is stricter. Before filing a second federal petition, you need advance permission from the court of appeals, and the new claim must rely either on a new rule of constitutional law the Supreme Court has made retroactive, or on newly discovered facts that could not have been found earlier through diligence and that establish by clear and convincing evidence that no reasonable factfinder would have found you guilty.9Office of the Law Revision Counsel. 28 U.S. Code 2244 – Finality of Determination Both exceptions rarely succeed. Get every viable claim into the first petition, supported by everything you have.