Federal habeas corpus (§ 2254 / § 2255)
You selected federal habeas without marking these earlier rungs complete: Direct appeal; State post-conviction / state habeas; Discretionary review (state supreme court). Federal habeas requires that you first EXHAUST every federal claim in the state courts (28 U.S.C. § 2254(b)(1)). Filing before you finish the state ladder can get the petition dismissed as unexhausted, and while you go back the AEDPA one-year clock (28 U.S.C. § 2244(d)(1)) may run out — losing the option permanently. Do not file until these are done or a lawyer confirms an exception applies.
Federal habeas is not the next appeal after a loss — it is the LAST step, and it is booby-trapped. Before filing you generally must have taken every federal claim through your state’s ENTIRE process (direct appeal AND state post-conviction) up to the state’s highest court (28 U.S.C. § 2254(b)(1); Rose v. Lundy, 455 U.S. 509 (1982)). Filing prematurely, missing the AEDPA one-year clock (28 U.S.C. § 2244(d)(1)), or defaulting a claim (Coleman v. Thompson, 501 U.S. 722 (1991)) can lose the option forever, and a second petition needs the court of appeals’ permission (28 U.S.C. § 2244(b); § 2255(h)). Talk to a lawyer or a federal-defender’s office BEFORE you file.
What this is
A collateral attack in FEDERAL court on a conviction or sentence that violates the U.S. Constitution or federal law. State prisoners use 28 U.S.C. § 2254; federal prisoners use a § 2255 motion in the sentencing court. It is not a second appeal — the review is narrow and deferential to the state courts.
Where it sits in the ladder
This sits ABOVE all the state rungs on purpose. Congress built exhaustion in: a state prisoner must first give the state courts — through direct appeal AND state post-conviction, up to the state’s highest court — a fair chance to fix the error. Only then does the federal door open.
What "burning" this option means
This is the rung people burn most often, and the burns are usually permanent:
• EXHAUSTION — filing before you have taken every federal claim through the full state process (28 U.S.C. § 2254(b)(1)) gets the petition dismissed; see Rose v. Lundy, 455 U.S. 509 (1982).
• AEDPA 1-YEAR CLOCK — you generally have one year (28 U.S.C. § 2244(d)(1)) that keeps running; miscount it and the petition is time-barred no matter how strong it is.
• PROCEDURAL DEFAULT — a claim the state rejected on an independent state procedural ground is usually barred federally; see Coleman v. Thompson, 501 U.S. 722 (1991).
• SUCCESSIVE-PETITION BAR — a second petition needs a court of appeals’ permission first (28 U.S.C. § 2244(b); § 2255(h)). Firing off a weak petition early can spend your one shot.
Who the respondents are
In a § 2254 petition the respondent is your immediate custodian — the warden or superintendent of the facility holding you (named by title). The your state Attorney General represents the state. In a § 2255 motion the respondent is the United States, litigated by the U.S. Attorney in the sentencing district. Look up the office through the directory.
Deadlines that can end the option
28 U.S.C. § 2244(d) / § 2255(f)
Generate: Federal habeas petition (§ 2254 / § 2255) — required fields
This is a fill-in-the-blank scaffold of the sections your document needs. It is AI-generated structure, not a completed filing and not legal advice — fill each field with your own case’s facts, or take it to an attorney or your court’s self-help center.
Format & length rules
- Federal courts require the official AO 241 (§ 2254) / AO 243 (§ 2255) form in most districts
28 U.S.C. § 2254 / § 2255; Rules Governing § 2254 & § 2255 Cases - One-year AEDPA clock — count it precisely and note any statutory tolling
28 U.S.C. § 2244(d)