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

# Cal. Penal Code - PEN § 1237.1. — Section 1237.1.

- **Citation**: Cal. Penal Code - PEN § 1237.1.
- **Node Type**: section
- **Jurisdiction**: California (state)
- **Code Body**: Penal Code - PEN (PEN)
- **Official Source**: [https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip](https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip)
- **Canonical URL**: [https://corpuslaw.us/codes/california/penal-code/part-2/title-9/chapter-1/section-1237-1](https://corpuslaw.us/codes/california/penal-code/part-2/title-9/chapter-1/section-1237-1)
- **Semantic URL**: [https://corpuslaw.us/codes/california/penal-code/part-2/title-9/chapter-1/section-1237-1](https://corpuslaw.us/codes/california/penal-code/part-2/title-9/chapter-1/section-1237-1)

## Hierarchy

Title PEN — Penal Code - PEN > Part 2. — PART 2. OF CRIMINAL PROCEDURE [681. - 1620.] > Title 9. — TITLE 9. APPEALS IN FELONY CASES [1235. - 1265.] > Chapter 1. — CHAPTER 1. Appeals, When Allowed and How Taken, and the Effect Thereof [1235. - 1246.]

## Text

No appeal shall be taken by the defendant from a judgment of conviction on the ground of an error in the calculation of presentence custody credits, unless the defendant first presents the claim in the trial court at the time of sentencing, or if the error is not discovered until after sentencing, the defendant first makes a motion for correction of the record in the trial court, which may be made informally in writing. The trial court retains jurisdiction after a notice of appeal has been filed to correct any error in the calculation of
						presentence custody credits upon the defendant’s request for correction.
