What Is the Legal Definition of Harassment?

The legal definition of harassment is a knowing, serious act or course of conduct directed at a specific person that would cause a reasonable person substantial emotional distress and that serves no legitimate purpose. That formulation comes from federal law at 18 U.S.C. § 1514, and it echoes through criminal codes, civil protective order statutes, workplace rules, and school policies.1Office of the Law Revision Counsel. 18 USC 1514 – Civil Action to Restrain Harassment of a Victim or Witness The thresholds and consequences shift from one setting to the next, but the core elements stay recognizable.

The Three Elements That Do the Work

Three pieces of the federal definition carry most of the weight. Pull any one of them out and the conduct usually isn’t harassment in a legal sense, no matter how unpleasant it felt.

The first is course of conduct. The statute defines this as a series of acts over a period of time, however short, showing a continuity of purpose.1Office of the Law Revision Counsel. 18 USC 1514 – Civil Action to Restrain Harassment of a Victim or Witness A single rude comment or one-off confrontation rarely qualifies. Courts look for a pattern, and the pattern is what separates harassment from an ordinary dispute.

The second is substantial emotional distress, judged against a reasonable person. The question isn’t whether this particular person felt upset. It’s whether an ordinary person in the same situation would experience distress at that level. That objective check prevents personal sensitivities from being treated as legal injuries.

The third is no legitimate purpose. This carve-out protects activity like a journalist contacting a reluctant source, a debt collector making lawful calls, or someone exercising constitutionally protected speech. If the behavior has a recognizable lawful reason behind it, it falls outside the definition regardless of how distressing it is to the recipient.

When Harassment Becomes a Federal Crime

Harassment crosses into federal criminal territory when it involves interstate travel or electronic communications. The controlling statute is 18 U.S.C. § 2261A, which covers both physical stalking and electronic harassment through mail, email, social media, or any other interstate communication tool.2Office of the Law Revision Counsel. 18 USC 2261A – Stalking The conduct must be done with intent to harass, intimidate, injure, or place someone under surveillance, and it must result in reasonable fear of death or serious bodily injury, or cause substantial emotional distress.

Intent to harass or intimidate is enough. Prosecutors don’t need to prove a defendant meant to kill or injure anyone.2Office of the Law Revision Counsel. 18 USC 2261A – Stalking

Penalties track the harm caused:3Office of the Law Revision Counsel. 18 USC 2261 – Interstate Domestic Violence

  • Up to 5 years in federal prison and a fine when there is no physical injury.
  • Up to 10 years when the conduct causes serious bodily injury or involves a dangerous weapon.
  • Up to 20 years for permanent disfigurement or life-threatening injury.
  • Life imprisonment or any term of years if the victim dies.
  • A mandatory minimum of 1 year when the stalking violates a protective order.

Every state has its own criminal harassment or stalking statute as well. The elements and classifications vary, with some states treating a first offense as a misdemeanor punishable by up to a year in jail and others charging repeated or threat-based conduct as felonies carrying several years in state prison. The common thread tracks the federal framework: a knowing pattern of conduct, directed at a specific person, that would alarm or frighten a reasonable person.

Civil Harassment and Protective Orders

Harassment doesn’t have to be criminally charged to produce legal consequences. Civil harassment proceedings let a person seek protection from a court without waiting for a prosecutor. The usual process begins with a petition describing the conduct and asking for a restraining order. If the situation is urgent, the court can issue a temporary order immediately, before the other side has a chance to respond. A full hearing follows, typically within a few weeks.

The evidentiary bar in civil harassment cases is higher than in most civil disputes. Many jurisdictions require clear and convincing evidence rather than the ordinary “more likely than not” standard, meaning the evidence must be substantially more convincing than a bare majority, though not as demanding as “beyond a reasonable doubt.”4Legal Information Institute. Clear and Convincing Evidence

A final protective order typically bars the respondent from contacting, approaching, or coming within a specified distance of the petitioner. Durations commonly run one to five years and can be renewed. Violating the order is a separate offense that exposes the respondent to contempt charges, fines, and jail time.

Workplace Harassment Has Its Own Definition

In the workplace, harassment is defined by a different body of law and a different standard. Title VII of the Civil Rights Act of 1964, together with federal statutes covering age, disability, and genetic information discrimination, makes workplace harassment illegal when it is based on a protected characteristic: race, color, religion, sex (including sexual orientation, transgender status, and pregnancy), national origin, age (40 and over), disability, or genetic information.5U.S. Equal Employment Opportunity Commission. Harassment

Workplace conduct becomes unlawful when enduring it becomes a condition of continued employment, or when it is severe or pervasive enough that a reasonable person would find the environment intimidating, hostile, or abusive.5U.S. Equal Employment Opportunity Commission. Harassment Two patterns meet that bar:

  • Quid pro quo, where a supervisor conditions job benefits like promotions, raises, or continued employment on submission to unwelcome sexual conduct. A single incident can be enough.
  • Hostile work environment, where ongoing conduct based on a protected characteristic interferes with the ability to do the job. Courts weigh frequency, severity, whether the behavior was physically threatening or humiliating, and whether it unreasonably interfered with work.

Offhand jokes, stray comments, and isolated incidents generally don’t clear the threshold. The EEOC has said plainly that petty slights and annoyances aren’t enough.5U.S. Equal Employment Opportunity Commission. Harassment

Employer liability turns on who did the harassing. When a supervisor’s harassment produces a tangible job action like firing or demotion, the employer is automatically liable. When the harasser is a coworker or a non-employee like a customer, the employer is liable only if it knew or should have known about the conduct and failed to take prompt corrective action.5U.S. Equal Employment Opportunity Commission. Harassment

Deadlines matter here, and missing them is a common way a valid claim dies. You generally have 180 calendar days from the last incident to file a charge with the EEOC. That window extends to 300 days if a state or local anti-discrimination agency covers the same conduct. Federal employees must contact an EEO counselor within 45 days.6U.S. Equal Employment Opportunity Commission. Time Limits for Filing a Charge

Federal law also makes retaliation against someone who reports harassment or participates in an investigation illegal in its own right. The standard is whether a reasonable employee would have been discouraged from reporting if they knew the retaliation was coming.7Office of the Law Revision Counsel. 42 USC 2000e-3 – Other Unlawful Employment Practices

Harassment in Schools

Title IX of the Education Amendments of 1972 prohibits sex-based harassment in any educational program that receives federal funding, which covers nearly every public school and university in the country. The Department of Education currently enforces the 2020 Title IX regulations after a federal court vacated the 2024 amendments.8U.S. Department of Education. Sex Discrimination – Overview of the Law

Under those regulations, sexual harassment in education means one of three things: an employee conditioning an educational benefit on unwelcome sexual conduct; unwelcome conduct a reasonable person would find so severe, pervasive, and objectively offensive that it effectively denies equal access to education; and sexual assault, dating violence, domestic violence, or stalking as defined under federal law. Schools must respond promptly and in a way that isn’t “deliberately indifferent” once they have actual knowledge of harassment, and the duty attaches when a Title IX coordinator or a school official with authority to take corrective action learns about it.9U.S. Department of Education. Summary of Major Provisions of the Department of Education Title IX Final Rule

Harassment Online

The federal stalking statute explicitly covers electronic harassment. Under 18 U.S.C. § 2261A(2), using mail, email, social media, or any other interstate electronic communication to engage in a course of conduct that places someone in reasonable fear of death or serious bodily injury, or that causes substantial emotional distress, is a federal crime carrying the same penalties as physical stalking.2Office of the Law Revision Counsel. 18 USC 2261A – Stalking

Two specific forms of online conduct get special treatment. Doxing, the publication of private information to intimidate someone or enable others to harass them, is a federal crime when the target is a federal official, juror, witness, or law enforcement officer. Under 18 U.S.C. § 119, knowingly publishing restricted personal information like a home address, phone number, or Social Security number about a covered person with intent to threaten or facilitate violence carries up to five years in prison.10Office of the Law Revision Counsel. 18 USC 119 – Protection of Individuals Performing Certain Official Duties For victims outside that statute, prosecutors use the general stalking and threat laws, and a growing number of states have their own anti-doxing statutes.

Swatting, making a false emergency report to trigger an armed law enforcement response at someone’s location, has no single federal statute of its own. Prosecutors charge it under existing laws, including the federal hoax statute at 18 U.S.C. § 1038, which carries up to five years in prison and higher penalties if someone is injured or killed. The federal stalking and threat statutes also apply when swatting is part of a broader harassment campaign.

Where the Line Isn’t Crossed

Not every unwanted or unpleasant interaction is harassment in a legal sense. Several defenses define the outer boundary of the concept.

Protected Speech

The most common defense is that the conduct was protected speech. Posting an opinion online, criticizing someone publicly, or engaging in political advocacy doesn’t become harassment because the subject finds it upsetting. The First Amendment has limits, though. In Counterman v. Colorado (2023), the Supreme Court held that a speaker can be convicted of making “true threats” if they recklessly disregarded the risk that their words would be perceived as threatening.11Library of Congress. True Threats – Constitution Annotated Intent to threaten isn’t required; conscious disregard of a substantial risk is. Repeatedly messaging someone who has blocked you, or showing up at their workplace after being told to stay away, also falls outside First Amendment protection regardless of what is actually said.

A Legitimate Reason for the Contact

Because the federal definition excludes conduct that serves a legitimate purpose, showing a lawful reason for the contact can be a complete defense.1Office of the Law Revision Counsel. 18 USC 1514 – Civil Action to Restrain Harassment of a Victim or Witness A landlord sending repeated notices about lease violations, a process server trying to deliver legal papers, or a reporter seeking comment on a story all have purposes that take their contact outside the definition, even when the recipient finds it unwelcome.

No Pattern

Many harassment statutes require a course of conduct rather than a single act. If prosecutors can’t show the behavior was repeated or sustained with continuity of purpose, the charge may not survive. Whether a cluster of incidents counts as a pattern or as disconnected events depends on timing, context, and the specific statute.

The Reasonable-Person Floor

Even repeated, unwelcome conduct can fail to clear the legal threshold if an ordinary person wouldn’t have experienced substantial distress from it. Courts draw this line case by case, and it exists so the legal definition of harassment doesn’t swallow every interpersonal conflict.