CALL TODAY FOR A FREE CONSULTATION (310) 274-6529
CALL TODAY FOR A FREE CONSULTATION

Blog

California Penal Code 166 PC (Violating a Court Order)

Posted by Seppi Esfandi | Nov 14, 2025

California Penal Code 166 PC (Violating a Court Order)

California Penal Code 166 PC (Violating a Court Order) makes it a crime to willfully disobey a lawful court order, protective order, or judge's directive. Also known as contempt of court, PC 166 applies when a person intentionally performs an act that violates terms set by a judge.

What Is Penal Code 166 PC?

To convict someone of violating a court order under PC 166, prosecutors must prove five elements beyond a reasonable doubt:

  • Lawful Order Issued: A judge issued a valid, written court order.

  • Knowledge of Order: The defendant knew the order existed.

  • Understanding of Terms: The defendant understood what the order required or prohibited.

  • Ability to Comply: The defendant had the physical or practical ability to follow the order.

  • Willful Disobedience: The defendant intentionally committed the act that broke the order.

Example of Intent: Missing a mandatory court date because you chose to go on vacation is a willful violation. Conversely, missing court because your vehicle unexpectedly broke down on the way shows a lack of willful intent due to circumstances beyond your control.

Penalties for Violating a Court Order

Penal Code 166 PC is generally a misdemeanor, but aggravating factors like domestic violence, firearms, or stalking can elevate penalties significantly.

Violation Type

Charge Classification

Potential Penalties

Standard Contempt Misdemeanor Up to 6 months in jail, up to $1,000 fine, probation.
Domestic Violence Protective Order Misdemeanor Up to 1 year in jail, $1,000 fine, minimum 2 days in jail if the victim is injured.
Subsequent Protective Order Violation Wobbler (Misdemeanor or Felony) Up to 3 years in jail, up to $10,000 fine, domestic violence shelter payments, victim restitution.
Firearm Prohibition Violation Wobbler (Misdemeanor or Felony) Up to 3 years in state prison, up to $10,000 fine.

Key Legal Nuances: Stalking & Child Support

  • Stalking Interplay (PC 646.9): If contempt stems from acts that constitute stalking under PC 646.9, prosecutors can file both charges. Double jeopardy rules prevent dual punishment for the same act if acquitted or convicted of stalking.

  • Child Support Violations (PC 166.5): Cases involving willful failure to pay court-ordered child or family support may qualify for suspended proceedings if the defendant enters a compliance plan before sentencing.

Legal Defenses for PC 166 Charges

  • Lack of Knowledge: You were never properly served with or informed of the court order.

  • Lack of Willful Intent: The violation was accidental or caused by emergency circumstances (e.g., running into a protected party at a public grocery store by pure chance).

  • Inability to Comply: Financial hardship, illness, or third-party interference made compliance impossible.

  • False Allegations: The protected party fabricated or exaggerated claims due to anger, custody disputes, or personal vengeance.

Frequently Asked Questions (FAQs)

What is California Penal Code 166 PC?

California Penal Code 166 PC is the statute governing criminal contempt of court. It penalizes individuals who willfully disobey lawful court orders, including restraining orders, subpoenas, and support payment commands.

Is violating a court order a felony in California?

Most PC 166 violations are misdemeanors carrying up to 6 months or 1 year in jail. However, repeat violations involving domestic protective orders or illegal firearm possession can be charged as felonies ("wobblers") carrying up to 3 years in prison.

Can you be convicted of PC 166 if you didn't know about the order?

No. Knowledge of the order is an essential element of the crime. If prosecutors cannot prove you were served or properly notified of the order, you cannot be convicted of a willful violation.

What happens if a restraining order violation was an accident?

Accidental encounters lack the "willful" element required for a conviction. While law enforcement and prosecutors scrutinize claims of accidental contact closely, a genuine chance meeting does not constitute criminal liability under PC 166.

How can an attorney help with a child support violation under PC 166.5?

A criminal defense attorney can negotiate with the court to suspend criminal proceedings, allowing you time to meet financial obligations or adjust payment terms rather than serving jail time.

Free Legal Case Review

Facing court order violation charges requires immediate legal intervention. Attorney Seppi Esfandi provides experienced defense representation for Penal Code 166 charges in Los Angeles and throughout California. Call 310-274-6529 for a free case evaluation.

Related Content

About the Author

Seppi Esfandi
Seppi Esfandi

Born and raised in Los Angeles California, Seppi Esfandi has been defending clients for over 23 years. He is ranked among the top criminal defense attorneys in the state of California.

Get Legal Help Now

Protect Your Rights Today

Don’t wait to take action. Contact Esfandi Law Group for a consultation, and let us build a strong defense for your case.

Contact Us

Menu