Texting is considered harassment under the law when someone sends a repeated, deliberate pattern of unwanted messages that serves no legitimate purpose and would make a reasonable person feel threatened or seriously distressed. One rude or angry text almost never qualifies. Courts look for a course of conduct: text after text, often continuing after the recipient has asked for it to stop, with content or volume that goes beyond ordinary unwanted contact.
What the Law Requires
Three elements have to line up before unwanted texts become legally actionable harassment.
The first is a pattern. Courts call it a “course of conduct,” meaning repeated acts over time that show a continuity of purpose. A single message, even a nasty one, does not clear this bar. The law is looking for someone who keeps sending, building a pattern that goes beyond a moment of frustration.
The second is intent. The sender has to know, or reasonably should know, that the messages will cause fear or serious emotional distress. Prosecutors don’t need a confession to prove this. Intent is routinely inferred from circumstances, and the cleanest circumstance is simple: the recipient told the sender to stop, and the sender kept going.
The third is the reasonable person standard. A judge or jury asks whether an ordinary person on the receiving end of those messages would feel afraid or severely distressed. Your particular sensitivity doesn’t set the bar, but documented effects like anxiety, insomnia, or fear of leaving home strengthen the case that the conduct crossed the line.
Factors That Push Texts Into Harassment
What the Messages Say
Content matters enormously. Direct threats of violence, threats against family members, sexually explicit messages sent without consent, and false accusations designed to humiliate are strong evidence of harassment. Obscene or degrading language adds weight. A string of texts saying “we need to talk” reads differently than a string saying “I know where you live.”
How Often and When
Volume alone can constitute harassment even when no single message contains a threat. Sending dozens of texts in a short window, sometimes called flooding, demonstrates intent to intrude on someone’s peace. Texts arriving repeatedly at 3 a.m. or during known work hours to disrupt someone’s daily life show the same thing. Courts look at whether the sheer quantity and timing reveal a purpose to control or intimidate rather than communicate.
Whether You Asked Them to Stop
Continuing to text someone who has explicitly asked you to stop is about as clean a demonstration of harassing intent as courts will find. Messages designed to manipulate, isolate, or control the recipient also serve as evidence, even if they never contain an explicit threat.
The Effect on You
The law evaluates impact objectively: whether a reasonable person would be distressed, not whether this particular recipient was. Real-world consequences strengthen a claim significantly. If the messages drove you to change your phone number, avoid certain places, seek therapy, or lose sleep, those facts make the case more concrete. Documentation of psychological effects is some of the most persuasive evidence in harassment cases.
Where Annoying Ends and Harassment Begins
The law deliberately draws a line between irritating behavior and criminal behavior. A few messages from an ex asking to talk, a friend who checks in too often, a single angry outburst that doesn’t repeat: all fall short of harassment. The absence of a pattern, the absence of threatening content, or the absence of continued contact after being told to stop generally keeps behavior on the legal side of the line.
Context shapes everything. A dozen friendly texts from a worried parent would never qualify. A single credible threat of violence very well might, because severity can compensate for the lack of repetition. The key question is whether the messages serve any legitimate purpose and whether they would make a reasonable person feel unsafe. If the answer to the first is no and the second is yes, the behavior is probably crossing into criminal territory.
The Laws That Apply
Both federal and state laws criminalize text-based harassment. Three federal statutes do most of the work.
47 U.S.C. § 223 makes it a federal crime to use a telecommunications device to send obscene or harassing communications, to contact someone repeatedly with the sole purpose of harassment, or to use a device to abuse or threaten a specific person without disclosing your identity. Violations carry up to two years in federal prison.1Office of the Law Revision Counsel. 47 USC 223 – Obscene or Harassing Telephone Calls in Interstate or Foreign Communications
18 U.S.C. § 875 targets interstate threats specifically. Transmitting a threat to injure someone through any interstate communication, including a text message, carries up to five years in prison. When the threat is tied to extortion, the maximum climbs to twenty years.2Office of the Law Revision Counsel. 18 USC 875 – Interstate Communications
18 U.S.C. § 2261A, the federal stalking statute, covers anyone who uses electronic communication services to engage in a course of conduct that places a person in reasonable fear of death or serious bodily injury, or that causes or would be reasonably expected to cause substantial emotional distress. Penalties for a general stalking conviction reach up to five years in federal prison, with longer sentences when the victim suffers serious physical harm.3Office of the Law Revision Counsel. 18 USC 2261A – Stalking
Every state also has its own harassment or cyberstalking statute that covers electronic communications. The exact definitions and penalty structures vary, but they share common elements: a course of conduct directed at a specific person, no legitimate purpose, and resulting emotional distress or fear of harm. Most states charge a first offense as a misdemeanor, with felony exposure for repeat offenders, violations of protective orders, or cases involving threats of violence. Because state laws define key terms like “course of conduct” and “emotional distress” differently, the same set of texts might be charged differently depending on where you live. The state statute is what matters most in practice. Local law enforcement and prosecutors apply state law, not federal law, in the vast majority of text harassment cases.
What to Do If You’re Being Harassed by Text
Tell the sender clearly, in writing, to stop contacting you. Do it by text so you have a record. Keep it simple: “Do not contact me again.” This creates evidence that any future messages are unwelcome, which is one of the strongest facts you can establish in a harassment case.
Preserve everything. Screenshot every message with the sender’s number, date, and time visible. Don’t delete the conversation thread, because original records carry more weight than screenshots alone. If the harassment spans multiple platforms or phone numbers, document all of it. Save voicemails, emails, and social media messages that are part of the same pattern.
After documenting, block the sender’s number. Blocking doesn’t weaken your legal case; it shows you took reasonable steps to end the contact. If the harasser circumvents the block using new numbers or different platforms, that behavior is powerful evidence of intent.
Report the harassment to your wireless carrier by forwarding offending messages to 7726, which spells “SPAM.”4Federal Trade Commission. How to Recognize and Report Spam Text Messages If the messages contain threats of violence or you feel your safety is at risk, contact local law enforcement and bring your documentation. Filing a police report creates an official record and can lead to a criminal investigation. For threats that cross state lines, you can also submit a tip to the FBI through the Department of Justice.5Department of Justice. Report a Crime or Submit a Complaint
A civil restraining order is often the fastest practical remedy. You file a petition with your local court explaining the harassment, supported by the screenshots, records of when you asked the sender to stop, and documentation of how the harassment has affected you. A judge can issue a temporary order quickly, sometimes the same day, and set a full hearing within a few weeks. Once the order is in place, any further contact becomes a separate criminal offense, giving law enforcement an immediate basis for arrest.