> 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.5. — Section 1237.5.

- **Citation**: Cal. Penal Code - PEN § 1237.5.
- **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-5](https://corpuslaw.us/codes/california/penal-code/part-2/title-9/chapter-1/section-1237-5)
- **Semantic URL**: [https://corpuslaw.us/codes/california/penal-code/part-2/title-9/chapter-1/section-1237-5](https://corpuslaw.us/codes/california/penal-code/part-2/title-9/chapter-1/section-1237-5)

## 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 upon a plea of guilty or nolo contendere, or a revocation of probation following an admission of violation, except where both of the following are met:

(a)

The defendant has filed with the trial court a written statement, executed under oath or penalty of perjury showing reasonable constitutional, jurisdictional, or other grounds going to the legality of the proceedings.

(b)

The trial court has executed and filed a certificate of probable cause for such appeal with the clerk of the court.
