CFAA

Also known as: Computer Fraud and Abuse Act

On this page 7

The CFAA, or Computer Fraud and Abuse Act, is the principal United States federal statute that criminalizes unauthorized access to computers and related conduct such as data theft, malware deployment, password trafficking and computer-based extortion. Codified at 18 U.S.C. § 1030, it is the oldest and most frequently litigated anti-hacking law in American cybersecurity law and a reference point for tech regulation well beyond the United States.

Unlike frameworks such as NIS2 or the CRA, which impose security duties on organizations, the CFAA works in the opposite direction: it punishes intruders and lets victims sue them. Its central concepts, access without authorization and exceeding authorized access, have shaped decades of disputes over insider misuse, web scraping and security research.

How the CFAA defines computer crime

The CFAA defines computer crime through seven prohibited categories of conduct in subsection (a), each tied to a protected computer or a government system. Congress enacted the core statute in 1986, expanding a narrower 1984 law, and amended it repeatedly in 1994, 1996, 2001 and 2008 to cover new attack methods and broader categories of victims.

The term protected computer now reaches any computer used in or affecting interstate or foreign commerce, which courts read to include practically every device connected to the internet, including smartphones and cloud servers located abroad. This broad jurisdictional hook is why the CFAA applies to ordinary corporate networks and not only to federal systems.

The following table summarizes the main offense provisions and what each one targets.

ProvisionProhibited conductTypical scenario
(a)(1)Obtaining classified national security informationEspionage through a government network
(a)(2)Obtaining information without or beyond authorizationCopying customer records from a server
(a)(3)Trespassing in a nonpublic federal computerLogging into an agency system
(a)(4)Access with intent to defraudUsing stolen access to divert funds
(a)(5)Causing damage by code, command or accessRansomware or a destructive worm
(a)(6)Trafficking in passwords or access credentialsSelling login credentials on a forum
(a)(7)Extortion involving computers or dataThreatening to leak stolen files
Main offense provisions of 18 U.S.C. § 1030(a)

Authorization after Van Buren

Whether access is authorized is the decisive question in most CFAA cases. Outsiders who break in act without authorization, while insiders who misuse a legitimate account were long accused of exceeding authorized access. For years, federal circuits split on whether violating an employer policy or a website’s terms of service could turn ordinary use into a federal crime.

In Van Buren v. United States (2021), the Supreme Court adopted a gates-up-or-down approach: a person exceeds authorized access only by entering parts of a system that are off limits to them, such as files, folders or databases. Misusing information from areas one may lawfully enter, for an improper purpose, does not violate the statute. The decision sharply narrowed insider liability and rejected a reading that would criminalize routine terms-of-service breaches.

Courts have also addressed public web data. In the long-running hiQ Labs v. LinkedIn litigation, the Ninth Circuit indicated that scraping publicly accessible pages likely does not constitute access without authorization, although contract claims and technical blocking measures can still restrict scraping. The table below contrasts common situations under the current interpretation.

SituationLikely CFAA statusReason
Guessing a password to enter a serverViolationNo permission to enter at all
Employee opening a restricted HR databaseLikely violationEntered an area closed to the account
Officer querying a permitted database for a bribeNo violation after Van BurenPurpose alone does not matter
Scraping public pages without loginGenerally no violationNo gate was bypassed
Continuing access after a cease-and-desist letterDisputedCourts differ on revoked permission
Authorization scenarios under the current interpretation

Penalties and the civil cause of action

CFAA penalties scale with intent, harm and repetition. A basic unauthorized access offense can be a misdemeanor of up to one year, but it becomes a felony when committed for commercial advantage, in furtherance of another crime, or when the information is worth more than $5,000. Intentional damage offenses carry up to 10 years, repeat offenses up to 20 years, and conduct that knowingly or recklessly causes death can lead to life imprisonment.

Subsection (g) creates a private civil action, which is why many CFAA cases are commercial disputes rather than prosecutions. A plaintiff must usually show a loss of at least $5,000 in a one-year period, and the claim must be filed within two years of the act or the discovery of the damage. Recoverable loss covers response costs, damage assessment and restoration, plus revenue lost because of service interruption.

FeatureCriminal enforcementCivil action under (g)
InitiatorDepartment of JusticeInjured company or individual
Main thresholdOffense elements beyond reasonable doubtQualifying loss of $5,000 or more
OutcomePrison, fines, forfeiture, restitutionDamages and injunctive relief
Time limitGenerally five yearsTwo years
Typical useHackers, fraud rings, extortionistsDeparting employees, competitors, scrapers
Criminal and civil enforcement compared

The CFAA among other cybercrime laws

The CFAA belongs to a family of computer misuse statutes that criminalize intrusion rather than mandate protection. Its closest foreign counterpart is the British Computer Misuse Act of 1990, while the Budapest Convention on cybercrime sets an international baseline that the United States ratified in 2006. Every US state also has its own computer crime law, and some of them are broader than the federal statute.

The comparison below places the CFAA beside related instruments that practitioners frequently encounter in the same matters.

InstrumentJurisdictionPrimary function
CFAAUnited States federalPunishes unauthorized access and damage
Computer Misuse ActUnited KingdomPunishes unauthorized access and impairment
Budapest ConventionInternational treatyHarmonizes cybercrime offenses and cooperation
NIS2European UnionImposes security and reporting duties
FISMAUS federal agenciesRequires agency security programs
The CFAA compared with related legal instruments

Security research, criticism and compliance practice

The CFAA has been criticized for vague wording and severe penalties, which critics argue chill legitimate work. The prosecution of Aaron Swartz, who faced multiple felony counts for mass downloading of academic articles before his death in 2013, became a focal point for reform proposals that Congress never enacted.

In 2022, the Department of Justice revised its charging policy so that federal prosecutors should not charge good-faith security research, meaning testing performed to find and fix vulnerabilities without harming people or systems. The policy binds only federal prosecutors, not private plaintiffs or state authorities, so researchers still rely on written scope agreements, bug bounty safe harbor terms and responsible disclosure procedures.

  • Define access rights technically: role-based permissions and logged gates make Van Buren arguments stronger for victims.
  • Document authorization in writing before any penetration test, including systems, dates and methods.
  • Revoke credentials immediately when employees or contractors leave, because revoked access is clearer than policy limits.
  • Track incident costs carefully from the first hour, since the $5,000 civil threshold depends on provable loss.

In plain words

The CFAA is the main American law against hacking. It makes it a crime to get into someone else’s computer, phone or server when you have no permission, or to go into parts of a system you were never allowed to open.

Think of an office building. Breaking in at night is clearly illegal, and so is using your own key card to sneak into a locked room you were never cleared for. However, after a 2021 Supreme Court decision, simply using information from a room you may enter for a bad reason is usually not a CFAA crime. The key takeaway is that the law focuses on which doors you were allowed to open.

A real-world example

A mid-sized logistics company in Ohio discovers that a sales manager who resigned two weeks earlier is still logging into its customer relationship platform with an account that was never disabled. Logs show he downloaded 4,200 customer records and pricing sheets after his departure date and shared them with a competitor that hired him.

The company’s counsel files a civil claim under subsection (g) of the CFAA. Because his authorization ended on his last day, the post-departure logins count as access without authorization, which avoids the narrower insider analysis from Van Buren. Forensic investigation, legal review of the breach and system hardening cost the company about $38,000, well above the statutory threshold. The court grants a preliminary injunction ordering return and deletion of the data, and the company tightens its offboarding so that accounts are disabled within one hour of an employee’s exit.