What Is a Toxicology Test? Purpose and Results

A toxicology test detects the presence of drugs, medications, alcohol, or other chemicals in your body. It can be as simple as a rapid urine dip at a doctor’s office or as complex as a lab analysis that identifies exact substances and their concentrations. These tests are used across medicine, employment, law enforcement, sports, and substance use treatment, each with different standards for how samples are collected, analyzed, and reported.

Why Toxicology Tests Are Ordered

The most common reason people encounter a toxicology test is workplace drug screening, either before hiring or after an on-the-job accident. But the uses extend well beyond employment. Emergency physicians order toxicology screens when someone arrives with symptoms of poisoning, overdose, or unexplained altered consciousness. In those situations, identifying the substance quickly can change the course of treatment.

Other common reasons include court-ordered testing during legal proceedings, monitoring during substance use disorder treatment, athletic drug testing for performance-enhancing substances, and verifying that patients on addictive prescription medications are taking them as directed. In rare cases, a patient may request testing themselves, such as in suspected drug-facilitated assault. One important legal distinction: toxicology testing performed for law enforcement is not permitted without the patient’s consent.

What Substances Are Tested

The federal workplace drug testing panel, updated by the Department of Health and Human Services in 2025, covers marijuana, cocaine, opioids (including codeine, morphine, hydrocodone, oxycodone, and fentanyl), amphetamines and methamphetamine, MDMA (ecstasy), and PCP. Fentanyl was a recent addition, reflecting its role in the overdose crisis, and has one of the lowest cutoff thresholds at just 1 nanogram per milliliter in urine.

Clinical toxicology screens in hospitals often cast a wider net, checking for benzodiazepines (anti-anxiety medications), barbiturates, alcohol, and tricyclic antidepressants. Some panels also look for over-the-counter medications that can be misused, like certain cough medicines or laxatives. The specific substances tested depend entirely on the reason for the test and who ordered it.

Sample Types and Detection Windows

Urine is by far the most common specimen for toxicology testing. It’s inexpensive, easy to collect, and works with rapid point-of-care test cups that deliver results in minutes. For most substances, urine provides a detection window of two to four days. There are notable exceptions: marijuana can be detected for up to 30 days in heavy daily users, benzodiazepines taken chronically may show up for 30 days, and alcohol clears from urine in just 12 to 24 hours.

Blood testing is the most accurate for determining what’s actively in your system right now, but it has a short window of roughly 12 to 24 hours for most drugs. Saliva (oral fluid) has a similar short window and is increasingly used in workplace testing because collection is easy to observe, making it harder to tamper with. Sweat patches, worn on the skin for days or weeks, can detect drug use over a one-to-four-week period and are sometimes used in criminal justice monitoring.

Hair testing has the longest detection window by far, reaching four to six months or even longer. Drugs enter hair through the bloodstream as hair grows, creating a timeline of use. Hair samples are painless to collect and people tend to be more willing to provide them compared to urine. The downsides: about one in five people in research studies couldn’t provide a usable sample, and nearly a quarter of those who did had hair too short for full analysis.

Urine Detection Times by Substance

  • Amphetamine or methamphetamine: 2 to 4 days
  • Cocaine: 1 to 3 days
  • Opioids (codeine, morphine): 1 to 3 days
  • Marijuana (casual use): 1 to 3 days
  • Marijuana (daily use): 5 to 10 days
  • Marijuana (chronic use): up to 30 days
  • Benzodiazepines (therapeutic dose): 3 to 7 days
  • Benzodiazepines (chronic dosing): up to 30 days
  • MDMA/ecstasy: 1 to 5 days
  • Alcohol: 12 to 24 hours
  • Methadone: 2 to 4 days
  • PCP: 2 to 7 days (up to 30 days with chronic use)

How Testing Works: Screening vs. Confirmation

Toxicology testing typically happens in two stages. The first is a rapid screening, usually done with a method called immunoassay. This technique uses antibodies that react to drug compounds or their byproducts. It’s fast, convenient, and relatively cheap. Most point-of-care office tests and workplace drug panels use immunoassay for the initial screen.

The problem is that immunoassay isn’t perfectly precise. It works by recognizing the general shape of drug molecules, which means structurally similar compounds can trigger a reaction. In one large study comparing rapid immunoassay results to advanced lab confirmation, about 33% of specimens needed additional testing to clarify the results. The false-positive rates for illicit drugs were low (0% for cocaine, 2% for marijuana), but the method produced false positives for non-opioid drug use in 44% of patients who were being monitored.

When a screening comes back positive, or when precision matters (legal cases, forensic investigations), the sample goes through confirmatory testing. This second stage uses a technology that physically separates and identifies individual molecules, measuring exact concentrations. It’s far more accurate, improving overall results by roughly 9 percentage points in studies, but it takes longer and costs more. A screening result alone, without confirmation, is generally not considered reliable enough for legal or evidentiary use.

Qualitative vs. Quantitative Results

A qualitative test simply answers “yes or no”: is this substance present above a certain threshold? This is what most drug screens provide. The result will typically report a drug class, such as “opiates,” rather than a specific substance like morphine. These thresholds are set at specific cutoff levels. For federal urine testing, the initial screening cutoff for marijuana metabolites is 50 nanograms per milliliter, while the confirmation cutoff drops to 15 ng/mL. Anything below the cutoff registers as negative, even if trace amounts are technically present.

A quantitative test goes further, measuring exactly how much of a substance is in the sample. This requires more complex calibration and is routinely done for alcohol and related compounds. Quantitative results matter in forensic cases, overdose management, and situations where the dose or level of impairment needs to be established.

Clinical vs. Forensic Testing

The context of the test changes how it’s handled. In a clinical setting, like an emergency room or a doctor’s office, the goal is fast answers to guide treatment. The patient is available for follow-up sampling if needed, and results are reported through automated systems. Speed matters more than courtroom-level documentation.

Forensic toxicology operates under much stricter rules. Every sample must follow a documented chain of custody from the moment it’s collected. The person being tested usually isn’t available for resampling. A forensic scientist prepares an official report of conclusions, those findings go through peer review, and the scientist may be called to testify as an expert witness. The methods used must be “forensically defensible,” meaning they can withstand legal scrutiny.

Common Causes of False Positives

One of the most important things to understand about toxicology screening is that a positive result on an initial immunoassay does not necessarily mean you used the drug in question. A wide range of everyday medications can trigger false positives.

Pseudoephedrine (the decongestant in many cold medicines) and phentermine (a weight-loss medication) can cause a false positive for amphetamines. Ibuprofen and naproxen, two of the most common over-the-counter pain relievers, have been linked to false positives for barbiturates and marijuana. Dextromethorphan, the cough suppressant in many OTC cold remedies, can falsely trigger results for both opioids and PCP. Diphenhydramine (the active ingredient in Benadryl) can cause false positives for opioids, PCP, and tricyclic antidepressants.

Prescription medications are also frequent culprits. Bupropion, an antidepressant also used for smoking cessation, can trigger false positives for amphetamines and PCP. Trazodone (a sleep and antidepressant medication) can falsely register as amphetamines. Cyclobenzaprine, a common muscle relaxant, can produce a false positive for tricyclic antidepressants. Even the allergy medication cetirizine has been reported to cause false TCA results.

This is exactly why confirmatory testing exists. If you’re taking any medications, prescription or otherwise, and you’re facing a drug test, providing a complete list of what you take allows the reviewing officer or physician to flag results that may need confirmation before any conclusions are drawn.