What a 2255 motion is
Section 2255 gives a federal prisoner one central remedy. The statute says that a prisoner in custody under a federal sentence who claims the right to be released on one of the allowed grounds "may move the court which imposed the sentence to vacate, set aside or correct the sentence." Three things in that sentence shape everything that follows.
First, the motion goes to the court that imposed the sentence. It does not go to the court of appeals, and it does not go to the court nearest the prison. Congress set it up this way so the judge who knows the case decides the challenge, with the full trial record close at hand.
Second, the person filing must be in custody under the sentence being attacked. The remedy is for people serving federal time who say the judgment itself is legally broken, not for people challenging something else about prison life.
Third, the words are vacate, set aside, or correct. A 2255 motion asks the court to undo the judgment or fix the sentence. It is part of the appeals and post-conviction process, but it works differently from a direct appeal, as the next section explains.
A 2255 motion is not a direct appeal
A direct appeal asks a higher court to review errors in the trial, and it moves fast. In a criminal case, the defendant's notice of appeal "must be filed in the district court within 14 days after the later of" the entry of the judgment or order being appealed, or the filing of the government's notice of appeal. Fourteen days is short on purpose. It forces quick decisions right after sentencing, while the record is fresh.
A 2255 motion is a collateral attack, meaning a separate challenge to the judgment brought back before the sentencing court. It is not a second appeal and not a do-over of the trial. Our federal appeals page covers the direct appeal path and its own deadlines. Two timing rules keep the paths apart. The rules state plainly that "These rules do not extend the time to appeal the original judgment of conviction." Filing a 2255 motion does not buy more time to appeal the conviction. And going the other direction, the time to appeal an order on a 2255 motion is governed by the civil appeal rule, not the 14-day criminal rule, as explained below.
In plain terms: appeal first if you have appeal issues, because that clock is the shortest. A 2255 motion covers different ground on a different schedule. Missing the 14-day appeal deadline does not extend anything, and filing a 2255 motion does not reopen it.
The four grounds the law allows
Section 2255(a) lists exactly four reasons a prisoner can claim the right to release. The sentence "was imposed in violation of the Constitution or laws of the United States, or 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."
Each ground means something distinct. A constitutional violation covers defects like the denial of counsel or other rights that made the proceeding unfair. A laws-of-the-United-States violation covers serious federal legal errors in how the conviction or sentence came about. Lack of jurisdiction means the court had no legal power to enter the judgment at all. A sentence above the maximum means the punishment went beyond what the statute allowed. The final phrase, otherwise subject to collateral attack, is a narrow catch-all, not an invitation to relabel ordinary complaints.
Notice what is missing. Disagreement with the jury's verdict, unhappiness with the sentence length, and arguments the court already rejected on direct appeal do not by themselves fit any of the four doors. The motion must tie its facts to one of the listed grounds, and the court rules require the motion to "specify all the grounds for relief available to the moving party" and "state the facts supporting each ground." Vague claims without facts go nowhere. The motion must be signed under penalty of perjury, and it should substantially follow the court's standard form, which the clerk must provide free of charge.
The one-year deadline
The statute sets a hard filing limit: "A 1-year period of limitation shall apply to a motion under this section." The period runs from the latest of four starting points: "The limitation period shall run from the latest of" the date the judgment of conviction became final, the date a government-created unconstitutional roadblock was removed, the date a newly recognized Supreme Court right was first announced (if made retroactive to cases on collateral review), or the date the facts behind the claim could have been found through due diligence. In the statute's own words, those triggers are "the date on which the judgment of conviction becomes final" and "the date on which the facts supporting the claim or claims presented could have been discovered through the exercise of due diligence."
Because the latest date controls, the clock does not always start at sentencing. A conviction becomes final when the appeal ends or the time to seek higher review runs out, which can be months after sentencing. Newly found facts can restart thinking about the deadline, but only if they truly could not have been found earlier with effort. And a new Supreme Court decision helps only if the Court itself made it retroactive to cases already finished.
Treat the deadline as unforgiving. Courts dismiss late motions without reaching the merits, and a late filing wastes the one full chance the law gives. Anyone considering a motion should pin down their trigger date first, before spending months on research.
Where the motion is filed and who decides it
The motion is filed in the district court that imposed the sentence, and the clerk must send it to the judge who ran the trial and imposed sentence, or to the judge who ran the proceedings being challenged. If that judge is unavailable, normal assignment rules pick another judge. This is deliberate. The judge who watched the trial is best placed to test claims about what happened in it.
The motion must cover each judgment separately. A person attacking more than one judgment files a separate motion for each. And there is no filing fee pressure built into the process the way civil lawsuits have, because the motion continues the criminal case rather than starting a new civil one.
What happens after filing
The judge screens the motion first. Rule 4 of the court rules requires the judge to examine it promptly, and states that "If it plainly appears from the motion, any attached exhibits, and the record of prior proceedings that the moving party is not entitled to relief, the judge must dismiss the motion and direct the clerk to notify the moving party." Many motions end here, on the papers, because the records answer the claims.
If the motion survives screening, the judge orders the United States attorney to respond. Then the statute sets the hearing rule: "Unless the motion and the files and records of the case conclusively show that the prisoner is entitled to no relief, the court shall cause notice thereof to be served upon the United States attorney, grant a prompt hearing thereon, determine the issues and make findings of fact and conclusions of law with respect thereto." In plain words, close cases get a hearing with findings, and only cases the record conclusively defeats can be denied without one. The court can decide the motion without bringing the prisoner to the hearing.
If an evidentiary hearing is warranted and the prisoner qualifies, the judge must appoint counsel under the Criminal Justice Act. The rules also allow the judge to send the motion to a magistrate judge for proposed findings, with the district judge deciding any part anyone objects to. Discovery and expansion of the record are available but controlled by the judge, not automatic.
If the prisoner wins, the statute lists the fixes: the court "shall vacate and set the judgment aside and shall discharge the prisoner or resentence him or grant a new trial or correct the sentence as may appear appropriate." Release, resentencing, a new trial, or correction, as fits the defect found. That is the full menu. A 2255 motion does not produce money damages and does not shorten a lawful sentence out of mercy. Those are different requests made under different laws.
Second or successive motions face a locked gate
The law gives one full motion. A second one must be certified through the court of appeals before it can even be filed. The statute says: "A second or successive motion must be certified as provided in section 2244 by a panel of the appropriate court of appeals to contain" one of two things.
The first door is new evidence of innocence: "newly discovered evidence that, if proven and viewed in light of the evidence as a whole, would be sufficient to establish by clear and convincing evidence that no reasonable factfinder would have found the movant guilty of the offense." That is a demanding test. It needs genuinely new evidence, viewed against everything else, proving to a high standard that no reasonable factfinder would have convicted.
The second door is a new constitutional rule: "a new rule of constitutional law, made retroactive to cases on collateral review by the Supreme Court, that was previously unavailable." Three parts must all hold. The rule must be new, it must be constitutional, and the Supreme Court itself must have made it retroactive. A new statute, a new guideline, or a circuit court decision does not open this door.
The procedure for permission is strict. The prisoner must ask the court of appeals for an order letting the district court hear the motion, and the court rules repeat that before presenting a second motion the prisoner "must obtain an order from the appropriate court" of appeals authorizing the district court to consider it. A three-judge panel decides on a prima facie showing, meaning whether the papers on their face meet the test. The court of appeals must grant or deny within 30 days of the request. And the decision is final in a way few court decisions are: it "shall not be appealable and shall not be the subject of a petition for rehearing or for a writ of certiorari." No appeal, no rehearing, no Supreme Court petition on the permission decision itself.
Appealing when the motion is denied
An order on a 2255 motion can be appealed to the court of appeals, but only with a certificate of appealability. The statute provides: "Unless a circuit justice or judge issues a certificate of appealability, an appeal may not be taken to the court of appeals from" the final order in a section 2255 proceeding. And the standard is fixed: a certificate "may issue" only where the applicant has made "a substantial showing of the denial of a constitutional right." The certificate must name the specific issues that meet that test.
The district court must grant or deny the certificate when it enters a final order against the prisoner, and it may ask the parties for arguments first. If the district court denies it, the denial itself cannot be appealed, but the prisoner may ask the court of appeals for a certificate. Two timing traps matter here. First, a motion asking the district court to reconsider the denial does not extend the appeal time. Second, a notice of appeal is still due on schedule: "A timely notice of appeal must be filed even if the district court issues a certificate of appealability." For 2255 orders the schedule comes from the civil appeal rule, since the rules state that "Federal Rule of Appellate Procedure 4(a) governs the time to appeal an order entered under these rules." Court guidance explains the practical effect: "that is, 60 days when the government is a party." Sixty days, not fourteen, because the United States is on the other side of every 2255 case. Count from the order on the motion, never from the original conviction.
How 2255 differs from its closest neighbors
Three nearby procedures get confused with 2255 motions, and each has its own statute and limits.
Compassionate release and other sentence reductions live under 18 U.S.C. 3582. That law starts from the opposite premise: "The court may not modify a term of imprisonment once it has been imposed except that" in listed situations, such as extraordinary and compelling reasons or a later lowered sentencing range. A 3582 motion accepts the conviction and asks to shorten a lawful sentence. A 2255 motion says the judgment itself is legally defective and asks to undo it. Our compassionate release page covers the reduction path and its own exhaustion rules.
Habeas corpus under 28 U.S.C. 2241 is the older writ, filed in the district of confinement rather than the sentencing court. For federal prisoners it is mostly closed off where 2255 applies. The statute says a habeas application "shall not be entertained" for a prisoner who could use 2255, if the prisoner failed to seek 2255 relief or was denied it, "unless it also appears that the remedy by motion is inadequate or ineffective to test the legality of his detention." Losing a 2255 motion does not by itself prove the remedy was inadequate. It proves the motion failed.
Federal sentencing law itself is a third neighbor. A 2255 motion has no sentencing guideline, no base offense level, and no enhancements. A full-text search of the 2025 Guidelines Manual finds no reference to section 2255 at all, because the Manual's index maps criminal offenses to guidelines and a 2255 motion is a procedure, not an offense. If relief leads to resentencing, our federal sentencing page explains how that hearing works. But the motion itself asks only whether the judgment stands.
If you are thinking about filing
Start with dates, not arguments. Find when your conviction became final, when you learned the facts behind each claim, and whether any new Supreme Court decision or government roadblock affects your clock. The one-year limit and the ban on repeat motions mean the first filing must be complete. The rules require every available ground and its supporting facts in the motion, so holding claims back for later usually means losing them.
Gather the paper the judge will read: the judgment, the plea agreement if there was one, the sentencing transcript, the appeal decision if there was one, and any prior motion and its order. Write each claim as facts first, then the legal ground it fits. Keep copies of everything, and file through the prison legal mail system or the clerk with proof of mailing, since the filing date can decide the whole case.
The cautions from the statute bear repeating. Time limits shown here are ceilings and triggers stated in the abstract, not predictions about any case. Winning requires fitting real facts into one of the four grounds, surviving screening, and then proving the claim at a hearing. The facts of a case change everything, and advice early, before any deadline passes, is worth more than the strongest argument filed a day late.
