Credit for time served means the days you spent locked up before your case was finished — usually in jail while your case was pending because you couldn't post bail, or while awaiting sentencing — get subtracted from the total sentence a judge imposes. If you were held for four months before your sentencing hearing and the judge sentences you to one year, presentence custody credit can mean you only have eight months left to serve. Almost every state has some version of this rule, but the fine print — what counts, what doesn't, and how it's calculated — varies a lot depending on where the case is and what kind of custody it was.
The basic idea
The concept behind time-served credit is straightforward: a person shouldn't spend longer locked up overall just because they weren't released, or couldn't afford to be released, before their case was resolved. So courts count the days already spent in custody on that case and apply them against the sentence.
This most commonly comes up in two situations:
Pretrial detention — you were arrested and held in jail (because bail was denied, set too high for you to pay, or you didn't seek release) while the case moved through the system.
Post-conviction, pre-sentencing custody — you were held after a plea or verdict while waiting for the sentencing hearing itself.
In both situations, the days in custody are typically credited against whatever jail or prison sentence is ultimately imposed, so the person isn't punished twice for the same stretch of time.
What usually counts
Generally, credit applies to time in actual physical custody that is directly connected to the charge you were sentenced on. That commonly includes:
Time in a local or county jail after arrest, before bail was posted or the case resolved.
Time held after a plea or guilty verdict, waiting for the sentencing date.
In many places, time spent in a locked treatment or evaluation facility ordered by the court as part of the case, though this depends on the jurisdiction and the exact program.
What usually does not count, or counts only in limited ways:
Time out on bail or released on your own recognizance — even with conditions like a curfew, ankle monitor, or check-ins — is not "custody" in most places, though some states do give partial credit for certain forms of electronic monitoring or home confinement. This differs significantly by jurisdiction.
Time held on a separate, unrelated charge or a hold from another case (for example, being jailed on charge A while a warrant for unrelated charge B is also pending) may only apply to one of the cases, not both, depending on the rules where the case is pending.
Time already credited toward a different sentence generally can't be counted again toward a new one.
Because the definitions of "custody," "confinement," and "related to the offense" differ from state to state — and even between state and federal cases — the only way to know for certain what will and won't count in a specific case is to ask the defense attorney or the court handling that case.
How it gets calculated
In most systems, the days are counted and then subtracted directly from the sentence, day for day, for presentence jail time. A few important variables affect the math:
Who calculates it. In many states, the sentencing court or the clerk calculates the credit at sentencing and it's written into the judgment. In others, the credit is calculated later by the jail or department of corrections when the person arrives to begin serving the sentence.
Multiple charges from one arrest. If several charges came from the same arrest and the person is sentenced on more than one, the days in custody are often applied to each sentence when they run concurrently (at the same time), but the rules can differ when sentences run consecutively (back to back).
Good-time or earned credit is separate. Time-served credit for presentence custody is a different thing from "good time" or program credit that reduces a sentence based on behavior or participation while serving it. Don't confuse the two — they're calculated differently and both may apply to the same sentence.
Probation-only or fine-only sentences. If the final sentence doesn't include jail or prison time — for example, straight probation or a fine — there may be nothing left to credit the time against, though some states let the credit reduce or eliminate other components of the sentence.
When it doesn't apply
There are common situations where presentence credit is reduced, denied, or doesn't work the way people expect:
Time on an unrelated hold. If you were already in custody on a separate matter (a parole violation, a different pending charge, an immigration hold) and the new charge didn't independently cause your confinement, some states won't count that overlapping time against the new sentence.
Escape or voluntary absence. Time isn't credited for periods when a person wasn't actually in custody, such as after walking away from a program or failing to appear.
Sentence caps or statutory limits. Some jurisdictions cap how much presentence credit can apply, or handle it differently for certain offense categories. This is exactly the kind of detail that varies enough that it needs to be confirmed locally rather than assumed.
Federal cases work differently. Federal sentencing credit is calculated by the Bureau of Prisons after sentencing, not by the sentencing judge, and follows its own separate rules from state systems. A federal case should not be assumed to follow state timing or calculation rules, or vice versa.
Why this matters even if you expect probation
People sometimes assume time-served credit doesn't matter unless they're heading to prison for years. But it can matter in shorter cases too — a person held for three weeks before making bail, then sentenced to 30 days on a plea, may walk out the same day if the credit is applied correctly. Mistakes in the calculation, or credit that never gets requested, can mean someone sits longer than the sentence actually requires. This is a detail worth double-checking, not assuming will be handled automatically and correctly every time.
What to do
Keep your own record. Note the exact date you were taken into custody, any dates you were released and rearrested, and the date of sentencing. Jail booking records and court dockets can confirm these dates later.
Ask your defense attorney to confirm the credit in writing. The credit amount should typically appear on the written judgment or sentencing order — not just be mentioned verbally in the courtroom. If you don't have a lawyer, you have the right to request one; if you can't afford one, the court can appoint one for you.
Check the judgment before you're transported. If you're moving from a county jail to a state prison to serve the rest of a sentence, review the paperwork for the credit amount before or as soon as possible after transfer, since this is often when calculation errors are discovered.
If the credit looks wrong, raise it quickly. Most states have a specific, often short, procedure for correcting a sentencing credit error — sometimes through a motion to correct the sentence or judgment, and sometimes through the prison or jail's own administrative process. Ask your attorney about the deadline immediately, since these correction windows can be short and vary by state.
If you're currently out on bail and worried about a future sentence, ask your attorney now whether the time you've already spent in custody on this case (even a single overnight arrest) has been documented for credit purposes.
A word on the bigger picture
Time-served credit exists inside a system where the accused is presumed innocent and the prosecution carries the burden of proving guilt beyond a reasonable doubt. A person held in pretrial detention hasn't been convicted of anything — which is part of why crediting that time against an eventual sentence is treated as basic fairness rather than a favor. Everyone facing a criminal charge also has the right to remain silent, the right to an attorney (including one appointed by the court if they can't afford one), and other protections under the Fourth, Fifth, and Sixth Amendments that apply throughout the process, not just at trial.
Frequently asked questions
Does credit for time served reduce a mandatory minimum sentence?
Usually, presentence custody credit is applied against the final sentence length, including a mandatory minimum, rather than being treated as an exception to it — but exactly how mandatory minimums and credit interact can vary by jurisdiction and offense, so confirm this with your attorney for the specific charge.
Do I get credit for time spent in a different county or state's jail while waiting to be transferred?
Often yes, if that custody was directly connected to the pending charge (for example, being held elsewhere on a hold or detainer for that case), but the rules on cross-jurisdiction custody differ enough that it should be confirmed with the attorney handling the case.
What if I was on house arrest or an ankle monitor instead of in jail — does that count?
In many places, no — home confinement and electronic monitoring conditions of release are treated differently from actual jail custody. Some states do give partial or full credit for certain monitored home confinement programs, so ask specifically about the program you were on.
Can credit for time served completely eliminate a jail sentence?
Yes, this happens regularly in shorter cases — if the days already spent in custody equal or exceed the sentence imposed, the person may be released immediately or owe no further custody time, sometimes with a remaining balance applied to a fine or other cost where the jurisdiction allows that.
Who do I ask if I think my time-served calculation is wrong?
Start with your defense attorney or the public defender's office; they can request the court or the custody agency (jail or department of corrections) recalculate or correct the judgment. If you don't currently have an attorney, ask the court clerk about the process for requesting appointed counsel or filing a motion to correct the sentence.
This article is general legal information, not legal advice, and reading it does not create an attorney-client relationship. If you're facing a criminal charge or a sentencing that involves time-served credit, talk to a defense attorney about the specific rules that apply in your case.
Frequently asked questions
Does credit for time served reduce a mandatory minimum sentence?
Usually the credit is applied against the final sentence length, including a mandatory minimum, but how mandatory minimums and credit interact can vary by jurisdiction and offense, so confirm this with your attorney for the specific charge.
Do I get credit for time spent in a different county or state's jail while waiting to be transferred?
Often yes, if that custody was directly connected to the pending charge, but cross-jurisdiction custody rules differ enough that they should be confirmed with the attorney handling the case.
What if I was on house arrest or an ankle monitor instead of in jail - does that count?
In many places, no - home confinement and electronic monitoring are treated differently from actual jail custody, though some states give partial or full credit for certain monitored home confinement programs.
Can credit for time served completely eliminate a jail sentence?
Yes, this happens regularly in shorter cases - if days already in custody equal or exceed the imposed sentence, the person may be released immediately.
Who do I ask if I think my time-served calculation is wrong?
Start with your defense attorney or public defender's office, who can request the court or custody agency recalculate or correct the judgment; if you lack an attorney, ask the court clerk about requesting appointed counsel or filing a motion to correct the sentence.
This article is general legal information, not legal advice, and may not reflect the most current law or the law in your jurisdiction. Laws vary by state and change over time. For advice about your specific situation, consult a licensed attorney.
Knowing your rights is the first step
Join thousands committing to calmly and consistently exercise their constitutional rights.