Attorney advertising.
“Hacking” is not the name of a single California crime. People use the word for everything from guessing a password on a shared family laptop to breaking into a company’s network. The legal question is whether the conduct matches a statute, most often Penal Code section 502 in state court, or the federal Computer Fraud and Abuse Act, 18 U.S.C. § 1030, in federal court. Those statutes can be charged as an infraction, a misdemeanor, or a felony, depending on the subdivision, the harm alleged, and the person’s record. There is no one-word answer that covers every use of someone else’s account.
This article is general information, not legal advice. Section 502 is long and has many subdivisions. The ranges below are taken from the current statute as already stated on the firm’s page about accessing a partner’s accounts without permission, which is the main resource on that specific fact pattern. The charged subdivision and any dollar-loss proof in a particular case, not a general summary, control which range applies.
What Penal Code 502 covers
Section 502 is California’s comprehensive computer-data-access and fraud statute. It defines terms such as “access,” “computer system,” and “data,” and it lists prohibited acts. Those acts include, among others, knowingly accessing and without permission altering, deleting, damaging, destroying, or otherwise using data, a computer, or a network in specified ways; knowingly accessing and without permission taking or using data; knowingly accessing a system or network without permission as described in the statute; and related conduct involving use, disruption, or the introduction of contaminants. The official text, not a news headline, is the source for the exact mental state and the exact act.
Permission is often the disputed issue. A person may have had a password for work, school, or a personal relationship and then used it after being told to stop, or used it for a purpose the account owner says was never allowed. Whether that is “without permission” under section 502 is a fact-specific question, and courts have addressed related issues in other computer-access statutes as well. This article does not announce a single rule for former employees, roommates, or partners who still know a password.
For a first violation of unauthorized access that does not result in “injury” as section 502(b)(10) defines it, section 502(d)(3)(A) makes the offense an infraction punishable by a fine of up to $1,000. A violation that causes a “victim expenditure” of $5,000 or less, or any second or later violation, is punishable by a fine as high as $5,000, county jail for up to 364 days, or both (section 502(d)(3)(B)). A victim expenditure over $5,000 is a wobbler: as a felony, 16 months, two years, or three years under section 1170(h) and a fine as high as $10,000; as a misdemeanor, county jail for up to 364 days, a fine as high as $5,000, or both (section 502(d)(3)(C)). A separate subdivision, section 502(c)(2), covers knowingly accessing and, without permission, taking, copying, or making use of data. That version is a wobbler from the first violation, with the 16-month, two-year, or three-year felony triad and up to a $10,000 fine, or a misdemeanor of up to 364 days and a fine as high as $5,000 (section 502(d)(1)). The charged subdivision still controls.
When a case can be federal
The Computer Fraud and Abuse Act is a federal statute. It addresses, among other things, unauthorized access to a protected computer, access that exceeds authorized access in the ways the statute describes, and damage or fraud involving interstate or government systems. “Protected computer” is defined broadly in federal law and can include computers used in or affecting interstate commerce. A Los Angeles investigation can therefore be federal even when the people involved all live in the county.
Federal sentencing uses a different framework from a California misdemeanor or section 1170(h) term. A federal filing may also include identity-theft, wire-fraud, or extortion counts if those facts are alleged. See the firm’s pages on identity theft and extortion, and on federal aggravated identity theft, when those statutes are in the same file. State and federal prosecutors sometimes investigate the same incident; the two cases are not automatically merged.
What to do with devices and accounts
If you learn that you are under investigation, do not wipe a phone, a laptop, or a cloud account in order to “clean it up.” Deleting data after you know about an investigation can create a separate problem and can look like consciousness of guilt. It can also destroy material that would have helped explain authorized use. Preserve the device, speak with counsel, and let counsel deal with any request from law enforcement.
A labeled hypothetical: a former employee uses an old password to log into a work email account and download customer files after being fired. That is the kind of fact pattern that can be evaluated under section 502 and, depending on the system and the loss alleged, under federal law. A different labeled hypothetical: a person tries a partner’s unlocked phone once to see a message and does not take data. That is a very different factual picture, and it may or may not meet a charged subdivision. Neither hypothetical decides a real case.
Los Angeles investigations
Computer-crime cases in Los Angeles County may be handled by local agencies, the county prosecutor, a state task force, or a federal office in the Central District of California. State charges are heard in the Los Angeles Superior Court. Search warrants for phones, iCloud or Google accounts, and home computers are common. Counsel should review the warrant, the affidavit, and the scope of what was seized. See the firm’s Los Angeles criminal defense page for general representation information, and types of laws: misdemeanors versus felonies for how the level of the charge can affect the process.
Frequently asked questions
Is hacking always a felony in California?
No. Section 502 includes infraction, misdemeanor, and felony provisions. The subdivision, the alleged harm or value, and any prior conviction affect the level. The complaint is the starting point.
Can you be charged for using a password you already knew?
Possibly, if the use was without permission as the statute defines it, or if a federal statute applies. Having known the password in the past is not a complete answer by itself.
Is a federal hacking case automatically more serious than a state case?
Not automatically. Federal and state cases use different statutes, procedures, and sentencing rules. Either can be serious. The filing, not the word “hacking,” controls.
Does this include “cyberbullying”?
Some online harassment is charged under other statutes. See the firm’s page on whether you can be arrested for cyberbullying in California. Section 502 is aimed at computer access, data, and systems, not at every unkind message.
For a free consultation about a Los Angeles or California case, call the Law Offices of David S. Chesley at (800) 755-5174 or use the contact page.
This article is general information, not legal advice. Every case depends on its own facts, the charging papers, and current law. A lawyer should review your own case before you make decisions about it.










