How Are Drug Tests Done: Samples, Labs & Results

Drug tests work by collecting a biological sample, screening it for traces of specific substances, and then confirming any positive results with a more precise second test. The most common sample type is urine, but tests can also use saliva, blood, or hair depending on the situation. Here’s what actually happens at each stage, from the collection to the final result.

Types of Samples and How They’re Collected

The type of specimen collected depends on what the test is trying to detect and how far back it needs to look.

Urine is the standard for most workplace and legal testing. You provide a sample in a restroom at a collection site, sometimes with a monitor nearby or a temperature check on the cup to prevent tampering. The sample is split into two containers: one for the initial screening and one held in reserve for a confirmatory test if needed.

Oral fluid (saliva) is collected either by placing an absorbent pad against the inside of your cheek or by spitting into a collection tube. The pad sits in your mouth until it absorbs enough fluid, indicated by a volume marker on the device. The U.S. Department of Transportation now authorizes oral fluid testing as an alternative to urine for federally regulated employees, and it’s becoming more common because the collection can happen in plain sight, making it harder to substitute or tamper with a sample.

Blood testing requires a standard blood draw performed by a medical professional. It’s typically reserved for situations where someone is suspected of being actively impaired, such as after a workplace accident or a traffic stop. Drugs clear from the bloodstream within minutes to hours, so blood testing captures what’s in your system right now rather than what was there days ago.

Hair testing involves cutting a small sample of hair close to the scalp, usually from the back of the head. The lab washes the hair to remove surface contamination, then dissolves it using chemical extraction to release any drug compounds trapped inside the hair shaft. Hair grows at a relatively predictable rate, so a 1.5-inch sample represents roughly 90 days of history.

The Two-Step Lab Process

Nearly all drug testing follows a two-step approach: a fast initial screen, followed by a slower, more precise confirmation if anything flags positive.

The initial screen uses a technique called immunoassay. This is a chemical reaction that identifies whether a substance (or something chemically similar to it) is present above a set threshold. Immunoassays are fast and inexpensive, which is why labs can process large volumes of samples quickly. The trade-off is precision. These tests have a specificity around 96%, meaning they rarely flag a clean sample as positive. But their sensitivity, the ability to catch every true positive, can be much lower. For certain drugs at low concentrations, immunoassays miss a significant portion of positives.

If the initial screen comes back positive, the lab runs a confirmatory test using a technology called mass spectrometry. This method physically separates and identifies the exact molecular structure of compounds in the sample. It can distinguish between the actual drug and a chemically similar substance that triggered the first screen. Mass spectrometry is the gold standard for legal and forensic purposes because its results are highly repeatable and specific enough to identify individual drugs rather than just drug families.

What the Test Is Looking For

Drug tests don’t scan for every substance imaginable. They screen for a defined panel of drug categories, each with a specific concentration threshold. If the amount in your sample falls below that threshold, the result is reported as negative, even if trace amounts are present.

The federal workplace testing panel covers marijuana, cocaine, opioids (including fentanyl), amphetamines, and MDMA. For urine, the initial screening threshold for marijuana metabolites is 50 ng/mL, dropping to 15 ng/mL on the confirmatory test. Cocaine’s initial cutoff is 150 ng/mL. Fentanyl has one of the lowest thresholds at just 1 ng/mL, reflecting both its potency and the very small amounts that appear in urine.

Oral fluid cutoffs are set much lower across the board because drug concentrations in saliva are naturally smaller. Marijuana’s initial threshold in oral fluid is 4 ng/mL, and cocaine’s is 15 ng/mL. These panels and cutoffs were updated by the U.S. Department of Health and Human Services, with the latest authorized panels taking effect in July 2025.

Private employers aren’t always bound by these exact federal cutoffs. Some use expanded panels that include additional substances like benzodiazepines, barbiturates, or alcohol metabolites.

How Long Drugs Stay Detectable

Detection windows vary widely depending on the substance, how often it’s been used, and the type of sample collected. In urine, the general ranges are:

  • Marijuana (THC): 1 to 45 days. Infrequent users typically clear within a few days. Daily, long-term users can test positive for weeks because THC stores in body fat and releases slowly.
  • Cocaine: 1 to 2 days
  • Amphetamines: 1 to 7 days
  • Opioids: 1 to 3 days for most (codeine, oxycodone, morphine), though methadone can linger for up to 14 days and fentanyl up to 7 days
  • Benzodiazepines: 1 to 20 days depending on the specific drug. Short-acting types clear in a day or two, while others persist for over two weeks
  • Alcohol (measured as metabolites): 1 to 4 days

Blood has the shortest window, often just hours. Oral fluid generally falls between blood and urine. Hair has the longest window at roughly 90 days, but it takes about a week after use for drug traces to grow out from the scalp and become detectable.

Common Causes of False Positives

Immunoassay screens can be tripped by substances that are chemically similar to the drugs being tested for. This is one of the main reasons the two-step process exists. Some well-documented triggers include:

  • Amphetamine false positives: Pseudoephedrine and phenylephrine (found in cold medicines), bupropion (an antidepressant and smoking cessation aid), certain nasal decongestant inhalers containing levomethamphetamine, and the weight-loss drug phentermine
  • Opioid false positives: Dextromethorphan (the cough suppressant in many over-the-counter cold products), certain antibiotics in the quinolone family, and rifampin
  • Marijuana false positives: Proton pump inhibitors used for acid reflux, certain anti-inflammatory drugs, and hemp-containing foods
  • PCP false positives: Diphenhydramine (the active ingredient in Benadryl), ibuprofen, dextromethorphan, and venlafaxine (an antidepressant)

If you’re taking any of these medications, the confirmatory mass spectrometry test will almost always clear the false positive because it identifies the exact molecular compound rather than reacting to a similar chemical shape. This is why a positive screening result alone isn’t treated as a final answer.

Chain of Custody and Tamper Checks

For any test that could have legal or employment consequences, the sample goes through a documented chain of custody from the moment it’s collected. Every person who handles the specimen signs a Federal Custody and Control Form (CCF), which records the collector’s identity, the collection site’s actual address, and the employer and reviewing physician’s contact information. No personal identifying information beyond an ID number travels with the sample to the lab, keeping results separated from identifying details until a medical review officer evaluates them.

Labs also run validity checks on every urine specimen. They measure creatinine concentration and pH to make sure the sample is consistent with normal human urine. If creatinine is unusually low, the lab checks specific gravity as well. These tests catch samples that have been diluted with water, substituted with a synthetic product, or spiked with an adulterant designed to interfere with the immunoassay. A sample that fails validity testing is reported as “substituted” or “invalid,” which typically means you’ll need to test again under direct observation.