> 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, § 31 — Resistance or disobedience of writ; attachment

- **Citation**: M.G.L. c. 248, § 31
- **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/Section31](https://malegislature.gov/Laws/GeneralLaws/PartIII/TitleIV/Chapter248/Section31)
- **Canonical URL**: [https://corpuslaw.us/codes/massachusetts/part-iii/title-iv/chapter-c-248/section-c-248-31](https://corpuslaw.us/codes/massachusetts/part-iii/title-iv/chapter-c-248/section-c-248-31)
- **Semantic URL**: [https://corpuslaw.us/codes/massachusetts/part-iii/title-iv/chapter-c-248/section-c-248-31](https://corpuslaw.us/codes/massachusetts/part-iii/title-iv/chapter-c-248/section-c-248-31)

## 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, § 31. Resistance or disobedience of writ; attachment

Section 31. Whoever resists the service of the writ of habeas corpus, or disobeys it when served, shall be liable to attachment as for a contempt of the court or justice before whom the writ is returnable.
