Habeas corpus cases let a person in custody ask a federal court to decide whether their imprisonment violates the Constitution or federal law. The writ traces back to Article I, Section 9 of the Constitution, and it forces the government to justify why it is holding someone.1Congress.gov. Article I Section 9 – Powers Denied Congress In practice, these petitions are hard to win, bound by a one-year filing deadline, and governed by rules that trip up most people who try to use them.
How a Habeas Case Differs From an Appeal
A direct appeal asks a higher court to review errors from your trial. A habeas case is something else. Federal law treats it as a separate civil lawsuit. The prisoner becomes the plaintiff (the “petitioner”), and the warden or corrections official becomes the defendant (the “respondent”). The only question is whether the detention itself is unlawful.
Which statute you use depends on who convicted you. A state prisoner files under 28 U.S.C. § 2254, asking a federal court to review a state conviction.2Office of the Law Revision Counsel. 28 US Code 2254 – State Custody; Remedies in Federal Courts A federal prisoner files a motion under 28 U.S.C. § 2255 in the court that sentenced them, asking that court to vacate, set aside, or correct the sentence.3Office of the Law Revision Counsel. 28 USC 2255 – Federal Custody; Remedies on Motion Attacking Sentence A § 2255 motion is technically a step within the original criminal case rather than a true habeas petition, but it works along similar lines.
Grounds That Actually Work
A petition has to rest on a specific constitutional violation. General complaints about unfairness will not survive the first look by a judge. A handful of claims make up most of the cases federal courts see.
Ineffective Assistance of Counsel
The Sixth Amendment guarantees competent representation, and this is by far the most common habeas claim. Under Strickland v. Washington, the petitioner has to show two things: that the lawyer’s performance fell below an objective standard of reasonableness, and that the poor performance created a reasonable probability of a different outcome.4Justia. Strickland v. Washington, 466 US 668 Both prongs matter. Mistakes alone are not enough if they did not change the result.
Vague allegations fail. The petition has to name the specific failures: an alibi witness never contacted, a suppression motion never filed, a plea offer never passed along. Courts give heavy deference to attorney decisions, so these claims win less often than petitioners expect.
Prosecutorial Misconduct and Brady Violations
Under Brady v. Maryland, prosecutors must turn over evidence favorable to the defense and material to guilt or punishment.5Justia. Brady v. Maryland, 373 US 83 When the government withholds that evidence, intentionally or not, the resulting conviction can be challenged on due process grounds. The petitioner has to show the evidence existed, that the prosecution had it, and that it was significant enough to undermine confidence in the verdict.
Discriminatory Jury Selection
Prosecutors cannot use peremptory strikes to remove jurors because of race. Under Batson v. Kentucky, once a defendant shows that race likely drove the strikes, the prosecution must offer a race-neutral explanation.6Justia. Batson v. Kentucky, 476 US 79 A trial court that accepted a pretextual reason has let the conviction rest on a flawed process.
Sentencing and Jurisdictional Errors
A sentence that exceeds the statutory maximum, that was based on demonstrably false information, or that came from a court without jurisdiction raises a constitutional problem. Disagreeing with the length of a lawful sentence does not count. The error has to make the sentence itself illegal, not merely harsh.
Newly Discovered Evidence and Actual Innocence
New evidence that was genuinely unavailable at trial, most often DNA results, can support a petition if it is strong enough to show that no reasonable juror would have convicted. The bar is extremely high. A convincing showing of actual innocence can also act as a gateway that rescues other constitutional claims otherwise blocked by procedural rules. In McQuiggin v. Perkins, the Supreme Court held that actual innocence can overcome the one-year filing deadline entirely, if the petitioner shows that “it is more likely than not that no reasonable juror would have convicted him in the light of the new evidence.”7Justia. McQuiggin v. Perkins, 569 US 383
The One-Year Filing Deadline
This is where most habeas cases die. Under the Antiterrorism and Effective Death Penalty Act of 1996 (AEDPA), a state prisoner has one year to file a federal habeas petition. The clock usually starts the day the conviction becomes final, meaning the day the time to petition the U.S. Supreme Court for certiorari expires, or the day the Supreme Court denies certiorari if one was filed.8Office of the Law Revision Counsel. 28 USC 2244 – Finality of Determination Miss the deadline and a federal court will almost certainly dismiss the petition without reaching the merits.
The statute recognizes three alternative start dates, and the one-year clock runs from whichever is latest. The clock can start when the state removes an unconstitutional obstacle to filing, when the Supreme Court recognizes a new constitutional right and makes it retroactive, or when the factual basis for the claim could not have been discovered earlier through reasonable diligence.
When the Clock Pauses
The one-year period stops running while a properly filed state post-conviction petition or other collateral review is pending in state court.8Office of the Law Revision Counsel. 28 USC 2244 – Finality of Determination This statutory tolling is automatic, but only for the time the state application is actually pending. Days that ran before the state filing still count. Filing a state motion after the federal deadline has already passed does not revive it.
Equitable tolling is available in rare cases. In Holland v. Florida, the Supreme Court held that a petitioner who has pursued their rights diligently can get additional time if some extraordinary circumstance beyond their control prevented timely filing.9Justia. Holland v. Florida, 560 US 631 An attorney who abandons a client or actively misleads them about the deadline might qualify. Ordinary neglect does not.
For a pro se prisoner, the petition is considered filed on the date it is handed to prison authorities for mailing, not the date the court receives it. This is the prison mailbox rule from Houston v. Lack. Keeping records of the mailing date can prevent later disputes.
Who Can File
Exhaustion of State Remedies
A federal court will not consider a state prisoner’s petition until the state courts have had a full chance to address every claim. Under 28 U.S.C. § 2254, each federal constitutional issue must have been presented to the highest state court available through direct appeal, post-conviction motions, or both.2Office of the Law Revision Counsel. 28 US Code 2254 – State Custody; Remedies in Federal Courts A claim raised for the first time in federal court will typically be dismissed.
If a claim could have been raised in state court but the petitioner failed to follow state procedural rules, it is “procedurally defaulted.” Federal courts generally refuse to review defaulted claims unless the petitioner shows a legitimate reason for the default and actual prejudice from the constitutional violation. The alternative is showing that refusing to hear the claim would create a fundamental miscarriage of justice, which in practice means credible evidence of actual innocence.
The “In Custody” Requirement
You must be in custody under the conviction you are challenging at the time you file. Physical imprisonment is the clearest form of custody, but the term reaches further. Parole, probation, or supervised release qualify because each restricts liberty in ways the general public does not experience. Even release on personal recognizance while awaiting sentencing can satisfy the requirement. Once a sentence has fully expired and all supervision has ended, the ability to challenge that conviction through habeas is generally gone.
No Guaranteed Right to a Lawyer
There is no constitutional right to appointed counsel in a habeas case. Congress reinforced the point in 28 U.S.C. § 2254(i), which says ineffective assistance during post-conviction proceedings is not itself a ground for habeas relief.10Office of the Law Revision Counsel. 28 USC 2254 – State Custody; Remedies in Federal Courts A federal court can appoint counsel in a complex case, particularly when an evidentiary hearing is ordered, but most petitioners handle the process without a lawyer. That makes careful preparation of the petition itself all the more important.
Why Winning Is Hard Even With a Good Claim
Even a legitimate constitutional claim that clears every procedural hurdle still faces a steep deference standard. Under 28 U.S.C. § 2254(d), a federal court cannot grant relief on any claim a state court already decided on the merits unless that decision was “contrary to, or involved an unreasonable application of, clearly established Federal law, as determined by the Supreme Court” or was “based on an unreasonable determination of the facts.”10Office of the Law Revision Counsel. 28 USC 2254 – State Custody; Remedies in Federal Courts
Read that carefully. The federal court does not ask whether the state court got it wrong. It asks whether the state court got it so wrong that no reasonable judge could have reached the same conclusion. A federal judge who disagrees with the state court’s reasoning must still deny the petition if the state court’s decision falls within the range of defensible readings of Supreme Court precedent. The grant rate for federal habeas petitions is extremely low.
Preparing the Petition
Federal courts provide standardized forms. State prisoners use Form AO 241 for petitions under § 2254.11United States Courts. Petition for Writ of Habeas Corpus Under 28 USC 2254 Federal prisoners use Form AO 243 for § 2255 motions.12United States Courts. Motion to Vacate/Set Aside Sentence – Motion Under 28 USC 2255 Using the right form matters, because courts routinely reject filings submitted in the wrong format.
The petition asks for the full name of the custodial official (usually the warden), the court that entered the conviction, the case number, and the exact dates of judgment and sentence. It also requires a complete list of every appeal and post-conviction motion previously filed, with dates and outcomes. The federal court uses that history to verify exhaustion.
Each ground for relief must be stated separately and backed up with specific facts. Saying “my lawyer was ineffective” means nothing without detail. The petition should identify what the attorney failed to do, why it mattered, and how it changed the outcome, pointing to specific parts of the record. Attaching copies of the judgment, relevant orders, and key transcript excerpts strengthens the filing.
Filing and What Happens Next
The completed petition goes to the clerk of the U.S. District Court in the district where the petitioner is confined (for § 2254) or where the conviction occurred (for § 2255). The filing fee is $5.13Office of the Law Revision Counsel. 28 USC 1914 – District Court; Filing and Miscellaneous Fees A petitioner who cannot afford it can apply to proceed without prepayment by filing an affidavit of inability to pay and a certified statement of the prison trust account from the previous six months.14Office of the Law Revision Counsel. 28 US Code 1915 – Proceedings In Forma Pauperis
A judge reviews the petition first. If it plainly fails to state a viable claim, the court can dismiss it without even notifying the respondent. Petitions that survive this screening move forward.
The court then orders the respondent, usually the state attorney general’s office, to answer. Response deadlines commonly run around 60 days. The answer typically argues that the petition is procedurally barred, that the claims lack merit, or both. The petitioner then has a chance to file a reply (sometimes called a “traverse”) addressing the government’s arguments.
In many districts, a magistrate judge handles the initial review and issues a Report and Recommendation to the district judge, with proposed findings and a recommended ruling.15Legal Information Institute. Federal Rules of Civil Procedure Rule 72 – Magistrate Judges: Pretrial Order Each side has 14 days to object. Objected-to portions get fresh review by the district judge; the rest get only a cursory look. Missing the 14-day window can effectively waive meaningful review.
If factual disputes cannot be resolved on the paper record, the petitioner can request an evidentiary hearing. Courts grant them sparingly, and AEDPA adds restrictions: a petitioner who failed to develop the record in state court generally cannot get a federal hearing unless the claim relies on a new, retroactive constitutional rule or on facts that could not have been found earlier through due diligence.
After briefing and any hearing, the judge issues a written opinion. A grant can mean immediate release, a new trial within a set time, or resentencing. A denial means the petitioner stays in custody, though the case may continue if the petitioner can get permission to appeal.
Appealing a Denial
A petitioner cannot appeal a denial as of right. Under 28 U.S.C. § 2253(c), both § 2254 petitions and § 2255 motions require a Certificate of Appealability (COA).16Office of the Law Revision Counsel. 28 USC 2253 – Appeal The petitioner has to make “a substantial showing of the denial of a constitutional right,” which Slack v. McDaniel defined as showing that reasonable jurists could debate whether the petition should have been resolved differently.17Justia. Slack v. McDaniel, 529 US 473
The district judge who denied the petition can grant or deny the COA, and the circuit court can also act on the request. When the denial rested on procedural grounds, the petitioner faces a double hurdle: showing both that the procedural ruling is debatable and that the underlying constitutional claim deserves further examination. The COA must specify which issues qualify; the appeal is limited to those.
Second or Successive Petitions
AEDPA makes a second federal habeas petition extraordinarily hard to file. Any claim already raised in a prior petition will be dismissed. A new claim will also be dismissed unless it meets one of two narrow exceptions: it relies on a new, retroactive rule of constitutional law from the Supreme Court, or the factual basis could not have been discovered earlier through reasonable diligence and the new facts, if proven, would establish by clear and convincing evidence that no reasonable factfinder would have found the petitioner guilty.8Office of the Law Revision Counsel. 28 USC 2244 – Finality of Determination
Before a second petition can even reach the district court, the petitioner must get permission from the appropriate circuit court of appeals. A three-judge panel decides the request within 30 days, and that decision is final. It cannot be appealed or made the subject of a certiorari petition.8Office of the Law Revision Counsel. 28 USC 2244 – Finality of Determination For most petitioners, the first federal habeas petition is the only real chance to raise constitutional claims. Getting it right the first time is functionally mandatory.