> 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. 882 — Correction of illegal sentence; review of illegal sentence

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

## Hierarchy

Division CCRP — Code of Criminal Procedure

## Text

882. Correction of illegal sentence; review of illegal sentence

A. An illegal sentence may be corrected at any time by the court that imposed the sentence or by an appellate court on review.

B. A sentence may be reviewed as to its legality on the application of the defendant or of the state:

(1) In an appealable case by appeal; or

(2) In an unappealable case by writs of certiorari and prohibition.

C. Nothing in this Article shall be construed to deprive any defendant of his right, in a proper case, to the writ of habeas corpus.

Amended by Acts 1984, No. 587, §1.
