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

# La. Code Civ. Proc. art. 3821 — Definition

- **Citation**: La. Code Civ. Proc. art. 3821
- **Node Type**: section
- **Jurisdiction**: Louisiana (state)
- **Code Body**: Louisiana Revised Statutes, Codes and Constitution (through the 2025 First Extraordinary Session, with 2026 Regular Session changes merged by the Legislature by Nov. 28, 2026 or built from the enrolled 2026 acts) (La. Laws)
- **Official Source**: [https://legis.la.gov/legis/Law.aspx?d=111861](https://legis.la.gov/legis/Law.aspx?d=111861)
- **Canonical URL**: [https://corpuslaw.us/codes/louisiana/code-of-civil-procedure/section-3821](https://corpuslaw.us/codes/louisiana/code-of-civil-procedure/section-3821)
- **Semantic URL**: [https://corpuslaw.us/codes/louisiana/code-of-civil-procedure/section-3821](https://corpuslaw.us/codes/louisiana/code-of-civil-procedure/section-3821)

## Hierarchy

Division CCP — Code of Civil Procedure

## Text

3821. Definition

Habeas corpus is a writ commanding a person who has another in his custody to produce him before the court and to state the authority for the custody.

Custody, as used in this Chapter, includes detention and confinement.

A petition for a writ of habeas corpus may be filed by the person in custody or by any other person in his behalf.
