• Virginia
  • State law

Drug Testing Laws in Virginia

Short answer

Virginia protects a narrow group very specifically. If you hold a valid written certification from a practitioner for cannabis oil, your employer may not discharge, discipline or discriminate against you for that lawful use. The exceptions are just as specific: work impairment caused by cannabis oil is still actionable and possession during work hours can still be prohibited; the protection yields wherever compliance would breach federal law or cost the employer a federal contract or federal funding; law-enforcement officers are excluded outright; and a defense industrial base sector employer may reject anyone testing above 50 ng/mL THC in urine or 10 pg/mg in hair. Note what this is not — it is a cannabis-oil provision, not a general drug testing statute and not an off-duty cannabis protection.

Last verified 18 Aug 2026

This page describes Virginia law only. If your role is federally regulated, federal rules apply on top of anything here and generally govern the test itself. This is general information, not legal advice.

Private employers

State law (Virginia): The protection is precise about its trigger: an employer may not discharge, discipline or discriminate against an employee for the employee's lawful use of cannabis oil, where the employee has a valid written certification issued by a practitioner for the treatment or to eliminate the symptoms of a diagnosed condition or disease Source 1State legislatureVa. Code §40.1-27.4 — discrimination against employee for lawful cannabis oil use prohibited — checked 18 Aug 2026.

State law (Virginia): It does not disarm the employer on conduct. The section expressly preserves action against work impairment caused by cannabis oil use, and the ability to prohibit possession during work hours Source 1State legislatureVa. Code §40.1-27.4 — discrimination against employee for lawful cannabis oil use prohibited — checked 18 Aug 2026.

Employer policy: Outside that certified-use scenario, this section does not regulate drug testing in Virginia at all. It says nothing about panels, cutoffs, confirmation, laboratories or notice, and we have not identified a Virginia statute that does — which is an absence in our research rather than a statute declaring there are no such rules.

Pre-employment testing

State law (Virginia): Worth reading closely, because the wording matters. The protective language is framed around an employee — discharge, discipline, discrimination. Only the defense industrial base exception speaks of applicants as well as employees Source 1State legislatureVa. Code §40.1-27.4 — discrimination against employee for lawful cannabis oil use prohibited — checked 18 Aug 2026.

We are therefore not asserting that this section protects you at the hiring stage. If that question matters to your situation, it is one to put to a Virginia employment lawyer rather than to settle from this page.

Medical cannabis

State law (Virginia): The certification is the whole basis of the protection. It must be a valid written certification issued by a practitioner, authorising cannabis oil for the treatment or elimination of symptoms of the employee's diagnosed condition or disease Source 1State legislatureVa. Code §40.1-27.4 — discrimination against employee for lawful cannabis oil use prohibited — checked 18 Aug 2026. No certification, no protection under this section.

Employer policy: If you rely on this, the practical step is having the certification in order before a test happens rather than after a result lands. The protection attaches to lawful certified use, and the evidence of that is the document.

Safety-sensitive roles and exemptions

State law (Virginia): Two carve-outs, and the second is unusual enough to be worth memorising. Law-enforcement officers are expressly excluded from the section's protections Source 1State legislatureVa. Code §40.1-27.4 — discrimination against employee for lawful cannabis oil use prohibited — checked 18 Aug 2026.

State law (Virginia): And a defense industrial base sector employer — as designated by the U.S. Cybersecurity and Infrastructure Security Agency — may reject an applicant or employee who tests positive for THC above 50 ng/mL for a urine test or 10 pg/mg for a hair test Source 1State legislatureVa. Code §40.1-27.4 — discrimination against employee for lawful cannabis oil use prohibited — checked 18 Aug 2026.

That is rare: a state statute naming its own numeric cutoffs, and doing it for hair as well as urine — despite hair having never been authorised for federal workplace testing. If you work in Virginia's defense sector, those two figures are the ones that decide your position, and they are not the federal ones.

How federal rules interact

State law (Virginia): The federal escape hatch is broad. An employer need not comply where doing so would put it in violation of federal law, or would result in the loss of a federal contract or federal funding Source 1State legislatureVa. Code §40.1-27.4 — discrimination against employee for lawful cannabis oil use prohibited — checked 18 Aug 2026.

Federal (DOT): A DOT-regulated test is governed entirely by the federal rulebook, and a practitioner's certification is not a legitimate medical explanation for a federal marijuana positive. Virginia's protection does not cross into that programme.

Employer policy: Given how much federal contracting sits in Northern Virginia, the federal-funding exception is not a technicality here — for a large share of Virginia employers it may be the operative clause rather than the protection.

Not yet verified for Virginia

We publish a topic only once it has been checked against Virginia's own statutes or agency guidance. These are still in research, and their absence above does not mean there is no rule:

  • Random testing
  • Cannabis and employment
  • Notice requirements

For these, go to the state's own labour agency rather than a general article.

Official sources

Every factual claim above is drawn from these sources. Each was opened and checked on the date shown. Where a rule differs between agencies, the source that governs is named in the text.

  1. State legislature · Va. Code §40.1-27.4

    Va. Code §40.1-27.4 — discrimination against employee for lawful cannabis oil use prohibited

    Checked 18 Aug 2026
    View official source ↗ (opens in a new tab)