California Codes homeSearch California
Cal. CodesPenal CodePart 1. Of Crimes and PunishmentsTitle 7. Of Crimes Against Public JusticeChapter 7. Other Offenses Against Public Justice

Cal. Penal Code § 166 (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) ACTIVE · 65 IN 5Y cited 1924–2026 187citing cases
At a glance

Courts have cited this section in 187 opinions since 1924, 65 of them in the last five years. The most litigated part is subsection (a)(4) (10 cases).

(a)Except as provided in subdivisions (b), (c), and (d), a person guilty of any of the following contempts of court is guilty of a misdemeanor:

(1)Disorderly, contemptuous, or insolent behavior committed during the sitting of a court of justice, in the immediate view and presence of the court, and directly tending to interrupt its proceedings or to impair the respect due to its authority.

(2)Behavior specified in paragraph (1) that is committed in the presence of a referee, while actually engaged in a trial or hearing, pursuant to the order of a court, or in the presence of a jury while actually sitting for the trial of a cause, or upon an inquest or other proceeding authorized by law.

(3)A breach of the peace, noise, or other disturbance directly tending to interrupt the proceedings of the court.

(4)Willful disobedience of the terms, as written, of a process or court order or out-of-state court order, lawfully issued by a court, including orders pending trial.

(5)Resistance willfully offered by a person to the lawful order or process of a court.

(6)The contumacious and unlawful refusal of a person to be sworn as a witness or, when so sworn, the like refusal to answer a material question.

(7)The publication of a false or grossly inaccurate report of the proceedings of a court.

(8)Presenting to a court having power to pass sentence upon a prisoner under conviction, or to a member of the court, an affidavit, testimony, or representation of any kind, verbal or written, in aggravation or mitigation of the punishment to be imposed upon the prisoner, except as provided in this code.

(9)Willful disobedience of the terms of an injunction that restrains the activities of a criminal street gang or any of its members, lawfully issued by a court, including an order pending trial.

(b)(1)A person who is guilty of contempt of court under paragraph (4) of subdivision (a) by willfully contacting a victim by telephone or mail, social media, electronic communication, or electronic communication device, or directly, and who has been previously convicted of a violation of Section 646.9 shall be punished by imprisonment in a county jail for not more than one year, by a fine of no more than five thousand dollars ($5,000), or by both that fine and imprisonment.

(2)For the purposes of sentencing under this subdivision, each contact shall constitute a separate violation of this subdivision.

(3)The present incarceration of a person who makes contact with a victim in violation of paragraph (1) is not a defense to a violation of this subdivision.

(4)For purposes of this subdivision, the following definitions shall apply:

(A)“Social media” has the same definition as in Section 632.01.

(B)“Electronic communication” has the same definition as in Section 646.9.

(C)“Electronic communication device” has the same definition as in Section 646.9.

(c)(1)Notwithstanding paragraph (4) of subdivision (a), a willful and knowing violation of a protective order or stay-away court order described as follows shall constitute contempt of court, a misdemeanor, punishable by imprisonment in a county jail for not more than one year, by a fine of not more than one thousand dollars ($1,000), or by both that imprisonment and fine:

(A)An order issued pursuant to Section 136.2.

(B)An order issued pursuant to paragraph (2) of subdivision (a) of Section 1203.097.

(C)An order issued after a conviction in a criminal proceeding involving elder or dependent adult abuse, as defined in Section 368.

(D)An order issued pursuant to Section 1201.3.

(E)An order described in paragraph (3).

(F)An order issued pursuant to subdivision (j) of Section 273.5.

(2)If a violation of paragraph (1) results in a physical injury, the person shall be imprisoned in a county jail for at least 48 hours, whether a fine or imprisonment is imposed, or the sentence is suspended.

(3)Paragraphs (1) and (2) apply to the following court orders:

(A)An order issued pursuant to Section 6320 or 6389 of the Family Code.

(B)An order excluding one party from the family dwelling or from the dwelling of the other.

(C)An order enjoining a party from specified behavior that the court determined was necessary to effectuate the orders described in paragraph (1).

(4)A second or subsequent conviction for a violation of an order described in paragraph (1) occurring within seven years of a prior conviction for a violation of any of those orders and involving an act of violence or “a credible threat” of violence, as provided in subdivision (c) of Section 139, is punishable by imprisonment in a county jail not to exceed one year, or in the state prison for 16 months or two or three years.

(5)The prosecuting agency of each county shall have the primary responsibility for the enforcement of the orders described in paragraph (1).

(d)(1)A person who owns, possesses, purchases, or receives a firearm knowing that person is prohibited from doing so by the provisions of a protective order as defined in Section 136.2 of this code, Section 6218 of the Family Code, or Section 527.6 or 527.8 of the Code of Civil Procedure, shall be punished under Section 29825.

(2)A person subject to a protective order described in paragraph (1) shall not be prosecuted under this section for owning, possessing, purchasing, or receiving a firearm to the extent that firearm is granted an exemption pursuant to subdivision (h) of Section 6389 of the Family Code.

(e)(1)If probation is granted upon conviction of a violation of subdivision (c), the court shall impose probation consistent with Section 1203.097.

(2)If probation is granted upon conviction of a violation of subdivision (c), the conditions of probation may include, in lieu of a fine, one or both of the following requirements:

(A)That the defendant make payments to a domestic violence shelter-based program up to a maximum of one thousand dollars ($1,000).

(B)That the defendant provide restitution to reimburse the victim for reasonable costs of counseling and other reasonable expenses that the court finds are the direct result of the defendant’s offense.

(3)For an order to pay a fine, make payments to a domestic violence shelter-based program, or pay restitution as a condition of probation under this subdivision or subdivision (c), the court shall make a determination of the defendant’s ability to pay. An order to make payments to a domestic violence shelter-based program, shall not be made if it would impair the ability of the defendant to pay direct restitution to the victim or court-ordered child support.

(4)If the injury to a married person is caused, in whole or in part, by the criminal acts of the person’s spouse in violation of subdivision (c), the community property shall not be used to discharge the liability of the offending spouse for restitution to the injured spouse required by Section 1203.04, as operative on or before August 2, 1995, or Section 1202.4, or to a shelter for costs with regard to the injured spouse and dependents required by this subdivision, until all separate property of the offending spouse is exhausted.

(5)A person violating an order described in subdivision (c) may be punished for any substantive offenses described under Section 136.1 or 646.9. A finding of contempt shall not be a bar to prosecution for a violation of Section 136.1 or 646.9. However, a person held in contempt for a violation of subdivision (c) shall be entitled to credit for any punishment imposed as a result of that violation against a sentence imposed upon conviction of an offense described in Section 136.1 or 646.9. A conviction or acquittal for a substantive offense under Section 136.1 or 646.9 shall be a bar to a subsequent punishment for contempt arising out of the same act.

The 20 cases that cite Cal. Penal Code § 166 most heavily, weighted by court and treatment. RelevanceNewestTreatment
1
GREENPeople v. Ricardo A., 32 Cal. App. 4th 1190 (Ct. App. 1995).
cites § 166 37×cited by 13 cases
Where it cites § 166
“challenges the juvenile court’s finding that he is in criminal contempt of court in violation of Penal Code section 166, former subdivision 4, because he violated the terms and conditions of his probation by possessing a knife and gang paraphernalia.”
2
GREENPeople v. Kalnoki, 7 Cal. App. Supp. 4th 8 (App. Dep’t Super. Ct. 1992).
cites § 166 27×cited by 6 cases
Where it cites § 166
“) In California at the time Penal Code section 166, subdivision 2 was enacted (1872), commissioners were provided for under Code of Civil *Supp 16 Procedure sections 258 and 259.”
3
GREENSafer v. Superior Court, 15 Cal. 3d 230 (1975).
cites § 166 12×cited by 75 cases
Where it cites § 166
“[1] On the following day the Ventura County Sheriff arrested a number of union members and sympathizers who had assembled at one of the growers' fields to picket; [2] the sheriff charged these persons with the commission of misdemeanors under Penal Code section 166, subdivision…”
The case’s holding
A district attorney lacks statutory authority to intervene in and prosecute a contempt proceeding stemming from private civil litigation to enforce an injunction granted to a private litigant.
Later courts cite it for
“neither statute nor decision empowers a district attorney to intervene in a contempt proceeding stemming from private civil litigation in order to enforce an injunctive order granted at the behest of one of the litigants.” · 2 citing courts
4
GREENPeople v. Tillotson, 157 Cal. App. 4th 517 (Ct. App. 2007).
cites § 166 8×cited by 19 cases
Where it cites § 166
“Tillotson was charged under count 23 with violating Penal Code section 166, subdivision (a)(4).”
Later courts cite it for
“scheme . . . to defraud, deceive or extort” · 2 citing courts
5
GREENManuel Vasquez v. Tony Rackauckas, 734 F.3d 1025 (9th Cir. 2013).
cites § 166 4×subsections: (a)(4) 3×cited by 71 cases
Where it cites § 166
“…and five days imprisonment, see Cal. Civ. Proc. Code §§ 1209 , 1218, or in a criminal misdemeanor proceeding, see Cal. Penal Code §§ 166 (a)(4), (10),24 for which the maximum 24 California Penal Code § 166(a)(4) criminalizes the “[w]illful disobedience of the terms as…”
The case’s holding
Due process requires adequate procedural protections to determine gang membership before enforcing a state injunction against individuals voluntarily dismissed from the underlying state proceeding.
Later courts cite it for
“because we do not consider issues raised for the first time in reply briefs, we deem this late-raised argument forfeited.” · 10 citing courts
6
GREENHicks ex rel. Feiock v. Feiock, 485 U.S. 624 (1988).
cites § 166 2×cited by 851 cases
Where it cites § 166
“1988) with Cal. Penal Code Ann. § 166 ( West 1970 ), it has merged the two kinds of proceedings under the same procedural rules.”
The case’s holding
Federal courts must defer to state appellate court determinations of state law and cannot depart from state court decisions regarding the elements of an affirmative defense.
Later courts cite it for
“the critical features are the substance of the proceeding and the character of the relief that the proceeding will afford.” · 19 citing courts
7
GREENIn re Nolan W., 45 Cal. 4th 1217 (2009).
cites § 166 2×cited by 180 cases
Where it cites § 166
“829 ] [juvenile court could not use criminal contempt (Pen. Code, § 166) to impose confinement time on a § 602 ward for noncriminal conduct that was a violation of probation]; see also In re Ronald S.”
The case’s holding
A juvenile court may not use contempt sanctions to punish a parent solely for failing to comply with a voluntary reunification case plan.
Later courts cite it for
“the overarching goal of dependency proceedings is to safeguard the welfare of california's children. 'family preservation, with the attendant reunification plan and reunification services, is the first priority when child dependency proceedings are commenced. reunification services implement "the law's strong preference for maintaining the family relationships if at all possible.” · 7 citing courts
8
GREENIn re Buckley, 10 Cal. 3d 237 (1973).
cites § 166 6×cited by 102 cases
Where it cites § 166
“" (11a) Asserting that the right of appeal, if provided by the state, "must be fairly and equally available to all," petitioner argues that equal protection is denied him, since "[e]very convicted misdemeanant, except one convicted of contempt" obtains review by appeal.”
The case’s holding
An attorney commits direct contempt by making statements in open court that impugn the integrity of the court through allegations of deliberate judicial dishonesty.
Later courts cite it for
“this court obviously doesn't want to apply the law” · 3 citing courts
9
GREENPeople v. Eric J., 25 Cal. 3d 522 (1979).
cites § 166 2×cited by 427 cases
Where it cites § 166
“Code, § 459) and was in contempt of court for violating conditions of an earlier order granting probation (Pen. Code, § 166, subd. 4). The maximum term for which he might be confined was determined to be three and one-half years — three years for the burglary and six months for…”
The case’s holding
Minors and adults are not similarly situated for equal protection purposes because they possess different liberty interests and are subject to different state objectives regarding punishment and rehabilitation.
Later courts cite it for
“the first prerequisite to a meritorious claim under the equal protection clause is a showing that the state has adopted a classification that affects two or more similarly situated groups in an unequal manner.” · 49 citing courts
10
GREENIn re Francisco S., 85 Cal. App. 4th 946 (Ct. App. 2000).
cites § 166 6×cited by 12 cases
Where it cites § 166
“noted that earlier cases, and the Legislature through statutory changes, prohibited an earlier practice in which a section 601 ward, who could not be confined, would be placed on probation.”
11
GREENPeople v. Brenn, 152 Cal. App. 4th 166 (Ct. App. 2007).
cites § 166 2×cited by 34 cases
Where it cites § 166
“Accordingly, we will not entertain appellant’s argument that Penal Code section 166, subdivision (c)(1) might be unconstitutional under circumstances not presented in this case.”
The case’s holding
Statements a stabbing victim makes to a 911 operator and responding officer during an ongoing emergency are nontestimonial, even if the assailant was already arrested.
Later courts cite it for
“much easier to make from a law office than from 100 feet from someone who has just stabbed you.” · 2 citing courts
12
GREENMoss v. Superior Court, 17 Cal. 4th 396 (1998).
cites § 166 2×cited by 75 cases
Where it cites § 166
“) Inasmuch as the Legislature has expressly authorized the court to consider earning capacity in making a child support order if doing so is in the best interests of the child (Fam. Code, § 4058, subd.”
The case’s holding
The duty of a parent to support their children is a fundamental parental obligation that justifies contempt sanctions for willful failure to comply with support orders.
Later courts cite it for
“the duty of a parent to support the parent's child or children is a fundamental parental obligation.” · 5 citing courts
13
GREENManuel Vilchez v. Eric Holder, Jr., 682 F.3d 1195 (9th Cir. 2012).
cites § 166 1×subsections: (c)(1)cited by 142 cases
Where it cites § 166
“Cal.Penal Code §§ 166(c)(1), 237.5(a). Vilchez pled guilty to both charges.”
The case’s holding
An immigration hearing conducted via video conference does not violate due process if the respondent is afforded a fair opportunity to present evidence and demonstrates no prejudice.
Later courts cite it for
“we review legal and constitutional questions, including alleged due process violations, de novo.” · 7 citing courts
14
GREENPeople v. Mary D., 95 Cal. App. 3d 34 (Ct. App. 1979).
cites § 166 4×cited by 17 cases
Where it cites § 166
“849 ]), but we do not believe the use of criminal contempt (Pen. Code, § 166, subd. 4) to elevate what would be a Welfare *37 and Institutions Code section 601 2 offense to a section 602 3 offense is appropriate.”
15
GREENPeople v. Soto, 245 Cal. App. 4th 1219 (Ct. App. 2016).
cites § 166 1×cited by 28 cases
Where it cites § 166
“(a)), and violating a criminal protective order (Pen. Code, § 166, subd. (c)(1)). 2 On January 22, 2015, defendant pleaded nolo contendere to driving with a blood-alcohol content of 0.”
16
GREENWenger v. Comm'n on Jud. Performance, 29 Cal. 3d 615 (1981).
cites § 166 2×cited by 47 cases
Where it cites § 166
“[IT] On May 15, 1978, purporting to act pursuant to Penal Code section 166, and over objection by Cline’s attorney, you found Cline in contempt of court, imposed a $300 fine, and, unless Cline apologized, you banned him from all future appearances in your court except trials.”
The case’s holding
Willful misconduct occurs when a judge performs acts known to be beyond their power for purposes other than the faithful discharge of judicial duties.
Later courts cite it for
“the number of wrongful acts is relevant to determining whether they were merely isolated occurrences or, instead, part of a course of conduct establishing 'lack of temperament and ability to perform judicial functions in an even-handed manner.” · 1 citing court
17
GREENPeople v. Partee, 8 Cal. 5th 860 (2020).
cites § 166 1×cited by 26 cases
Where it cites § 166
“A jury convicted Partee of four felony counts of accessory after the fact to murder under Penal Code section 32 and one misdemeanor count of contempt of court under Penal Code section 166, subdivision (a)(6).”
18
GREENGarcia v. McCutchen, 16 Cal. 4th 469 (1997).
cites § 166 1×cited by 274 cases
Where it cites § 166
“order lawfully issued by any court” is a form of contempt that is criminally punishable as a misdemeanor by jail sentence of up to six months and/or fine of up to $1,000. (See Pen. Code, § 19.) Under section 128.”
The case’s holding
A trial court may not dismiss an action for noncompliance with local rules if the failure to comply is the responsibility of counsel rather than the litigant.
Later courts cite it for
“absent an express declaration of legislative intent, we will find an implied repeal 'only when there is no rational basis for harmonizing the two potentially conflicting statutes , and the statutes are "irreconcilable, clearly repugnant, and so inconsistent that the two cannot have concurrent operation.” · 16 citing courts
19
GREENPeople v. Zamani, 183 Cal. App. 4th 854 (Ct. App. 2010).
cites § 166 2×cited by 18 cases
Where it cites § 166
“) [5] The prosecutor sought admission of evidence of defendant's prior misdemeanor offenses of contempt of court (Pen. Code, § 166) and unauthorized practice of law (Bus.”
20
GREENPeople v. Johnson, 20 Cal. App. 4th 106 (Ct. App. 1993).
cites § 166 3×cited by 19 cases
Where it cites § 166
“” Additionally, Johnson was “ordered to stay away 500 yards from (harassing, molesting or annoying) victim Sharon Holmes and Nobel Steward in any way; any communication between [Johnson] and parties to have the prior approval of the probation offic- In the instant case, on March…”
Later courts cite it for
“when the evidence shows that a defendant has not complied with the terms of probation, the order of probation may be revoked at any time during the probationary period.” · 2 citing courts

Show all 187 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
192419752026

One bar per 2 years. Tallest: 31 cases in 2020–2021. 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.139Cal.20E.D. Cal.109th Cir.6Cal. App. Dep’t Super. Ct.4N.D. Cal.2S.D. Cal.2Nev.2

The 8 courts with the most citing cases, of 10 courts in all.

By subsection
(a)1 case
Cavanagh v. Cavanagh, No. B310124 (Cal. Ct. App. Oct. 26, 2022).
(a)(4)10 cases
Manuel Vasquez v. Tony Rackauckas, 734 F.3d 1025 (9th Cir. 2013).“…and five days imprisonment, see Cal. Civ. Proc. Code §§ 1209 , 1218, or in a criminal misdemeanor proceeding, see Cal. Penal Code §§ 166 (a)(4), (10),24 for which the maximum 24 California Penal Code § 166(a)(4) criminalizes the “[w]illful disobedience of the terms as…”
Sonnier v. Los Angeles Cnty. Dist. Attorney's Off., 33 F. App'x 252 (9th Cir. 2002).
(PS) Robinson v. Butte Cnty., No. 2:21-cv-01845 (E.D. Cal. May 4, 2022).
De Tagle v. Santa Clara Cnty., No. 5:23-cv-05095 (N.D. Cal. June 30, 2025).
(PS) Robinson v. Bryant, No. 2:20-cv-01189 (E.D. Cal. Sept. 24, 2021).
Showing the top 5 of 10. More in the list view →
(a)(6)1 case
People v. Gonzalez, No. A158781 (Cal. Ct. App. Sept. 21, 2022).
(c)(1)9 cases
Manuel Vilchez v. Eric Holder, Jr., 682 F.3d 1195 (9th Cir. 2012).“Cal.Penal Code §§ 166(c)(1), 237.5(a). Vilchez pled guilty to both charges.”
People v. Sorden, 65 Cal. App. 5th 582 (Ct. App. 2021).
People v. Sanchez, No. B305973 (Cal. Ct. App. Mar. 9, 2021).
(HC) Floyd v. Fox, No. 2:16-cv-01778 (E.D. Cal. Mar. 11, 2021).
(HC) Walker v. Cates, No. 1:21-cv-01412 (E.D. Cal. Mar. 13, 2025).
Showing the top 5 of 9. More in the list view →
(c)(4)1 case
People v. Groner, No. D084415 (Cal. Ct. App. June 12, 2025).

Show all 187 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