Skip to main content
Cal. CodesPenal CodePreliminary Provisions

Cal. Penal Code § 12 (2026)

Edition and currency
leginfo export of Nov. 23, 2026: changes through Nov. 11, 2026 (checked Nov. 24, 2026). The text is the edition Syfert holds; for a past event, check the version in force on that date.
Other sources
CURRENTleginfo export of Nov. 23, 2026: changes through Nov. 11, 2026 (checked Nov. 24, 2026) cited 1918–2024 38citing cases
At a glance

Courts have cited this section in 38 opinions since 1918, 3 of them in the last five years.

The several sections of this Code which declare certain crimes to be punishable as therein mentioned, devolve a duty upon the Court authorized to pass sentence, to determine and impose the punishment prescribed.

The 20 cases that cite Cal. Penal Code § 12 most heavily, weighted by court and treatment. RelevanceNewestTreatment
1
GREENPeople v. Alford, 180 Cal. App. 4th 1463 (Ct. App. 2010).
cites § 12 1×cited by 237 cases
Where it cites § 12
“(Pen. Code, § 12; [case citations].) Pursuant to this duty the court must either sentence the defendant or grant probation in a lawful manner; it has no other discretion.”
The case’s holding
A trial court must impose a sentence on every count and then stay execution of the sentence on the count barred by section 654.
Later courts cite it for
“when a trial court determines that section 654 applies to a particular count, the trial court must impose sentence on that count and then stay execution of that sentence.” · 8 citing courts
2
GREENPeople v. Woods, 191 Cal. App. 4th 269 (Ct. App. 2010).
cites § 12 1×cited by 106 cases
Where it cites § 12
“(Pen. Code, § 12; People v. Floyd P. (1988) 198 Cal.”
The case’s holding
Trial courts lack statutory authority to stay mandatory court facilities assessments, restitution fines, or court security fees.
Later courts cite it for
“there is no statutory authority which allows the . . . restitution fine . . . to be stayed.” · 3 citing courts
3
GREENPeracchi v. Superior Court, 30 Cal. 4th 1245 (2003).
cites § 12 1×cited by 101 cases
Where it cites § 12
“(Pen. Code, §§ 12, 1191, 1202; Cal. Rules of Court, rule 4.”
The case’s holding
A resentencing hearing following a partial reversal on appeal does not constitute a new trial for purposes of a peremptory challenge under Code of Civil Procedure section 170.6.
Later courts cite it for
“a reexamination of the issue in the same court, before another jury, after a verdict has been given.” · 4 citing courts
4
GREENIn re Lee, 177 Cal. 690 (1918).
cites § 12 2×cited by 178 cases
Where it cites § 12
“of the Penal Code provides the method and manner of imposing sentence, and section 1588 of the Penal Code provides deductions from the term so fixed by the court of credits for good conduct when earned.”
The case’s holding
An indeterminate sentence statute is unconstitutional if it replaces fixed statutory good conduct credits with administrative discretion for offenses committed before the statute's enactment.
Later courts cite it for
“. . . the indeterminate sentence is in legal effect a sentence for the maximum term.” · 2 citing courts
5
GREENIn re Andrews, 18 Cal. 3d 208 (1976).
cites § 12 2×cited by 28 cases
Where it cites § 12
“Given the admonition of Chambers to construe section 1202b liberally with a view toward promoting its primary objective of rehabilitating youthful offenders, I would reject the majority's restrictive construction of the section.”
Holding on this section
Penal Code section 1202b requires a single six-month minimum term for all offenses cumulatively rather than allowing a court to limit its effect to one term.
Later courts cite it for
“provisions of the penal code must be construed '"'according to the fair import of their terms, with a view to effect its objects and to promote justice.” · 3 citing courts
6
GREENPeople v. Surplice, 203 Cal. App. 2d 784 (Ct. App. 1962).
cites § 12 2×cited by 51 cases
Where it cites § 12
“The duty of the court with respect to imposing sentence on convicted defendants is enunciated in Penal Code sections 12 and 13 as follows: “ § 12.”
The case’s holding
To exercise judicial discretion, a judge must know and consider all material facts and legal principles essential to an informed, intelligent, and just decision.
Later courts cite it for
“to exercise the power of judicial discretion all the material facts in evidence must be both known and considered, together also with the legal principles essential to an informed, intelligent and just decision.” · 4 citing courts
7
GREENPeople v. Morrow, 275 Cal. App. 2d 507 (Ct. App. 1969).
cites § 12 4×cited by 11 cases
Where it cites § 12
“. . in the state prison for not less than one year nor more than 10 years.”
8
GREENPeople v. Navarro, 7 Cal. 3d 248 (1972).
cites § 12 1×cited by 185 cases
Where it cites § 12
“) 6 Section 12 of the Penal Code recognizes this in its declaration that “The several sections of this code which declare certain crimes to be punishable as therein mentioned, devolve a duty upon the court authorized to pass sentence, to determine and impose the punishment…”
The case’s holding
The legislature cannot condition the exercise of judicial sentencing discretion upon the approval of the district attorney without violating the separation of powers doctrine.
Later courts cite it for
“the imposition of sentence and the exercise of sentencing discretion are fundamentally and inherently judicial functions.” · 4 citing courts
9
GREENPeople v. FLOYD P., 198 Cal. App. 3d 608 (Ct. App. 1988).
cites § 12 2×cited by 11 cases
Where it cites § 12
“We note, however, that on remand the trial court cannot simply resentence the defendant in accordance with the plea bargain.”
10
GREENPeople v. Cattaneo, 217 Cal. App. 3d 1577 (Ct. App. 1990).
cites § 12 1×cited by 35 cases
Where it cites § 12
“4, subdivision (e), it is required to determine that there are circumstances in mitigation and to state the reasons in the record. (Ibid.) In the case at bar, while the court found factors in mitigation, it did so in the context of staying the enhancement, which it had no…”
The case’s holding
An intermediary who intends to facilitate a drug sale may be liable as an aider and abettor for reasonably foreseeable later sales by the seller, without specific intent as to those sales.
Later courts cite it for
“in passing sentence, the trial court has a duty to determine and impose the punishment prescribed by law.” · 2 citing courts
11
GREENIn re Sandel, 64 Cal. 2d 412 (1966).
cites § 12 1×cited by 110 cases
Where it cites § 12
“The question to be determined is whether the Adult Authority has the power to “correct” an erroneous sentence of a trial court.”
The case’s holding
The correction of a sentencing error is a judicial function that remains beyond the authority of any administrative body.
Later courts cite it for
“the correction of an act of sentencing in excess of jurisdiction of the court is just as much of a judicial function as the act of sentencing itself, and is likewise beyond the authority of ... any other administrative body.” · 2 citing courts
12
GREENPeople v. Eberhardt, 186 Cal. App. 3d 1112 (Ct. App. 1986).
cites § 12 3×cited by 1 case
Where it cites § 12
“As to the remaining three counts, two of robbery and one of burglary, defendant was not informed of the disposition of these counts or the punishment imposed therefor.”
The case’s holding
A trial court may not stay imposition of sentence on enhancements or counts; such a stay is unauthorized, and the resulting sentence may be reviewed on appeal by the People.
13
GREENPeople v. Baylor, 207 Cal. App. 3d 232 (Ct. App. 1989).
cites § 12 2×cited by 6 cases
Where it cites § 12
“Rather, “It is well settled that, subject to constitutional limitations, the Legislature possesses the exclusive power to define criminal offenses and prescribe punishment.”
14
GREENPeople v. Cheffen, 2 Cal. App. 3d 638 (Ct. App. 1969).
cites § 12 1×cited by 46 cases
Where it cites § 12
“However, the trial judge pronounced judgment and sentence was imposed on defendant only for the two counts of kidnaping.”
The case’s holding
A trial court has a mandatory duty to either pass sentence or grant probation for every count of conviction.
Later courts cite it for
“upon conviction it is the duty of the court to pass sentence on the defendant and impose the punishment prescribed. pursuant to this duty the court must either sentence the defendant or grant probation in a lawful manner; it has no other discretion.” · 2 citing courts
15
GREENPeople v. Smith, 259 Cal. App. 2d 868 (Ct. App. 1968).
cites § 12 2×cited by 11 cases
Where it cites § 12
“the statute leaves undetermined the precise punishment- to be meted out to a certain defendant, Penal Code sections 12 and 13 impose a duty upon the trial court to make that determination.”
16
GREENPeople v. Montano, 6 Cal. App. 4th 118 (Ct. App. 1992).
cites § 12 1×cited by 13 cases
Where it cites § 12
“(See Pen. Code, § 12; People v. Hess (1951) 104 Cal.”
17
GREENIn re Williams, 83 Cal. App. 4th 936 (Ct. App. 2000).
cites § 12 1×cited by 13 cases
Where it cites § 12
“(Pen. Code, § 12.) Pursuant to this duty, the court must either impose the prescribed punishment or grant probation in a lawful manner.”
Later courts cite it for
“a plea bargain that purports to authorize the court to exercise a power it does not have is unlawful and may not be enforced.” · 2 citing courts
18
GREENPeople v. Ormiston, 105 Cal. App. 4th 676 (Ct. App. 2003).
cites § 12 1×cited by 1 casepartially published
Where it cites § 12
“Under section 1318, a defendant who seeks OR release may obtain such release only if he or she (1) promises to appear at all further proceedings, (2) promises not to depart from the state without leave of the court, (3) agrees to waive extradition in the event he or she fails to…”
Later courts cite it for
“diversion, however, does not constitute a special custodial status or other form of release of the defendant with a promise to appear at further proceedings, but rather a guilty plea and resolution of the case in the nature of '"a specialized form of probation . . .” · 2 citing courts
19
GREENPeople v. Crenshaw, 177 Cal. App. 3d 259 (Ct. App. 1986).
cites § 12 1×cited by 5 cases
Where it cites § 12
“The court noted: “Penal Code section 12 imposes a duty upon the sentencing court to impose the punishment prescribed by law.”
20
GREENPeople v. Bell, 17 Cal. App. 3d 949 (Ct. App. 1971).
cites § 12 1×cited by 10 cases
Where it cites § 12
“) Life imprisonment is the only lawful sentence that may be imposed upon any person for murder committed by such person before he had reached the age of 18 years.”

Show all 38 citing cases (list view) →

The flag is Syfertize’s treatment of the citing case itself, not of the statute. “Where it cites” is the passage in the opinion; the holding is a summary of the whole case and may concern another point. Annotations are extracted automatically from the opinions in the Syfert caselaw corpus.

Citing cases by year
191819712024

One bar per 2 years. Tallest: 4 cases in 1986–1987. These are opinions in the Syfert collection, which holds more of some courts’ recent opinions than their older ones, so a rise can reflect what the collection holds and not more litigation.

By court
Cal. Ct. App.27Cal.7Cal. App. Dep’t Super. Ct.2E.D. Cal.1Cal. Att'y Gen.1
By subsection

Courts have not cited this section by subsection, so its cases are not split up here. The Leading cases tab lists the cases that cite it most heavily.

Show all 38 citing cases (list view) →

Enactment and amendments
Enacted 1872.
Versions

Edition shown: leginfo export of Nov. 23, 2026: changes through Nov. 11, 2026 (checked Nov. 24, 2026). Syfert holds no earlier or later version of this section.