Cybercrime & Digital Law

Is It Illegal to Log Into Someone Else’s Account Without Permission?

L

Lawggle

October 17, 2026
Is It Illegal to Log Into Someone Else’s Account Without Permission?

Yes, it can be illegal to log into someone else's account without permission, even if you already know their password. Having working login credentials does not automatically mean you have authorization to access another person's email, social media, workplace systems or other online accounts.

In the United States, unauthorized account access may have civil or criminal consequences under federal or state law, depending on the circumstances.

In her video answer on Lawggle, Star Kashman of Cyber Law Firm explains why authorization matters, how permission can change after a breakup or the end of employment, and how the Computer Fraud and Abuse Act (CFAA) may apply.

What If I Already Know Their Password?

You might know someone's password because they shared it during a relationship, asked you to help with an account or gave you access for work.

But knowing a password and having permission to use it are two different things.

Previous access does not automatically authorize every future login. The important question is whether you currently have permission to access the account and what that permission covers.

An unchanged password is not proof of continuing authorization.

Hear It From a Cyber Law Attorney

Star Kashman of Cyber Law Firm addresses legal issues involving cybersecurity, digital privacy, unauthorized access and technology-related disputes.

In her Lawggle video, she explains why knowing someone's password does not necessarily give you the legal right to access their account.

Lawggle AnswerIs it illegal to log into someone else’s account if you know their password?Star Kashman · Video answer

Her explanation addresses U.S. federal law and provides practical guidance about the importance of obtaining permission before accessing another person's account.

What Does the Computer Fraud and Abuse Act Say?

The Computer Fraud and Abuse Act (CFAA), codified at 18 U.S.C. § 1030, is a U.S. federal law addressing certain forms of unauthorized computer access.

Whether particular conduct violates the CFAA depends on the facts and the requirements of the applicable statutory provision.

Two important concepts discussed in Star Kashman's answer are:

  • Accessing a computer without authorization.

  • Exceeding authorized access.

These terms have specific legal meanings. Not every improper use of an account constitutes a federal crime.

In Van Buren v. United States, the U.S. Supreme Court clarified that exceeding authorized access concerns obtaining information from areas of a computer system that are off-limits to the user.

An improper purpose alone does not establish that particular violation when the person was otherwise entitled to access the information.

For additional information, see:

State criminal laws, privacy laws and other legal obligations may also apply.

Can I Log Into My Ex's Account If They Gave Me the Password?

Sharing passwords during a relationship is not uncommon.

Couples may share access to email accounts, streaming services, social media profiles, cloud storage or other digital services.

But what happens when the relationship ends?

Do not assume that permission given during a relationship continues after a breakup.

The original authorization, any restrictions placed on that authorization and whether permission has been withdrawn can all matter.

Star Kashman specifically discusses this situation in her video. Her practical guidance is to avoid accessing an ex-partner's account based solely on permission you had while dating.

This is particularly important when a breakup involves financial disagreements, property disputes, divorce proceedings or other legal conflicts.

If you need access to messages or documents for a legal dispute, speak with a lawyer about lawful ways to obtain them.

Knowing where potential evidence is stored does not automatically authorize you to enter someone else's account to retrieve it.

Can I Access a Former Employer's Account If My Login Still Works?

Leaving a job does not always result in immediate removal of access to company systems.

You may discover that your old email account, workplace software or shared documents remain accessible after your employment ends.

However, working login credentials do not establish continuing authorization.

Star Kashman uses the end of employment to illustrate why old credentials should not be treated as ongoing permission.

If you need documents relating to your employment, compensation or a workplace dispute, request them through an authorized representative or speak with an employment attorney about your options.

The same distinction may apply when a business partnership, consulting agreement or other professional relationship ends.

Technical access and legal authorization are separate questions.

What If I Had Permission to Access the Account Before?

Previous permission can be relevant, but its scope matters.

For example, being asked to retrieve a particular document does not necessarily authorize you to read unrelated private messages.

Similarly, permission granted for a particular task or period may not continue indefinitely.

Before accessing an account that does not belong to you, consider:

  • Who authorized the access?

  • Did that person have the authority to grant permission?

  • Which accounts or systems did the permission cover?

  • Was permission limited to a particular task or period?

  • Has authorization been withdrawn?

  • Would the proposed access go beyond the original permission?

These questions help identify potential legal issues. They do not independently determine whether particular conduct is lawful.

Does Written Consent Make Account Access Legal?

Clear written authorization can help establish that permission was granted and document its limitations.

Star Kashman recommends obtaining written consent and staying within the scope of the authorized access.

For business arrangements or security testing, written authorization may identify:

  • The systems or accounts involved.

  • The person or organization granting permission.

  • The activities that are authorized.

  • Any restrictions on access.

  • When authorization begins and ends.

However, written permission is not a blanket guarantee that every subsequent action is lawful.

Authorization must come from someone entitled to grant it, and other applicable legal requirements may still apply.

What About Ethical Hacking and Security Testing?

Ethical hacking generally involves security testing intended to identify vulnerabilities rather than exploit them for harmful purposes.

However, describing an activity as ethical hacking does not automatically establish legal authorization.

Star Kashman emphasizes the importance of obtaining permission and remaining within the agreed boundaries of authorized security testing.

The U.S. Department of Justice's CFAA charging policy also directs federal prosecutors not to charge good-faith security research as defined by that policy.

However, this is federal prosecutorial guidance. It does not provide universal immunity from civil claims, state laws or other potential legal consequences.

Read the Department of Justice's CFAA charging guidance.

Can You Get in Trouble for Logging Into Someone's Account If You Only Look?

Potentially, yes.

Some people assume that accessing another person's account is harmless if they do not delete messages, change settings, download files or transfer money.

But depending on the applicable law, unauthorized access and obtaining information can have legal consequences even when nothing is altered.

The nature of the information accessed, the circumstances surrounding the login and the applicable statutory requirements can all matter.

Star Kashman warns that unauthorized access may result in civil or criminal consequences.

Whether a particular incident supports a legal claim or criminal charge depends on the specific facts.

Can Someone Sue You for Accessing Their Account Without Permission?

Unauthorized account access may give rise to civil claims in certain circumstances.

Depending on the conduct, the harm involved and the applicable law, potential legal issues may include:

  • Unauthorized computer access.

  • Invasion of privacy.

  • Misuse of confidential information.

  • Financial losses.

  • Harassment or stalking.

  • Disclosure of private communications.

Not every unauthorized login will support a successful lawsuit. Different legal claims have different requirements, and the availability of remedies depends on the jurisdiction and facts.

If someone has accessed your account without permission, a lawyer who handles cybercrime, digital privacy or technology-related disputes may be able to explain your options.

What Should You Do If Someone Accessed Your Account Without Permission?

Discovering that someone may have accessed your private account can be unsettling, especially when the person involved is someone you know.

Start by documenting what you noticed.

Relevant information may include:

  • Unexpected login notifications.

  • Unfamiliar devices or active sessions.

  • Password reset emails.

  • Changes to account settings.

  • Messages you did not send.

  • Unexpected multifactor authentication requests.

  • Communications suggesting someone accessed your account.

Preserve relevant notifications, screenshots and communications where it is safe to do so.

From a device you trust, consider taking the following security steps:

  1. Change your password to a strong, unique password.

  2. Review and end unfamiliar account sessions.

  3. Check your recovery email addresses and phone numbers.

  4. Enable multifactor authentication.

  5. Review connected applications and account permissions.

  6. Use the platform's official recovery process if you have lost access.

If the incident involves threats, stalking, financial loss or an ongoing legal dispute, consider obtaining professional legal assistance.

If you believe someone is monitoring your devices or you are concerned about your safety, seek assistance from a trusted device before making changes that could alert the other person.

Avoid accessing someone else's accounts in response. Doing so could create additional legal problems.

What Information Should You Bring to a Cyber Law Attorney?

You do not need to determine whether a federal or state law has been violated before contacting a lawyer.

Start with what happened.

A lawyer may want to understand:

  • When you first noticed suspicious activity.

  • Which accounts or devices were affected.

  • Whether anyone previously had permission to access them.

  • Whether that permission was withdrawn.

  • What information may have been viewed, copied or disclosed.

  • Whether you experienced financial loss, threats or harassment.

  • What records or evidence you have preserved.

In another Lawggle video, Star Kashman explains how she approaches initial consultations, including the importance of timelines, factual information and documentation.

Read Nervous About Calling a Lawyer? Five Attorneys Explain What to Expect to learn how Star and four other attorneys approach their first conversations with potential clients.

Is Searching Someone's Private Account the Same as Police Searching a Phone?

No. Private individuals accessing another person's account and law enforcement officers conducting searches raise different legal questions.

Police searches may involve constitutional protections, warrants and exceptions to warrant requirements. Private account access may involve authorization, computer crime laws, privacy laws and other legal obligations.

For information about law enforcement searches and constitutional rights in California, read What Are My Rights If Police Stop Me in California?.

Frequently Asked Questions About Unauthorized Account Access

Is it illegal to log into someone's email without permission?

It can be. Unauthorized email access may raise issues under federal or state law, depending on the circumstances, the information accessed and the applicable legal requirements.

Is it illegal to log into someone's social media account if you know their password?

Potentially. Knowing a password does not automatically establish authorization to access the account.

Can I log into my spouse's account without permission?

Marriage does not automatically establish unlimited authorization to access another person's private accounts. The circumstances, previous permission and applicable laws matter.

Can I log into my ex's account to find evidence?

Do not assume that a relationship dispute gives you permission to access an ex-partner's private account. A lawyer can explain lawful ways to obtain potentially relevant evidence.

What if someone previously shared their password with me?

Previously sharing a password does not necessarily authorize every future login, particularly when permission was limited or has been withdrawn.

What if my former employer forgot to disable my account?

A functioning login is not proof of continuing authorization. Request any information you need through an authorized representative.

Is it illegal to access someone's account if I don't change anything?

Potentially. Depending on the applicable law, unauthorized access and obtaining information can matter even if no settings, messages or files are changed.

Does written permission make all account access legal?

No. The authority of the person granting permission, the scope of that permission and other applicable legal requirements still matter.

Is ethical hacking legal in the United States?

Authorized security testing and qualifying good-faith security research may be lawful, depending on the circumstances. However, calling an activity ethical hacking does not automatically establish authorization or eliminate potential liability.

Can unauthorized account access result in criminal charges?

Yes, in certain circumstances. Whether criminal charges are appropriate depends on the conduct, the applicable law and whether the required legal elements are established.

What kind of lawyer handles unauthorized account access?

Depending on the circumstances, a cyber law attorney, technology law attorney, privacy lawyer, criminal defense attorney or another appropriately qualified legal professional may be able to assist.

About Star Kashman

Star Kashman of Cyber Law Firm provided the video explanation featured in this article.

Her Lawggle answer discusses unauthorized account access, password sharing, consent, former relationships, employment and the importance of understanding the boundaries of digital authorization.

Learn more about Star Kashman at Cyber Law Firm.

Watch Star Kashman's original answer on Lawggle.

This article draws on Star Kashman's video answer and includes additional Lawggle editorial context. It is not a verbatim transcript and does not imply that Star reviewed or endorsed the additional material.

Have a Question About Unauthorized Account Access?

Whether someone accessed your account without permission or you are unsure about your authorization to use another person's account, the details can change the legal answer.

You do not need to understand computer crime legislation before asking your first question.

On Lawggle, you can explore answers from verified lawyers, ask legal questions anonymously and discover lawyers who handle issues like yours.

Not ready to contact a lawyer privately? Read Where Can I Ask a Lawyer a Question for Free? to learn more about your options.

Explore Lawggle.

Real Questions. Real Lawyers. Real Answers.

Disclaimer: This article provides general legal information about U.S. law and is not legal advice. Federal and state laws, legal remedies and outcomes vary depending on the jurisdiction and individual circumstances. Lawggle is not a law firm. Reading this article, watching a video or participating in public discussions does not establish an attorney-client relationship. Public legal discussions are not confidential, and lawyer responses are not guaranteed.