A protective order does not stop working when the harassment moves online. Courts in every comparison state treat electronic contact — texts, emails, social media messages, direct messages through third-party apps — as a form of contact subject to a no-contact provision the same way a phone call or a letter would be. The digital channel changes the medium. It does not change the legal obligation.
That said, courts can only bind the respondent. They cannot reach into a platform’s servers and delete content, deactivate accounts, or prevent someone from posting publicly. That distinction — what courts can require of the person versus what they can require of a platform — is where most confusion about digital abuse and protective orders starts.
What does the law actually recognize as digital abuse, how protective orders address it, and where enforcement ends are the central questions this article covers.
- Courts generally interpret no-contact provisions in protective orders to cover all forms of electronic communication — texts, emails, and social media messages — based on the indirect contact language standard across most states.
- Federal law under 18 U.S.C. §2261A separately criminalizes cyberstalking through any electronic communication system of interstate commerce — this applies nationwide regardless of whether a state protective order exists.
- Courts can prohibit the respondent from contacting the petitioner through any platform, through third parties, and from electronic surveillance and GPS tracking.
- Courts cannot force social media platforms to remove content, deactivate accounts, or block users — orders bind the person, not the platform.
- Most states require a pattern of conduct — two or more acts — before digital harassment qualifies for a stalking-based protective order, though a single credible threat can be independently sufficient under some state statutes.
Rules vary by state, relationship type, and the specific conduct alleged.
Whether the harassment is by text, email, or social media, courts have authority to prohibit online harassment through protective order no-contact provisions in states across the country.
What Counts as Digital Abuse and Cyberstalking Under the Law
Digital abuse covers technology-based harassment or surveillance used as a tool of control within an abusive relationship; cyberstalking is a criminal offense defined by a pattern of electronic conduct causing fear or substantial emotional distress under state and federal law.
Courts treat them differently depending on what legal track applies.
Digital abuse, in the domestic violence context, refers broadly to using technology — phones, apps, social media, GPS trackers, spyware — as a tool of harassment, control, or intimidation within an existing abusive relationship. It does not require a separate criminal charge to support a protective order petition. Under California Family Code §6320, amended by SB 1141 effective January 1, 2021, “disturbing the peace” — which is a qualifying basis for a DVRO (Domestic Violence Restraining Order) — expressly includes conduct carried out through “telephone, online accounts, text messages, internet-connected devices, or other electronic technologies.” A petitioner does not need to show the respondent physically appeared anywhere.
Cyberstalking is a criminal offense defined by pattern of conduct using electronic communication. Illinois 720 ILCS 5/12-7.5 defines it as engaging in a course of conduct using electronic communication that a reasonable person would know causes fear for safety or substantial emotional distress. It covers emails, texts, social media, and — notably — maintaining a harassing website accessible to third parties for 24 or more hours, which no other state in this comparison expressly addresses in statute.
What connects both categories is the threshold requirement most states share: a course of conduct. Federal law defines this in 18 U.S.C. §2266(2) as “a pattern of conduct composed of 2 or more acts, evidencing a continuity of purpose.” A single unwanted message typically does not qualify. The exception is a single communication containing a credible threat, which can independently meet the threshold under California Penal Code §646.9 and the stalking provisions of Texas Penal Code §42.072.
Take a situation where someone sends a former partner five messages in two weeks — none of which contain explicit threats — but each one escalates and is sent after the recipient has blocked the sender on every platform. A court evaluating a protective order petition would look at the pattern: repeated conduct, directed at a specific person, designed to make contact after being refused. That is the course-of-conduct threshold. Compare that to a single message saying “I know where you work.” One act, but a specific and credible threat — enough under California and Texas statute to support a filing without a full pattern.
What Federal Law Says About Cyberstalking and Electronic Harassment
Federal law under 18 U.S.C. §2261A(2) makes cyberstalking through any electronic communication system a federal crime — a separate criminal track from the state civil protective order system, and both can apply simultaneously to the same conduct.
18 U.S.C. §2261A(2) criminalizes using “the mail, any interactive computer service or electronic communication service or electronic communication system of interstate commerce” with the intent to harass, intimidate, or place someone in fear, in a course of conduct causing substantial emotional distress or reasonable fear of serious bodily injury. No interstate travel is required. Because essentially all major electronic platforms — email providers, social media companies, cellular carriers — operate across state lines, the interstate commerce element is satisfied in nearly every digital harassment scenario.
The federal statute is criminal, not civil. A federal prosecution under §2261A requires law enforcement and a U.S. attorney. A state civil protective order comes from filing a petition in state court. The two are independent. A petitioner does not need a federal case to get a protective order, and a protective order does not substitute for federal charges if the conduct meets the §2261A threshold.
What federal law does add is enforcement durability. Under 18 U.S.C. §2265, every state, territory, and tribal jurisdiction must enforce a valid protective order issued by any other state — this requirement applies nationwide. If the order prohibits electronic contact and the respondent moves to a different state, the prohibition travels with the respondent. The petitioner does not need to re-file.
Take a situation where a petitioner in Washington state obtains a protection order under RCW 7.105 that explicitly prohibits electronic communication. If the respondent relocates to Texas and continues sending messages, Texas law enforcement can enforce the Washington order under §2265 without requiring a new filing. The original order controls.
Can a Protective Order Cover Online Harassment and Electronic Contact?
A standard no-contact provision in a protective order prohibits direct and indirect contact of any kind, which courts consistently apply to cover texts, emails, and social media messages sent or directed toward the petitioner. Courts across states treat text messages, emails, and social media direct messages as forms of “contact” or “communication” within the meaning of standard protective order language.
Most states reinforce this through statute or court rule. Washington’s restructured protection order system under RCW 7.105, effective July 1, 2022, consolidated domestic violence, anti-harassment, and stalking protection orders into one system and applies standard no-contact provisions to all digital channels under a single petition form. Texas protective orders issued under CCP Chapter 7B explicitly extend to “tracking or monitoring personal property” via “a tracking application on a personal electronic device” — meaning GPS tracking apps on the petitioner’s phone can be specifically prohibited in the order itself.
Orders can also address third-party contact. The indirect communication prohibition — which prohibits the respondent from using a third party to deliver messages — is standard in most protective orders and applies equally to indirect online contact: having a mutual friend relay messages online, creating anonymous accounts to message the petitioner, or tagging the petitioner through a secondary account.
Here’s how this plays out in practice. Say a petitioner has an Illinois Order of Protection under 750 ILCS 60/214. The order prohibits harassment and direct or indirect contact. The respondent stops showing up at the petitioner’s home but starts sending messages through a mutual contact and creates an account specifically to tag the petitioner on social media. Both actions — the relay through a third party and the indirect contact through a new account — fall within the prohibition. The medium is irrelevant. The conduct is what the order addresses.
Courts may also include provisions expressly prohibiting GPS tracking software installation, access to the petitioner’s accounts, and monitoring of device activity — language that goes beyond standard no-contact terms and addresses tech-specific conduct directly. Under Illinois statute, 720 ILCS 5/12-7.5(a-4) separately classifies knowingly installing spyware on another person’s device as cyberstalking — a Class 4 felony independent of any order violation.
What a Protective Order Cannot Force Social Media Platforms to Do
A protective order binds the respondent personally but cannot compel Facebook, Instagram, X, or any other platform to deactivate an account, remove posts, or block a user — courts have no jurisdiction over platforms as non-parties to the proceeding. A court cannot issue an order requiring a social media company to deactivate the respondent’s account, remove posts about the petitioner, or block the respondent from a platform. Platforms are not parties to the proceeding. Their obligations are governed by their own terms of service, not the court’s order.
What this means in practice: if the respondent posts content about the petitioner on a public social media profile, the respondent may be violating the no-contact or no-harassment provisions of the protective order depending on the order’s specific language. That violation is enforceable through law enforcement and the courts — against the respondent. The mechanism for getting the content removed from the platform is separate: a report to the platform under its own harassment and abuse policies, which platforms handle on their own timeline and standards.
The two tracks are independent. Enforcement of the order violation runs through law enforcement and the courts — against the respondent. Content removal from the platform runs through the platform’s own reporting system. Neither process waits on the other.
Here is a concrete illustration. A respondent subject to a final Order of Protection in Illinois starts posting public content about the petitioner on a social media profile after the order is issued. The petitioner reports the content to the platform — the platform may or may not act on its own timeline. Separately, the petitioner reports the posts to law enforcement as a violation of the no-harassment provision in the order. Law enforcement investigates the order violation. Both tracks run at the same time. The platform’s inaction does not block the criminal violation proceeding, and the criminal proceeding does not compel the platform to remove anything.
A lot of people assume getting a protective order automatically wipes the respondent off social media. It does not. The order controls the respondent’s behavior, not the platform’s systems. Courts have limited jurisdiction, and technology companies are not subject to that jurisdiction simply because a user obtains a civil order against another user.
How Do States Handle Digital Abuse in Protective Orders?
State statutes differ in how explicitly they address digital conduct, what penalties apply to electronic order violations, and whether cyberstalking is its own defined offense or folded into the general stalking statute.
The table below shows how the five primary comparison states structure their digital abuse coverage.
| State | Cyberstalking Statute | Key Digital Abuse Provision |
|---|---|---|
| California | Cyberstalking StatutePenal Code §646.9 | Key Digital Abuse ProvisionFamily Code §6320(c) expressly includes electronic technologies in “disturbing the peace” — amended 2021 to add coercive control |
| Texas | Cyberstalking StatutePenal Code §42.07 / §42.072 | Key Digital Abuse ProvisionCCP Chapter 7B protective orders expressly prohibit GPS tracking apps and electronic monitoring devices |
| Washington | Cyberstalking StatuteRCW 9A.90.120 | Key Digital Abuse ProvisionCyber harassment while violating a protective order elevates to Class C felony; 2022 unified system under RCW 7.105 |
| Illinois | Cyberstalking Statute720 ILCS 5/12-7.5 | Key Digital Abuse ProvisionUnique provision: maintaining a harassing website for 24+ hours is a standalone cyberstalking offense; spyware installation = separate felony |
| Colorado | Cyberstalking StatuteC.R.S. §18-3-602 (Vonnie’s Law) | Key Digital Abuse ProvisionNo separate cyberstalking statute; “any form of communication” covers digital conduct; protection order issues automatically on stalking arrest |
The variation that matters most for enforcement: in Washington, committing cyber harassment while a protective order is already in place automatically elevates the offense to a Class C felony under RCW 9A.90.120(3)(b). In Colorado, stalking while a protective order is in effect elevates the offense from a Class 5 to a Class 4 felony under C.R.S. §18-3-602(5), and any sentences for the stalking offense and the separate order violation must run consecutively.
Digital Evidence in Court Proceedings
Courts evaluating a protective order petition based on digital abuse may consider screenshots, email threads, text records, social media logs, and prior police reports — any documentation establishing a directed, repeated pattern of unwanted electronic contact.
Courts are not looking for perfect evidence. They’re looking for a pattern.
The evidence standard for a temporary or emergency order is lower than for a final order. An ex parte order — issued before the respondent has appeared in court — typically requires the petitioner to present a sworn affidavit or verified petition showing immediate and present danger. For a final order, courts apply a preponderance of the evidence standard: more likely than not that the qualifying conduct occurred.
For digital evidence, courts do not require formal forensic authentication to grant an order. A petitioner presenting a set of dated screenshots from a messaging platform, showing repeated unwanted contact, gives a court the factual basis it needs to evaluate whether the conduct satisfies the state’s statutory definition. The more documented and date-specific the record, the clearer the pattern — courts evaluating a course of conduct need to see that the acts were repeated, not isolated.
Here’s a practical illustration of how state law differences can affect the analysis. In Washington, the petitioner only needs to show the respondent’s course of conduct “would cause a reasonable person to feel intimidated, frightened, or threatened” and actually caused that feeling. Under Illinois’s Order of Protection framework, courts presume that “repeatedly telephoning” a petitioner — which courts extend to repeated electronic messaging — causes emotional distress, shifting the burden to the respondent to rebut that presumption. These two standards reach similar outcomes, but Illinois effectively lowers the evidentiary burden on the petitioner for repeated contact.
What Happens When a Protective Order Is Violated Through Electronic Contact
Violating a protective order through electronic contact — a text, email, or direct message — is a criminal offense in the same way a physical proximity violation is, with the same arrest authority and penalty exposure under each state’s protective order violation statute.
A first violation is typically a misdemeanor across the comparison states. California charges a first violation under Penal Code §273.6 as a misdemeanor with up to one year in county jail. Texas charges a first violation of a family violence protective order under Penal Code §25.07 as a Class A misdemeanor. Second violations and violations involving physical harm escalate: Texas reaches a third-degree felony after two prior violations; Illinois elevates to a Class 4 felony; Colorado adds a consecutive sentence for a PO violation stacked with the underlying stalking felony.
Here is how this plays out in practice. Say a respondent is served with a final protective order on a Tuesday. That same evening, the respondent sends a text to the petitioner. The petitioner screenshots the message with the timestamp and reports it to police. Under California mandatory arrest law — Penal Code §836(c) — the officer responding to that report has grounds to make an arrest the same night. The respondent cannot argue that “it was just a text.” The no-contact provision was active, the text was contact, and the violation is criminal. The arrest can happen within hours of the order being served.
Mandatory arrest laws in many states require law enforcement to arrest on probable cause once a violation is established. The respondent cannot successfully argue that the harassment was “only online” as a defense against a criminal violation charge. Electronic contact is contact.
Federal exposure also exists independently. Under 18 U.S.C. §2262, crossing state lines to violate the terms of a protective order — or causing someone else to cross state lines — is a separate federal crime. Because electronic communications inherently cross state lines through interstate servers, some cyberstalking conduct that violates a protective order can be charged federally in addition to state charges.
Frequently Asked Questions
Can you get a restraining order for text message harassment?
Courts treat repeated unwanted text messages as a form of electronic communication covered by no-contact provisions in protective orders, and most state stalking statutes expressly include repeated electronic communications as qualifying conduct. Under Illinois 720 ILCS 5/12-7.5, text messages fall within “electronic communication” supporting a cyberstalking charge and an Order of Protection. The key threshold in most states is a pattern — two or more acts — rather than a single message.
Does a protective order stop someone from contacting you on social media?
A protective order’s no-contact provision applies to social media contact directed at the petitioner — direct messages, tagging, or contact through mutual connections. What the order cannot do is require the platform to remove the respondent’s account or public posts. Courts bind the respondent, not the platform. If the respondent continues sending direct messages or tagging the petitioner after an order is in place, that is a violation enforceable through law enforcement — not a platform moderation request.
What qualifies as cyberstalking for a protective order?
Most states require a course of conduct — two or more acts of electronic harassment — that places the target in reasonable fear of harm or causes substantial emotional distress. 18 U.S.C. §2261A(2) sets this standard at the federal level. A single credible threat of bodily harm can be sufficient independently in states like California and Texas without the full course-of-conduct requirement. The conduct must be directed at the petitioner and must go beyond constitutionally protected speech.
Can police enforce a protective order if the harassment is only online?
Yes. A violation of a no-contact provision through any communication channel — including online — is a criminal violation in all comparison states. Mandatory arrest laws apply where law enforcement has probable cause of a violation; the electronic-only nature of the conduct does not make it non-enforceable. Dated screenshots, message logs, and a formal police report provide the documentation law enforcement needs to act.
Does a protective order cover someone sending messages through a third party?
Standard protective order language prohibiting indirect contact covers this. The respondent sending messages through a mutual friend, family member, or anonymous account directed at the petitioner violates the indirect communication prohibition. Under Illinois’s “stay away” definition in 750 ILCS 60/103, the prohibition on contact includes phone calls, email, and written notes regardless of the intermediary.
Does the absence of a domestic relationship block a digital harassment protective order?
No. DV-based orders require a qualifying relationship — spouse, dating partner, household member, co-parent. But most states also have standalone anti-harassment or stalking-based protective orders available regardless of relationship. In Washington, the anti-harassment protection order under RCW 7.105 is available between strangers. In Texas, protective orders under CCP Chapter 7B for stalking victims apply regardless of whether the respondent is a domestic partner. The relationship type determines which order track applies, not whether an order is available.
Can a protective order require someone to delete social media posts about you?
Courts can include provisions requiring the respondent to remove specific content as a condition of the order, though this is not standard language in most states and depends on the court’s discretion and the petitioner’s request. More commonly, courts prohibit posting content about the petitioner going forward rather than ordering deletion of past posts. The enforceability of content removal orders against respondents who do not comply is through contempt proceedings — the same mechanism as any other order violation.