> 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).

# Utah Code § 26B-5-311 — Habeas corpus.

- **Citation**: Utah Code § 26B-5-311
- **Node Type**: section
- **Jurisdiction**: Utah (state)
- **Code Body**: Utah Code (current version as served 2026-10-18) (Utah Code)
- **Official Source**: [https://le.utah.gov/xcode/Title26B/Chapter5/26B-5-S311.html?v=C26B-5-S311_2023050320230503](https://le.utah.gov/xcode/Title26B/Chapter5/26B-5-S311.html?v=C26B-5-S311_2023050320230503)
- **Canonical URL**: [https://corpuslaw.us/codes/utah/title-26b/chapter-26b-5/part-26b-5-p3/section-26b-5-311](https://corpuslaw.us/codes/utah/title-26b/chapter-26b-5/part-26b-5-p3/section-26b-5-311)
- **Semantic URL**: [https://corpuslaw.us/codes/utah/title-26b/chapter-26b-5/part-26b-5-p3/section-26b-5-311](https://corpuslaw.us/codes/utah/title-26b/chapter-26b-5/part-26b-5-p3/section-26b-5-311)

## Hierarchy

Title 26B — Utah Health and Human Services Code > Chapter 26B-5 — Health Care - Substance Use and Mental Health > Part 26B-5-P3 — Utah State Hospital and Other Mental Health Facilities

## Text

26B-5-311. Habeas corpus.

Any individual detained pursuant to this part is entitled to the writ of habeas corpus upon proper petition by themselves or a friend, to the court in the county in which the individual is detained.

Renumbered and Amended by Chapter 308, 2023 General Session
