If someone is harassing you, the fastest and most widely used legal action is a civil protection order from your local court, which can order the person to stop contacting you, stay away from your home and workplace, and surrender any firearms. Beyond that, how to take legal action against harassment depends on where it is happening: workplace harassment goes through the Equal Employment Opportunity Commission, school-based harassment goes through a Title IX complaint, and harassment that crosses state lines or uses electronic communications can be reported as a federal crime. Each path has its own evidence requirements and filing deadlines, and missing a deadline is the single most common way strong cases are lost.
What Qualifies as Harassment in the First Place
Not every unpleasant encounter is legally actionable. Federal law generally requires a “course of conduct,” meaning a series of acts over time showing a continuity of purpose. A single rude comment or isolated incident typically does not qualify. The federal victim and witness statute, 18 U.S.C. § 1514, defines harassment as a serious act or course of conduct directed at a specific person that causes substantial emotional distress and serves no legitimate purpose.1Office of the Law Revision Counsel. 18 U.S. Code 1514 – Civil Action to Restrain Harassment of a Victim or Witness
The federal stalking statute, 18 U.S.C. § 2261A, reaches further. It covers anyone who uses the mail, the internet, or any electronic communication service with the intent to harass, intimidate, or injure, when the conduct places the victim in reasonable fear of death or serious bodily injury or causes substantial emotional distress.2Office of the Law Revision Counsel. 18 U.S. Code 2261A – Stalking Protection extends to the direct target and to their immediate family members and intimate partners.
Every state also has its own harassment and stalking statutes, and definitions vary. Some require proof the harasser intended to cause fear; others ask only whether a reasonable person would have felt threatened. The same conduct can be charged as a misdemeanor in one state and a felony in another, especially when threats of violence or repeat offenses are involved.
Document Everything Before You File Anything
The strength of any harassment case depends almost entirely on documentation gathered before you contact an attorney or walk into a courtroom. Judges decide these cases on evidence, not accusations, and the evidence you need is the kind you gather yourself in real time.
Keep a dated log of every incident with the time, the location, and what the harasser said or did. Entries written the same day carry far more weight than reconstructions pieced together weeks later, because memories blur quickly and opposing counsel will exploit any inconsistency.
Digital evidence is often the strongest material you can bring. Save emails, screenshot social media posts and text messages so the capture shows the sender’s username, timestamp, and full content, and preserve voicemails. If you use a messaging app with disappearing messages, export the conversation before it vanishes. Courts treat digital records as highly reliable because they are hard to fabricate and carry built-in timestamps.
Identify witnesses who directly observed the behavior: a coworker who overheard threats, a neighbor who saw the harasser at your door, a friend present during a confrontation. If the harassment caused you to seek medical or psychological treatment, those records become independent evidence of emotional impact, and testimony from a treating mental health professional can establish severity in terms a court recognizes.
Get a Civil Protection Order
A protection order is a court order that legally prohibits someone from contacting or approaching you, and for most people it is the first and most useful legal step. The process starts by filing a petition at your local courthouse. Forms and terminology vary by jurisdiction, but the petition asks you to describe the conduct and explain why you need court protection. Filing fees range from nothing to several hundred dollars, and many jurisdictions waive fees entirely for domestic violence cases.
Most courts offer an emergency ex parte hearing on the same day you file. Ex parte means the judge reviews your petition without the other person present. If the judge finds sufficient grounds, a temporary order takes effect immediately and lasts until a full hearing can occur. The harasser must then be formally served with the paperwork, usually by a sheriff, marshal, or professional process server. Full hearings are generally scheduled within 10 to 14 days of the temporary order.
At the full hearing, both sides present evidence and testimony. The judge then decides whether to extend the order, make it longer-term, or dismiss it. Duration varies widely by state, from one year to indefinite periods. Either party can later ask the court to modify or dissolve the order, though courts examine whether the person who filed genuinely consents and whether the restrained party has committed new offenses.
Firearms Surrender
Federal law prohibits anyone subject to a qualifying protection order from possessing firearms or ammunition. Under 18 U.S.C. § 922(g)(8), the prohibition applies when the order was issued after a hearing where the respondent received notice and had an opportunity to participate, restrains the respondent from harassing or threatening an intimate partner or their child, and either includes a finding that the respondent represents a credible threat to the partner’s physical safety or explicitly prohibits the use of physical force.3Office of the Law Revision Counsel. 18 U.S. Code 922 – Unlawful Acts Violating this provision is a separate federal felony. Many states also require surrender of firearms within a set period after service.
If You Move or the Harasser Follows You
A protection order issued in one state is enforceable in every other state under 18 U.S.C. § 2265. Courts and law enforcement in the enforcing state must treat the order as if it were their own, as long as the issuing court had jurisdiction and the respondent received reasonable notice and an opportunity to be heard.4Office of the Law Revision Counsel. 18 U.S. Code 2265 – Full Faith and Credit Given to Protection Orders You do not need to re-register the order in the new state, though carrying a certified copy makes enforcement faster if you have to call police.
What Happens If the Order Is Violated
Violating a protection order is a criminal offense in every state, typically charged as a misdemeanor for a first offense and escalating to a felony for repeated violations or those involving physical contact. Jail time, fines, and extended order duration are all standard. If the harasser crosses state lines to violate the order, that triggers a separate federal prosecution under 18 U.S.C. § 2262, with penalties scaling up to life in prison if the victim dies.5Office of the Law Revision Counsel. 18 U.S. Code 2262 – Interstate Violation of Protection Order Federal sentences run on top of any sentence for the underlying conduct.
If the Harassment Is at Work
Title VII of the Civil Rights Act prohibits workplace harassment based on race, color, religion, sex, or national origin.6U.S. Equal Employment Opportunity Commission. Title VII of the Civil Rights Act of 1964 The behavior becomes unlawful when enduring it becomes a condition of continued employment, or when it is severe or pervasive enough that a reasonable person would consider the work environment hostile.7U.S. Equal Employment Opportunity Commission. Harassment A single offhand remark generally does not clear that bar; a pattern of degrading comments, unwanted physical contact, or threats tied to a protected characteristic can.
When a supervisor’s harassment results in a tangible job action like firing or demotion, the employer is automatically liable. For harassment by coworkers or non-employees like customers, the employer is liable only if it knew or should have known and failed to take prompt corrective action. An employer that investigates complaints and disciplines harassers has a strong defense; one that ignores reports does not.
Before you can sue under Title VII, you must file a charge of discrimination with the EEOC. You have 180 calendar days from the date of the harassment, extended to 300 days if your state has its own fair employment agency.8U.S. Equal Employment Opportunity Commission. How to File a Charge of Employment Discrimination Most states do, so the 300-day window applies to most workers. You can file through the EEOC’s online Public Portal, in person at a local office, or by mailing a signed letter describing the conduct and identifying the employer. If you file with a state agency first, worksharing agreements usually cross-file the charge with the EEOC automatically. After its investigation, the EEOC either attempts to resolve the case or issues a “right to sue” letter allowing you to proceed to federal court.
Successful Title VII cases can produce back pay, reinstatement, and compensatory damages for therapy costs and emotional harm, subject to federal caps that scale with employer size.9U.S. Equal Employment Opportunity Commission. Remedies for Employment Discrimination
If the Harassment Is at School
Schools that receive federal funding must address sex-based harassment under Title IX. Federal regulations cover quid pro quo harassment by a school employee, hostile-environment harassment severe or pervasive enough to limit a student’s ability to participate in the school’s programs, and specific offenses including sexual assault, dating violence, domestic violence, and stalking.10eCFR. 34 CFR 106.2 – Definitions
Every covered school must appoint a Title IX coordinator, maintain complaint procedures, investigate reports, and provide interim accommodations like schedule changes while the investigation is pending. Start by filing a written complaint with the Title IX coordinator. A school that ignores reports of peer-to-peer harassment risks losing federal funding, and you can also file a complaint directly with the U.S. Department of Education’s Office for Civil Rights.
If the Harassment Is Online or Crosses State Lines
Federal law treats electronic harassment as a crime in its own right. Under 47 U.S.C. § 223, it is a federal offense to use a telecommunications device to make threats, to make repeated calls solely to harass someone, or to place anonymous calls with intent to abuse or threaten.11Office of the Law Revision Counsel. 47 U.S. Code 223 – Obscene or Harassing Telephone Calls in the Interstate or Foreign Communications Violations carry up to two years in federal prison. The statute covers phone calls, text messages, and communications through any interstate telecommunications service.
The federal stalking statute reaches online conduct as well. Using any interactive computer service or electronic communication service to engage in a course of conduct that causes substantial emotional distress or places someone in fear of serious harm is a federal crime regardless of whether the harasser and victim are in the same state.2Office of the Law Revision Counsel. 18 U.S. Code 2261A – Stalking Social media campaigns, email barrages, and coordinated online targeting all fall within federal jurisdiction when they use interstate communication networks. Report this conduct to the FBI through tips.fbi.gov or to your local U.S. Attorney’s office, in addition to local police.
Deadlines You Cannot Miss
Every harassment claim has a filing deadline, and missing it almost always means losing the right to sue. For workplace harassment under Title VII, the EEOC deadline is 180 or 300 days depending on your state.8U.S. Equal Employment Opportunity Commission. How to File a Charge of Employment Discrimination Civil lawsuits for harassment or intentional infliction of emotional distress typically carry statutes of limitations ranging from one to three years depending on the state, measured from the date of the most recent harassing act. Some states allow tolling, which pauses the clock in circumstances like when the victim is a minor. If a government employee or agency is involved, many jurisdictions impose shorter deadlines and require you to file an administrative claim before suing.
Protection orders are the exception. They have no filing deadline because they address ongoing danger rather than past wrongs, so you can petition at any time the threat is current.
If You End Up With a Settlement, Expect a Tax Bill
Harassment settlements are usually taxable. Damages for personal physical injuries or physical sickness are excluded from gross income under 26 U.S.C. § 104(a)(2), but federal tax law explicitly states that emotional distress alone is not treated as a physical injury, which means most harassment settlement proceeds are taxable income.12Office of the Law Revision Counsel. 26 U.S. Code 104 – Compensation for Injuries or Sickness You can reduce the taxable amount by subtracting medical expenses paid for treatment of the emotional distress, as long as you did not already deduct them on a prior return, and you report the net figure as other income on Schedule 1 of Form 1040.13Internal Revenue Service. Settlements – Taxability
If your claim qualifies as an employment discrimination or civil rights action, you can deduct attorney fees as an above-the-line adjustment, so you are taxed only on your net recovery. For harassment claims outside those categories, deducting legal fees is far more difficult, because the suspension of miscellaneous itemized deductions that began in 2018 under the Tax Cuts and Jobs Act has been made permanent.