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

# Va. Code Ann. § 53.1-40.7 — Discharge of prisoner involuntarily admitted

- **Citation**: Va. Code Ann. § 53.1-40.7
- **Node Type**: section
- **Jurisdiction**: Virginia (state)
- **Code Body**: Code of Virginia (Aug. 2026 snapshot) (Va. Code Ann.)
- **Official Source**: [https://law.lis.virginia.gov/vacode/53.1-40.7/](https://law.lis.virginia.gov/vacode/53.1-40.7/)
- **Canonical URL**: [https://corpuslaw.us/codes/virginia/title-53-1/chapter-2/section-53-1-40-7](https://corpuslaw.us/codes/virginia/title-53-1/chapter-2/section-53-1-40-7)
- **Semantic URL**: [https://corpuslaw.us/codes/virginia/title-53-1/chapter-2/section-53-1-40-7](https://corpuslaw.us/codes/virginia/title-53-1/chapter-2/section-53-1-40-7)

## Hierarchy

Title 53.1 > Chapter 2

## Text

A. The prisoner shall be discharged from a hospital or facility for the care and treatment of individuals with mental illness to a state or local correctional facility designated by the Director if there is no further need for involuntary hospitalization or at the expiration of 180 days unless involuntarily committed by further petition and order of a court as provided herein.

B. Notwithstanding the provisions of subsection A, if there is no further need for involuntary hospitalization, the prisoner may be retained in such hospital or facility if the prisoner (i) is capable of and consents to voluntary admission, and (ii) has been examined by a licensed physician, psychiatrist, or clinical psychologist acting on staff within his area of expertise and is determined to be in need of continued hospitalization.

1988, c. 873; 2005, c. 639 ; 2012, cc. 476 , 507 .
