Call Today! Free Immediate Response 818-781-1570

Blog

What Is the Legal Definition of Harassment in California?

Posted by Dmitry Gorin | Apr 14, 2026

Harassment laws in California are designed to protect individuals from threatening, abusive, or repeated unwanted behavior that causes fear, emotional distress, or disruption to daily life.

Legal Definition of Harassment in California

While the term “harassment” is commonly used in everyday language, its legal meaning depends on the context—such as civil, workplace, or criminal harassment.

Understanding the legal definition of harassment in California is critical because these cases can lead to restraining orders, criminal charges, and long-term consequences that affect your personal and professional life.

Whether you are facing allegations or seeking protection, knowing how the law defines harassment helps you make informed decisions and take the right next steps.

This guide explains the legal definition, key elements, examples, penalties, defenses, and related offenses under California law. 

Eisner Gorin LLP is available to assist you. Please schedule your consultation by contacting us at (818) 781-1570 or via the contact form


California's Legal Definition of Harassment

Under California law, harassment is generally defined as unlawful violence, a credible threat of violence, or a course of conduct that seriously alarms, annoys, or harasses another person and serves no legitimate purpose.

One of the most commonly cited statutes is California Code of Civil Procedure Section 527.6, which defines harassment for purposes of restraining orders. It includes three main components:

  • Unlawful violence, such as assault or battery
  • A credible threat of violence that places someone in reasonable fear for their safety
  • A pattern of behavior (course of conduct) that seriously alarms, annoys, or harasses and causes substantial emotional distress

A “course of conduct” means repeated acts over time, such as following someone, sending repeated messages, or showing up uninvited.


Key Elements of Harassment

To prove harassment in California, certain legal elements must typically be established:

  • The conduct was intentional and directed at a specific person
  • The behavior seriously alarmed, annoyed, or harassed the person
  • The conduct caused substantial emotional distress
  • A reasonable person in the same situation would also feel distress
  • The conduct served no legitimate purpose

If these elements are met, a court may issue a restraining order or, in some cases, file criminal charges.


Types of Harassment in California

California recognizes several distinct types of harassment, each governed by different laws and legal standards. The classification depends on the parties' relationship, the nature of the conduct, and whether the case is handled in civil or criminal court. 

Understanding these categories is essential because each type carries different remedies, penalties, and legal procedures.

Civil Harassment

Civil harassment typically involves disputes between people who do not have a close personal relationship, such as neighbors, roommates, acquaintances, or strangers. These cases are handled in civil court and often result in restraining orders rather than criminal penalties.

Civil harassment includes repeated unwanted contact, threats, stalking behavior, or actions that cause substantial emotional distress. Courts focus on whether the conduct serves any legitimate purpose and whether it would cause a reasonable person to suffer distress.

Criminal Harassment

Criminal harassment is not always labeled under a single statute but is often prosecuted through related offenses when the behavior becomes more serious or threatening. This includes conduct that involves credible threats, fear for safety, or repeated targeting of a victim.

Common criminal charges tied to harassment behavior include stalking, criminal threats, and harassing communications. These cases can result in arrest, jail time, fines, and a permanent criminal record.

Workplace Harassment

Workplace harassment occurs when an employee is subjected to unwelcome conduct based on legally protected characteristics such as race, gender, religion, national origin, disability, or sexual orientation.

This type of harassment is governed by California employment laws and may involve:

  • Hostile work environment, where ongoing conduct interferes with an employee's ability to work
  • Quid pro quo harassment, where job benefits are conditioned on accepting inappropriate behavior

Employers can be held liable if they fail to prevent or address workplace harassment.

Sexual Harassment

Sexual harassment is a specific form of workplace or institutional harassment involving unwanted sexual advances, comments, or conduct. It can occur in professional settings, schools, housing environments, or other controlled spaces.

This includes verbal, physical, or visual conduct of a sexual nature that creates an intimidating, hostile, or offensive environment.

Cyber Harassment

Cyber harassment involves using digital platforms—such as social media, text messages, or email—to threaten, intimidate, or repeatedly target someone. This type of harassment has become increasingly common and may overlap with criminal charges depending on the severity of the conduct.

Examples include repeated threatening messages, doxxing, or online stalking behavior.

Stalking as a Form of Harassment

Stalking is one of the most serious forms of harassment under California law. It involves repeated following or monitoring of another person, combined with a credible threat that causes fear for safety.

Because stalking includes both a pattern of conduct and a threat, it is typically prosecuted as a criminal offense and can lead to significant penalties, including imprisonment.

Harassment Involving Domestic Relationships

When harassment occurs between individuals in a close relationship—such as spouses, dating partners, or family members—it may fall under domestic violence laws rather than general civil harassment statutes.

These cases often involve protective orders issued by family court and may carry both civil and criminal consequences, depending on the circumstances.


Each type of harassment requires careful legal analysis of the facts, the parties' relationship, and the nature of the conduct. Identifying the correct category is a critical first step in determining your legal rights, potential defenses, and the most effective course of action.


Examples of Harassment

Example 1
A neighbor repeatedly sends threatening messages and shows up at your home uninvited, causing fear and anxiety. This may qualify as civil harassment and justify a restraining order.

Example 2
An individual follows a former partner, calls them dozens of times daily, and sends unwanted messages despite being told to stop. This pattern of conduct may rise to stalking or criminal harassment.

Example 3
A person repeatedly makes online threats against another individual, causing fear for their safety. Even if no physical contact occurs, this may still qualify as harassment under California law.


Penalties and Legal Consequences for Harassment in California

Type of Violation Legal Classification Potential Penalties Additional Consequences

Civil Harassment (Restraining Order)

Civil matter

No jail time; court may issue restraining order lasting up to 5 years

Loss of firearm rights, required distance from protected person, impact on housing and employment

Violation of Restraining Order

Misdemeanor (can escalate)

Up to 1 year in county jail and fines up to $1,000

Criminal record, stricter future court orders, possible probation

Stalking (Penal Code 646.9)

Misdemeanor or felony

Misdemeanor: up to 1 year jail; Felony: up to 5 years prison

Strike offense in some cases, restraining order, registration consequences

Criminal Threats (Penal Code 422)

Wobbler (misdemeanor or felony)

Misdemeanor: up to 1 year jail; Felony: up to 3 years prison

Strike offense, firearm prohibition, formal probation

Annoying/Harassing Communications (Penal Code 653m)

Misdemeanor

Up to 6 months in county jail and fines

Criminal record, possible restraining order

Disturbing the Peace (Penal Code 415)

Misdemeanor

Up to 90 days in county jail and fines

Informal probation, community service

Cyber Harassment (varies by conduct)

Misdemeanor or felony

Depends on severity; can include jail or prison time

Digital evidence used in court, restraining orders, long-term record

How to Read This Chart

  • Civil harassment cases usually result in court orders rather than jail time, but violations can quickly become criminal offenses.
  • Many harassment-related crimes are “wobblers,” meaning they can be charged as either misdemeanors or felonies depending on the facts and criminal history.
  • Additional consequences—such as restraining orders, firearm restrictions, and permanent records—can be just as impactful as jail time.

Understanding these penalties highlights why early legal intervention is critical. Even a seemingly minor harassment allegation can escalate into serious criminal exposure if not handled properly.


Common Legal Defenses

Several defenses may apply in harassment cases depending on the facts:

  • The conduct had a legitimate purpose and was not intended to harass
  • The accusations are false or exaggerated
  • There was no credible threat of violence
  • The behavior does not meet the legal threshold for harassment
  • Constitutional rights, such as free speech, were improperly restricted

A strong defense strategy focuses on challenging intent, credibility, and whether the conduct meets the legal definition.


Related California Crimes and Legal Issues

Harassment cases in California are often closely connected to other criminal offenses and legal issues. In many situations, what begins as a harassment allegation can quickly escalate into more serious charges depending on the conduct, intent, and evidence involved. Understanding these related laws is critical when evaluating your legal exposure or defense strategy.

Stalking – Penal Code 646.9

Stalking is one of the most serious offenses associated with harassment. It involves willfully and repeatedly following or harassing another person while making a credible threat that causes fear for their safety or the safety of their family.

Unlike general harassment, stalking requires both a pattern of conduct and a threat. Because of this, it is frequently charged as a felony and can carry significant prison time, restraining orders, and long-term consequences.

Criminal Threats – Penal Code 422

A criminal threats charge arises when someone willfully threatens to commit a crime that could result in death or great bodily injury, and the threat causes the victim to be in sustained fear.

Even if no physical act occurs, a serious verbal, written, or electronic threat can lead to felony charges. This offense is commonly charged alongside harassment allegations when threatening language is involved.

Annoying or Harassing Communications – Penal Code 653m

This law addresses repeated or obscene communications made with the intent to annoy or harass another person. It includes phone calls, text messages, emails, or other electronic communications.

While typically charged as a misdemeanor, repeated violations or aggravating circumstances can increase the severity of the case.

Disturbing the Peace – Penal Code 415

Disturbing the peace involves fighting, loud or unreasonable noise, or offensive conduct in public that disrupts others. Although less serious than other harassment-related crimes, it is often charged in situations involving verbal disputes or confrontations.

Domestic Violence and Domestic Harassment

When harassment occurs between individuals in a close relationship—such as spouses, dating partners, or family members—it may fall under domestic violence laws rather than general harassment statutes.

These cases can involve protective orders, mandatory counseling programs, and criminal charges. The legal consequences are often more severe due to the nature of the relationship.

Cyberstalking and Online Harassment

Harassment conducted through digital platforms—such as social media, messaging apps, or email—can lead to criminal cyberstalking charges, depending on the nature of the conduct. Online threats, repeated targeting, or publishing harmful content may be prosecuted under various California and federal laws.

Digital evidence, including messages and IP data, often plays a central role in these cases.

Restraining Orders and Protective Orders

Harassment allegations frequently lead to restraining orders issued by a court. These orders can prohibit contact, require a person to stay a certain distance away, and restrict firearm ownership.

Violating a restraining order is a separate criminal offense that can result in arrest, jail time, and additional penalties.


Harassment rarely exists in isolation. Prosecutors often evaluate the broader context of the conduct to determine whether more serious charges apply. For this reason, it is important to treat any harassment allegation seriously and understand how related laws may impact your case and potential defenses.


Frequently Asked Questions

What qualifies as harassment in California?

Harassment includes unlawful violence, credible threats, or repeated behavior that causes serious emotional distress and has no legitimate purpose.

Do I need proof to file a harassment claim?

Yes. Evidence such as text messages, emails, witness statements, or recordings can help support your claim or defense.

Is harassment a crime or a civil issue?

It can be both. Some cases are handled in civil court through restraining orders, while others involve criminal charges.

Can harassment happen online?

Yes. Online threats, repeated messages, or cyberstalking can qualify as harassment under California law.

What is a restraining order?

A restraining order is a court order that prohibits someone from contacting or coming near you. Violating it can result in criminal penalties.

Can a single incident be considered harassment?

Usually, harassment involves repeated conduct. However, a single credible threat of violence may still qualify under the law.

What should I do if I am accused of harassment?

Avoid contacting the alleged victim and seek legal counsel immediately. Anything you say or do can be used against you.

Can harassment charges be dismissed?

Yes. If the evidence is weak or the conduct does not meet the legal definition, charges may be reduced or dismissed.


Take Action: Protect Your Rights

Whether you are seeking protection from harassment or defending against allegations, early legal guidance is essential. Harassment cases often depend on detailed facts, intent, and evidence. Taking action quickly can help preserve your rights, strengthen your position, and prevent the situation from escalating.

If you're involved in a harassment case in California, consulting with an experienced attorney can help you understand your options and develop a strategy tailored to your circumstances.

The best chance for a positive outcome is with a seasoned California criminal defense lawyer at Eisner Gorin LLP. To arrange a consultation, contact us here.

About the Author

Dmitry Gorin

Dmitry Gorin is a State-Bar Certified Criminal Law Specialist, who has been involved in criminal trial work and pretrial litigation since 1994. Before becoming partner in Eisner Gorin LLP, Mr. Gorin was a Senior Deputy District Attorney in Los Angeles Courts for more than ten years. As a criminal tri...

We speak English, Russian, Armenian, and Spanish.

Attorney Dmitry Gorin If you have one phone call from jail, call us! If you are facing criminal charges, DON'T talk to the police first. TALK TO US!

CALL TOLL-FREE
(818) 781-1570
Anytime 24/7

Menu