> 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 § 654. — Section 654.

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

## Hierarchy

Title PEN — Penal Code - PEN > Part 1. — PART 1. OF CRIMES AND PUNISHMENTS [25. - 680.4.] > Title 16. — TITLE 16. GENERAL PROVISIONS [654. - 678.]

## Text

(a)

An act or omission that is punishable in different ways by different provisions of law may be punished under either of such provisions, but in no case shall the act or omission be punished under more than one provision. An acquittal or conviction and sentence under any one bars a prosecution for the same act or omission under any other.

(b)

Notwithstanding subdivision (a), a defendant sentenced pursuant to subdivision (a) shall not be
				  granted probation if any of the provisions that would otherwise apply to the defendant prohibits the granting of probation.
