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

# Ala. Code tit. 15, ch. 21 — Habeas Corpus.

- **Citation**: Ala. Code tit. 15, ch. 21
- **Node Type**: chapter
- **Jurisdiction**: Alabama (state)
- **Code Body**: Code of Alabama 1975 (through the 2026 Regular Session) (Ala. Code)
- **Official Source**: [https://alison.legislature.state.al.us/code-of-alabama](https://alison.legislature.state.al.us/code-of-alabama)
- **Canonical URL**: [https://corpuslaw.us/codes/alabama/title-15/chapter-21](https://corpuslaw.us/codes/alabama/title-15/chapter-21)
- **Semantic URL**: [https://corpuslaw.us/codes/alabama/title-15/chapter-21](https://corpuslaw.us/codes/alabama/title-15/chapter-21)

## Hierarchy

Title 15 — Criminal Procedure.

## Sections

| Citation | Heading | Type | Link |
| --- | --- | --- | --- |
| Ala. Code § 15-21-1 | Persons Entitled to Prosecute Writ - Generally. | section | [View](https://corpuslaw.us/code/8cf6e31c-919e-40b0-8a01-a0be6388d614.md) |
| Ala. Code § 15-21-2 | Persons Entitled to Prosecute Writ - Persons Confined for Failure to Enter into Undertaking to Keep the Peace. | section | [View](https://corpuslaw.us/code/aac7d51f-cb09-4602-8738-bced9643ff74.md) |
| Ala. Code § 15-21-3 | Persons Entitled to Prosecute Writ - Persons Confined as Insane. | section | [View](https://corpuslaw.us/code/ff822f2d-df86-4cbb-9e21-3199d95e2733.md) |
| Ala. Code § 15-21-4 | Application to Be Made by Petition; Contents of Petition. | section | [View](https://corpuslaw.us/code/059ea852-8d09-469a-91c9-19f95fec9dab.md) |
| Ala. Code § 15-21-5 | Description of Party If Name Uncertain or Unknown. | section | [View](https://corpuslaw.us/code/96323fbd-9c4e-4678-b877-7e9a1f0ee27c.md) |
| Ala. Code § 15-21-6 | To Whom Petition Addressed. | section | [View](https://corpuslaw.us/code/6b4a0e8d-cade-44ca-93b8-f7db106aae82.md) |
| Ala. Code § 15-21-7 | When Petition May Be Addressed to Another Judge; Justifying Proof Required; Ouster of Jurisdiction of Nearest Judge. | section | [View](https://corpuslaw.us/code/56c0b237-e396-404a-ac16-02a1af419534.md) |
| Ala. Code § 15-21-8 | Writ to Be Granted Without Delay; to Whom Writ Returnable. | section | [View](https://corpuslaw.us/code/b067b448-6012-47d1-b9a4-e41d0ea06d86.md) |
| Ala. Code § 15-21-9 | Form of Writ. | section | [View](https://corpuslaw.us/code/b36c1420-9792-4b01-ba3a-0a05bc4c97a7.md) |
| Ala. Code § 15-21-10 | Writ Not to Be Disobeyed for Want of Form or Misdescription; Writ Presumed Addressed to Recipient. | section | [View](https://corpuslaw.us/code/89d4c672-790a-4102-823b-63c39d9c4d5e.md) |
| Ala. Code § 15-21-12 | Notice to Any Other Person Having Interest Required. | section | [View](https://corpuslaw.us/code/09dcb7b2-9fdf-4348-b5c7-59e67aa67ada.md) |
| Ala. Code § 15-21-13 | Notice to District Attorney, Prosecutor or Arrestor Required When Criminal Charge; Bail Without Notice. | section | [View](https://corpuslaw.us/code/ee2de15a-c025-4cc9-8a3b-3ac60c39f6ee.md) |
| Ala. Code § 15-21-14 | Issuance of Precept; Execution of Precept by Sheriff or Constable. | section | [View](https://corpuslaw.us/code/9c833ffe-0b7d-4caa-b0fa-f3fdacf35707.md) |
| Ala. Code § 15-21-15 | Subpoenas for Witnesses. | section | [View](https://corpuslaw.us/code/1bf48dff-5560-45d7-a7d4-25950a079703.md) |
| Ala. Code § 15-21-16 | Service of Writ. | section | [View](https://corpuslaw.us/code/599e4935-2197-4cb9-9eff-a031b0df5832.md) |
| Ala. Code § 15-21-17 | When Return to Be Made; Form and Contents of Return. | section | [View](https://corpuslaw.us/code/191decb5-280b-4052-94ee-4bdea7f670d2.md) |
| Ala. Code § 15-21-18 | Person and Original Detaining Warrant, Writ, Etc., to Be Produced with Return; Exception. | section | [View](https://corpuslaw.us/code/2a9cb743-d435-4592-928b-95960b40b56d.md) |
| Ala. Code § 15-21-19 | Proceedings When Person Not Produced on Account of Sickness or Infirmity. | section | [View](https://corpuslaw.us/code/25c08ff1-949b-4057-b406-accd718998d1.md) |
| Ala. Code § 15-21-20 | Contesting of Return; Examination into Imprisonment or Detention; Disposition of Detainee on Adjournment of Examination; Forfeiture of Bail. | section | [View](https://corpuslaw.us/code/2e7d646d-68b9-4587-920b-ffb9b20b93f2.md) |
| Ala. Code § 15-21-21 | When Party to Be Discharged or Remanded. | section | [View](https://corpuslaw.us/code/e1c2f06c-97cc-4301-a056-fe3700048394.md) |
| Ala. Code § 15-21-22 | Admission to Bail If Charged with Bailable Offense; Procedure When Sufficient Bail Not Offered; Transmission of Bail to Clerk of Court; Forfeiture of Bail. | section | [View](https://corpuslaw.us/code/51ec0ace-992a-4494-9609-1fd90b5a47cc.md) |
| Ala. Code § 15-21-23 | Judgment, Etc., or Contempt Commitment Not to Be Inquired Into. | section | [View](https://corpuslaw.us/code/4a210f33-3aa1-400a-9583-8c626f508f3f.md) |
| Ala. Code § 15-21-24 | Grounds for Discharge of Person in Custody Under Process Legally Issued. | section | [View](https://corpuslaw.us/code/1ed627bc-13cf-41c7-b400-f55e50d33e69.md) |
| Ala. Code § 15-21-25 | Remand or Commitment to Custody or Restraint for Public Offense When Commitment Irregular. | section | [View](https://corpuslaw.us/code/eb051c72-8acb-4896-88c9-9418cd06165b.md) |
| Ala. Code § 15-21-26 | Reimprisonment for Same Cause After Discharge. | section | [View](https://corpuslaw.us/code/7331a1bd-911b-4292-aebf-232bd02ea2a1.md) |
| Ala. Code § 15-21-27 | Penalty - Unlawful Detention or Arrest After Discharge Order; Civil Action for Damages. | section | [View](https://corpuslaw.us/code/7f41da95-6c13-4d87-937e-6d6e8007815c.md) |
| Ala. Code § 15-21-28 | Penalty - Refusal or Neglect to Deliver True Copy of Detention Order, Etc. | section | [View](https://corpuslaw.us/code/0b2ff878-c1bc-4ad8-ba92-62c8812a1712.md) |
| Ala. Code § 15-21-30 | Attachment to Compel Obedience and Punish for Contempt. | section | [View](https://corpuslaw.us/code/a6c53193-6b4a-4f96-82d3-c383de891375.md) |
| Ala. Code § 15-21-31 | Penalty for Transferring Custody, Etc., so as to Elude Service or Effect of Writ. | section | [View](https://corpuslaw.us/code/b6e3cdc6-fb66-40d4-b99c-c9b69f536220.md) |
| Ala. Code § 15-21-32 | Proceedings Against Defaulting Witnesses. | section | [View](https://corpuslaw.us/code/25a5084e-f8f4-4808-b3e4-5c4901a0ef7b.md) |
| Ala. Code § 15-21-33 | Taxation and Collection of Fees and Costs of Witnesses. | section | [View](https://corpuslaw.us/code/edb0d451-2aee-4166-b779-5a666200f3d4.md) |
| Ala. Code § 15-21-34 | Summoning and Compensation of Guards to Convey Prisoner. | section | [View](https://corpuslaw.us/code/72d3dcd1-1e3e-425e-8672-2ba64c01d4f0.md) |
