Restraining Order for Online Harassment in California: What You Need to Know
Online harassment extends beyond uncomfortable messages to threats that cause genuine fear and disruption to your daily life. A restraining order for online harassment in California provides legal protection when digital intimidation, cyberstalking, or threatening communications escalate beyond acceptable boundaries. Understanding your legal options is crucial when facing persistent online abuse. California law recognizes that harassment through electronic communication can be just as damaging as in-person threats. This guide will walk you through the process of obtaining a restraining order, the evidence you need, and the legal protections available to you in 2026.
What Qualifies as Online Harassment in California
Electronic Communication and Harassment Under California Law
California Penal Code 653.2 addresses electronic harassment by criminalizing the distribution of personal information or harassing messages through digital means. The law targets individuals who use electronic communication devices to place another person in reasonable fear for their safety or the safety of their immediate family.
Specifically, the statute defines "electronic communication device" to include telephones, cell phones, computers, internet web pages, email, hybrid cellular devices, personal digital assistants, video recorders, fax machines, and pagers. This broad definition ensures that nearly all modern digital platforms fall within the scope of the law.
Harassment under this statute means a knowing and willful course of conduct directed at a specific person that a reasonable person would consider seriously alarming, seriously annoying, seriously tormenting, or seriously terrorizing, and that serves no legitimate purpose. The "reasonable person" standard prevents overly sensitive interpretations while protecting genuine victims.
Cyberstalking vs. Cyber Harassment
California law distinguishes between two related but distinct offenses. Cyberstalking under Penal Code 646.9 involves direct harassment where the defendant personally contacts, threatens, or harasses the victim through electronic means. The prosecution must prove a pattern of conduct that caused the victim to reasonably fear for their safety.
In contrast, cyber harassment under PC 653.2 criminalizes indirect conduct. You can violate this law by posting information online that encourages or incites third parties to harass the victim, without ever directly contacting them yourself. This distinction matters because cyber harassment charges don't require you to personally threaten anyone. Posting someone's address online with the intent to cause harassment by others can trigger criminal liability.
Common Forms of Online Harassment
Digital abuse takes multiple forms. Doxxing involves publicly revealing private personal information such as home addresses, phone numbers, or social security numbers to incite harassment. Revenge porn under PC 647(j)(4) criminalizes distributing intimate images without consent.
Criminal threats under PC 422 apply when someone makes threats of death or great bodily harm through electronic communication. Sextortion combines extortion with threats to release sexually explicit content, often punishable by two to four years in prison.
Other prevalent forms include impersonation, where harassers create fake profiles to damage reputations, and "swatting," which involves making false emergency calls to provoke armed police responses. Each form carries specific legal consequences depending on the circumstances.
When Online Behavior Crosses the Legal Line
Not every offensive online interaction constitutes criminal harassment. Prosecutors must prove specific intent elements. Under PC 653.2, you must have acted with intent to place someone in reasonable fear and for the purpose of causing unwanted physical contact, injury, or harassment by third parties.
The posted information must be likely to incite or produce that unlawful action. Importantly, no actual harm needs to occur. The crime is complete when you distribute information that could reasonably lead to harassment, even if the victim never learns about it.
A single offensive message may meet the legal threshold if sufficiently threatening, though harassment typically requires a course of conduct over time. The key factor remains whether a reasonable person would feel seriously alarmed or terrorized by the conduct.
Types of Restraining Orders Available for Online Harassment
California provides three primary types of restraining orders for online harassment, each designed for specific relationships between victim and harasser.
Civil Harassment Restraining Orders
Civil harassment restraining orders apply when the harasser is not a close relative or intimate partner. This option covers situations involving neighbors, landlords, coworkers, or distant family members such as aunts, uncles, nieces, or nephews. You can obtain this order if someone has harassed, threatened, harmed you physically or emotionally, or stalked you through any means, including online platforms.
The order can prohibit contact, require the harasser to stay a certain distance away, and prevent them from owning firearms, ammunition, or body armor. If granted, a civil harassment restraining order can last up to 5 years, providing extended protection from persistent online abuse.
Domestic Violence Restraining Orders for Electronic Abuse
Domestic violence restraining orders target abuse within intimate or familial relationships. You qualify for this protection if the harasser is someone you dated, had an intimate relationship with (including spouses or domestic partners), or a close family member such as your child, parent, sibling, or grandparent, including in-laws.
Abuse under this order explicitly includes online conduct. The law recognizes that emotional, psychological, verbal, and physical abuse can occur anywhere, including through electronic communication. Unlike civil harassment orders, domestic violence restraining orders can include additional protections such as requiring the harasser to move out of a shared home, establishing child custody arrangements, and ordering spousal or child support payments.
Workplace Violence Restraining Orders
Workplace violence restraining orders function differently from other protective orders. Only an employer can file for this type of restraining order. Individual employees cannot request workplace violence orders themselves. If you're an employee seeking protection, you must pursue either a civil harassment or domestic violence restraining order, depending on your relationship with the harasser.
Employers can request protection for employees who have been stalked, harassed, or experienced violence or threats of violence. The protection extends to threats occurring in person, over the phone, by mail, or online. In addition, the order can protect the targeted employee, other employees who may be in danger, and family or household members of employees.
If granted, workplace violence restraining orders can last up to 3 years. These orders can prohibit the harasser from contacting protected individuals, require them to stay away from the workplace, and prevent firearm possession.
How to Obtain a Restraining Order for Online Harassment
Gathering and Preserving Digital Evidence
Building a strong case for a restraining order for online harassment requires meticulous documentation. Save original files whenever possible, as they contain metadata such as timestamps, device IDs, GPS coordinates, and sender details that verify authenticity. Screenshots provide quick reference, but the original digital files may be more useful because they often contain metadata that can help establish authenticity.
Create backup copies saved to a second device. Export text messages using your phone's backup feature rather than screenshotting thousands of individual messages. For emails, keep the original messages with full headers intact, as forwarding loses critical metadata. Take videos or screenshots and store them where the harasser cannot access them.
Capture complete conversations showing context, including contact names, phone numbers, and visible timestamps. Screenshot social media posts with dates, times, and information proving account ownership. If the harasser uses a fake profile, collect other posts with their photo or identifying information. Document the chain of custody by logging how, when, and by whom evidence was collected, transferred, or stored.
Filing Your Restraining Order Petition
You can file forms in person at the courthouse by giving the original and 2 copies to the clerk. Online e-filing is available through your court's website, with forms returned electronically. Some courts offer drop boxes inside or outside the courthouse, though this may not be the fastest option if you need immediate protection.
Filing fees range from $435 to $450 unless you're alleging violence, stalking, or threats of violence, or if you obtain a fee waiver. If requesting a temporary restraining order, the judge may review your request the same day. Otherwise, you'll need to return the next business day to pick up your court papers.
The Temporary Restraining Order Process
After filing, a judge reviews your paperwork and decides whether to grant temporary protection. In most counties, you won't talk to a judge right away, but a decision comes quickly. The judge makes this determination by the same day or the next business day.
If the judge signs form CH-110, you have a temporary restraining order that you must keep with you at all times. This temporary order lasts only until your court date. Even if the judge doesn't grant temporary protection, you can still obtain a restraining order at the full hearing by following all steps, including serving the other side.
Preparing for the Restraining Order Hearing
Gather evidence like pictures, text messages, and emails. Make 3 copies of any document you want the judge to see: one for you, one for the other side, and one for your court file. For recordings, check with your local self-help center, as judges may require transcripts.
Bring witnesses who can support your case, ensuring they know when and where to appear. Plan what you'll say to the judge by making notes you can read in court. Review any papers served by the other side to understand their arguments. Arrange childcare beforehand, as the court may take all morning or afternoon. Take a support person if desired, though they cannot speak for you.
What Happens at the Court Hearing
When your case is called, you'll sit at a table at the front of the courtroom. The bailiff or clerk directs you to the appropriate table. The judge asks both sides to state their names and may ask you to swear to tell the truth.
Both sides present their case, sharing evidence and witness testimony. If you ask for the restraining order, you typically present first. Once all evidence is presented, the judge decides whether to grant a long-term restraining order lasting up to 5 years. If denied, the case ends, and any temporary order expires. If granted, review the order carefully to understand all terms.
Legal Requirements and Evidence You Need
Meeting the burden of proof for a restraining order for online harassment depends on the type of order you seek and the stage of the process. Courts apply different evidentiary standards at each phase.
Proving a Pattern of Harassing Conduct
California law defines "course of conduct" as a pattern of conduct composed of a series of acts over a period of time, however short, evidencing a continuity of purpose. This includes following or stalking an individual, making harassing telephone calls, or sending harassing correspondence by any means, including public or private mail, interoffice mail, facsimile, or email.
A single incident rarely suffices unless extreme. You must demonstrate repeated acts that show a continuing pattern of harassment directed at you specifically. The harassment must be a knowing and willful conduct directed at a specific person that seriously alarms, annoys, or harasses the person, and serves no legitimate purpose. Constitutionally protected activity does not qualify as a course of conduct.
Demonstrating Reasonable Fear for Safety
Your fear must meet both objective and subjective standards. The conduct must be such as would cause a reasonable person to suffer substantial emotional distress, and must actually cause substantial emotional distress to you. Courts examine whether the harasser's conduct places a reasonable person in fear for his safety or causes a reasonable person to suffer emotional distress.
For civil harassment orders, judges require clear and convincing evidence that harassment occurred. This standard goes far beyond simple declarations and demands concrete proof. Domestic violence restraining orders use a lower "preponderance of the evidence" standard, meaning the judge must find it more likely than not that the alleged abuse happened.
Documentation That Strengthens Your Case
Text messages and emails revealing threatening language or harassment patterns form the foundation of most cases. Screenshots or printed copies serve as communication proof. Police reports provide substantial evidence detailing incidents and actions taken by law enforcement. Medical records documenting injuries attributed to harassment strengthen claims significantly.
Third-party witnesses carry considerable weight. A witness with minimal ties to either party and no personal interest in the outcome can significantly influence the judge. Witness testimony describing incidents they observed adds credibility beyond your own statements.
Common Challenges in Online Harassment Cases
Courts remain reluctant to issue restraining orders that limit speech. You must show you're seeking to restrain conduct rather than speech itself. Prosecutors hesitate to act on online monitoring cases, claiming that websites and blogs exist in the public domain. Proving the harasser's identity behind anonymous accounts presents additional obstacles without subpoenas to technology companies.
After the Restraining Order Is Granted
Understanding Your Restraining Order Terms
Keep form CH-110 with you at all times. A civil harassment restraining order can last up to 5 years if granted by the judge. The order may include no-contact provisions, stay-away distances, and firearm prohibitions. Take a picture of all pages on your phone so you always have proof. Give copies to your child's school, employer, or local police department if needed.
What to Do If the Order Is Violated
Call 911 immediately if someone violates your restraining order for online harassment. Violating a restraining order is a criminal offense under California Penal Code 273.6. First-time violations carry up to one year in county jail and fines up to $1,000. Document every violation with dates, times, and descriptions. You can also file for civil contempt, which may result in fines up to $1,000 or imprisonment for up to five days.
Duration and Renewal of Restraining Orders
Request renewal within three months before your order expires. No new harassment needs to occur to justify renewal. Renewals can extend protection for another five years.
Impact on the Restrained Person
The restrained person must relinquish all firearms and ammunition. Second violations involving violence become felonies, punishable by up to three years in prison and $10,000 in fines.
Conclusion
Online harassment can feel overwhelming, but California law provides robust protections through restraining orders. California law provides several legal remedies for individuals experiencing serious online harassment. The process requires careful documentation and patience, yet thousands successfully obtain protection each year.
By the time you've gathered evidence and filed your petition, you've already taken the most important step: refusing to accept harassment as inevitable. Whether facing cyberstalking, doxxing, or threatening messages, restraining orders offer enforceable boundaries backed by criminal penalties for violations.
Your safety matters, and California's legal system recognizes that digital threats carry real-world consequences worthy of protection.
References
[1] – https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=PEN§ionNum=653.2
[2] – https://selfhelp.courts.ca.gov/CH-restraining-order/file
[3] – https://withoutmyconsent.org/50state/state-guides/california/restraining-orders/
[4] – https://selfhelp.courts.ca.gov/CH-restraining-order/what-to-expect-courtroom
[5] – https://selfhelp.courts.ca.gov/DV-restraining-order/enforce-restraining-order
[6] – https://www.womenslaw.org/about-abuse/abuse-using-technology/evidence-issues-cases-involving-technology
[7] – https://www.womenslaw.org/about-abuse/abuse-using-technology/evidence-issues-cases-involving-technology/digital-evidence/how
[8] – https://selfhelp.courts.ca.gov/DV-restraining-order/file
[9] – https://selfhelp.courts.ca.gov/DV-restraining-order/prepare-court-date
[10] – https://onlineharassmentfieldmanual.pen.org/restraining-orders-online-harassment/
Need an Attorney? CALL NOW: 213-932-8922
Yuliya Kelmansky is an Expert Attorney who has over 10 years of practice defending a variety of cases.







