Can You Go to Jail for What You Post Online?

TL;DR Yes — you can go to jail for what you post online, but only when a post falls into one of a few narrow categories the First Amendment doesn’t protect. Rude, offensive, even hateful opinions are protected speech. What gets people charged is a true threatTrue threat: a serious expression that you mean to commit unlawful violence against a person or group. It gets no First Amendment protection — even if you never planned to do it. against a person or a place (school “jokes” included), repeated harassment, hoax emergency reports, and publishing someone’s intimate images. “I was kidding” is not an automatic defense: since 2023, prosecutors need to show only recklessnessRecklessness: you were aware people could take your words as a threat of violence, and you sent them anyway. The minimum set by Counterman v. Colorado (2023).. If police ask about a post, stay calm and ask for a lawyer.

Free Speech or a Felony? When a Social Media Post Becomes a Crime

It’s 11:47 on a Sunday night. You did badly on a quiz, practice was miserable, and tomorrow is Monday. So you post a story to forty people: the school hallway, a caption saying nobody should bother showing up tomorrow, a skull emoji. To you it’s obviously just a bad mood. By 12:15 someone has screenshotted it. By 6 a.m. a parent has called the police, the district is deciding whether to open, and two officers are at your front door. This is the situation the FBI’s hoax-threat warnings were written for. It sits next to a fact that is just as true: most of what people post — including things that are cruel, crude, or hateful — can’t be punished by the government at all. Here’s where the line runs, which posts cross it, and what to do if you, or someone threatening you, lands on the wrong side.

Can You Go to Jail for What You Post Online? The Short Answer

Start with the protection — it’s bigger than most people think. In Matal v. Tam (2017), Justice Alito wrote: “Speech may not be banned on the ground that it expresses ideas that offend.” In Snyder v. Phelps (2011), the Court shielded protesters who picketed a Marine’s funeral with hateful signs from a damages lawsuit. American law has no general “hate speech” exception. The exceptions are narrow. A true threat — a serious expression that you mean to commit unlawful violence against a person or group — gets no protection. In Counterman v. Colorado (2023), the Court ruled 7–2 that prosecutors must prove at least recklessness: you were aware others could take your words as threatening violence, and you sent them anyway. You don’t have to mean it. As Virginia v. Black (2003) put it, “The speaker need not actually intend to carry out the threat.” Transmitting a threat to injure someone in interstate commerce carries up to five years in federal prison (18 U.S.C. § 875(c)), and the FBI says that covers social media, texts, and email. Three more categories reach court. Incitement: speech “directed to inciting or producing imminent lawless action” and likely to produce it (Brandenburg v. Ohio, 1969). Cyberstalking: a pattern of online conduct meant to harass or intimidate one person (18 U.S.C. § 2261A). And crimes that happen to use a keyboard: hoax emergency reports (18 U.S.C. § 1038) and publishing nonconsensual intimate images, a federal crime under the TAKE IT DOWN Act, signed May 19, 2025. State prosecutors use their own statutes, and the names and penalties change at every state line. One thing that usually is not a crime: defamation. A false statement of fact that damages someone’s reputation normally means a civil lawsuit for money, not jail (see whether you can get sued for a meme) — though Wisconsin, for one, still has a criminal defamation statute (Wis. Stat. § 942.01).

Posts That Lead to Charges, Situation by Situation

Situation 1 · The “joke” threat “Don’t come to school tomorrow” — the post that gets students arrestedA post that says or hints you’ll shoot, bomb, or attack a school is treated as a threat first and a joke later, if ever. The legal question isn’t whether you planned anything. It’s whether you knew — or consciously ignored the risk — that people would take it seriously.

Some states say so in plain words. California’s criminal threats law applies “even if there is no intent of actually carrying it out.” New York’s says it is no defense that you “did not have the intent or capability of committing the conduct threatened.”

How six states treat a threat posted online (statutes as we read them in October 2026):
  • California — Penal Code § 422: up to one year in county jail, or state prison. Newer § 422.3 covers threats against a school, daycare, university, workplace, house of worship, or medical facility, including “an image or threat posted or published on an internet web page.”
  • Texas — Penal Code § 22.07 (terroristic threat): from a Class B misdemeanor up to a third-degree felony when the threat is meant to put the public or a substantial group in fear of serious bodily injury.
  • Florida — Fla. Stat. § 836.10: posting or sending a threat to kill or do bodily harm, or to conduct a mass shooting or act of terrorism, is a second-degree felony.
  • New York — Penal Law § 240.78 (threat of mass harm): a class B misdemeanor for threatening serious injury or death at a school, business, place of worship, or other gathering place to intimidate a group or create public alarm.
  • Ohio — Revised Code § 2917.31 (inducing panic): causing an evacuation or serious public alarm by threatening violence starts as a first-degree misdemeanor. A knowingly false warning that does it to a school is a second-degree felony.
  • Michigan — MCL 750.235b: threatening to use a gun, explosive, or other dangerous weapon against students or school employees, including by electronic device, is a misdemeanor (up to 1 year). With specific intent or an overt act, it’s a felony (up to 10 years).
To check your own state: open the criminal code on your state legislature’s official website and search “terroristic threat,” “criminal threat,” “threat of mass violence,” and “harassment.”
Situation 2 · A threat at one person DMs, comments, and “lyrics” aimed at a real personA threat doesn’t need an audience. Billy Counterman was convicted of stalking over hundreds of Facebook messages sent to one musician; he kept opening new accounts after she blocked him. Anthony Elonis posted violent “rap lyrics” about his estranged wife on Facebook and was sentenced to three years, eight months under § 875(c).

The Supreme Court sent both cases back — not because DMs or lyrics are immune, but because the sender’s own understanding hadn’t been weighed. Calling something a joke, a lyric, or a meme settles nothing. Context does.

Situation 3 · Harassment Not one post — a patternCyberstalking law targets a campaign, not a comment. Under 18 U.S.C. § 2261A, it’s a federal crime to use the internet with intent to harass or intimidate someone through a “course of conduct” that puts them in reasonable fear of death or serious injury, or causes substantial emotional distress. A course of conduct means “a pattern of conduct composed of 2 or more acts, evidencing a continuity of purpose.” The basic penalty is up to five years.

Publishing someone’s address raises its own issues — see whether doxxing is illegal. States have their own harassment and stalking laws too.

Situation 4 · Hoaxes and swatting Fake emergencies bring real sentencesSwatting — reporting a fake emergency to send armed police to someone’s address — is prosecuted even when nobody is hurt. The federal hoax statute, 18 U.S.C. § 1038, carries up to five years, up to 20 if serious bodily injury results, and up to life if someone dies, plus repayment of the emergency response costs.

Being a teenager isn’t a shield. In February 2025, the Justice Department announced that an 18-year-old from Lancaster, California, got 48 months in federal prison after pleading guilty to making interstate threats — more than 375 swatting and threat calls, prosecutors said.

Situation 5 · Intimate images Posting someone’s private images — now a federal crimeThe TAKE IT DOWN Act makes it a federal crime to knowingly publish nonconsensual intimate images of an identifiable person online — real images or realistic digital forgeries. The maximum is 2 years when the person shown is an adult and 3 years when the person is a minor. Sexual images of anyone under 18 can also fall under federal child pornography law, where distribution carries 5 to 20 years (18 U.S.C. § 2252A).

The Act also helps victims: since May 19, 2026, covered platforms must remove a reported image within 48 hours of a valid request. AI fakes are covered in our guide to deepfake law.

What to Say and Do If a Post Gets You in Trouble

Stop the damage — then stop explaining
1. You posted something you regret, and nobody has contacted you yet:

Screenshot it for your own records, take it down, and tell a parent or trusted adult tonight. No “just kidding” follow-up. No messages asking people to keep quiet.

2. The school calls you in:

“I’d like my parents here before I answer questions about this.”

3. Police call, knock, or show up at school:

“I’m not refusing to cooperate. I’d like my parents called, and I’m not answering questions without a lawyer.”

4. They ask to look through your phone:

“I don’t consent to a search of my phone.” Say it once, calmly. If they take it anyway, don’t grab it and don’t argue.

Then stay polite and quiet. Officers don’t always have to give warnings first — here’s when police have to read you your rights — and they can generally bluff about what they know, as explained in our guide to police lying during questioning. Explaining “what you really meant” hands over proof of your mental state — the thing prosecutors must prove.
What to Do If Someone Threatens You Online
  1. Immediate danger? Call 911.
  2. Don’t reply and don’t repost. The FBI asks people not to share or forward a threat before law enforcement has looked at it.
  3. Screenshot everything — the message, username, profile link, date, and time.
  4. Report it to local police or your local FBI office, or at tips.fbi.gov. If it involves school, tell an administrator the same day.
  5. Report the account to the platform, then block it.
  6. If it’s an intimate image of you: use the platform’s removal request. Not removed within 48 hours? Report the platform to the FTC at TakeItDown.ftc.gov. If the image was taken before you turned 18, NCMEC’s free Take It Down service can help.

Posting Online: What You Can vs. Can’t Say

✓ YOU CAN

  • Post opinions that are rude, offensive, or unpopular
  • Criticize the government, police, your school, or public figures — harshly
  • Use obvious exaggeration nobody would read as a real plan
  • Say things most people find hateful, short of a threat, harassment, or incitement
  • Decline police questions about a post and ask for a lawyer

✗ YOU CAN’T

  • Threaten to hurt or kill someone — in a post, a DM, or a group chat
  • “Joke” about shooting or bombing a school, workplace, or place of worship
  • Run a repeated campaign to harass or intimidate one person
  • Report a fake emergency as a prank
  • Publish someone’s intimate images without consent, real or AI-made
The delete trap: taking down a post you regret before anyone has contacted you is sensible, as long as you keep your screenshot of it. Wiping your phone or account after police or the school start asking is different — it can look like destroying evidence, and in a federal investigation that is its own crime (18 U.S.C. § 1519, up to 20 years). Once questions start, change nothing and let a lawyer decide.

Myths About Posting and the Law, Busted

Myth: “It’s free speech, so nothing I post can be a crime.”
False. The protection is broad, not total. True threats, incitement, cyberstalking, hoax reports, and nonconsensual intimate images all sit outside it.
Myth: “If I was joking, it’s not a threat.”
False. After Counterman, prosecutors don’t have to prove you meant it — only that you were aware people could take it as a threat of violence and posted anyway.
Myth: “Hate speech is illegal.”
False as a general rule. Hateful opinions are protected from government punishment. Threats, harassment, and incitement are not — whatever the motive.
Myth: “It was a private story, so it doesn’t count.”
False. Counterman was about direct messages. The Snapchat post in Mahanoy Area School District v. B.L. went only to the student’s Snapchat friends — until one of them captured it and passed it along.
Myth: “If it’s not a crime, nobody can punish me for it.”
False. Criminal law, school discipline, and platform rules are separate systems. A legal post can still get you suspended, banned from an app, or fired over a social media post.

Social Media Post Questions People Actually Ask

Tap a question to open it.
Can you get arrested for a social media post?
Yes. Police can arrest you over a post when they have probable cause to believe it’s a crime, such as a threat or a hoax report. An arrest is not a conviction — a prosecutor still has to prove every element, including what you understood when you posted.
Is it illegal to make a threat as a joke?
It can be. Prosecutors must prove at least recklessness — that you knew people could take your words as a threat of violence and sent them anyway — and “I didn’t mean it” doesn’t answer that. Obvious exaggeration is different: in Watts v. United States (1969), the Supreme Court treated a draft protester’s rally remark about the president as “political hyperbole,” not a true threat.
Is hate speech illegal in the United States?
No, not by itself. The government can’t punish speech because its ideas offend. The line is conduct: a threat aimed at someone because of who they are is still a threat, and in Virginia v. Black the Court said a state may punish cross burning done with intent to intimidate.
Can a minor go to jail for a social media post?
Yes, a minor can be taken into custody and prosecuted over a post, usually in juvenile court. Youth.gov, a federal site, notes that some states send certain serious offenses to adult court regardless of age. Some laws add a softer first step: California’s § 422.3 refers an eligible under-18 offender to diversion services, and treats the offense as a misdemeanor otherwise. Also read whether police can question a minor without a parent.
Can you get in trouble for sharing or reposting someone else’s threat?
It depends on what you do with it. Sending a threat to a parent, an administrator, or the police to report it is the right move. Reposting it to your own story spreads the alarm and can look like joining in. Screenshot, report, don’t repost.
Can police see deleted posts or private messages?
Often, yes. Anyone who received your message can show it to police on their own. Platforms can be required to hand over records and messages they still hold through the legal process in 18 U.S.C. § 2703, and police can have a platform preserve an account’s records for 90 days in the meantime. For your own device, see whether police can search your phone.
Can your school punish you for a post even if police never charge you?
Yes. School discipline is separate from criminal law. In Mahanoy (2021), the Supreme Court ruled 8–1 for a student punished over an off-campus Snapchat post, but said schools keep an interest in “serious or severe bullying or harassment targeting particular individuals; threats aimed at teachers or other students.” Details are in our guide to school punishment for what you post.

Online Speech Law: Key Terms, Explained

True threat — a serious expression that you mean to commit unlawful violence against a person or group. Not protected speech.
Recklessness — knowing others could take your words as threatening violence and sending them anyway.
Incitement — speech aimed at producing imminent lawless action and likely to produce it.
Cyberstalking — two or more online acts intended to harass or intimidate a specific person.
Swatting — reporting a fake emergency to send armed police to someone’s location.
Terroristic threat — what some states, including Texas, call the crime of threatening violence to cause fear or disruption.
Probable cause — fact-based grounds to believe a crime was committed. What police need to arrest you.

The Court Cases Behind What You Can Post

The linked card opens a full breakdown in our case library.
Counterman v. Colorado (2023)The rule for every threat case: the state must prove the sender had some subjective understanding that the words were threatening, and recklessness is enough.
Elonis v. United States (2015)Violent Facebook “lyrics” and a federal threat conviction, reversed because the jury was asked only how a reasonable person would read the posts.
Brandenburg v. Ohio (1969)A Ku Klux Klan rally speech and the incitement test still used today: imminent lawless action, likely to happen.
Matal v. Tam (2017) and Snyder v. Phelps (2011)Why offensive and hateful speech stays protected: the government can’t ban ideas because they offend.
Mahanoy Area School District v. B.L. (2021)The Snapchat cheerleader case: schools have less power over off-campus posts, but keep it for threats and targeted bullying or harassment.Read the full case →

Online Speech Law That’s Still Moving

The edges to watch as of October 2026:
  1. New state threat statutes — California’s Penal Code § 422.3 took effect January 1, 2026, and reaches threats aimed at a place. The Ventura County District Attorney announced charges against a 17-year-old under it that same month.
  2. TAKE IT DOWN Act enforcement — the platform removal duty began May 19, 2026. The next day the FTC announced warning letters to 12 companies and said violations can cost up to $53,088 each.
  3. Recklessness and memes, reposts, and lyrics — Counterman set the minimum mental state and left judges and juries to apply it one post at a time. We found no later Supreme Court decision adding detail.
When these move, this article gets updated.
One important note: the First Amendment rules here apply in every state, but the crime a local prosecutor would charge has a state name, a state definition, and a state penalty. The same post can be a misdemeanor in one state and a felony in the next. Look up your own state’s threat and harassment statutes, and see how federal and state law fit together.

The Bottom Line on Going to Jail for What You Post Online

The government can’t punish you for an opinion, however harsh — and it can punish you for a threat, a harassment campaign, a hoax, or someone’s private images. The line isn’t how offensive the post is. It’s whether a real person or place was put in fear, and whether you knew that could happen when you hit send. If a stranger with no context would read it as a plan to hurt someone, don’t post it. If it’s already up, save it, take it down, and tell an adult. If police ask, be polite and ask for your parents and a lawyer. Now you know.

Sources

Primary sources:

LawJustic is for educational purposes only and does not provide legal advice. Laws on threats, harassment, and online speech vary by state and change often. If police or a school have contacted you about something you posted, talk to your parents and a licensed criminal defense attorney before answering questions. Last reviewed: October 2026.