# Defamation and Online Harassment Laws in Pennsylvania

> In Pennsylvania, defamation is a civil claim, not a crime, and courts apply a short set of statutes in Title 42 together with their own case law. A libel or slander lawsuit generally must be filed within one year, truth is a defense, and a 2024 anti-SLAPP law can give immunity and attorney fees to people sued over protected speech when the claim lacks legal or factual support. Separately, Pennsylvania makes stalking and certain harassing communications crimes.

Canonical: https://mediaremoval.com/defamation-laws/pennsylvania/
Publisher: Media Removal · Last verified November 5, 2026

## Is defamation a crime in Pennsylvania?

No. Defamation is not a crime in Pennsylvania: it is handled as a civil matter. The time limit to sue for defamation is 1 year.

## At a glance

- Time limit to sue (libel): 1 year
- Time limit to sue (slander): 1 year
- Criminal defamation: Civil matter
- Anti-SLAPP protection: Yes

_This guide is general information about the law in Pennsylvania, checked against the sources listed below on November 5, 2026. It is not legal advice. Laws change and every case is different: for advice on your situation, speak to a licensed attorney in Pennsylvania._

## Defamation law in Pennsylvania

### Where the law comes from

Defamation in Pennsylvania is a civil claim governed by 42 Pa.C.S. §§ 8341-8345, which courts apply alongside their own decisions. Section 8343 lists what the plaintiff must prove when the issue is raised, including that the statement was defamatory, that the defendant published it, that it was about the plaintiff and understood that way, and that it caused special harm. Under the Uniform Single Publication Act in § 8341, a single publication, such as one edition of a newspaper or one broadcast, supports only one damages claim. [1][2][3]

### Is defamation a crime?

Pennsylvania once had criminal libel statutes, but in Commonwealth v. Armao (1972) the Pennsylvania Supreme Court held that they did not meet federal free speech and free press guarantees. The current Crimes Code (Title 18) contains no libel or defamation offense, so defamation is handled through civil lawsuits. [4][5]

### Statute of limitations

Under 42 Pa.C.S. § 5523(1), an action for libel, slander or invasion of privacy must be started within one year. Under the single publication rule in § 8341, one publication supports only one damages claim, and recovery in that claim covers the harm suffered in all jurisdictions. [6][2]

### Defamation per se

Pennsylvania courts follow the Restatement (Second) of Torts on slander per se. Spoken statements that accuse someone of a crime punishable by imprisonment, or of conduct incompatible with their business, are slander per se, so the plaintiff does not have to prove a specific financial loss but must still prove actual harm, such as damage to reputation or personal humiliation. [7]

### Anti-SLAPP protection

The Uniform Public Expression Protection Act, added on July 17, 2024, makes a person immune from civil liability for a claim based on protected public expression, such as speech in a government proceeding or speech on a matter of public concern, when the claim lacks a prima facie case, fails to state a valid claim, or fails as a matter of law; some kinds of claims are excluded. A person found immune is awarded attorney fees and costs, including when the plaintiff drops the case after immunity is raised. The Act's special motion to dismiss applies only from a date set by a later official notice, and a separate, older law awards fees to people who successfully defend lawsuits over their participation in environmental law or regulation. [8][9][10][11][12][13][14][15]

### Defenses and public figures

When the issue is raised, the defendant must prove truth, that the statement was made on a privileged occasion, or that the subject of a comment was a matter of public concern (42 Pa.C.S. § 8343(b)); in libel cases, § 8342 accepts proof that the statement was substantially true, proper for public information and not made maliciously or negligently. Courts also recognize a fair report privilege for substantially accurate reports of government proceedings and records, and an opinion is not libel unless it can reasonably be read as implying undisclosed defamatory facts. Public officials and public figures must prove actual malice, meaning knowledge of falsity or reckless disregard for the truth, while private figures must prove at least negligence. [16][1][17][18][3][19][20]

## Online harassment, cyberstalking and doxxing in Pennsylvania

### Cyberstalking

Pennsylvania's stalking law, 18 Pa.C.S. § 2709.1, covers a course of conduct or repeated communications, including by email, the internet or other electronic means, under circumstances showing an intent to make someone reasonably fear bodily injury or to cause them substantial emotional distress. A first offense is generally a first-degree misdemeanor; a repeat offense, or a first offense after certain violent crimes against the same victim, is a third-degree felony. [21]

### Online harassment

Under 18 Pa.C.S. § 2709, it is harassment, when done with intent to harass, annoy or alarm, to send lewd, threatening or obscene messages to or about someone, including electronically, or to communicate repeatedly, anonymously or at extremely inconvenient hours; these forms are third-degree misdemeanors. The same section makes cyber harassment of a child a crime, covering a continuing course of seriously disparaging statements or threats sent electronically or posted on social media. The law does not apply to constitutionally protected activity. [22]

### Doxxing

Since February 2023, 18 Pa.C.S. § 2719 makes it a crime to intentionally or knowingly communicate, or publish through an electronic social media service, the restricted personal information of a public safety official, such as a police officer, firefighter, judge or prosecutor, or of their family or household members, with intent that it be used, or reckless disregard that it will be used, to threaten, intimidate or facilitate a crime against them. It is a first-degree misdemeanor, or a second-degree felony if it results in bodily injury. Pennsylvania has no doxxing statute protecting other people, who rely on the stalking and harassment laws. [23]

## How to remove defamatory content in Pennsylvania

A lawsuit is one route, but it is slow, costly and public. Much harmful content can come down sooner through the platform’s own reporting process, a legal notice to the site owner or host, or a removal request to search engines. The right route depends on where the content lives and on the law that applies to it.

Media Removal reviews each case and recommends the fastest route that fits it. Removal always depends on each platform and, where relevant, the courts.

## Recent legal changes

- 2024-07-17 · Pennsylvania UPEPA (Act 72 of 2024, HB 1466): Pennsylvania enacted the Uniform Public Expression Protection Act, which gives immunity and attorney fees to people sued over protected public expression when the claim lacks legal or factual support. The Act took effect immediately with some exceptions. (https://www.palegis.us/statutes/unconsolidated/law-information?sessYr=2024&sessInd=0&actNum=72, https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=42&div=0&chapter=83&section=40&subsctn=11)

## Frequently asked questions about defamation in Pennsylvania

### How long do you have to sue for defamation in Pennsylvania?

Generally one year. Under 42 Pa.C.S. § 5523(1), an action for libel, slander or invasion of privacy must be started within one year. A lawyer can tell you how the deadline applies to your situation.

### Is defamation a crime in Pennsylvania?

No. The Pennsylvania Supreme Court struck down the state's criminal libel statutes in 1972, and the current Crimes Code has no defamation offense, so defamation is handled through civil lawsuits.

### Is truth a defense to defamation in Pennsylvania?

Yes. The defendant carries the burden of proving truth, and in libel cases state law treats proof that the statement was substantially true, proper for public information and not made maliciously or negligently as a complete defense.

### Does Pennsylvania have an anti-SLAPP law?

Yes. Since July 2024, the Uniform Public Expression Protection Act gives immunity to people sued over protected public expression when the claim lacks legal or factual support, and a person found immune is awarded attorney fees and costs. Some types of claims are excluded, and the Act's special motion to dismiss starts only on a date set by a later official notice.

## Sources

1. [42 Pa.C.S. § 8343 (burden of proof)](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=42&div=0&chapter=83&section=43&subsctn=0)
2. [42 Pa.C.S. § 8341 (Uniform Single Publication Act)](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=42&div=0&chapter=83&section=41&subsctn=0)
3. [Digital Media Law Project, Pennsylvania Defamation Law](https://www.dmlp.org/legal-guide/pennsylvania-defamation-law)
4. [Commonwealth v. Armao, 446 Pa. 325 (1972)](https://static.case.law/pa/446/cases/0325-01.json)
5. [18 Pa.C.S. (Crimes and Offenses), table of contents](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=18&div=0&chapter=0&section=0&subsctn=0)
6. [42 Pa.C.S. § 5523](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=42&div=0&chapter=55&section=23&subsctn=0)
7. [Brinich v. Jencka, 757 A.2d 388 (Pa. Super. Ct. 2000)](https://static.case.law/a2d/757/cases/0388-01.json)
8. [42 Pa.C.S. § 8340.11 (Uniform Public Expression Protection Act)](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=42&div=0&chapter=83&section=40&subsctn=11)
9. [42 Pa.C.S. § 8340.13 (definitions)](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=42&div=0&chapter=83&section=40&subsctn=13)
10. [42 Pa.C.S. § 8340.14 (scope and exclusions)](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=42&div=0&chapter=83&section=40&subsctn=14)
11. [42 Pa.C.S. § 8340.15 (grant of immunity)](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=42&div=0&chapter=83&section=40&subsctn=15)
12. [42 Pa.C.S. § 8340.16 (pretrial motion)](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=42&div=0&chapter=83&section=40&subsctn=16)
13. [42 Pa.C.S. § 8340.18 (awards)](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=42&div=0&chapter=83&section=40&subsctn=18)
14. [27 Pa.C.S. § 7707](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=27&div=0&chapter=77&section=7&subsctn=0)
15. [Reporters Committee for Freedom of the Press, Anti-SLAPP Legal Guide: Pennsylvania](https://www.rcfp.org/anti-slapp-guide/pennsylvania/)
16. [42 Pa.C.S. § 8342 (justification a defense)](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=42&div=0&chapter=83&section=42&subsctn=0)
17. [42 Pa.C.S. § 8344](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=42&div=0&chapter=83&section=44&subsctn=0)
18. [Baker v. Lafayette College, 516 Pa. 291 (1987)](https://static.case.law/pa/516/cases/0291-01.json)
19. [New York Times Co. v. Sullivan, 376 U.S. 254 (1964)](https://www.law.cornell.edu/supremecourt/text/376/254)
20. [Gertz v. Robert Welch, Inc., 418 U.S. 323 (1974)](https://www.law.cornell.edu/supremecourt/text/418/323)
21. [18 Pa.C.S. § 2709.1](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=18&div=0&chapter=27&section=9&subsctn=1)
22. [18 Pa.C.S. § 2709](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=18&div=0&chapter=27&section=9&subsctn=0)
23. [18 Pa.C.S. § 2719](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=18&div=0&chapter=27&section=19&subsctn=0)

## How to cite this guide

Media Removal. (2026, November 5). Defamation and Online Harassment Laws in Pennsylvania. https://mediaremoval.com/defamation-laws/pennsylvania/
