Updated November 2026 | The Bulldog Law | California Criminal Defense
Yes. Logging into another person's email account without permission is a crime in California under Penal Code 502, and under federal law through the Stored Communications Act and the Computer Fraud and Abuse Act. It is a crime even if the password was saved on a shared computer, even if the account was left open, and even between spouses. Opening, taking, or hiding someone else's postal mail is a separate federal crime that carries up to five years in prison. Reading a message the person showed you, forwarded to you, or left on a screen in front of you is different, and generally is not a crime.
Our attorneys see these cases most often in divorces, custody disputes, breakups, and workplace conflicts, where one person goes looking for evidence in another's inbox. The access itself can become the criminal case, and the evidence is frequently thrown out.
The short answer by situation
|
What happened |
Crime? |
Law |
|
Logged into someone's email with a guessed or stolen password |
Yes |
Penal Code 502; 18 U.S.C. 2701 and 1030 |
|
Logged in using a password saved on a shared computer or phone |
Yes; saved access is not permission |
Same |
|
Read an email the person showed you or forwarded to you |
No |
|
|
Read an email left open on a screen in front of you |
Generally no, if you did not log in or search the account |
|
|
Set up forwarding or installed spyware to copy someone's email |
Yes; also possible wiretap and eavesdropping charges |
Penal Code 502, 631, 637.7; federal Wiretap Act |
|
Opened a letter addressed to someone else on purpose |
Yes, federal |
18 U.S.C. 1702 |
|
Opened a letter by mistake and returned it |
No |
|
|
Sent email pretending to be someone to harm or defraud them |
Yes |
Penal Code 528.5, 530.5 |
|
Signed someone up for spam or subscriptions to harass them |
Can be |
Harassment, 653m; part of stalking or a restraining order case |
California Penal Code 502
Penal Code 502, the Comprehensive Computer Data Access and Fraud Act, makes it a crime to knowingly and without permission access a computer, computer system, or computer network, which courts apply to online accounts including email. Other subdivisions cover copying data, using it to defraud, and altering or deleting it. Penalties range from a misdemeanor, with up to a year in jail and a fine, for simple unauthorized access, to a felony with 16 months, two, or three years when data is taken or used to cause harm. Section 502 also lets the account owner sue for damages and attorney fees, which is common in family disputes.
The question is authorization. A person authorizes access by giving permission, not by failing to log out. Courts have repeatedly rejected the argument that a saved password, a shared device, or a guessed password made access permitted.
Federal law
- Stored Communications Act, 18 U.S.C. 2701: intentionally accessing without authorization a facility through which an electronic communication service is provided, and obtaining a stored communication. Up to one year for a first offense, longer if done for commercial gain or a malicious purpose; it also creates a civil claim.
- Computer Fraud and Abuse Act, 18 U.S.C. 1030: accessing a protected computer without authorization and obtaining information. Email providers' servers are protected computers.
Federal prosecutors rarely charge one-time snooping, but these statutes are often the basis of civil suits, and federal charges appear where access is repeated, involves many accounts, or is part of fraud or extortion.
Postal mail: 18 U.S.C. 1702
Taking a letter or package before it reaches the person it is addressed to, or opening, hiding, or destroying it, with the intent to obstruct the correspondence or pry into another person's business, is a federal crime under 18 U.S.C. 1702, punishable by up to five years. Stealing mail is separately punished under 18 U.S.C. 1708. Opening mail by mistake is not a crime; the fix is to reseal it, write "opened by mistake," and deliver it or return it to the carrier. Parents opening a minor child's mail are generally not prosecuted.
Spouses, partners, and divorce
Marriage does not create permission to enter a spouse's private accounts. Spouses and former partners are the most common defendants in email access cases, criminal and civil. In family court, evidence obtained by unlawful access may be excluded, and the conduct can be used against the person who did it in custody and restraining order proceedings, sometimes as part of a pattern of controlling behavior under California's domestic violence laws. If you need evidence from a spouse's email for a divorce, it should be obtained through discovery and subpoenas, not by logging in.
Parents and children
Parents of minors have broad authority to supervise, and monitoring an account on a device or plan the parent provides is generally lawful. The line is less clear for an older teenager's independently opened account. Once a child is an adult, the parent has no more right to the child's email than anyone else.
Employers
Employers usually may read email on systems they own, particularly with a written policy saying so. They generally may not log into an employee's personal email account, even if the employee checked it on a work computer and the password was saved. The same rule applies in reverse: an employee who uses a former employer's credentials after leaving can be prosecuted under Penal Code 502.
Using someone's email address or pretending to be them
- Online impersonation, Penal Code 528.5: credibly impersonating another person online, including by email, to harm, intimidate, threaten, or defraud them. A misdemeanor with up to a year in jail.
- Identity theft, Penal Code 530.5: using another person's identifying information, which can include an email account, for an unlawful purpose. A wobbler.
- Harassment: signing a person up for spam, subscriptions, or services to annoy or alarm them can be charged under Penal Code 653m and used to support a civil harassment or domestic violence restraining order, and repeated conduct can amount to stalking.
Social media and messaging accounts
The same rules apply to Instagram, Facebook, Snapchat, and messaging apps; logging in without permission is unauthorized access. Our post on accessing someone else's account covers social media in detail, and our post on police access to Facebook messages covers what law enforcement can obtain.
If you are accused
- Stop accessing the account and do not delete anything; deleting can create a separate evidence problem.
- Do not explain to the other person or to police how you got in. Statements are the main evidence of intent and lack of permission.
- Defenses include actual permission (including past permission that was never withdrawn), a shared account, a parent's authority over a minor, and lack of proof that you were the person who logged in.
- Many first-time cases with no financial harm are resolved as misdemeanors or through diversion.
If someone accessed your email
- Change your password, sign out of all sessions, and turn on two-factor authentication.
- Check forwarding rules, recovery email and phone, and connected apps.
- Save the provider's login history showing unfamiliar access.
- Report it to police, and talk to a lawyer about a restraining order or a civil claim under Penal Code 502.
Frequently asked questions
Is it illegal to read someone else's email?
Yes, if you access their account without permission. In California, logging into another person's email account without authorization is a crime under Penal Code 502, and under federal law the Stored Communications Act and the Computer Fraud and Abuse Act. It does not matter that you guessed the password, that it was saved on a shared computer, or that you are married to the person. Reading an email the person showed you, forwarded to you, or left open in front of you is different and generally not a crime.
Is it illegal to read someone else's mail?
Opening or taking someone else's postal mail before it reaches them is a federal crime under 18 U.S.C. 1702, punishable by up to five years in prison. Accidentally opening a letter addressed to someone else is not a crime if you reseal it and deliver it or mark it as opened by mistake. Throwing away or keeping another person's mail on purpose is also covered.
Is it illegal to access my spouse's email?
Generally yes. Marriage does not give one spouse authority to log into the other's private accounts. Spouses are prosecuted and sued under Penal Code 502 and the federal Stored Communications Act, most often during divorces. Evidence obtained this way is also frequently excluded in family court and can backfire on the spouse who obtained it.
Can parents read their child's email?
Parents of minors generally may monitor accounts the parent controls or provides, such as a child's phone plan or a family computer, and courts give parents wide latitude. The law is less settled for older teens and for accounts the child opened independently. Accessing an adult child's email without permission is treated like any other unauthorized access.
Can my employer read my work email?
Usually yes, on systems the employer owns, especially where a written policy says email is monitored. Employers generally cannot log into an employee's personal email account, even if the password was saved on a work computer.
Is it illegal to use someone else's email address without permission?
It depends on what you do with it. Sending email that pretends to be from another person to harm, defraud, or intimidate them can be identity theft under Penal Code 530.5 or online impersonation under Penal Code 528.5. Signing someone up for unwanted subscriptions, spam, or services to harass them can be harassment and, if done repeatedly, part of a stalking or restraining order case.
What is the penalty for hacking an email account in California?
Under Penal Code 502, unauthorized access to a computer system or account is usually charged as a misdemeanor for first-time access without damage, with a fine up to 5,000 dollars and up to a year in jail, or as a felony with 16 months, two, or three years when data is taken, altered, or used to defraud. The victim may also sue for damages and attorney fees.
What if the password was saved or the account was left open?
Authorization is about permission, not technical ease. An open account on a shared computer does not give permission to read it. Courts look at whether the account owner allowed access; a saved password or an unlocked device is not consent.
Related reading from our attorneys
- Accessing someone else's account is illegal
- Can the police read your Facebook messages?
- California recording laws: Penal Code 633.5
Accused of accessing someone's email? The question of permission decides these cases
The Bulldog Law's criminal defense attorneys defend computer access, impersonation, and related charges across California. Call (888) 928-1609 or reach us online.

Comments
There are no comments for this post. Be the first and Add your Comment below.
Leave a Comment