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

# KRS 202A.151 — Writ of habeas corpus

- **Citation**: KRS 202A.151
- **Node Type**: section
- **Jurisdiction**: Kentucky (state)
- **Code Body**: Kentucky Revised Statutes (through the 2026 Regular Session) (KRS)
- **Official Source**: [https://apps.legislature.ky.gov/law/statutes/statute.aspx?id=7475](https://apps.legislature.ky.gov/law/statutes/statute.aspx?id=7475)
- **Canonical URL**: [https://corpuslaw.us/codes/kentucky/title-xvii/chapter-202a/section-202a-151](https://corpuslaw.us/codes/kentucky/title-xvii/chapter-202a/section-202a-151)
- **Semantic URL**: [https://corpuslaw.us/codes/kentucky/title-xvii/chapter-202a/section-202a-151](https://corpuslaw.us/codes/kentucky/title-xvii/chapter-202a/section-202a-151)

## Hierarchy

Title XVII — ECONOMIC SECURITY AND PUBLIC WELFARE > Chapter 202A — HOSPITALIZATION OF INDIVIDUALS WITH A MENTAL ILLNESS

## Text

202A.151. Writ of habeas corpus

At any time, and without notice, a person detained at a facility, or a relative, friend, guardian, representative, or attorney on behalf of such person, may petition for a writ of habeas corpus to question the cause and legality of such detention and request that the Circuit Court issue a writ for release.

Effective: July 1, 1982

History: Created 1982 Ky. Acts ch. 445, sec. 16, effective July 1, 1982. Legislative Research Commission Note. This section was enacted in 1982 Acts, Chapter 445, which contains the following language in Section 45 of that Act: "This Act shall become effective on July 1, 1982." The Ky. Constitution, in Section 55, requires that a reason be set forth for the emergency. However, no reason is set forth in this Act. The effective date for 1982 Acts with no emergency provision is July 15, 1982.
