The blue stuff in the toilet during a drug test is a bluing agent, a simple dye added to the toilet bowl water to prevent you from using that water to dilute or tamper with your urine sample. If you scooped toilet water into your specimen cup, the blue tint would be visible to the collector, immediately flagging the sample as compromised.
Why the Dye Is There
During a supervised or unsupervised urine collection, you’re typically alone in the restroom. That privacy creates an opportunity to add toilet water to the specimen cup, which would dilute the urine and potentially lower drug concentrations below detectable levels. The bluing agent acts as a visible marker. If any toilet water gets mixed into the sample, the collector will see the blue color during their inspection and know the specimen has been tampered with.
Collectors are trained to check every sample for unusual color, foreign material, excessive foaming, or chemical smells like bleach. A specimen that comes back with a blue tint triggers an immediate second collection, this time under direct observation, meaning someone watches you produce the sample. The original specimen gets discarded.
What the Bluing Agent Actually Is
The bluing agent is a commercially available blue dye, essentially the same type of product used in toilet bowl cleaning tablets. It’s not a sophisticated chemical. Its only job is to turn the water a visible blue so any mixing would be obvious. Federal guidelines from the Substance Abuse and Mental Health Services Administration (SAMHSA) simply describe it as “bluing agent” without specifying a particular brand or chemical formula, because the exact product doesn’t matter as long as it colors the water.
The dye is harmless and doesn’t interact with the drug test itself. It’s placed in both the toilet bowl and the water tank so that even flushing won’t remove the color.
Federal Rules Require It
Bluing the toilet isn’t optional in most regulated testing situations. Under Department of Transportation rules (49 CFR Part 40), collection sites using multi-stall restrooms must either place bluing agent in all toilets and secure water sources, or conduct every collection as a monitored collection with someone present. SAMHSA’s federal workplace drug testing handbook gives the same instruction: put bluing agent in the toilet bowl and water tank before each collection.
If no bluing agent is available, or if the toilet has an automatic flushing system that would rinse the dye away, the collector is required to turn off the water supply and flush the toilet so no usable water remains in the bowl. The goal is the same either way: make sure there’s no clean water you could use to dilute the sample.
Other Anti-Tampering Measures
The blue dye is just one part of a broader set of precautions. Before you enter the restroom, collectors are supposed to secure or turn off faucets, remove soap dispensers and cleaning products, and restrict access to anything that could be added to the specimen. SAMHSA guidelines specifically call out soap, disinfectants, and cleaning agents as items that need to be out of reach. You’ll typically be asked to wash your hands before the collection, after which the water source gets shut off or secured until you’ve finished.
You’re also usually asked to empty your pockets and leave bags, coats, and other personal items outside the collection area. The collection cup has a temperature strip on it, so the collector can verify that the specimen falls within the expected body temperature range (90 to 100°F) within a few minutes of collection. A sample that’s too cold suggests it didn’t come directly from your body.
What Happens if the Sample Looks Wrong
After you hand over the cup, the collector inspects it right away. They’re looking for any sign that the specimen isn’t a straightforward, unaltered urine sample. Blue coloring is the most obvious red flag from toilet water contamination, but they also check for unusual foaming (which can indicate soap or certain chemicals), strange odors, or a temperature outside the normal range.
If the collector determines the sample has been adulterated or substituted, the result is an immediate second collection under direct observation. This isn’t treated as a “do-over” in a neutral sense. In DOT-regulated testing, a confirmed adulterated or substituted specimen is reported as a refusal to test, which carries the same consequences as a positive result.

