To file a Section 2241 habeas corpus petition, complete the Bureau of Prisons administrative grievance process, then submit form AO 242 with a $5 filing fee to the federal district court for the district where you are physically detained, naming your warden or immediate custodian as the respondent. The petition must be signed under penalty of perjury and identify a specific violation of the Constitution, federal law, or a treaty that makes your custody unlawful. Getting the venue, the respondent, and the exhaustion paperwork right is what separates a petition that gets heard from one that gets dismissed before a judge ever reaches the merits.
Make Sure Section 2241 Is the Right Statute
Section 2241 challenges the execution of a sentence or the legality of ongoing custody. A federal prisoner arguing that the Bureau of Prisons has miscalculated a release date, misapplied jail-time credit, wrongly revoked good-time credits, or refused to apply First Step Act earned time credits belongs in Section 2241.1Office of the Law Revision Counsel. 28 USC 2241 Power to Grant Writ Immigration detainees challenging prolonged confinement after a removal order file under Section 2241 as well; the removal order itself goes to a Court of Appeals.
File under a different statute if your claim is different. Section 2255 is the vehicle for a federal prisoner attacking the underlying conviction or the sentence imposed, and it goes to the sentencing court, not the district where you are held.2United States Department of Justice. 9-37.000 – Federal Habeas Corpus Section 2254 covers state prisoners attacking a state conviction on federal constitutional grounds.3U.S. Courts. Rules Governing Section 2254 and Section 2255 Proceedings And if you want conditions of confinement improved rather than release, that is a civil rights suit under 42 U.S.C. § 1983, not a habeas petition. Filing under the wrong statute typically ends in dismissal, not a courtesy transfer.
One jurisdictional bar to know about: Section 2241(e) strips federal courts of jurisdiction over habeas petitions from aliens designated as enemy combatants or awaiting that determination.4Office of the Law Revision Counsel. 28 U.S. Code 2241 – Power to Grant Writ
Exhaust Administrative Remedies First
Federal courts generally require federal prisoners to complete the BOP’s internal grievance process before filing a Section 2241 petition. Skipping any step gives the government an easy dismissal motion. The process has three formal levels, each with its own deadline, and it starts with an informal attempt to resolve the issue with staff:
- BP-9 (Institutional Level): A formal written request to the warden, filed within 20 calendar days of the event you are complaining about. You must first try to resolve the issue informally with staff before submitting the BP-9.5eCFR. Part 542 – Administrative Remedy
- BP-10 (Regional Level): An appeal to the Regional Director within 20 calendar days of the warden’s signed response.5eCFR. Part 542 – Administrative Remedy
- BP-11 (National Level): A final appeal to the BOP’s General Counsel within 30 calendar days of the Regional Director’s response. This is the last administrative step.5eCFR. Part 542 – Administrative Remedy
Keep copies of every form you submit and every response you receive. When you file in court, the judge will expect a complete paper trail showing the BOP had a full opportunity to correct the problem. Courts recognize limited exceptions where exhaustion would be futile or the process is unavailable, but those arguments rarely succeed without strong facts.
Section 2241 has no statute of limitations. Congress did not impose one, unlike the one-year clock that applies to Sections 2254 and 2255. That said, long unexplained delays can hurt a petition on the merits, so file promptly after your BP-11 response.
File in the District Where You Are Detained
The petition must go to the federal district court with jurisdiction over the facility holding you. Not the district that convicted you. Not the district where your lawyer or family is. The court where you are physically in custody.1Office of the Law Revision Counsel. 28 USC 2241 Power to Grant Writ
The respondent named on the petition is your immediate custodian, typically the warden of your facility. For immigration detainees, it is the official in charge of the detention facility. Getting the venue wrong is not always fatal: under 28 U.S.C. § 1631, a court without jurisdiction may transfer the case to the correct district, and the original filing date is preserved.6Office of the Law Revision Counsel. 28 U.S. Code 1631 – Transfer to Cure Want of Jurisdiction A circuit judge also has authority to transfer a habeas application to the proper district court.1Office of the Law Revision Counsel. 28 USC 2241 Power to Grant Writ Even so, transfers cost weeks or months. Get the venue right the first time.
Prepare the Petition on Form AO 242
Most federal district courts use the standardized form AO 242, “Petition for a Writ of Habeas Corpus Under 28 U.S.C. § 2241.” The form is available on the U.S. Courts website and from the clerk’s office at your facility.7U.S. Courts. Petition for a Writ of Habeas Corpus Under 28 USC 2241 It must be legibly handwritten or typed, and you must sign it under penalty of perjury. False statements can support a perjury prosecution.
The form asks you to identify your custodian, describe the basis for your detention, explain what legal right the detention violates, and state what relief you want. Vague complaints about unfairness will not survive the court’s initial review. Identify a specific legal violation, such as the BOP miscalculating good-time credits under a particular statute, and lay out the facts that support the claim. Attach the documents the judge will need to see the problem:
- Your sentence computation sheet from the BOP.
- Every BP-9, BP-10, and BP-11 you filed, with the corresponding responses.
- Any records showing the error you are challenging, such as jail-time credit documentation or First Step Act programming records.
Pay the $5 Fee or Apply to Proceed In Forma Pauperis
The filing fee is $5, set by federal statute.8Office of the Law Revision Counsel. 28 USC 1914 District Court Filing and Miscellaneous Fees If you cannot afford it, apply to proceed in forma pauperis by filing a motion with a financial affidavit and a certified copy of your prison trust fund account statement covering the six months before filing.9Office of the Law Revision Counsel. 28 U.S. Code 1915 – Proceedings in Forma Pauperis The six-month account history requirement trips people up. Request it from your facility’s financial office well before you plan to file, because the request itself can take time.
Submit the completed petition, the supporting documents, and either the $5 fee or the IFP motion to the Clerk of the U.S. District Court for the district where you are detained.
What Happens After You File
A judge reviews the petition to decide whether it states a viable claim. If it does, the court issues an order directing the respondent to show cause why the writ should not be granted. If the petition clearly fails to state a legal basis for relief, the court can deny it without ordering a response.10Office of the Law Revision Counsel. 28 U.S. Code 2243 – Issuance of Writ Return Hearing Decision
Once ordered, the government must file its return within three days, though courts routinely grant extensions of up to twenty days for good cause.10Office of the Law Revision Counsel. 28 U.S. Code 2243 – Issuance of Writ Return Hearing Decision The return is the government’s written explanation of why the detention is lawful. The court then sets a hearing date, generally within five days of the return, though in practice crowded dockets stretch these timelines considerably. You may respond to the return by denying facts the government asserts or presenting additional facts under oath.
If the petition raises only legal questions, the judge decides on the papers. If facts are disputed, the judge may hold an evidentiary hearing. The court can grant the writ and order release, deny the petition, or fashion other appropriate relief.10Office of the Law Revision Counsel. 28 U.S. Code 2243 – Issuance of Writ Return Hearing Decision In BOP sentence-calculation disputes, a successful petition typically results in an order that the BOP recalculate the sentence and apply the proper credits rather than immediate release.
If the Petition Is Denied
You have 60 days from the date of the order denying the petition to file a notice of appeal with the court of appeals.11United States Department of Justice. Time To Appeal Or Petition For Review Or Certiorari Criminal and Civil Cases Missing that deadline generally forfeits the appeal.
Federal prisoners appealing a Section 2241 denial do not need a Certificate of Appealability. The COA requirement in 28 U.S.C. § 2253(c)(1) applies to habeas cases arising from state-court process and to Section 2255 proceedings.12Office of the Law Revision Counsel. 28 U.S. Code 2253 – Appeal A federal prisoner proceeds directly to the court of appeals. State pretrial detainees who file under Section 2241 do generally need a COA, because their detention arises from state-court process. If you cannot afford counsel for the appeal, you can request appointment, though the court is not required to grant it.