Federal cases
A defendant gets credit for time in official detention before the sentence starts, if it was because of the offense (or another charge after the offense) and it has not been credited to another sentence.[1]
State cases
Each state has its own law. Jail credit is usually written in the judgment or sentencing order. If the credit is wrong, it is normally fixed through the court, not the prison.
What to do
- Get a copy of the judgment and look for "jail credit" or "credit for time served."
- Compare it with the DOC record.
- If they don't match, ask the defense attorney or the court clerk about a correction.