To file a motion for credit for time served, you ask a court or the Bureau of Prisons to subtract the days you spent locked up before sentencing from the sentence you are now serving. The route depends entirely on the system your case is in. In state cases, you generally file the motion with the judge who sentenced you. In federal cases, the sentencing judge does not calculate the credit at all; the Bureau of Prisons (BOP) does, and you have to work through the BOP’s internal grievance process before a court will hear you.1Legal Information Institute. United States v. Wilson, 503 U.S. 329 (1992) Getting that first fork wrong is the most common reason these requests go nowhere.
Figure Out Whether Your Case Is Federal or State
If you were sentenced in state court, you generally file a motion for credit for time served directly with the court that sentenced you. The judge reviews it, the prosecutor gets a chance to respond, and the court either rules on the papers or sets a hearing. Forms and local rules vary; the clerk’s office for the sentencing court is the place to confirm what that court requires.
If you were sentenced in federal court, the sentencing judge is not the right audience. The Supreme Court held that the Attorney General, acting through the BOP, computes credit for pretrial detention as an administrative matter, because the exact amount cannot be known at sentencing.1Legal Information Institute. United States v. Wilson, 503 U.S. 329 (1992) So a federal prisoner who believes the calculation is wrong starts inside the BOP, not in court.
What Time Actually Counts
Federal law grants credit for time spent in “official detention” before the sentence begins, whether the detention arose from the offense of conviction or from any other charge for which the person was arrested after committing that offense.2Office of the Law Revision Counsel. 18 U.S. Code 3585 – Calculation of a Term of Imprisonment The clean case is pretrial jail time: you were arrested, could not make bail, and sat in the county jail until your case resolved. Those days count.
What confuses people is time spent somewhere other than a jail cell. The Supreme Court has held that time in a community treatment center as a condition of bail is not “official detention,” even when the defendant was required to live there.3Justia U.S. Supreme Court Center. Reno v. Koray, 515 U.S. 50 (1995) The line is between being confined and being restricted. Home confinement and electronic monitoring sit in a gray area where the answer turns on how restrictive the conditions were and whether the jurisdiction treats them as custody.
State courts set their own standards, and several are more generous than the federal rule. Some grant credit for residential treatment, inpatient mental health care, or strict home confinement. If any part of your time was served outside a traditional jail or prison, check your state’s rules before you count those days in your motion.
The Double-Credit Bar
Federal law credits pretrial detention only if that time “has not been credited against another sentence.”2Office of the Law Revision Counsel. 18 U.S. Code 3585 – Calculation of a Term of Imprisonment Each day in custody counts once. If 90 days already reduced a state sentence, those same 90 days cannot also come off a federal one. This is where credit calculations most often go wrong for people with overlapping state and federal cases, and the burden of showing that the days were never applied elsewhere usually lands on you.
What to Put in the Motion
Whether you are filing in state court or preparing a grievance for the BOP, the core content is the same. A usable request identifies you, the case, and every day you are claiming, and it comes with proof.
- Your full legal name and the exact case or docket number, so the filing lands in the right file.
- The start date (booking) and end date (release) for every period of confinement tied to the case. List each stretch separately if you were released and re-arrested or moved between facilities.
- The name and location of each jail or detention facility.
- The total days claimed, added up across all periods and stated plainly.
- Official documentation of the dates: booking records, release forms, or a certified letter from the facility administrator confirming custody dates.
Facility records are where most motions stall. Start requesting them early. Write to the records department at each facility, give them your booking number if you have one, and ask for a certified letter confirming your dates of custody. Old records and out-of-state facilities take longer.
State Cases: Filing With the Sentencing Court
In a state case, the motion goes to the court that sentenced you. There is no national form; formats and local requirements differ by court, so call or write the clerk to confirm what the court accepts and whether they take filings by mail. Mail filing matters when you are inside a facility and cannot appear in person.
After you file, you must serve a copy on the prosecutor’s office so they can respond. From there the judge either rules on the papers or sets a hearing. Straightforward requests backed by clean jail records often resolve without a hearing. Disputes over specific dates or over the type of confinement usually get one.
Federal Cases: BOP First, Then Court
When you arrive at a federal facility, the BOP’s Designation and Sentence Computation Center reviews your file and calculates your credit under 18 U.S.C. § 3585(b).2Office of the Law Revision Counsel. 18 U.S. Code 3585 – Calculation of a Term of Imprisonment You should receive a sentence computation showing the days credited and your projected release date. Read it carefully. If days are missing or dates look wrong, the fix runs through the BOP’s Administrative Remedy Program, not through the sentencing judge.4eCFR. 28 CFR Part 542 – Administrative Remedy
The program has four steps. First, try to resolve the issue informally with staff. If that fails, file a written request to the Warden (BP-9). If the Warden denies it or you are unsatisfied, appeal to the Regional Director (BP-10). If that is denied, appeal to the General Counsel (BP-11), which is the final administrative step. Each step has its own filing deadline and response window set out in the regulations, and if you get no response within the allowed time you can treat the silence as a denial and move to the next level.4eCFR. 28 CFR Part 542 – Administrative Remedy Keep copies of everything you submit and every response you receive; a federal court will want proof you completed each step.
Once the BOP has denied your claim at all levels, you can challenge the calculation by filing a habeas corpus petition under 28 U.S.C. § 2241.5Office of the Law Revision Counsel. 28 U.S. Code 2241 – Power to Grant Writ The petition is filed in the federal district court where you are incarcerated, which is not necessarily the court that sentenced you. You will need to show exhaustion of the BOP process and explain, with documentation, why the calculation is wrong.
What Winning Does to Your Release Date
Granted credit reduces the time left on your sentence. A three-year sentence with 200 days of credit ends 200 days sooner than it otherwise would.
Credit for time served is not the same thing as good conduct time. Federal prisoners can earn up to 54 days per year of the imposed sentence for following institutional rules.6Office of the Law Revision Counsel. 18 U.S. Code 3624 – Release of a Prisoner Good conduct time is awarded by the BOP based on behavior after conviction and can be lost for disciplinary infractions. Credit for time served reflects days you already lost before conviction, and once it is officially credited, it is permanent. The two are calculated independently, and both come off your time in custody.