Logging into another person’s email, social media, bank, or work account can be illegal in the United States—even if the password is known or the person once shared it. The answer depends on whether access was authorized, what the account holder permitted, how the login occurred, and which state laws apply. A login can also violate a service’s rules or someone’s privacy without necessarily meeting the requirements for a criminal offense.
When Logging Into Someone Else’s Account May Be Illegal
The central issue is authorization. Access is more likely to be unlawful when someone enters an account without permission, uses a password obtained through deception or theft, or continues using access after permission has been withdrawn. Using an account to read private messages, impersonate its owner, transfer money, change credentials, or obtain confidential information can create additional legal risks.
Federal law, including the Computer Fraud and Abuse Act (CFAA), prohibits certain forms of unauthorized access to protected computers. The statute covers computers used in or affecting interstate or foreign commerce, a category that can include internet-connected devices and services. But not every breach of a website’s rules or every unwanted login automatically becomes a federal crime. The specific conduct and statutory requirements matter.
State laws may separately address computer trespass, identity theft, fraud, stalking, harassment, or unauthorized access. These laws differ by state, so the same conduct can have different consequences depending on where it occurs and which jurisdiction has authority.
What Counts as Permission?
Permission is usually limited to what the account holder actually authorized. A person might be allowed to check a shared household calendar but not read private email or make purchases. Someone permitted to use an account for a specific task may exceed that permission by using it for a different purpose. The scope, timing, and conditions of consent can all be relevant.
Consent can also be withdrawn. If an account owner says to stop logging in, changes the password, or otherwise makes clear that access is no longer allowed, trying another route to get back in can substantially increase legal risk. A person should not assume that a previously shared password gives permanent permission.
Courts have debated how the CFAA applies when someone has some legitimate access but allegedly uses it improperly. In Van Buren v. United States (2021), the U.S. Supreme Court interpreted the statute’s “exceeds authorized access” language narrowly in the context of a government database. The decision does not mean that all misuse is lawful; it addresses a particular part of federal law, while other statutes, policies, and state laws may still apply.
Does Knowing the Password Make It Legal?
No. Knowing a password is not the same as having current permission to use it. A password could have been shared for a limited reason, obtained from a saved browser, discovered on a device, or supplied by someone who lacked authority to grant access. The relevant question is whether the account owner or an authorized administrator permitted the particular access.
Likewise, a login that technically succeeds does not prove the access was authorized. Reusing a former partner’s saved credentials, guessing a password, bypassing a security measure, or using a password-reset process to take control of an account can raise serious concerns. Accessing financial accounts may also implicate fraud or identity-theft laws if money, personal data, or benefits are involved.
Common Situations and Legal Risks
| Situation | Potential concern |
|---|---|
| A partner checks another person’s email without permission | Unauthorized access, privacy-related claims, or state computer-crime laws may apply, depending on the facts. |
| A parent logs into a child’s account | Age, account ownership, parental authority, service rules, and state law can affect the analysis. Parental status is not a universal exception. |
| An employee uses a coworker’s credentials | Workplace policies, access controls, confidentiality duties, and state or federal laws may be relevant. |
| A former employee accesses a work account after departure | Permission may have ended. Continued access could trigger company action and potential legal claims. |
| A friend uses a password voluntarily shared for one task | Access beyond the agreed purpose may be unauthorized, even if the password was originally provided willingly. |
These examples are not legal determinations. Details such as the account’s owner, the person who granted permission, the account’s purpose, and the steps taken to access it can change the outcome.
Personal, Work, and Shared Accounts
Personal accounts
Email, social media, cloud storage, and messaging accounts often contain private communications and sensitive personal information. Access without permission may lead to account suspension, civil claims, or investigation under applicable criminal laws. Posting, forwarding, deleting, or altering information can create separate problems beyond the initial login.
Work accounts
Employers commonly set rules about account access, monitoring, and credential use. An employee should not use a coworker’s login simply because a task needs to be completed; the employer’s IT or management team can provide authorized access. After employment ends, credentials that still work do not necessarily indicate that access is permitted.
Shared accounts
Some accounts are intentionally shared, such as a family streaming subscription or a jointly managed business account. Shared access should still stay within the owner’s permission and the service’s terms. A shared password for one service does not grant permission to enter another account or to access private areas within the same service.
Can a Login Violate Terms of Service Without Being a Crime?
Yes. A service’s terms may prohibit password sharing, account transfers, or access by people other than the registered user. Breaking those terms can result in a warning, suspension, or account closure. A contract or policy violation does not automatically establish a crime; criminal liability requires the elements of a relevant law. Conversely, conduct can violate criminal law even if the service has not yet taken action.
The distinction is important because online rules, workplace policies, and criminal statutes serve different purposes. A company may restrict access more broadly than criminal law does. Whether a particular restriction can support a criminal charge depends on the applicable law and circumstances, not simply on the presence of a terms-of-service violation.
Possible Consequences
Depending on the conduct and jurisdiction, consequences can include losing access to the service, workplace discipline, a civil lawsuit, restitution, or criminal charges. Potential charges may involve unauthorized computer access, identity theft, fraud, harassment, or stalking if the facts support those offenses. Penalties vary widely; they can depend on intent, financial loss, the information accessed, prior conduct, and whether the access involved protected or government systems.
People affected by unauthorized access may also face practical harms, including exposed private messages, changed account settings, financial loss, or compromised accounts. Preserving relevant messages and account alerts can help document what happened. Account owners can change passwords, enable multifactor authentication, review active sessions, and contact the service or financial institution. They should avoid retaliatory access to the other person’s accounts.
What to Do if Permission Is Unclear
- Ask the account owner or authorized administrator for explicit permission. Clarify which account, actions, and time period the permission covers.
- Use your own account or an official delegated-access feature. Many services offer roles or shared-access settings that avoid exchanging passwords.
- Stop if permission is withdrawn or disputed. Do not try to bypass a password change or security control.
- Contact a qualified attorney if access has already occurred or legal action is threatened. A lawyer can assess the relevant state and federal laws.
For general federal-law information, the CFAA appears at 18 U.S.C. § 1030, and the Supreme Court’s Van Buren decision explains one important limit on its “exceeds authorized access” provision. These sources do not replace advice about a specific situation.