Unauthorized Computer Access and Computer Trespass in Virginia

Short answer Virginia's computer-trespass offense requires malicious intent, or intentionally deceptive means and lack of authority, plus one of the acts listed in § 18.2-152.4; its ordinary grade is a Class 1 misdemeanor. Damage of at least $1,000 and specified government or public-utility systems can raise trespass to a Class 6 felony. Separate fraud, privacy, and computer-services offenses have their own elements.
State
Virginia
Statute checked
October 21, 2026
Sources
12 statutes

Not sure how this applies to you? Ask about your own facts and see which parts of current Virginia law apply, with citations to the statutes.

Free for 7 days, then $249/mo. Cancel anytime.

At a glance

Governing statute and covered systemsVa. Code §§ 18.2-152.2–.6 cover computers, networks, programs, software, data, services and electronic records; § 18.2-152.2 defines those resources and authority.
Prohibited computer conduct§ 18.2-152.4(A) lists disabling, malfunction, alteration, financial-instrument changes, physical property injury, unauthorized copying, keylogging and specified control or disruption software. §§ 18.2-152.3, .5 and .6 separately cover fraud, protected-information examination and service theft.
Intent and authorizationTrespass: malicious intent, or intentionally deceptive means and no authority (§ 18.2-152.4(A)); § 18.2-152.2 defines 'without authority' by known or reasonably knowable lack of permission or knowingly exceeded permission. Fraud and service theft require use or taking without authority; privacy examination is intentional.
Bare access or additional element§ 18.2-152.4 requires a listed act, so access alone is not its base trespass offense. § 18.2-152.5 requires knowing review of another person's listed information without authority; § 18.2-152.6 requires obtaining computer services.
Ordinary offense gradeComputer trespass, fraud under $1,000, privacy invasion, and service theft under $2,500 are Class 1 misdemeanors (§§ 18.2-152.3–.6).
Damage, value, system or repeat escalatorsTrespass becomes Class 6 for malicious damage to another's property worth at least $1,000, listed government or public-utility systems, malicious installation on more than five computers, or malicious keylogging (§ 18.2-152.4(B)). Fraud reaches Class 5 at $1,000; service theft Class 6 at $2,500; privacy invasion Class 6 for a prior similar conviction, sale/distribution, or use in another crime (§§ 18.2-152.3, .5, .6).
Imprisonment and fineClass 1 misdemeanor: up to 12 months in jail and/or $2,500 fine (§ 18.2-11(a)). Class 6 felony: 1–5 years, or discretionary jail up to 12 months and/or $2,500; Class 5: 1–10 years or the same discretionary jail/fine route (§ 18.2-10(e)–(f)).
Express defense or exception§ 18.2-152.4(C) preserves contracts/licenses and specified provider measures and parental or guardian monitoring, copying and access denial; § 18.2-152.5(F) excludes reasonably needed security, diagnostics, repair and software-license checks.
Scheduled change or sunsetThe current official §§ 18.2-152.3–.6 display no future-effective version or sunset for these offenses.

Requirements one by one

Trespass and authority

Virginia's § 18.2-152.4(A) prohibits the listed computer acts when done “with malicious intent, or through intentionally deceptive means and without authority.” The list includes disabling or altering data or software, causing a malfunction, altering financial instruments or electronic transfers, causing property injury, making an unauthorized copy, keylogging, and installing specified control or disruption software. Under § 18.2-152.2, a person is “without authority” when the person knows or reasonably should know there is no permission, or knowingly exceeds it. A trespass charge under § 18.2-152.4(A) requires one of its listed acts.

Grade and related offenses

Computer trespass is ordinarily a Class 1 misdemeanor under § 18.2-152.4(B). It becomes Class 6 when committed for the purpose of affecting a computer exclusively for government use or one exclusively used by a listed public-service provider. Malicious damage to another's property worth at least $1,000, malicious installation on more than five computers, or malicious keylogging also makes it Class 6. Separately, § 18.2-152.3 makes computer fraud a Class 1 misdemeanor below $1,000 and Class 5 felony at $1,000 or more. Section 18.2-152.5 makes intentional unauthorized examination of another person's specified private information a Class 1 misdemeanor, with Class 6 branches for a prior similar conviction, sale or distribution, or use in another crime. Willful theft of computer services under § 18.2-152.6 is Class 1 below $2,500 and Class 6 at or above that amount.

Sentencing and limits

A Class 1 misdemeanor carries up to 12 months in jail or a $2,500 fine, or both (§ 18.2-11(a)). Section 18.2-10(e)–(f) provides a 1–10-year Class 5 felony range and a 1–5-year Class 6 range, each with a discretionary jail-and-fine alternative. Section 18.2-152.4(C) preserves contractual computer-use terms and specified provider, parent, and guardian activities. Section 18.2-152.5(F) excludes reasonably necessary security, diagnostic, repair and licensing checks from the privacy offense.

What trips people up

The trespass statute does not grade every computer contact as trespass. Its listed act and mental-state requirements must be met. The government and utility branch depends on a computer's exclusive use for the listed entity and the actor's purpose of affecting it; the ordinary branch does not have that target condition.

Common questions

Is accessing an account without permission itself Virginia computer trespass?

Not under § 18.2-152.4 alone: that section requires one of its listed acts. Other provisions may apply to a fraud, protected-information examination, or theft of computer services.

Does a service provider or parent automatically violate trespass for blocking access?

Section 18.2-152.4(C) preserves specified provider measures and parental or guardian limits on a minor's computer use, copying, or Internet access. The facts and the text of that subsection control whether it applies.

Statutes and sources

The current official definitions, fraud, computer trespass, privacy and computer-services theft sections supply the offense rules; felony and misdemeanor sections supply the sentencing ranges.

Source links

Every statute quoted above, linked, with the date we checked it.

Va. Code § 18.2-152.2 · accessed 2026-10-21
Va. Code § 18.2-152.2 · accessed 2026-10-21
Va. Code § 18.2-152.3 · accessed 2026-10-21
Va. Code § 18.2-152.4(A) · accessed 2026-10-21
Va. Code § 18.2-152.4(A)(8)–(9) · accessed 2026-10-21
Va. Code § 18.2-152.4(B) · accessed 2026-10-21
Va. Code § 18.2-152.4(C) · accessed 2026-10-21
Va. Code § 18.2-152.4(C) · accessed 2026-10-21
Va. Code § 18.2-152.5(A)–(F) · accessed 2026-10-21
Va. Code § 18.2-152.6 · accessed 2026-10-21
Va. Code § 18.2-10(e)–(f) · accessed 2026-10-21
Va. Code § 18.2-11(a) · accessed 2026-10-21
This page summarizes state computer-access and trespass statutes. It does not decide whether any particular access was authorized, predict a charge or sentence, or provide legal advice. Facts, amendments, court orders, and other crimes can change the result; check current official law and consult a qualified adviser.

What does Virginia law mean for your facts?

You just read the general rule. Ask your own question and see which parts of current Virginia law apply to your situation, with citations you can check.

Try Ezel Pro free for 7 days. Cancel anytime before the trial ends and you pay nothing.

  • Starts from the statutes this survey is built on
  • Cites every source it relies on, so you can verify it
  • Chat, drafting and research in one workspace