⚖ SoapBox law
ConstitutionTreatiesCasesDocketsStatutesRegulationsPrivacy lawAppeals & writsYour rightsDoctrinesMaximsJudgesLawyersFile a complaintOversightDataLibrary

Appeals & extraordinary writs · a pro-se ladder

If you lost and want to keep fighting, there is an order you have to climb — trial loss → appeal → reconsideration → state post-conviction → discretionary review → the Supreme Court → federal habeas → the extraordinary writs (mandamus and its cousins). Take them out of order and you can permanently burn a later option. Pick your jurisdiction, then walk the ladder. This is legal information and a fill-in-the-blank tool — not legal advice.

1 · Your jurisdiction

State, DC, or federal — and the court level. This drives which deadlines and rules apply.

The exhaustion ladder — climb it in order

a step you have marked done · a gated step whose earlier rungs are not marked done · steps are numbered in the order you must climb them.

The direct appeal is the ordinary, first-as-of-right challenge to a final judgment. You ask a higher court to review the trial record for legal error — you generally do NOT get to add new evidence. It is the base of the ladder: almost everything above it assumes you took, or gave up, this step first.
A motion asking the SAME court that ruled to reconsider — for legal error, or a new trial (in a criminal case, often on newly discovered evidence). It is filed back in the trial court, not up the ladder.
A separate (collateral) proceeding in state court to raise things a direct appeal could not — most often ineffective assistance of counsel, newly discovered evidence, or a constitutional violation that lives outside the trial record. Every state has its own vehicle (post-conviction relief, a state habeas petition, a "coram nobis"-style motion, etc.).
After an intermediate appellate court rules, you ask the state’s highest court to review it. In most states this is DISCRETIONARY — the court chooses whether to take the case (a petition for review / petition for discretionary review), it is not an appeal of right.
A petition for a writ of certiorari asks the U.S. Supreme Court to review a final judgment of a state court of last resort (on a federal question) or a U.S. Court of Appeals. It is almost entirely discretionary — the Court grants a tiny fraction of petitions.
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.
An extraordinary writ ordering a government officer, court, or agency to perform a clear, non-discretionary DUTY it is refusing to do (or, in aid of jurisdiction, to stop exceeding its authority). In federal district court it rests on 28 U.S.C. § 1361; appellate mandamus rests on the All Writs Act, 28 U.S.C. § 1651. To compel a federal AGENCY specifically, the everyday vehicle is the APA: 5 U.S.C. § 706(1) lets a court "compel agency action unlawfully withheld or unreasonably delayed."
An ancient writ to correct a fundamental error in a case where the sentence has already been served, so habeas (which requires being "in custody") is unavailable — for example, to clear a conviction still causing collateral consequences. In federal court it is recognized under the All Writs Act: United States v. Morgan, 346 U.S. 502 (1954).
Mandamus’s mirror image: instead of ordering a lower court/official to ACT, prohibition orders it to STOP — to refrain from exceeding its jurisdiction or authority. Like mandamus it is an extraordinary writ under the All Writs Act (or a state equivalent).
A special writ challenging a person’s RIGHT to hold a public office or exercise a public franchise — "by what authority?" It is usually brought by a government attorney (an Attorney General or, federally, the U.S. Attorney), not a private individual, and it stands apart from the appeal/habeas ladder rather than on top of it.

✓ You have marked this step done. Undo

Federal habeas corpus (§ 2254 / § 2255)

You have not marked the earlier steps done — filing habeas now can BURN it

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.

Exhaust state remedies FIRST — filing too soon can burn this option permanently

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

AEDPA one-year clock Generally one year, running (for state prisoners) from when the conviction became final on direct review; statutory tolling applies while a properly-filed state post-conviction petition is pending. Miscounting this is a leading cause of dismissal. 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.

Court
The full name of the court you are filing in (e.g. "United States Court of Appeals for the Ninth Circuit").
Parties
Who is who on appeal — Appellant/Petitioner vs. Appellee/Respondent (name the party bringing the challenge first).
Case / docket number
The lower court’s case number, and the new appellate number once assigned.
Caption
The formatted heading block: court, parties, case number, and the title of the document.
Petitioner & custody
Your name and where you are held; § 2254 requires being "in custody" under the challenged judgment.
Respondent
For § 2254, the warden/custodian who holds you (named as respondent); for § 2255, the United States in the sentencing court.
Judgment under attack
The court, case number, offense, sentence, and dates of the conviction you are challenging.
Exhaustion of state remedies
For EACH ground, the state proceedings where you raised it, up to the state’s highest court (28 U.S.C. § 2254(b)(1)).
Grounds for relief
Each federal constitutional/legal ground, with the supporting facts.
Timeliness (AEDPA)
Why the petition is within the one-year limit (28 U.S.C. § 2244(d)(1) / § 2255(f)), and any tolling.
Relief requested
What you want — the writ issued, conviction/sentence vacated, a new trial or resentencing.
Certificate of service
A signed statement of the date and manner you served every other party with a copy.

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)

Governing statutes

State prisoners — federal habeas 28 U.S.C. § 2254
Federal prisoners — motion to vacate 28 U.S.C. § 2255
Exhaustion of state remedies required 28 U.S.C. § 2254(b)(1)
AEDPA one-year limitation (state) 28 U.S.C. § 2244(d)(1)
AEDPA one-year limitation (federal) 28 U.S.C. § 2255(f)
Second/successive petition bar 28 U.S.C. § 2244(b)

Governing authorities (verified)

Rose v. Lundy 455 U.S. 509 (1982)
A "mixed" habeas petition (containing both exhausted and unexhausted claims) must be dismissed — the total-exhaustion rule.
Coleman v. Thompson 501 U.S. 722 (1991)
A claim the state court rejected on an independent and adequate state procedural ground is procedurally defaulted and generally barred from federal habeas review.

Local ordinances — read them yourself

If your issue is a city or county ordinance, you can pull the actual text here and work through it yourself (or with an AI helper). These are finders and official code portals — we link where the codes live, not a guess at any one ordinance’s URL.

Find your city / county code

The largest host of municipal & county codes — pick your state, then your city/county to read its ordinances.
The other major municipal-code host; many mid-size and large cities publish here.
A third national code host, common in the Northeast and Midwest.
Official Library of Congress research guide to finding state and local law.
Plain-language background on how municipal ordinances work and where they sit under state law.

Example jurisdiction code portals

Example of a city’s own code/rules portal (NYC).
Example of a large-city code hosted on a national platform.

AI-generated — not legal advice. Everything this tool produces is AI-generated legal INFORMATION and fill-in-the-blank structure. It is not legal advice, it is not a lawyer, and it does not create an attorney-client relationship. Deadlines, page limits, and procedures vary by court and change over time — verify every specific in your court’s own rules before you rely on it.

What to do with it: take the draft or notes to a licensed attorney, a legal-aid clinic, or your court’s self-help center; and file through the court’s official system. Most courts use an e-filing portal (federal courts: PACER/CM-ECF; many state courts have their own e-file site) and publish free pro-se packets and clerk help lines. When a deadline or a right is on the line, get a human lawyer — a federal-defender or public-defender office for criminal/habeas matters.

Frequently asked questions

What is the "exhaustion ladder" for appeals?

It is the fixed order you must challenge a court loss in: direct appeal, then a motion for reconsideration or new trial, then state post-conviction/state habeas, then discretionary review in the state supreme court, then certiorari to the U.S. Supreme Court, then federal habeas corpus, and only then the extraordinary writs like mandamus. Taking a step out of order can permanently forfeit ("burn") a later option.

Why can filing federal habeas too early hurt me?

Federal habeas (28 U.S.C. § 2254 for state prisoners, § 2255 for federal) requires that you first exhaust state remedies (28 U.S.C. § 2254(b)(1)). Filing before you finish the state process can get the petition dismissed, the AEDPA one-year clock (28 U.S.C. § 2244(d)(1)) can run out, a claim can be procedurally defaulted, and a second petition needs the court of appeals’ permission. Get a lawyer or a federal-defender office before filing.

When is a writ of mandamus appropriate?

Mandamus is a last resort after ordinary appeals fail and an official or agency still refuses to perform a clear, non-discretionary duty, when no other adequate remedy exists. It rests on statute now — 28 U.S.C. § 1361, the All Writs Act (§ 1651), and for agencies the APA (5 U.S.C. § 706(1)).

Does this tool give legal advice?

No. It is AI-generated legal information and a fill-in-the-blank scaffold — not legal advice and not a lawyer. Deadlines and rules vary by court and change; verify every specific in your court’s own rules, and take a draft to a licensed attorney, a legal-aid clinic, or your court’s self-help center.