Call Today Free Consult
Criminal Defense · Frisco, Texas
Serving 9 DFW CountiesAvailable 24/7 for criminal defense intake

Texas Jail-Time Credit Calculator

Under Texas Code of Criminal Procedure article 42.03 § 2(a), a judge must credit every day you spent in jail for your case — from arrest until sentencing — against your sentence. Time released on bond does not count. Add each period you were held below and this free tool estimates the back-time credit and how it reduces your sentence.

Calculate your jail-time credit

Enter your sentencing date, then add each period you were held in county jail for this case. Bond time between periods is not counted. Results update live.

How Texas jail-time credit works

Under Tex. Code Crim. Proc. art. 42.03 § 2(a), a Texas judge must give a defendant credit on the sentence for time spent in jail for the case, from the day of arrest until the day the sentence is pronounced. The credit is mandatory — awarding it is a ministerial duty of the court — and time spent released on bond does not count.

Jail-time credit (often called “back-time” or pre-sentence credit) is the number of days you were held in custody before sentencing that get subtracted from the front of your sentence. If you sat in the county jail for 145 days waiting for your case to resolve and then received a two-year sentence, those 145 days come off the two years. The credit is not a favor the judge grants — it is a statutory command that applies in every criminal case.

The calculator above turns the arithmetic into something you can check. Enter the date each period of confinement began, the date it ended (or leave it blank if you were still in custody at sentencing), and the sentencing date. Add a separate row for every stint in jail. Any time you posted bond and were released, leave that gap out — the tool never counts it, because the statute credits only time actually spent in jail.

How the days are counted

Credit is measured in calendar days, not hours. The customary method — and the one this calculator uses — counts both the first day of confinement and the last day (the day of release or the day of sentencing) as days served, because you were in custody on each of them. A person arrested and sentenced on the same day still receives one day of credit. For a single stretch from arrest straight through to sentencing, the count is simply the number of days from booking through the sentencing date, inclusive.

The official figure is calculated by the county jail and entered by the district clerk on the judgment, and it can differ from an estimate by a day or two depending on exact booking and release times. Treat the number here as a close approximation to check against your paperwork, not as the final tally. Where the two disagree, your booking records and the signed judgment control.

What counts, and what does not

The rule turns on a single phrase in the statute: credit is owed for time spent “in jail for the case ... from the time of his arrest and confinement until his sentence by the trial court,” but not for “confinement served as a condition of community supervision.” The table below sorts the common situations.

Time in custodyCounts toward the sentence?Authority
County jail for this case, from arrest to sentencingYes — mandatoryart. 42.03 § 2(a); Ex parte Walker
Time released on bond or bailNoart. 42.03 § 2(a) (“in jail for the case”)
Jail served as a condition of community supervisionDiscretionary — judge may grant or denyart. 42.03 § 2(a); Ex parte Walker
State jail felony sentenced directly to a state jail facilityDiscretionaryIn re Craven (former art. 42.12 § 15(h))
Held only on a separate, unrelated causeNo (unless also held on this case)art. 42.03 § 2(a) (“for the case”)
Confinement in a treatment facility as a condition of supervisionDiscretionaryart. 42.03 § 2(a); Ex parte Walker

Two lines in that table matter most in everyday cases. First, bond time never counts — the moment you are released on bail, the clock stops, and it restarts only if you are booked back in. Second, time you served in jail as a condition of probation is treated differently: the judge has discretion whether to credit it, so the calculator lists that time separately rather than folding it into the mandatory total.

Continuous custody vs. multiple stints

Many cases are not one clean stretch of jail. A person is arrested, bonds out a week later, misses a setting, is picked up on a warrant, bonds out again, and is finally taken into custody at the plea. Each of those in-custody stretches earns credit; each stretch on bond does not. That is why the calculator lets you add a row for every separate period of confinement — it sums the days you were actually held and ignores the days in between.

Watch for two things when you have multiple stints. Overlapping dates on the same cause should be merged, because a defendant does not receive two days of credit for one calendar day on a single case; the tool flags overlaps for you. And time spent in custody on a separate matter — a different cause number — generally does not count toward this case unless you were being held for this case at the same time. If a hold or detainer meant you were confined on this cause in another county, that time can count, but you usually need jail records or the detainer to establish it.

The community-supervision exception

Article 42.03 § 2(a) carves out “confinement served as a condition of community supervision.” If a judge orders you to serve, say, 30 days in the county jail as a term of probation and probation is later revoked, whether those 30 days credit against the revocation sentence is up to the court. In Ex parte Walker, the Court of Criminal Appeals read the 1993 amendment to the statute as granting the trial judge discretion over that category of time. The same discretion can apply to time spent confined while awaiting transfer to a treatment program that is itself a condition of supervision. Because of that, the calculator shows condition-of-supervision days on their own line and does not add them to the mandatory figure.

How courts apply article 42.03 § 2(a)

Texas appellate courts have addressed jail-time credit many times, and a few decisions frame the rules this calculator relies on.

In Ex parte Walker, 150 S.W.3d 429 (Tex. Crim. App. 2004), the Court of Criminal Appeals restated the settled rule that “defendants are entitled to time credit toward their sentences for time spent in confinement from arrest to sentencing according to Texas Code of Criminal Procedure Article 42.03 § 2(a),” while confirming that time served as a condition of community supervision falls outside the mandatory credit and rests in the trial judge's discretion.

On the remedy, Ex parte Ybarra, 149 S.W.3d 147 (Tex. Crim. App. 2004), holds that “[t]he trial court is required to grant the [defendant] pre-sentence jail time credit when sentence is pronounced,” and that when the court fails to do so, “the trial court has the authority to correct the judgment to reflect the appropriate time credit by nunc pro tunc order and should do so.” If the trial court will not act on a nunc pro tunc motion, Ybarra directs the defendant to seek a writ of mandamus in the court of appeals.

And Ex parte Florence, 319 S.W.3d 695 (Tex. Crim. App. 2010), explains that although a nunc pro tunc motion is the usual first step, “[a]n application for writ of habeas corpus under Article 11.07 may be used to raise a claim for pre-sentence time credit if an applicant alleges that he is presently being illegally confined because he would have discharged his sentence if given the proper time credit.” In short, when missing credit means you are being held past your discharge date, post-conviction habeas is available. Courts have also recognized a narrow exception for state jail felonies sentenced directly to a state jail facility, where credit for pre-sentence time can be discretionary rather than mandatory. See In re Craven, No. 02-09-00243-CV (Tex. App.—Fort Worth Nov. 13, 2009).

What to do if your judgment omits credit

Because the credit is mandatory, a judgment that leaves it out contains a correctable error rather than a discretionary call. The ordinary sequence is:

  1. Motion for judgment nunc pro tunc. File it with the clerk of the convicting court, attaching booking and release records that prove the dates. This asks the court to correct the judgment to reflect the credit it should have awarded.
  2. Petition for writ of mandamus. If the trial court denies the motion or refuses to rule, ask the court of appeals to order the trial court to perform its ministerial duty.
  3. Article 11.07 habeas corpus. Where the miscalculation means you are being held beyond your discharge date, a post-conviction habeas application in the convicting court — which the Court of Criminal Appeals reviews — can raise the credit directly.

Booking sheets, jail records, and the clerk's file are the proof that drives all three remedies. Gather them early; the dates the calculator needs are the same dates a court will require.

Jail-time credit (back-time)
Days spent in custody before sentencing that are subtracted from the sentence under art. 42.03 § 2(a).
Flat time
Day-for-day time that reduces a sentence directly, separate from parole or good-conduct time.
Nunc pro tunc
A court order that corrects the record to reflect what should have been entered — the usual way to fix an omitted credit.
Ministerial duty
An act the law requires with no room for discretion; awarding mandatory jail credit is one.

How credit interacts with parole and good time

Pre-sentence jail credit is flat time — it comes off the calendar of the sentence directly. It is separate from parole eligibility and from good-conduct time, which the Texas Department of Criminal Justice applies while a sentence is being served. Jail credit can move a parole-eligibility date and a discharge date earlier, but the parole calculation itself follows its own rules. The estimate here shows the flat-time reduction only; use the parole eligibility calculator to model the rest, and the bond estimator if your case is still in the pretrial stage.

One practical point for people facing more than one case: jail-time credit is applied at sentencing to the specific cause you were held on, so confirm which cause each period of custody was attributed to. How credit is allocated when sentences run concurrently or consecutively can be complex, and your attorney and the signed judgment are the authorities on how it is applied to your particular sentences.

Cite this calculator

L and L Law Group, Texas Jail-Time Credit Calculator, landllawgroup.com/jail-time-credit/ (last updated July 9, 2026).

Frequently asked questions

What is jail-time credit in Texas?

Jail-time credit, sometimes called back-time, is the number of days you spent in jail before sentencing that are subtracted from your sentence. Under Tex. Code Crim. Proc. art. 42.03 § 2(a), a Texas court must credit time spent in jail for the case from arrest until the sentence is pronounced.

Is jail-time credit mandatory?

Yes. Article 42.03 § 2(a) says the judge shall give credit for time in jail for the case from arrest to sentencing, and Texas courts treat awarding it as a ministerial duty rather than a discretionary choice. See Ex parte Ybarra, 149 S.W.3d 147 (Tex. Crim. App. 2004).

Does time out on bond count toward my sentence?

No. The statute credits only time actually spent in jail for the case. Once you post bond and are released, that time does not count. Credit resumes only if you are taken back into custody.

How do I count multiple periods in jail?

Add each separate stint in custody — every arrest-to-release stretch — and the days are summed. The days you were out on bond between stints are left out. The calculator on this page adds a row for each period so bond time is never counted.

Do the day of arrest and the day of sentencing both count?

Yes. You are in custody on both days, so the customary method counts both. A person arrested and sentenced on the same day still receives one day of credit. The county jail and district clerk compute the official figure, which can differ by a day.

Does jail time served as a condition of probation count?

It is discretionary. Article 42.03 § 2(a) excludes confinement served as a condition of community supervision, and the Court of Criminal Appeals has read that as leaving credit for such time to the trial judge. See Ex parte Walker, 150 S.W.3d 429 (Tex. Crim. App. 2004).

What if my judgment leaves out my jail-time credit?

Because the credit is mandatory, an omission is a correctable error. File a motion for judgment nunc pro tunc in the convicting court with your booking records. If the court will not act, seek a writ of mandamus in the court of appeals. See Ex parte Ybarra, 149 S.W.3d 147 (Tex. Crim. App. 2004).

Can I use a writ of habeas corpus to get missing credit?

Sometimes. A nunc pro tunc motion is the usual route, but the Court of Criminal Appeals holds that an article 11.07 habeas application can raise pre-sentence credit when you are being held past your discharge date. See Ex parte Florence, 319 S.W.3d 695 (Tex. Crim. App. 2010).

Does time in another county or on a detainer count?

It can, once you were actually being held for this case. If a hold or detainer meant you were confined on this cause, that time may count, but you generally need jail records or the detainer to establish it. Time held only on an unrelated case does not count toward this one.

Is jail credit different for a state jail felony?

It can be. Courts have recognized that for a state jail felony sentenced directly to a state jail facility, credit for pre-sentence time can be discretionary rather than mandatory. See In re Craven, No. 02-09-00243-CV (Tex. App.—Fort Worth Nov. 13, 2009).

Who actually calculates the official credit?

The county jail tallies the days and the district clerk enters the credit on the judgment, and the judgment controls. Treat this calculator as an estimate to check against your booking sheets and the signed judgment.

Does jail-time credit shorten parole eligibility too?

Jail credit is flat time that comes off the sentence directly and can move a discharge or parole-eligibility date earlier, but parole eligibility and good-conduct time follow their own rules. Use the parole eligibility calculator to model those.

What records prove my jail-time credit?

Booking sheets, jail release records, and the clerk's file establish the exact dates you were in custody. Gather them early — they are the same dates a court needs for a nunc pro tunc motion, and they resolve most credit disputes.

About the author

Njeri M. London, Esq. is a Co-Founding Partner of L and L Law Group, PLLC in Frisco, Texas. She represents clients in DWI, drug, assault, federal, juvenile, and expunction matters across Dallas, Collin, Denton, and Tarrant counties. State Bar of Texas #24043266. Admitted in TXND, TXED, and the Fifth Circuit. Editorial review by Reggie London (Bar #24043514, former Dallas County ADA).

developed by MPR Digital Legal Services