← All guides · Document details
How to prepare a petition for writ of habeas corpus
Challenges the lawfulness of imprisonment itself - asking a court to order the custodian to justify the confinement because the conviction or sentence violates the constitution or the court lacked authority.
When you need it
- I am in custody under a conviction obtained in violation of my constitutional rights.
- My sentence exceeds what the law allows, or I am held past my lawful release date.
- My direct appeal is over and this is the vehicle my state provides to raise custody claims.
What you will need
- State the conviction and sentence, the facility or supervision holding you, and the custodian name if your state requires naming the warden or custodian.
- State each ground separately and specifically: the right violated, the facts supporting it, and the evidence for those facts. Avoid conclusions without facts.
- List your appeal, its result and date, and every prior petition or motion attacking this conviction, with results.
- Was each ground presented on appeal or to the highest state court as the rules require? Explain any ground that was not.
- When did the conviction become final, what filing deadline applies in your state, and is this a first petition? Explain any delay.
- Copy of the judgment and sentence (attach)
- Memorandum of Law / Brief in Support
- Affidavit of the Petitioner (for facts outside the record)
Step by step
- Start the free interview and answer the questions about your situation — 5 questions for this document.
- Review every answer on the review screen and fix anything that is wrong.
- Sign on screen, then download the finished PDF ($5, or included with membership).
- File the PDF with the court named in the caption and pay any filing fee the court requires — confirm the amount and accepted payment methods with the clerk.
- Serve a copy on the other party the way your court requires, and keep proof of service.
- Calendar any response deadline or hearing date the court gives you.
Watch out for
- Second or successive petitions are barred or tightly restricted in most systems - a first petition should raise every ground you have, because there may be no second chance.
- State habeas deadlines and the one-year federal habeas clock (AEDPA) are different systems with different rules. Filing in one does not automatically protect the other.
Can you do it yourself?
Rarely successful without a lawyer, though filed pro se constantly from custody. Procedural default, exhaustion, and successive-petition rules end most petitions before the merits are ever reached.
Common questions
What does a Petition for Writ of Habeas Corpus do?
Challenges the lawfulness of imprisonment itself - asking a court to order the custodian to justify the confinement because the conviction or sentence violates the constitution or the court lacked authority.
Can I do this myself?
Rarely successful without a lawyer, though filed pro se constantly from custody. Procedural default, exhaustion, and successive-petition rules end most petitions before the merits are ever reached.
How much does a Petition for Writ of Habeas Corpus cost on quikForm?
The interview is free. The finished PDF with next-step instructions is $5, or included at no extra charge with a membership.
Is this legal advice?
No. quikForm prepares documents from your answers. It is not a law firm and does not review your case. For complicated situations, talk to a lawyer or your local legal aid office.
Document preparation, not a law firm — this is not legal advice.