Justia Badge
LACBA Badge
Avvo Clients Choice Award 2018
The State Bar of California
Best Lawyers
Lawyers of Distinction
Super Lawyers - Matthew Barhoma 2022
Super Lawyers - Matthew Barhoma Rising Stars
Court TV
Forbes
Fox News
KTLA 5
Law & Crime Trial Network
People
Top 40
Yahoo News
Los Angeles Times

Social Media and Civil Harassment Restraining Orders in California

Last updated March 19, 2026 // Attorney reviewed by Matthew Barhoma

Someone screenshots your Instagram comment, copies three of your tweets, and files for a civil harassment restraining order–or a social media civil harassment restraining order California–against you. The petition claims your social media activity constitutes harassment, stalking, or a credible threat. Now you face a court hearing, a potential entry in the CLETS database, and an order that could restrict your online activity for up to five years. Social media civil harassment restraining order cases in California are rising fast, and courts are still catching up with how digital evidence gets used and misused in these proceedings.

What Is a Social Media Restraining Order in California?

A social media civil harassment restraining order is a court order issued under California Code of Civil Procedure § 527.6 when online posts, messages, or digital communications are alleged to constitute harassment, a credible threat of violence, or a course of conduct causing substantial emotional distress.

Can You Get a Restraining Order for Social Media Posts?

Yes. A court may issue a restraining order if the petitioner proves by clear and convincing evidence that the online conduct meets the legal definition of harassment under CCP § 527.6.

What Should You Do Immediately If You Are Served?

Do not delete anything. Preserve all posts, messages, and accounts in their original form. Take screenshots, download data where possible, and consult a defense attorney immediately before your hearing.

The problem with social media evidence is context. Posts get screenshotted out of order. Sarcasm reads as threats. A venting session on Facebook becomes Exhibit A. If you have been served with a civil harassment restraining order based on your online activity, you need a defense attorney who understands how California courts evaluate digital evidence and how to challenge it effectively.

Fast Answers: Social Media and Civil Harassment Restraining Order

A social media civil harassment restraining order is a court order under California Code of Civil Procedure § 527.6 sought by a petitioner who claims that online posts, messages, or digital communications constitute harassment or a credible threat of violence.

Governing Law: CCP § 527.6

Burden of Proof: Clear and convincing evidence

Timeline: A temporary restraining order (TRO) may be granted ex parte. A full hearing is generally scheduled within 21 to 25 days of TRO issuance, though courts may grant continuances.

Immediate Step: Preserve all social media evidence in its original form. Do not delete posts, messages, or accounts. Contact a defense attorney before your hearing date.

Power Trial Lawyers defends clients against social media civil harassment restraining orders across Southern California.

What Is a Social Media Civil Harassment Restraining Order Under California Law?

A social media civil harassment restraining order is a protective order issued under California Code of Civil Procedure § 527.6 where the alleged harassment occurred primarily through online platforms, digital messages, or electronic communications. Power Trial Lawyers defends respondents accused of online harassment in civil restraining order proceedings throughout Southern California.

Under CCP § 527.6, civil harassment includes unlawful violence, a credible threat of violence, or a knowing and willful course of conduct directed at a specific person that seriously alarms, annoys, or harasses the person and serves no legitimate purpose. When a petitioner seeks a restraining order based on social media activity, they must prove that your online conduct meets this legal standard by clear and convincing evidence.

Not every unpleasant social media interaction qualifies as harassment under California law. A single rude comment does not meet the statutory threshold. The petitioner must show a pattern of conduct or a credible threat. Courts look at whether the respondent’s posts were directed at the petitioner, whether they contained threats, and whether the conduct would cause a reasonable person substantial emotional distress.

This is a critical distinction. Protected speech under the First Amendment does not become harassment simply because someone finds it offensive or annoying. California courts must balance the petitioner’s safety against the respondent’s constitutional right to free expression, including speech on public online platforms.

How Courts Evaluate Social Media Evidence in Civil Harassment Cases

California courts evaluating social media civil harassment restraining order petitions must authenticate digital evidence, assess context, and determine whether online conduct meets the legal standard for harassment under CCP § 527.6. Judges increasingly encounter screenshots, message logs, and platform data as primary evidence in these cases.

Authentication Challenges

Social media evidence must be authenticated before a court will consider it. Under California Evidence Code § 1401, the party offering a screenshot or printout must show it is a true and accurate representation of the original content. Screenshots can be altered, cropped, or taken out of sequence. Timestamps can be misleading if they reflect a different time zone or platform setting.

A screenshot alone may not be enough. The petitioner may need to demonstrate that the account belongs to the respondent, that the content has not been altered, and that the screenshot captures the complete interaction rather than a selective portion.

What Type of Social Media Evidence Helps or Hurts Your Case

Not all digital evidence carries the same weight in court. Judges look for reliability, completeness, and context.

Strong Evidence:

  • Full conversation threads (not isolated screenshots)
  • Verified account ownership
  • Metadata or timestamps showing sequence
  • Evidence showing mutual participation

Weak or Challengeable Evidence:

  • Cropped or partial screenshots
  • Anonymous or unverified accounts
  • Messages lacking timestamps or continuity
  • Posts taken out of context or misinterpreted

A case built on incomplete screenshots is often vulnerable when the full digital record is presented.

Context and Interpretation

Courts must consider the full context of online communications. A single post viewed in isolation may appear threatening while the complete thread reveals a different tone. Humor, sarcasm, and hyperbole are common on social media platforms. Judges must evaluate whether a reasonable person viewing the full context would interpret the content as a credible threat or course of harassment.

Platform-specific norms also matter. A comment that reads aggressively in a formal email may be entirely ordinary in a Twitter thread or Reddit discussion. Power Trial Lawyers understands these distinctions and presents them effectively at hearing.

What Courts Consider a “Credible Threat” on Social Media

Not every aggressive or emotional statement qualifies as a credible threat under California law.

Courts typically look for:

  • Specific language indicating intent to cause harm
  • Direct targeting of the petitioner
  • Repetition or escalation of statements
  • Context suggesting seriousness rather than sarcasm or exaggeration

Statements that are vague, hyperbolic, or clearly sarcastic often fail to meet the legal threshold required under CCP § 527.6.

Direct Messages vs. Public Posts

Courts distinguish between direct messages sent to the petitioner and public posts made on the respondent’s own profile or page. Direct messages sent repeatedly to someone who has asked you to stop carry more weight than public posts on your own feed. A public post that does not tag, mention, or directly address the petitioner is harder for the petitioner to frame as targeted harassment.

However, public posts that reference the petitioner by name, include identifying details, or encourage others to contact or confront the petitioner can constitute a course of conduct directed at a specific person under § 527.6.

Common Social Media Behaviors That Lead to Restraining Order Petitions

Petitioners in social media civil harassment restraining order cases in California typically allege patterns of online conduct rather than single incidents. Power Trial Lawyers regularly sees petitions based on the following categories of online behavior, many of which have strong defenses available.

  • Repeated direct messages after being told to stop communicating
  • Public posts that name or identify the petitioner and contain threatening language
  • Creating multiple accounts to contact someone who has blocked you
  • Posting private photos, personal information, or location details about the petitioner
  • Commenting repeatedly on the petitioner’s posts, photos, or stories
  • Tagging the petitioner in posts designed to embarrass, intimidate, or provoke
  • Sending messages through mutual friends or third-party platforms to circumvent blocks

Not all of these behaviors automatically meet the threshold for a civil harassment restraining order. The petitioner must still prove the conduct constitutes a credible threat of violence or a course of conduct that would cause a reasonable person substantial emotional distress. Vigorous expression of opinion, criticism, or even rude commentary often falls short of this standard.

How to Beat a Social Media Civil Harassment Restraining Order in California

Defending a social media restraining order case requires more than denying the allegations. Courts rely heavily on screenshots and selective evidence, which means your defense must actively dismantle the petitioner’s narrative.

Key defense strategies include:

  • Challenging context: Demonstrating that posts were taken out of sequence or misrepresented
  • Attacking credibility: Showing the petitioner participated in the same online exchange
  • Proving lack of targeting: Establishing that posts were not directed at a specific individual
  • Raising First Amendment protections: Arguing that the content constitutes protected speech
  • Exposing incomplete evidence: Highlighting missing messages, deleted context, or manipulated screenshots

Winning these cases often turns on who controls the narrative of the digital evidence presented at hearing.

Matthew Barhoma courtroom attorney civil harassment restraining order defense California
Matthew Barhoma representing clients in civil harassment restraining order proceedings in California courts.

When Social Media Activity Is Protected Speech

California courts must respect First Amendment protections when evaluating social media civil harassment restraining order petitions, and not all online speech that upsets someone qualifies as actionable harassment under CCP § 527.6. The distinction between protected expression and unlawful conduct is often the central issue in these cases.

Opinions, political commentary, and general complaints about a person are generally protected speech. Posting a negative review of a business, criticizing a public figure, or venting about a personal conflict on your own social media profile does not automatically create grounds for a restraining order.

California’s anti-SLAPP statute (Code of Civil Procedure § 425.16) can also come into play. If the petitioner’s restraining order request targets speech made in connection with a public issue or in a public forum, the respondent may argue the petition constitutes a strategic lawsuit against public participation. While anti-SLAPP motions are more common in civil lawsuits than restraining order proceedings, the underlying free speech principles inform how judges evaluate online conduct.

Power Trial Lawyers builds defenses around the constitutional line between protected expression and conduct that genuinely rises to the level of harassment. If your social media posts reflected legitimate speech rather than targeted threats, that distinction matters at your hearing.

Real Scenarios in Social Media Restraining Order Cases

The following situations reflect the types of cases Power Trial Lawyers handles involving social media and civil harassment restraining orders. Each involves unique defense considerations tied to digital evidence and online conduct.

An Ex-Friend Screenshots Your Venting Posts

After a falling out, you posted about the situation on your personal Instagram story without naming the other person. They recognized themselves, took screenshots, and filed a civil harassment restraining order claiming your posts caused emotional distress. The defense focuses on showing the posts were general expressions of frustration on your own profile, not directed communications targeting the petitioner.

A Neighbor Uses Your Nextdoor Comments Against You

You complained on Nextdoor about noise, parking, or property maintenance issues in your neighborhood. Your neighbor filed a restraining order petition claiming your posts constitute harassment. The defense centers on the fact that community discussion forums exist for exactly this type of commentary and that public discourse about neighborhood issues is protected speech.

A Former Roommate Claims Cyberstalking

After moving out, your former roommate alleges you viewed their social media profiles repeatedly and sent messages through mutual friends. They seek a restraining order claiming you are stalking them online. The defense challenges whether viewing a public profile constitutes a course of conduct under § 527.6 and whether secondhand communication rises to the level of harassment.

Someone Misreads Humor or Sarcasm as a Threat

A sarcastic comment on a Facebook post or a joke in a group chat gets reported as a credible threat of violence. The petitioner files for a restraining order based on a single statement. The defense presents the full conversation thread and platform norms showing no reasonable person would interpret the statement as a genuine threat.

Multiple People Report Coordinated Online Conduct

You were involved in an online dispute where multiple parties participated. One person files a restraining order claiming you led a coordinated campaign. The defense distinguishes between your individual speech and the actions of others, and challenges whether the petitioner can attribute group behavior to you.

If you are dealing with a social media restraining order, your case is already being framed against you through selective screenshots and incomplete evidence.

You need to take control before the hearing.

Call 888-808-2179 now or contact Power Trial Lawyers immediately to protect your record and your rights.

Relevant Judicial Council Forms

The following Judicial Council forms apply to civil harassment restraining order cases involving social media evidence.

  • CH-100 — Request for Civil Harassment Restraining Orders (the petition filed by the person seeking the order)
  • CH-110 — Temporary Restraining Order (the temporary order a judge may issue before the full hearing)
  • CH-120 — Response to Request for Civil Harassment Restraining Orders (the respondent’s written opposition filed before the hearing)
  • CH-130 — Civil Harassment Restraining Order After Hearing (the order issued if the court grants the petition after a full hearing)
  • CH-200 — Proof of Personal Service (the document proving the respondent was properly served)

A respondent facing a social media civil harassment restraining order should file a CH-120 response before the hearing. This form allows you to present your version of events, challenge the petitioner’s characterization of your online activity, and attach evidence that provides context for the communications at issue.

These cases are heard in the California Superior Court system and rely on standardized forms issued by the Judicial Council of California, with enforcement tracked through the CLETS system.

How Power Trial Lawyers Defends Social Media Restraining Order Cases

Power Trial Lawyers applies specific defense strategies to social media civil harassment restraining order cases that target the unique weaknesses in digital evidence and online harassment claims. Every case involving social media evidence requires a different approach than traditional in-person harassment allegations.

Challenging Authentication of Digital Evidence

Screenshots are easy to fabricate or manipulate. We challenge the petitioner to prove the evidence is authentic, unaltered, and complete. This includes verifying account ownership, checking for editing or cropping, and demanding the full context of any conversation presented in fragments.

Presenting Full Context

Courts rarely see the complete picture from a petitioner’s selected screenshots. We gather the full thread, the complete message history, and the broader platform context to show what the petitioner left out. A threatening-sounding line often looks very different when the surrounding conversation is visible.

Establishing Protected Speech

If your posts constitute opinions, commentary, or criticism rather than threats or targeted harassment, we build the constitutional defense. The First Amendment protects speech that is offensive, unpopular, or critical. We present case law and platform norms that support this distinction.

Exposing the Petitioner’s Participation

In many social media restraining order cases, the petitioner actively participated in the same exchange they now characterize as harassment. We obtain evidence of the petitioner’s own posts, messages, and provocations to show the court that the interaction was mutual rather than one-sided.

Cross-Examining on Digital Literacy

At hearing, we cross-examine the petitioner on their understanding of the platforms involved, their privacy settings, and their own online behavior. A petitioner who claims to be terrified of your public posts while continuing to view your profile, engage with your content, or follow your accounts faces credibility challenges.

What Happens at a Social Media Restraining Order Hearing

At the hearing, the judge evaluates whether the petitioner has proven harassment by clear and convincing evidence.

Typical hearing structure:

  1. The petitioner presents evidence (screenshots, messages, testimony)
  2. The respondent challenges authenticity and context
  3. Both sides may testify and present witnesses
  4. The judge evaluates credibility and legal standards

These hearings move quickly. Many are decided in under an hour, which makes preparation and organization of evidence critical.

Consequences of a Social Media Civil Harassment Restraining Order

If a court grants a civil harassment restraining order based on social media conduct, the consequences extend beyond simply being told to stop posting. A granted order under CCP § 527.6 can last for a maximum of up to five years and carries the following impacts that Power Trial Lawyers works to help clients avoid.

  • Entry into the California Law Enforcement Telecommunications System (CLETS) database, which is accessible to law enforcement statewide
  • A stay-away order that may restrict you from being near the petitioner’s home, workplace, or school
  • Specific prohibitions on contacting the petitioner through any means, including social media, email, text, and third-party communications
  • Potential firearm restrictions under California Penal Code § 29825, requiring surrender of any firearms you own
  • Visibility on background checks that may affect employment, housing applications, and professional licensing
  • Criminal exposure under Penal Code § 166(a)(4) if you violate any term of the order, including by contacting the petitioner online

Violating a civil harassment restraining order is a criminal offense. If the order prohibits online contact and you send a message or comment on a post, you face arrest and criminal charges.

Frequently Asked Questions About Social Media and Civil Harassment Restraining Orders

Can someone get a restraining order against me for social media posts in California?

Yes. California Code of Civil Procedure § 527.6 allows a person to seek a civil harassment restraining order based on online conduct if the posts constitute a credible threat of violence or a course of conduct that would cause a reasonable person substantial emotional distress. The petitioner must prove the case by clear and convincing evidence. Power Trial Lawyers defends clients facing restraining orders based on social media activity.

Do I need to delete my social media accounts if I am served with a restraining order petition?

No, and you should not delete anything. Deleting posts, messages, or accounts after being served can be viewed as destroying evidence. Preserve everything in its current state. Your attorney will advise you on what evidence to gather and how to present it at hearing.

What if the petitioner provoked me online before filing for a restraining order?

The petitioner’s own online conduct is relevant to the case. If the petitioner initiated or participated in the exchange they now call harassment, the court should consider that context. Your attorney can present the petitioner’s messages, posts, and provocations as evidence that the interaction was mutual.

Can screenshots be used as evidence in a restraining order hearing?

Screenshots can be used but must be authenticated under California Evidence Code § 1401. The party presenting them must show they are accurate and unaltered. An experienced defense attorney can challenge screenshots that are incomplete, taken out of context, or potentially manipulated.

Is posting about someone on my own social media page considered harassment in California?

Generally, posting opinions or commentary on your own profile is protected by the First Amendment. However, repeated posts that name the petitioner, contain threats, or encourage others to contact or confront the petitioner may cross the line into conduct actionable under CCP § 527.6. The analysis depends on the content, frequency, and context of the posts.

Can a restraining order prohibit me from using social media entirely?

A court can order you not to contact the petitioner through social media, but a blanket ban on all social media use would likely raise constitutional concerns. Most orders specify that you cannot contact, follow, tag, or message the protected party through any online platform rather than banning internet use altogether.

What happens if I accidentally view the petitioner’s profile after a restraining order is granted?

Viewing prohibitions are less common than contact prohibitions; however, if the order specifically prohibits viewing the petitioner’s online profiles, even accidental viewing could be characterized as a violation. If the order only prohibits contact, passively viewing a public profile may not violate the terms. The specific language of the order controls. An attorney at Power Trial Lawyers can review your order and advise on its scope.

Can mutual friends be involved in a social media restraining order case?

Yes. If you send messages to the petitioner through mutual friends or ask others to relay communications, the court may view that as indirect contact. Petitioners sometimes also present messages sent to mutual friends as evidence of continued harassment. Avoid discussing the petitioner with shared contacts while the case is pending.

Does a social media restraining order show up on a background check?

A granted civil harassment restraining order is entered into the CLETS database and may appear on certain background checks. This can affect employment opportunities, housing applications, and professional licensing. Contesting the petition at the hearing stage is the primary opportunity to prevent a permanent order from being entered.

What is the difference between cyberstalking and online harassment under California law?

Cyberstalking is a criminal charge under Penal Code § 646.9 that requires a credible threat with intent to cause fear, while civil harassment under CCP § 527.6 is a civil proceeding with a broader definition covering any knowing and willful course of conduct. A restraining order based on social media harassment is civil, but the same conduct can also lead to criminal cyberstalking charges.

Can Instagram posts be used as evidence in court?

Yes. Courts routinely consider Instagram posts, messages, and stories as evidence, provided they are properly authenticated under California Evidence Code § 1401.

Can liking or reacting to a post violate a restraining order?

It can, depending on the order’s language. If the order prohibits contact, even indirect engagement such as liking or reacting to posts may be argued as a violation.

Is cyberbullying considered harassment under California law?

It can be, if the conduct constitutes a course of behavior that causes substantial emotional distress and meets the requirements of CCP § 527.6.

Can you go to jail for social media harassment?

Civil harassment restraining orders are civil matters, but violating the order is a criminal offense under Penal Code § 166.

Southern California Social Media Civil Harassment Restraining Order Defense

Social media restraining order cases are heard in Superior Courts across Southern California. The way judges evaluate digital evidence can vary by courthouse and judicial officer. Power Trial Lawyers defends clients in all five Southern California counties and understands local courtroom practices that affect these cases.

Los Angeles County

Los Angeles County handles a high volume of civil harassment restraining orders, including cases involving social media evidence. Hearings take place at courthouses including the Stanley Mosk CourthouseVan Nuys CourthousePasadena CourthouseLong Beach CourthouseTorrance CourthouseAirport Courthouse, and Santa Monica Courthouse.

Orange County

Orange County civil harassment cases are heard at the Central Justice CenterLamoreaux Justice CenterHarbor Justice CenterNorth Justice Center, and the West Justice Center.

Riverside County

Riverside County restraining order hearings involving social media evidence take place at the Riverside Historic CourthouseSouthwest Justice Center, and Larson Justice Center.

San Bernardino County

In San Bernardino County, hearings are held at the San Bernardino Justice CenterRancho Cucamonga Courthouse, and Victorville Courthouse.

San Diego County

San Diego County civil harassment matters are heard at the Central CourthouseVista Courthouse, and Chula Vista Courthouse.

Local courtroom experience matters in social media cases because judges vary in how they handle digital evidence, what they require for authentication, and how much weight they give to online conduct. An attorney who regularly appears in your local courthouse knows these tendencies and prepares accordingly.

Contact Power Trial Lawyers About Your Social Media Restraining Order Case

If you have been served with a civil harassment restraining order based on social media posts, online messages, or other digital communications, time is limited. Your hearing date is approaching and the evidence you preserve now will shape your defense.

Power Trial Lawyers has extensive experience defending restraining order cases across Southern California, including cases built entirely on social media evidence. We know how to challenge digital evidence, expose missing context, and protect your right to free expression while taking the proceedings seriously.

Call 888-808-2179 or contact us online to schedule a free consultation. We serve clients in Los Angeles, Orange County, Riverside, San Bernardino, and San Diego.

Client Reviews

Matthew is the most knowledgeable lawyer. I have worked with teams of lawyers and none of them were as knowledgeable and prompt as Matthew. I trust all of my company’s legal affairs with Matthew. He makes me rest easy knowing he is on it.

Michael

Matthew is the epitome of hard work and dedication, when it comes to his work. Matthew has helped me with all my contractual work needed to help me launch my start up. Matthew is honest, diligent and relentless.

Carol

Matthew was very responsive and caring for my case. He handled my case with efficiency and made sure to secure exactly what we wanted. He has represented my company previously and when we needed a lawyer, it was no question – we phoned Matthew!

Tony

Contact Us

  1. 1 Free Consultation
  2. 2 Available 24/7
  3. 3 Appeals and Litigation Attorney
Fill out the contact form or call us at (888) 808-2179 to schedule your free consultation.

Leave Us a Message