Image

§ 2241 – Power to Grant Writ (Habeas Corpus)

Verified Content

Posted by Christopher Combs on February 21, 2026

28 U.S.C. § 2241 – Power to Grant Writ (Habeas Corpus Authority)

The statute that authorizes federal courts to hear habeas corpus challenges to unlawful custody.

What § 2241 does.
Section 2241 gives federal courts the power to issue writs of habeas corpus—orders requiring the government to justify why a person is being held in custody.

This provision is the broad, foundational habeas statute and applies to a wide range of detention scenarios, including federal custody, pretrial detention, immigration detention, and certain national security cases.

Who can grant the writ.
Under § 2241, writs may be issued by:

  • The Supreme Court or any Justice of the Supreme Court
  • United States district courts
  • Individual circuit judges

Applications may be transferred to the appropriate district court when necessary.

When habeas relief is available.
A prisoner may seek relief under § 2241 if they are in custody:

  • Under authority of the United States
  • Pursuant to a federal statute, order, or judgment
  • In violation of the Constitution, laws, or treaties of the United States
  • As a foreign national held under claimed foreign authority
  • For purposes of testifying or standing trial

This statute focuses on the fact or legality of custody, not merely conditions of confinement.

Federal vs. state custody.
Section 2241 can apply to individuals held under state court judgments in limited circumstances, particularly where:

  • Jurisdictional issues exist across federal districts
  • Transfer between districts serves the interests of justice

For most post-conviction challenges to state convictions, however, 28 U.S.C. § 2254 controls.

Limits involving enemy combatants.
Subsection (e) restricts habeas jurisdiction over certain aliens detained as enemy combatants, reflecting statutory limits enacted after the Detainee Treatment Act of 2005.

Why § 2241 matters.
Section 2241 is often used to challenge:

  • Unlawful federal detention
  • Improper pretrial custody
  • Sentence execution issues (credit, placement, parole)
  • Immigration detention

Choosing the wrong habeas statute—or filing in the wrong court—can end a case before it starts.

View the full statute here.

Habeas relief is procedural and jurisdictional before it is substantive. If custody may be unlawful, or the government’s authority is unclear, call (314) 900-HELP or contact our federal criminal defense attorneys to evaluate the proper path forward.

Open Video
Image

Featured Results:

Client Review, DUI Case

Play video
Image

Get In Touch:

St. Louis

Main Office

(314) 900-HELP

Get Directions

Clayton

By Appointment Only

(314) 900-HELP

Get Directions

Kansas City

By Appointment Only

(913) 77-CRIME

Get Directions