Generally, the Rules Governing Section 2254 Cases (PDF) in the United States District Courts govern habeas corpus petitions filed in a United States district court pursuant to 28 U.S.C. § 2254 by a person in custody challenging his or her current or future custody under a state-court judgment on the grounds that such custody violates the Constitution or laws or treaties of the United States. The Rules Governing Section 2255 Proceedings (PDF) for the United States District Courts govern motions to vacate, set aside or correct a sentence filed pursuant to 28 U.S.C. § 2255. Such motions must be filed in the sentencing court by a person in custody attacking the sentence imposed on the ground that the sentence was imposed in violation of the Constitution or laws of the United States, that the court was without jurisdiction to impose such sentence, or that the sentence was in excess of the maximum authorized by law, or is otherwise subject to collateral attack.
The Supreme Court submitted proposed rules and forms governing proceedings under Section 2254 and Section 2255 to Congress on April 26, 1976, but Congress exercised its power under the Rules Enabling Act to suspend their implementation. The Rules Governing Section 2254 and Section 2255 Proceedings, as amended by Congress, became federal law on September 28, 1976, and made applicable to petitions filed under Section 2254 and motions filed under section 2255 on or after February 1, 1977. Pub. L. No. 94-426. The rules were last amended in 2019.