In Texas, credit for time served in county jail works automatically: the judge who sentences you must subtract every day you spent in custody on the case, from arrest through sentencing, and write that credit into the judgment. The rule comes from Article 42.03 of the Texas Code of Criminal Procedure, and you do not have to file anything separate to claim it.1State of Texas. Texas Code of Criminal Procedure Article 42.03 – Section 2 That said, the calculation is only as reliable as the records behind it, and errors are common enough that knowing how the credit actually works can save you weeks or months behind bars.
What Jail Time Counts
Article 42.03 recognizes three kinds of pre-sentence confinement that earn credit against your sentence:1State of Texas. Texas Code of Criminal Procedure Article 42.03 – Section 2
- Days spent in county jail on the charge, from the date of arrest through the date of sentencing.
- Time in a court-ordered residential substance abuse treatment facility, but only if you complete the program. Leaving early or being removed for rule violations erases the credit.
- Time held in a mental health or residential care facility, including confinement for a competency evaluation or restoration.
You do not have to be in custody a full 24 hours for a day to count. A partial day still earns a full day of credit, which usually matters on the booking date and the release or sentencing date.
How the Day-for-Day Math Works
At its core the formula is simple. Each qualifying day in custody before sentencing takes one day off whatever punishment the judge imposes. Spend 90 days in jail waiting on your case, and 90 days come off the sentence.1State of Texas. Texas Code of Criminal Procedure Article 42.03 – Section 2
This pre-sentence credit is separate from “good time” earned after sentencing. Good time depends on behavior and program participation while you are serving the sentence. Credit for time served just accounts for the days you were already locked up while the case was pending.
Good Conduct Time in County Jail
County jails run their own credit system on top of the judge’s pre-sentence credit. Under Article 42.032, the sheriff can award good conduct time to inmates serving misdemeanor sentences, meaning your days can count at an accelerated rate instead of day-for-day. Many Texas counties award two days of credit for every day actually served, and some go as high as three-for-one.
This sheriff-controlled credit applies only to misdemeanor sentences served in county jail. Someone sitting out 180 days on a misdemeanor can walk out well before the raw number suggests. Someone sent to a Texas Department of Criminal Justice facility on a felony operates under a different set of rules and will not get the sheriff’s good conduct boost.
How Credit Applies to Your Sentence
County Jail Sentences
For a straight county jail sentence, credit is simple subtraction. A 180-day sentence with 90 days of pre-sentence credit leaves 90 days to serve. If the sheriff’s good conduct program applies, that remainder can shrink further.
TDCJ Prison Sentences
When the sentence sends you to a TDCJ unit, pre-sentence county jail credit still comes off the overall length and moves up your eligibility date for parole or mandatory supervision. On a 10-year sentence with 6 months of county credit, the clock effectively started six months before you arrived at the state facility.
Probation With a Jail Condition
If the judge puts you on community supervision but orders upfront jail time as a condition, your pre-sentence credit can satisfy part or all of that requirement. A judge who orders 30 days in county as a probation condition, after you have already sat 45 days pre-sentence, has nothing left to make you serve. You start probation without going back inside.
Here is the trap. Article 42.03 specifically excludes jail time served as a condition of community supervision from counting as pre-sentence credit.1State of Texas. Texas Code of Criminal Procedure Article 42.03 – Section 2 If probation is later revoked and the judge sends you to prison, the days you sat as a probation condition generally do not carry over to the new sentence. Pre-sentence credit and probation-condition jail time are two different buckets, and only pre-sentence credit automatically follows you.
When Credit Goes to a Different Case, or Nowhere
Multiple Pending Cases
If you have charges in more than one case, only one case usually gets credit for a given day in custody. Say you are out on bond in Case A and get arrested on Case B. Your jail time counts toward Case B. Case A gets nothing unless the court placed a hold on you or revoked your bond in that case. You cannot double-dip, and defendants with several pending matters often find out too late that the case without the hold earned no credit at all.
Parole and Blue Warrants
Get arrested on a new charge while on parole and the Board of Pardons and Paroles may issue a “blue warrant” to revoke your release. Time held on a blue warrant generally counts toward the parole revocation, not the new case. You remain entitled to credit for the time held on the warrant even if it is later withdrawn, but which sentence receives that credit depends on the facts, and getting it wrong can cost months.
Already Serving Another Sentence
If you were already in custody on a prior conviction when you picked up a new charge, you do not get credit on both cases for the same days. The clock keeps running on the sentence you were already serving, and credit on the new case starts when that prior sentence ends or when the court orders the sentences to run concurrently.2State of Texas. Texas Code of Criminal Procedure Art 42.08
Fixing a Credit Error on Your Judgment
Judges are supposed to calculate credit accurately, but errors show up often. Booking records go missing, transfer dates between counties get muddled, and the math is sometimes just wrong. If your judgment lists fewer days than you actually spent in custody, the fix is a motion called a Judgment Nunc Pro Tunc, Latin for “now for then.” The motion asks the court to correct a clerical mistake in the original judgment so it reflects the real pre-sentence custody.
A nunc pro tunc motion cannot change the substance of your sentence. It cannot shorten the term the judge imposed or alter the judge’s findings. It only corrects factual errors on the paperwork, like a wrong arrest date or a miscounted number of days. You will need documentation to prove the error: booking records, sheriff’s logs, or bond paperwork showing when you were actually in custody. A lawyer can help you assemble that evidence, but if you are on your own, the court clerk’s office can usually give you the form.
Act quickly. Texas does not impose a strict statutory deadline for nunc pro tunc motions correcting clerical errors, but the longer you wait, the harder it becomes to locate the records that prove your claim. If the credit on your judgment does not match the time you actually sat, raise it with your attorney or the court as soon as you can.
Two Situations Where These Rules Do Not Apply
If you were convicted of a state jail felony and sent to a state jail facility, you still get day-for-day credit for pre-sentence time in county jail, but good conduct time does not accrue there and additional credit is limited to capped “diligent participation” credit.3State of Texas. Texas Code of Criminal Procedure Art 42A.559 And if your case is in federal court, credit is calculated by the Bureau of Prisons under 18 U.S.C. ยง 3585(b) rather than by the sentencing judge, and disputes go through the BOP’s administrative remedy process.4Office of the Law Revision Counsel. 18 USC 3585 – Calculation of a Term of Imprisonment