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

# M.G.L. c. 248, § 23 — Discharging prisoner

- **Citation**: M.G.L. c. 248, § 23
- **Node Type**: section
- **Jurisdiction**: Massachusetts (state)
- **Code Body**: Massachusetts General Laws (through amendments passed before May 31, 2026) (M.G.L.)
- **Official Source**: [https://malegislature.gov/Laws/GeneralLaws/PartIII/TitleIV/Chapter248/Section23](https://malegislature.gov/Laws/GeneralLaws/PartIII/TitleIV/Chapter248/Section23)
- **Canonical URL**: [https://corpuslaw.us/codes/massachusetts/part-iii/title-iv/chapter-c-248/section-c-248-23](https://corpuslaw.us/codes/massachusetts/part-iii/title-iv/chapter-c-248/section-c-248-23)
- **Semantic URL**: [https://corpuslaw.us/codes/massachusetts/part-iii/title-iv/chapter-c-248/section-c-248-23](https://corpuslaw.us/codes/massachusetts/part-iii/title-iv/chapter-c-248/section-c-248-23)

## Hierarchy

Part Part III — COURTS, JUDICIAL OFFICERS AND PROCEEDINGS IN CIVIL CASES > Title Title IV — CERTAIN WRITS AND PROCEEDINGS IN SPECIAL CASES > Chapter c. 248 — HABEAS CORPUS AND PERSONAL LIBERTY

## Text

c. 248, § 23. Discharging prisoner

Section 23. If no legal cause is shown for the imprisonment or restraint, the court or justice shall discharge the prisoner.
