Wastewater-based epidemiology is a rapidly developing scientific discipline with the potential for monitoring close to real-time, population-level trends in illicit drug use. By sampling a known source of wastewater, such as a sewage influent to a wastewater treatment plant, scientists can estimate the quantity of drugs used in a community from the measured levels of illicit drugs and their metabolites excreted in urine.