Habeas Corpus Petition - State

All states Criminal Law Updated September 26, 2026 Free Word and PDF

PETITION FOR STATE WRIT OF HABEAS CORPUS

In the [EXACT COURT] of [COUNTY / DISTRICT], [STATE]

Party Role
[DETAINED PERSON'S FULL NAME] Petitioner
[PERSON WITH PRESENT CUSTODY OR RESTRAINT, NAME AND TITLE] Respondent

Petition number: [NUMBER / ASSIGNED ON FILING]

Detention or restraint location: [FACILITY / ADDRESS / OTHER RESTRAINT]

Petitioner [NAME], or [AUTHORIZED PERSON AND BASIS FOR ACTING ON PETITIONER'S BEHALF], petitions for a state writ of habeas corpus under [EXACT CURRENT STATE CONSTITUTIONAL OR STATUTORY AUTHORITY AND COURT RULE]. Petitioner challenges the present restraint described below and requests the relief authorized by that law.

1. Court, custody, and respondent

  1. This Court may hear the petition because [EXACT JURISDICTION AND VENUE PROVISION AND FACTS]. Petitioner is presently held or restrained as follows: [STATUS, LOCATION, START DATE, AND NATURE OF RESTRAINT].
  2. Respondent [NAME / TITLE] has the authority or physical custody to produce Petitioner or address the restraint because [FACTS]. If the selected state requires a different respondent, identify that person and explain the basis here: [DETAILS].
  3. The stated cause of detention is [ORDER, WARRANT, JUDGMENT, PROCESS, OR OTHER CLAIMED AUTHORITY], issued by [COURT / OFFICIAL] on [DATE] in case [NUMBER]. A complete copy is attached as Exhibit A, or it could not be obtained because [SPECIFIC REASON AND REQUEST EFFORTS]. If there is no written instrument, describe the custodian's stated reason: [DETAILS].
  4. If required by the selected state's law, Petitioner states whether a United States court has exclusive jurisdiction to order release: [FACTS AND BASIS].

2. Prior proceedings and procedural posture

  1. The underlying case or proceeding, if any, is [COURT, NUMBER, OFFENSE OR CIVIL MATTER, DECISION AND DATE]. The appeal or review taken from the order authorizing restraint is [COURT, NUMBER, ISSUES, DATE, RESULT OR NONE].
  2. Every prior petition for habeas corpus concerning this restraint is identified below. For each, Petitioner states the court, filing date, claims, decision, appeal and any new fact now relied on. If none, state [NONE AFTER RECORD CHECK].
Court and case Filing and decision dates Claims and disposition Appeal/result New fact in this petition
[DETAILS / NONE] [DATES] [DETAILS] [DETAILS] [DETAILS]
[DETAILS] [DATES] [DETAILS] [DETAILS] [DETAILS]
  1. Other proceedings relevant to availability of this remedy, including a pending appeal, postconviction motion, administrative review, or federal petition, are [COURT, NUMBER, STATUS, AND CONNECTION TO THIS CLAIM / NONE]. Any deadline, preclusion, alternate-remedy, or successive-petition issue under [SELECTED STATE LAW] is addressed by [SPECIFIC FACTS AND AUTHORITY].

3. Grounds for relief

Ground One — [SHORT NAME OF CLAIM]

  1. The specific legal basis is [CURRENT STATE CONSTITUTION, STATUTE, RULE OR CONTROLLING CASE]. The challenged act, order, or omission is [EXACT ACT AND DATE].
  2. The material facts are [NUMBERED FACTS BASED ON PERSONAL KNOWLEDGE OR IDENTIFIED RECORDS]. Exhibit [LETTER] and witness [NAME / CONTACT METHOD] support those facts.
  3. The restraint is unlawful under the identified authority because [EXPLAIN EACH REQUIRED ELEMENT AND APPLY THE FACTS]. This claim was raised previously at [COURT / DATE / RECORD CITATION], or was not raised because [SPECIFIC EXPLANATION AND ANY REQUIRED EXCEPTION].
  4. The relief tied to this ground is [RELEASE / NEW CUSTODY DETERMINATION / OTHER RELIEF THE SELECTED LAW ALLOWS].

Additional ground, if pleaded — [SHORT NAME]

  1. The legal basis, material facts, supporting record, prior presentation, and requested remedy are [COMPLETE EACH ITEM AS IN GROUND ONE OR REMOVE THIS SECTION].

4. Request for writ and further proceedings

Petitioner asks the Court to issue the writ or order to show cause authorized by [STATE LAW], direct the proper respondent to make the return required by that law, and, after the required process, grant [PRECISE RELIEF SUPPORTED BY EACH GROUND]. Petitioner requests an evidentiary hearing only on these disputed material facts: [IDENTIFY FACTS, EXPECTED EVIDENCE, AND AUTHORITY / NONE]. Any request for counsel is [SPECIFIC BASIS UNDER STATE LAW / NONE]. This petition does not automatically seek to vacate an entire conviction, order a new trial, or obtain federal habeas relief.

5. Verification, exhibits, and service

Petitioner has attached the selected court's required verification or affidavit as [EXHIBIT / FOLLOWING SIGNATURE]. Any statement made under oath or penalty of perjury must use the exact form authorized by that court and be true to the signer's knowledge. Required filing copies, notice recipients, service method, and timing under [STATE RULE] are [DETAILS]; proof of completed service is [ATTACHED EXHIBIT / TO BE FILED BY DATE].

Exhibit Record or declaration, date and source Paragraph supported
A [CUSTODY ORDER / EXPLANATION IF UNAVAILABLE] 3
B [PRIOR PROCEEDING RECORD] [NUMBER]
C [FACT EVIDENCE] [NUMBER]

Dated: [DATE]

Petitioner or authorized signer: ______________________________

Printed name and capacity: [NAME / CAPACITY]

Address or approved contact: [CONTACT]

Court-required verification or affidavit: [INSERT SELECTED STATE'S OPERATIVE TEXT, SIGNATURE, DATE AND NOTARIZATION IF REQUIRED]

Service certification, only after service occurs: I served this petition and exhibits on [REQUIRED PERSON/OFFICE] by [METHOD] at [ADDRESS OR SYSTEM] on [DATE]. Proof is [DOCUMENT].

Server signature: ______________________________

Insert Image

Insert Table

Watch Ezel in action (sample case)Choose a plan

All changes saved
Save
Export
Export as DOCX
Export as PDF
Generating PDF...
habeas_corpus_petition_state_universal.pdf
Ready to export as PDF or Word
AI is editing...
Chat
Review

Draft it in the editor

The AI drafts each section from your answers and you review every word. Drafting from scratch takes hours; finish yours for $99 one time.

  • Built on this template
    Uses the state version and the statutes it cites.
  • Formatted like the template
    Captions, numbering and layout stay intact.
  • AI editing
    Rewrite any section from your own notes.
  • Export as PDF and Word
    Yours to review, sign, or file.
Secure checkout via Stripe
Need to customize this document?

About this template

Last updated
September 26, 2026
Jurisdiction
All states
Category
Criminal Law

Legal authority

  • N.Y. C.P.L.R. § 7002(c) (New York petition content; conditional example)

Criminal law paperwork covers every stage of a criminal case, from the first appearance and bail motion through pretrial motions, plea agreements, sentencing, and appeals. Deadlines in criminal cases are short and often unforgiving, and constitutional rights can be waived just by missing a filing. Using the right motion at the right time can mean the difference between evidence getting suppressed, charges getting reduced, or a case getting dismissed entirely.

Not legal advice

This template is provided for informational purposes. We recommend having an attorney review any legal document before signing, especially for high-value or complex matters.

Checked against the law it cites

The statutes this template relies on are listed under Legal authority.

N.Y. C.P.L.R. § 7002(c) (checked September 26, 2026): "The petition shall be verified and shall state, or shall be accompanied by an affidavit which shall state"

N.Y. C.P.L.R. § 7002(c)(1) (checked September 26, 2026): "that the person in whose behalf the petition is made is detained, naming the person by whom he is detained and the place of detention if they are known, or describing them if they are not known"

N.Y. C.P.L.R. § 7002(c)(6) (checked September 26, 2026): "the date, and the court or judge to whom made, of every previous application for the writ, the disposition of each such application and of any appeal taken, and the new facts, if any, presented in the petition that were not presented in any previous application"

Draft your Habeas Corpus Petition - State in the editor

Answer a few questions, let the AI editor draft each section from your answers, review it, and download Word and PDF. $99 one time, or $249 per month for every document and every Ezel app.