Is It Illegal to Log Into Someone Else’s Social Media?

Yes, it is illegal to log into someone else’s social media account without their permission. Federal law treats it as unauthorized access to a protected computer, every state has its own computer crime statute that can apply on top of that, and the account owner can sue you in civil court for damages regardless of whether criminal charges are filed. The rule holds even when you once knew the password, and even when the account belongs to a spouse, ex, or family member.

The Federal Laws That Apply

Two federal statutes do most of the work. The Computer Fraud and Abuse Act (CFAA) makes it a crime to intentionally access a “protected computer” without authorization or in excess of your authorization. Social media platforms run on servers used in interstate commerce, which puts them squarely inside the statute’s definition of a protected computer.1Office of the Law Revision Counsel. 18 USC 1030 – Fraud and Related Activity in Connection With Computers

A first offense for simply accessing an account you weren’t authorized to use carries up to one year in federal prison and a fine. The ceiling rises to five years if you accessed the account for commercial advantage, private financial gain, to further another crime, or if the information obtained was worth more than $5,000. A second CFAA conviction can bring up to ten years.1Office of the Law Revision Counsel. 18 USC 1030 – Fraud and Related Activity in Connection With Computers

The Stored Communications Act (SCA) adds a second layer aimed specifically at private communications held on a platform’s servers: direct messages, non-public posts, private photos. It is a separate crime to obtain, alter, or block access to those stored communications without authorization. Penalties track the CFAA — up to one year for a basic first offense, up to five years with aggravating factors like commercial gain or malicious intent, and up to ten for a repeat violation.2Office of the Law Revision Counsel. 18 USC 2701 – Unlawful Access to Stored Communications

Because the two statutes cover different conduct, a single login can violate both. Reading someone’s DMs after guessing their password, for example, is unauthorized access to a protected computer under the CFAA and unauthorized access to stored communications under the SCA.

Shared Passwords and Old Permission

Most people who get into trouble here didn’t hack anything. They used a password that was shared with them voluntarily at some earlier point — an ex-partner’s Instagram login from when they were dating, a friend’s account from a group project, a family member’s credentials shared for convenience.

The permission ends when the circumstances that produced it end. If the account owner changed the password and you found a way back in, that is clearly unauthorized. If they told you to stop and you kept logging in, that is unauthorized. And even when nobody explicitly revoked anything, continuing to use an ex’s credentials after the relationship ends is legally risky, because a reasonable person would understand that the permission went with the relationship.

The Supreme Court’s 2021 decision in Van Buren v. United States doesn’t rescue people in this situation. That case ruled that “exceeding authorized access” under the CFAA means getting into areas of a system that are off-limits to you, not misusing information you were already entitled to see.3Supreme Court of the United States. Van Buren v United States A police officer looking up a license plate he was allowed to query is on one side of that line. Someone logging into an ex’s account is on the other — they’re going through a gate that was effectively closed to them.

Spouses, Parents, and Other Family

Family relationships do not create an exemption. Neither the CFAA nor the SCA carves out spouses, parents of adult children, or other relatives. A husband who logs into his wife’s Facebook using a password she never shared faces the same exposure a stranger would.

Divorce cases are where this most often blows up. Spouses who log into email or social media accounts hoping to find proof of infidelity or hidden assets have had the evidence thrown out as illegally obtained, and some have been charged criminally or sued civilly for the intrusion itself. The information that’s generally safe to use in a divorce proceeding is narrower than people assume: texts sent directly to you, publicly posted content, and files on a shared device without password protection. Logging into a password-protected account the other spouse controls is not on that list.

Parents monitoring minor children sit in a grayer area. No federal statute explicitly exempts parents, but prosecutions in that context are essentially unheard of, and parents who set up and manage an account for a young child typically retain authorization as the account’s creator. The analysis gets harder as the child gets older and establishes independent accounts with their own credentials. A parent accessing a 17-year-old’s separately created account stands on weaker ground than one checking an account they set up and administer for a 10-year-old.

State Computer Crime Laws

Every state, along with Puerto Rico and the Virgin Islands, has its own computer crime statute covering unauthorized access to computer systems.4National Conference of State Legislatures. Computer Crime Statutes These laws operate independently of the federal ones, so the same login can trigger state and federal liability at once.

What changes from state to state is how the offense is graded and punished. Some states treat a first offense as a misdemeanor with modest fines and little or no jail time. Others classify it as a felony from the outset, particularly when the access involved intent to defraud, to steal data, or to harass. The monetary value of any information obtained and whether anything in the account was altered or damaged usually drive the misdemeanor-versus-felony question.

In practice, state prosecutors handle these cases far more often than federal ones. Domestic disputes, stalking, and harassment cases almost always come up through state court. Federal authorities tend to focus on larger-scale cybercrime, so the statute most likely to actually land on someone who logged into an ex’s Instagram is their state’s.

Civil Lawsuits

Criminal prosecution and civil liability run on separate tracks. The account owner can sue you whether or not charges are ever filed, and many victims pursue civil claims specifically because prosecutors declined to act.

The most common civil theory is intrusion upon seclusion, a privacy tort that applies when someone intentionally intrudes on another person’s private affairs in a way a reasonable person would find highly offensive. Reading private messages, viewing non-public photos, and monitoring someone’s activity through their own account all fit. If you shared what you found, a second tort, public disclosure of private facts, can also apply.

The SCA itself provides a civil cause of action with built-in advantages for the victim. A person whose stored communications were accessed can recover actual damages plus any profits the violator made, with a statutory minimum of $1,000 even when actual damages are hard to quantify. Courts can also award punitive damages for willful violations and order the violator to pay the victim’s attorney’s fees.5Office of the Law Revision Counsel. 18 USC 2707 – Civil Action The $1,000 floor is why the SCA is such a useful tool in these cases: you don’t have to prove dollar-for-dollar harm to collect something.

Platform Bans Run on a Separate Track

Logging into someone else’s account also violates every major platform’s terms of service, which you agreed to when you created your own account. Platform consequences run from temporary suspension to permanent ban, and enforcement tends to be more aggressive than people expect — automated systems flag unfamiliar logins by device and location, and the platform can lock both the compromised account and any account tied to the unauthorized access.

A permanent ban means losing your own account, your content, your follower network, and any advertising or business tools attached to it. The platform does not wait for criminal charges before acting, and it does not stand down because charges weren’t filed. The two systems don’t talk to each other.

If Someone Logged Into Your Account

Start with the practical steps. Change your password, turn on two-factor authentication, and open your account’s security settings to review recent login activity. Most major platforms show a list of recent sessions by device and location, which is often how you’ll confirm what happened and when.

Before you clean anything up, document it. Screenshot unauthorized posts, messages sent from your account, unfamiliar login locations, and anything that points to who was responsible. Most platforms require a government-issued photo ID to recover a compromised account, so expect that step.

For serious cases — financial loss, identity theft, ongoing harassment — file a complaint with the FBI’s Internet Crime Complaint Center at ic3.gov, which accepts account takeovers as a specific category of report. You’ll need your contact information, details of any financial losses, what you know about the person responsible, and a written description of what happened.6Internet Crime Complaint Center (IC3). Complaint Form The IC3 doesn’t accept attachments through the form, so hold onto your original evidence in case an investigating agency asks for it.7Internet Crime Complaint Center (IC3). Frequently Asked Questions

File a report with your local police too. State computer crime laws give local prosecutors the authority to pursue these cases, and a police report creates an official record that strengthens both an investigation and any civil lawsuit you later bring. If the harm was significant or the harassment is continuing, talking to an attorney about a civil claim under the SCA or state privacy torts is worth doing even if criminal charges never come.