California Codes homeSearch California
Cal. CodesPenal CodePart 2. Of Criminal ProcedureTitle 6. Pleadings and Proceedings Before TrialChapter 3. Demurrer and Amendment

Cal. Penal Code § 1004 (2026)

Edition and currency
leginfo export of Sept. 26, 2026 (applied Oct. 1, 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 Sept. 26, 2026 (applied Oct. 1, 2026) cited 1881–2026 84citing cases

The defendant may demur to the accusatory pleading at any time prior to the entry of a plea, when it appears upon the face thereof either:

(a)If an indictment, that the grand jury by which it was found had no legal authority to inquire into the offense charged, or, if any information or complaint that the court has no jurisdiction of the offense charged therein.

(b)That it does not substantially conform to the provisions of Sections 950 and 952, and also Section 951 in case of an indictment or information.

(c)That more than one offense is charged, except as provided in Section 954.

(d)That the facts stated do not constitute a public offense.

(e)That it contains matter which, if true, would constitute a legal justification or excuse of the offense charged, or other legal bar to the prosecution.

(f)That the statutory provision alleged in the accusatory pleading is constitutionally invalid.

The 20 cases that cite Cal. Penal Code § 1004 most heavily, weighted by court and treatment. RelevanceNewestTreatment
1
GREENTobe v. City of Santa Ana, 9 Cal. 4th 1069 (1995).
cites § 1004 8×cited by 386 cases
Where it cites § 1004
“If an indictment, that the grand jury by which it was found had no legal authority to inquire into the offense charged, or, if an information or complaint that the court has no jurisdiction of the offense charged therein; "2.”
The case’s holding
A municipal ordinance banning camping in designated public areas is facially valid (finding a municipal ordinance that banned camping in designated public areas to be facially valid).
Later courts cite it for
“a facial challenge to the constitutional validity of a statute or ordinance considers only the text of the measure itself, not its application to the particular circumstances of an individual.” · 40 citing courts
2
GREENPeople v. Arroyo, 62 Cal. 4th 589 (2016).
cites § 1004 2×cited by 57 cases
Where it cites § 1004
“He later demurred to the indictment on the ground that Welfare and Institutions Code section 707(d)(4) requires the prosecution to proceed by way of a preliminary hearing and information when filing criminal charges against a minor in adult court, and because he was a juvenile…”
The case’s holding
A grand jury indictment constitutes an accusatory pleading that allows a prosecutor to initiate direct-file prosecution against a minor in adult court.
Later courts cite it for
“expanded prosecutorial authority to file charges against minors in adult court” · 6 citing courts
3
GREENPeople v. Jennings, 53 Cal. 3d 334 (1991).
cites § 1004 2×cited by 393 cases
Where it cites § 1004
“) (2) "`Any uncertainty in the pleading amounts to no more than a defect of form, which should be attacked under Penal Code section 1004.”
The case’s holding
A court reviewing the sufficiency of evidence must examine the record in the light most favorable to the judgment to determine if substantial evidence exists for guilt.
Later courts cite it for
“when the prosecution's proof establishes the offense occurred on a particular day to the exclusion of other dates, and when the defense is alibi (or lack of opportunity), it is improper to give the jury an instruction using the 'on or about' language.” · 4 citing courts
4
GREENHudson v. Superior Court of Riverside Cnty., 7 Cal. App. 5th 999 (Ct. App. 2017).
cites § 1004 2×cited by 21 cases
Where it cites § 1004
“(Pen. Code, § 1004.) Moreover, if a court sustains a demurrer to a criminal pleading, “the court must, if the defect can be remedied, permit the fifing of an amended complaint.”
Later courts cite it for
“a trial court may disregard the caption of a motion and instead treat it in accordance with the relief it requests” · 2 citing courts
5
GREENPeople v. Biane, 58 Cal. 4th 381 (2013).
cites § 1004 3×cited by 24 cases
Where it cites § 1004
“(Ibid) The legal grounds for demurrer to an accusatory pleading are limited to those specifically enumerated in Penal Code section 1004.”
Later courts cite it for
“the accusatory pleading must be given a reasonable interpretation and read as a whole with its parts considered in their context.” · 2 citing courts
6
GREENCowan v. Superior Court, 14 Cal. 4th 367 (1996).
cites § 1004 2×cited by 153 cases
Where it cites § 1004
“(See Pen. Code, § 1004, subd. 5 [demurrer to pleading that “contains matter which, if true, would constitute a legal justification or excuse of the offense charged, or other legal bar to the prosecution”]; Pen.”
The case’s holding
A defendant may expressly waive a criminal statute of limitations if the waiver is knowing, intelligent, voluntary, made for the defendant's benefit, and made after consultation with counsel.
Later courts cite it for
“a rule that creates . . . a perverse set of incentives is untenable” · 4 citing courts
7
GREENPeople v. Tolbert, 176 Cal. App. 3d 685 (Ct. App. 1986).
cites § 1004 5×cited by 19 cases
Where it cites § 1004
“) *689 Defendant demurred to the amended information on grounds that (1) the court has no jurisdiction over any of the charged offenses (Pen. Code, § 1004, subd. 1) and (2) the allegations contained in the first four counts do not conform to the provisions of Penal Code sections…”
8
GREENSteen v. Appellate Div., 59 Cal. 4th 1045 (2014).
cites § 1004 2×cited by 36 cases
Where it cites § 1004
“(Pen. Code, § 1004, subds. 1, 5.) The court lacked jurisdiction, she argued, because the clerk has no authority to commence a criminal prosecution and because section 959.”
The case’s holding
A court clerk may validly issue a misdemeanor complaint under Penal Code section 959.1(c) if the prosecutor approves, authorizes, or concurs through established practice.
Later courts cite it for
“doctrine . . . limits the authority of one of the three branches of government to arrogate to itself the core functions of another branch. . . . the doctrine is violated when the actions of one branch defeat or materially impair the inherent functions of another.” · 2 citing courts
9
GREENPeople v. Morgan, 75 Cal. App. 3d 32 (Ct. App. 1977).
cites § 1004 2×cited by 37 cases
Where it cites § 1004
“) Such a motion may be founded on any of the defects in the accusatory pleading listed in Penal Code section 1004 unless such defect is waived by the failure to demur.”
The case’s holding
A conviction for a lesser included offense is jurisdictionally defective if the accusatory pleading fails to allege facts tolling the statute of limitations.
10
GREENMandel v. Mun. Court, 276 Cal. App. 2d 649 (Ct. App. 1969).
cites § 1004 3×cited by 33 cases
Where it cites § 1004
“[1] He contends that section 653g is unconstitutional because of overbreadth and vagueness, and that respondent court erred in overruling his demurrer because the facts stated in the complaint "do not constitute a public offense" (Pen. Code, § 1004, subd. 4) and reveal "matter…”
The case’s holding
A vagrancy statute prohibiting loitering for a sinister or wrongful purpose is unconstitutionally vague when applied to protected First Amendment speech.
11
GREENPeople v. Martinez, 197 Cal. App. 3d 767 (Ct. App. 1988).
cites § 1004 2×cited by 22 cases
Where it cites § 1004
“Existing procedures, including Penal Code section 1004 which permits a criminal defendant to demur to a complaint when the charging allegations considered in light of the transcript of the preliminary hearing do not provide sufficient certainty, ensure protection of the…”
Later courts cite it for
“because section 1203.066 renders statutorily ineligible for probation a class of offenders who were not necessarily ineligible prior to its enactment, it is clear such offenders are disadvantaged by the statute and, when applied to crimes occurring before its effective date, section 1203.066 violates the proscription against ex post facto laws.” · 1 citing court
12
GREENPeople v. Williams, 97 Cal. App. 3d 382 (Ct. App. 1979).
cites § 1004 2×cited by 21 cases
Where it cites § 1004
“The present appeal concerns the trial court’s sustaining of defendants’ demurrer to overt acts 11 through 14 in count 2 of the indictment. It is well settled that a demurrer raises an issue of law as to the sufficiency of the accusatory pleading, and it tests only those defects…”
13
GREENDulaney v. Mun. Court, 11 Cal. 3d 77 (1974).
cites § 1004 2×cited by 55 cases
Where it cites § 1004
“(Pen. Code, § 1004, subd. 4.) The demurrers were overruled.”
The case’s holding
A municipal ordinance acting as a prior restraint on protected expression is unconstitutional if it lacks narrow, objective, and definite standards to guide licensing officials.
Later courts cite it for
“fashioned from a long line of united states supreme court cases.” · 2 citing courts
14
GREENShortridge v. Mun. Court, 151 Cal. App. 3d 611 (Ct. App. 1984).
cites § 1004 2×cited by 16 cases
Where it cites § 1004
“(Pen. Code, § 1004, subd. 4.) *616 Preliminarily, we note that the trial court erroneously took judicial notice of the principal’s age.”
15
GREENIsaac v. Superior Court of Los Angeles Cnty., 79 Cal. App. 3d 260 (Ct. App. 1978).
cites § 1004 2×cited by 13 cases
Where it cites § 1004
“Petitioner seeks a writ of mandate to compel respondent court to grant petitioner's demurrer (Pen. Code, § 1004) to count I of a pending information, on the grounds the information fails to state a public offense and fails to comply with Penal Code sections 950-952.”
Later courts cite it for
“there is no requirement that an information name the statute which the accused is charged with violating, so long as the charging language adequately informs the accused of the act which she is charged with committing.” · 2 citing courts
16
GREENPeople v. Randazzo, 48 Cal. 2d 484 (1957).
cites § 1004 2×cited by 31 cases
Where it cites § 1004
“kidnap and carry away Ed Hallmark, an individual, ... with intent and for the purpose of committing robbery.”
The case’s holding
An appellate court may not recall a remittitur to correct an error of law, and an improper recall order must be vacated rather than the merits redecided.
17
GREENIn re Berry, 68 Cal. 2d 137 (1968).
cites § 1004 1×cited by 153 cases
Where it cites § 1004
“(Pen. Code, § 1004.) Since the order whose constitutional validity is here challenged was neither set forth nor referred to, other than generically, in the original complaints, 8 the matters presently at issue could not have been raised by demurrer.”
The case’s holding
A violation of an order issued in excess of a court's jurisdiction cannot support a valid judgment of contempt.
Later courts cite it for
“suffered from no jurisdictional defect because the invalidity of the agreement did not appear upon the face of the order.” · 5 citing courts
18
GREENPeople v. Hale, 232 Cal. App. 2d 112 (Ct. App. 1965).
cites § 1004 2×cited by 27 cases
Where it cites § 1004
“A demurrer, through its use in the courts for centuries, has acquired a narrower, and strictly technical, meaning; a demurrer is a legal objection to the sufficiency of a pleading, attacking what appears on the face of the document. As is said in section 236 at page 220 of…”
The case’s holding
A demurrer functions to test the sufficiency of a pleading by raising questions of law.
Later courts cite it for
“the function of a demurrer is to test the sufficiency of a pleading by raising questions of law.” · 1 citing court
19
GREENPeople v. Powers, 117 Cal. App. 4th 291 (Ct. App. 2004).
cites § 1004 1×cited by 13 cases
Where it cites § 1004
“(Pen. Code, § 1004.) The People moved to reinstate the charges dismissed from the complaints.”
20
GREENPeople v. Jimenez, 19 Cal. App. 4th 1175 (Ct. App. 1993).
cites § 1004 2×cited by 8 cases
Where it cites § 1004
“30, subdivision (a) and Penal Code section 1004. Since the former statute expressly states a court may take judicial notice when ruling on a demurrer and the latter statute does not, Shortridge reasons the Legislature intended that a court not take judicial notice in criminal…”
Later courts cite it for
“simply an alternative to bail.” · 1 citing court

Show all 84 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
188019532026

One bar per 5 years. Tallest: 12 cases in 1965–1969. 2026 is a partial year. 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.63Cal.13Cal. App. Dep’t Super. Ct.6E.D. Cal.1Cal. Ct. App. 5th1
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 84 citing cases (list view) →

Enactment and amendments

Syfert holds no separate history line for this section. Where this code prints a source or history note, it appears with the text, usually at the end.

Versions

Edition shown: leginfo export of Sept. 26, 2026 (applied Oct. 1, 2026). Syfert holds no earlier or later version of this section.

California Codes Home  |  Search California  |  Search cases for this section  |  syfert.com