> 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 Crim. Proc. art. 362 — Custody with court order

- **Citation**: La. Code Crim. Proc. art. 362
- **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=112484](https://legis.la.gov/legis/Law.aspx?d=112484)
- **Canonical URL**: [https://corpuslaw.us/codes/louisiana/code-of-criminal-procedure/section-362](https://corpuslaw.us/codes/louisiana/code-of-criminal-procedure/section-362)
- **Semantic URL**: [https://corpuslaw.us/codes/louisiana/code-of-criminal-procedure/section-362](https://corpuslaw.us/codes/louisiana/code-of-criminal-procedure/section-362)

## Hierarchy

Division CCRP — Code of Criminal Procedure

## Text

362. Custody with court order

If the person in custody is being held by virtue of a court order, relief shall be granted only on the following grounds:

(1) The court has exceeded its jurisdiction;

(2) The original custody was lawful, but by some act, omission, or event which has since occurred, the custody has become unlawful;

(3) The order for the custody is deficient in some legal requisite;

(4) The order for the custody, although legal in form, imposes an illegal custody;

(5) The custodian is not the person allowed by law to detain the person in custody;

(6) He has been denied his right to a hearing in an extradition case, as provided in Article 267; or

(7) He is being held in custody prior to trial in violation of due process of law.

Amended by Acts 1980, No. 429, §2, eff. Jan. 1, 1981.
