Is It Illegal to Hack Social Media Accounts? Penalties and Lawsuits

Yes, it is illegal to hack social media accounts. Breaking into someone else’s Instagram, Facebook, X, or similar account without their permission violates at least two federal statutes — the Computer Fraud and Abuse Act and the Stored Communications Act — and nearly every state has its own computer crime law that applies on top of them. Penalties run from up to one year in federal prison for a basic first offense to ten years for repeat or financially motivated hacking, and the person whose account was breached can also sue for money damages.

The Federal Laws That Make It a Crime

The main federal law is the Computer Fraud and Abuse Act, codified at 18 U.S.C. § 1030. It makes it a crime to intentionally access a computer without authorization or to exceed the access you were given. When someone breaks into a social media account, they are accessing servers owned by the platform, and those servers qualify as “protected computers” because they are used in interstate commerce — a definition broad enough to cover essentially any device connected to the internet.1Office of the Law Revision Counsel. 18 USC 1030 – Fraud and Related Activity in Connection With Computers

The method of entry does not matter. Deploying malware, running a phishing scam, or simply guessing a weak password all qualify as unauthorized access. The law cares about whether you had permission, not how technically sophisticated the intrusion was. Even if you happen to know someone’s password because they once shared it with you, using it after that permission was withdrawn still counts.

The second federal statute is the Stored Communications Act, at 18 U.S.C. § 2701. It specifically targets anyone who intentionally accesses a facility providing electronic communication services without authorization and thereby obtains, alters, or blocks access to stored electronic communications.2Office of the Law Revision Counsel. 18 USC 2701 – Unlawful Access to Stored Communications Direct messages, inbox contents, and even draft posts sitting on a platform’s servers all count. Prosecutors can and often do charge both statutes for the same conduct.

State laws add a third layer. Nearly every state has its own computer crime statute, and most social media hacking incidents land with local police and prosecutors rather than the FBI. A break-in to an ex-partner’s account or a coworker’s inbox is far more likely to be handled by a local detective than by federal investigators, and state law gives them the tools to charge it.

Prison Time and Fines

A first-time CFAA conviction for simply accessing a protected computer without authorization carries up to one year in federal prison plus a fine. The exposure jumps when aggravating factors are present. If the hack was done for financial gain, in furtherance of another crime, or if the value of the information obtained exceeds $5,000, a first offense becomes punishable by up to five years. A second conviction doubles the maximum to ten years.1Office of the Law Revision Counsel. 18 USC 1030 – Fraud and Related Activity in Connection With Computers

The Stored Communications Act follows a similar structure. A basic first offense carries up to one year in prison. When the access was driven by commercial gain, malicious intent, or was committed to further another crime, the ceiling rises to five years for a first offense and ten years for any subsequent conviction.2Office of the Law Revision Counsel. 18 USC 2701 – Unlawful Access to Stored Communications

State penalties vary widely. Depending on the jurisdiction and the circumstances, a conviction might be a misdemeanor or a felony. Fines commonly run from $1,000 to $10,000 or more, and incarceration can mean county jail or state prison. Severity usually turns on whether data was stolen or deleted, how much financial damage resulted, and whether the defendant has prior convictions.

The Victim Can Also Sue

Criminal prosecution is not the only risk. The person whose account was breached can file a separate civil lawsuit regardless of whether any criminal charges are ever brought.

Under § 1030(g) of the CFAA, a victim can sue for compensatory damages and injunctive relief, but only if the conduct meets one of several specific factors. The most common is that the victim suffered at least $5,000 in aggregate losses within a one-year period. That figure includes the reasonable costs of responding to the breach, assessing the damage, restoring the account and data, and any lost revenue. The statute of limitations is two years from the date of the hack or the date the victim discovered the damage, whichever is later.1Office of the Law Revision Counsel. 18 USC 1030 – Fraud and Related Activity in Connection With Computers

The Stored Communications Act is often the stronger civil tool. Under 18 U.S.C. § 2707, a victim can recover actual damages plus any profits the hacker earned from the violation, with a guaranteed statutory minimum of $1,000 — a court must award at least that amount even when the victim cannot document specific financial harm. The court can add attorney fees, and willful or intentional violations open the door to punitive damages.3Office of the Law Revision Counsel. 18 USC 2707 – Civil Action There is no $5,000 threshold to clear, which makes it a workable option when the privacy violation is clear but the dollar losses are modest.

Beyond the federal statutes, state common law supplies another path. Intrusion upon seclusion, a form of invasion of privacy, generally requires the victim to show the intrusion was intentional, involved private information or affairs, would be highly offensive to a reasonable person, and caused emotional suffering. Courts in some states have specifically recognized digital hacking as grounds for an intrusion claim even when the hacker never set foot on the victim’s property. Punitive damages are available in extreme cases.

Hacking a Spouse’s or Partner’s Account

One of the most common ways people stumble into criminal liability is checking a spouse’s or partner’s social media. The law does not carve out an exception for marriage or romantic relationships. If your partner has not given you current permission to be in their account, logging in violates the same federal statutes that apply to a stranger running a phishing operation. The motive — suspecting infidelity, gathering evidence for a divorce — does not convert unauthorized access into legal access.

This is not hypothetical. Spouses have faced federal lawsuits under both the Electronic Communications Privacy Act and the Stored Communications Act for pulling a partner’s emails or messages without consent. Sharing a password in the past does not create permanent authorization. A shared family computer does not mean shared access rights to every account signed in on it. Once someone changes their password or tells you to stop, any further access is unauthorized.

Platform Consequences Are Separate

Instagram, Facebook, X, and similar platforms all explicitly prohibit accessing accounts that are not yours, and every user agrees to those rules at signup. The usual result of a violation is permanent suspension of the hacker’s own accounts across the platform’s ecosystem. A terms-of-service ban will not appear on a criminal record, but platform enforcement moves much faster than the legal system — suspensions can hit within days of a flag, long before any investigation would start.

What to Do If Your Account Was Hacked

Regain control first. Most major platforms have dedicated account recovery flows that ask you to verify your identity through a government-issued ID, personal details, or a previously registered email or phone number. Change your password the moment you are back in, and turn on two-factor authentication if it is not already on.

Then preserve evidence before you clean anything up. Screenshot unfamiliar logins, messages you did not send, posts you did not make, and any platform notifications about account changes. Save the files with timestamps. If the hacker contacted anyone from your account, ask those people to save the messages on their end too. This documentation becomes critical if you report the crime or sue.

You can report the incident to the FBI’s Internet Crime Complaint Center at ic3.gov. The complaint form asks for your contact information, any information you have on the suspect, financial loss details, and a narrative of what happened.4Internet Crime Complaint Center (IC3). Frequently Asked Questions Hold onto your original evidence — IC3 does not collect attachments but may refer your case to an agency that will request them. Filing a report with local police is also worth doing, especially if you plan to pursue insurance claims or a civil lawsuit.