> 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. pt. Part III, tit. Title IV, ch. c. 248 — HABEAS CORPUS AND PERSONAL LIBERTY

- **Citation**: M.G.L. pt. Part III, tit. Title IV, ch. c. 248
- **Node Type**: chapter
- **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](https://malegislature.gov/Laws/GeneralLaws/PartIII/TitleIV/Chapter248)
- **Canonical URL**: [https://corpuslaw.us/codes/massachusetts/part-iii/title-iv/chapter-c-248](https://corpuslaw.us/codes/massachusetts/part-iii/title-iv/chapter-c-248)
- **Semantic URL**: [https://corpuslaw.us/codes/massachusetts/part-iii/title-iv/chapter-c-248](https://corpuslaw.us/codes/massachusetts/part-iii/title-iv/chapter-c-248)

## Hierarchy

Part Part III — COURTS, JUDICIAL OFFICERS AND PROCEEDINGS IN CIVIL CASES > Title Title IV — CERTAIN WRITS AND PROCEEDINGS IN SPECIAL CASES

## Sections

| Citation | Heading | Type | Link |
| --- | --- | --- | --- |
| M.G.L. c. 248, § 1 | Persons entitled to writ; exceptions | section | [View](https://corpuslaw.us/code/20bb3a1b-9a1b-42de-a1f3-c9c6bdd0f17f.md) |
| M.G.L. c. 248, § 2 | By whom issued | section | [View](https://corpuslaw.us/code/0f054d15-05a0-4bc7-bcdc-78a8d585cf2c.md) |
| M.G.L. c. 248, § 3 | Petition for writ; contents; annexed papers | section | [View](https://corpuslaw.us/code/91a3291f-b107-4f52-b6bd-b0874824a45a.md) |
| M.G.L. c. 248, § 4 | Issuance of writ; return | section | [View](https://corpuslaw.us/code/20f3f6be-2984-4e5f-9c60-92b8e4d59a1b.md) |
| M.G.L. c. 248, § 5 | Form of writ | section | [View](https://corpuslaw.us/code/4dd5d6a5-89d0-4679-b277-8b68d4ed2d4f.md) |
| M.G.L. c. 248, § 6 | Signature of magistrate or clerk; service | section | [View](https://corpuslaw.us/code/975c97d6-2591-4d24-9155-85faefc3c9bf.md) |
| M.G.L. c. 248, § 7 | Designation of custodian of prisoner | section | [View](https://corpuslaw.us/code/a726f40c-3d74-4d50-adef-58ca460626cc.md) |
| M.G.L. c. 248, § 8 | Designation of prisoner | section | [View](https://corpuslaw.us/code/ef18b615-8d03-49de-abb4-e3b5660feac3.md) |
| M.G.L. c. 248, § 9 | Expense of transporting prisoner; advance payment | section | [View](https://corpuslaw.us/code/ad043a7e-aa5a-458b-ae2c-0d295e739e85.md) |
| M.G.L. c. 248, § 10 | Return of writ | section | [View](https://corpuslaw.us/code/15facc0a-fbc5-40b4-8a5f-926a63f4dedb.md) |
| M.G.L. c. 248, § 11 | Contents of return | section | [View](https://corpuslaw.us/code/145dfc70-630e-4fe8-9b99-447711b56448.md) |
| M.G.L. c. 248, § 12 | Production of prisoner | section | [View](https://corpuslaw.us/code/60fdd8dd-b78c-412f-b5f8-bd534b0b38da.md) |
| M.G.L. c. 248, § 13 | Illness preventing production of prisoner | section | [View](https://corpuslaw.us/code/261fcac8-b1e5-41c6-95c8-9b385f9c6517.md) |
| M.G.L. c. 248, § 14 | Return before justice of court | section | [View](https://corpuslaw.us/code/e906fa1e-d5fc-46b4-a783-071a8e21a61d.md) |
| M.G.L. c. 248, § 15 | Causes of imprisonment; examination | section | [View](https://corpuslaw.us/code/d8af8653-9379-40f6-b6c2-68da6af13a62.md) |
| M.G.L. c. 248, § 16 | Notice to persons interested in continuing imprisonment | section | [View](https://corpuslaw.us/code/0b473f46-02cd-4591-9ef6-eddec02d0213.md) |
| M.G.L. c. 248, § 17 | Notice; prisoners held for crimes | section | [View](https://corpuslaw.us/code/dcce7c15-0364-40b5-9a65-853b09bdd9bf.md) |
| M.G.L. c. 248, § 18 | Custody of prisoner pending examination | section | [View](https://corpuslaw.us/code/166e2e7c-4613-4e7c-8c96-20504a824b0f.md) |
| M.G.L. c. 248, § 19 | Bail | section | [View](https://corpuslaw.us/code/eba502d7-9deb-457d-bec0-00158fac47fd.md) |
| M.G.L. c. 248, § 20 | Prisoners committed in civil actions for want of bail; bail | section | [View](https://corpuslaw.us/code/316481fb-8f15-45e4-88d2-f1865c692f9e.md) |
| M.G.L. c. 248, § 21 | Prisoners committed on criminal charges; bail | section | [View](https://corpuslaw.us/code/a2720581-be4d-4261-ba8d-cb4f2222c697.md) |
| M.G.L. c. 248, § 22 | Remanding prisoner | section | [View](https://corpuslaw.us/code/c4fbe948-ae9f-4f8a-8433-2e6abf059898.md) |
| M.G.L. c. 248, § 23 | Discharging prisoner | section | [View](https://corpuslaw.us/code/af177be9-d657-4f6b-b04a-0ee5c28c513c.md) |
| M.G.L. c. 248, § 24 | Imprisonment after discharge | section | [View](https://corpuslaw.us/code/78bc94fb-bbdc-4552-8340-54c7151c1356.md) |
| M.G.L. c. 248, § 25 | Scope of chapter | section | [View](https://corpuslaw.us/code/70048480-bcf5-4b54-b66e-5ebe94fd321a.md) |
| M.G.L. c. 248, § 26 | Refusal of officer to deliver copy of warrant; penalty | section | [View](https://corpuslaw.us/code/a88de95f-3f93-4f1b-9020-48c1c54c9433.md) |
| M.G.L. c. 248, § 27 | Refusal to obey writ; attachment | section | [View](https://corpuslaw.us/code/afca9889-ec4c-4ea8-8599-02d95e99d4e2.md) |
| M.G.L. c. 248, § 28 | Attachment; executing officers | section | [View](https://corpuslaw.us/code/d01960e4-3d92-4ece-999f-980f46eb2955.md) |
| M.G.L. c. 248, § 29 | Refusal to obey writ; precept commanding production of prisoner | section | [View](https://corpuslaw.us/code/4e66100a-4962-4c1b-a69c-9fa1f80b3a68.md) |
| M.G.L. c. 248, § 30 | Refusal to obey writ; penalty | section | [View](https://corpuslaw.us/code/8fc091c9-c982-487c-8705-235a89f247fe.md) |
| M.G.L. c. 248, § 31 | Resistance or disobedience of writ; attachment | section | [View](https://corpuslaw.us/code/0ada8a24-bf11-48b6-8aed-c604a9c8f1e4.md) |
| M.G.L. c. 248, § 32 | Removing or concealing prisoner; penalty | section | [View](https://corpuslaw.us/code/06eb399a-fef1-49a4-9379-11707e812158.md) |
| M.G.L. c. 248, § 33 | Recovery of penalties; effect on actions by aggrieved parties | section | [View](https://corpuslaw.us/code/9d0646a0-a58d-4ee1-aa1d-166e9ff70dba.md) |
| M.G.L. c. 248, § 34 | Persons in custody of United States marshal | section | [View](https://corpuslaw.us/code/7fb09300-8baa-49f2-a46a-53ccbe2847ab.md) |
| M.G.L. c. 248, § 35 | Personal liberty; how secured | section | [View](https://corpuslaw.us/code/4d3af779-6902-4a0e-a4b7-6bfdcbbb9a3a.md) |
| M.G.L. c. 248, § 36 | Petition to obtain personal liberty | section | [View](https://corpuslaw.us/code/6dc7a258-c7e2-4b26-a74f-e8666f239431.md) |
| M.G.L. c. 248, § 37 | Notice to custodians, etc. | section | [View](https://corpuslaw.us/code/6486c14e-4fea-4eec-a906-e9488b42f8a5.md) |
| M.G.L. c. 248, § 38 | Examination of witnesses | section | [View](https://corpuslaw.us/code/050e9b8c-bdff-4993-b074-6f3675253bb8.md) |
| M.G.L. c. 248, § 39 | Conducting examinations; assistance from district attorneys | section | [View](https://corpuslaw.us/code/cf448b14-bd40-45e6-8b86-682a5076ccd6.md) |
| M.G.L. c. 248, § 40 | Payment of fees | section | [View](https://corpuslaw.us/code/bb972a40-ac2d-43cd-ba99-4c5f36bfc4c8.md) |
