> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# MCL 330.2042 — Crediting time spent in custody.

- **Citation**: MCL 330.2042
- **Node Type**: section
- **Jurisdiction**: Michigan (state)
- **Code Body**: Michigan Compiled Laws (complete through PA 103 of 2026) (MCL)
- **Official Source**: [https://legislature.mi.gov/Laws/MCL?objectName=mcl-330-2042](https://legislature.mi.gov/Laws/MCL?objectName=mcl-330-2042)
- **Canonical URL**: [https://corpuslaw.us/codes/michigan/chapter-330/subtitle-act-258-of-1974/chapter-10/division-330-2020-d10/section-330-2042](https://corpuslaw.us/codes/michigan/chapter-330/subtitle-act-258-of-1974/chapter-10/division-330-2020-d10/section-330-2042)
- **Semantic URL**: [https://corpuslaw.us/codes/michigan/chapter-330/subtitle-act-258-of-1974/chapter-10/division-330-2020-d10/section-330-2042](https://corpuslaw.us/codes/michigan/chapter-330/subtitle-act-258-of-1974/chapter-10/division-330-2020-d10/section-330-2042)

## Hierarchy

Chapter 330 — MENTAL HEALTH CODE > Subtitle Act 258 of 1974 — MENTAL HEALTH CODE > Chapter 10 — CRIMINAL PROVISIONS > Division 330.2020.D10 — INCOMPETENCE TO STAND TRIAL

## Text

330.2042. Crediting time spent in custody.

Sec. 1042.

Time spent in custody because of orders issued pursuant to sections 1026, 1032, and 1040 shall be credited against any sentence imposed on the defendant in the pending criminal case or in any other case arising from the same transaction.

1974, Act 258, Eff. Aug. 6, 1975
