Wastewater‐based epidemiology (WBE) is a reliable means to estimate drug consumption in a specific population. By measuring the concentration of drug residues or metabolites in wastewater, the consumption behavior pattern of a specific population can be deduced. Using the WBE method, the present study, for the first time, continuously monitored the differences in the consumption of morphine (MOR), codeine (CODE), and methamphetamine (METH) in three wastewater‐treatment plants in a city and two surrounding villages in Xinjiang, China during International Workers' Day and the following week. The wastewater samples were pretreated by solid‐phase extraction and then analyzed by high‐performance liquid chromatography–tandem mass spectrometry. Methamphetamine was not detected in rural areas and was detected only on International Workers' Day in urban areas. According to the estimation of per capita consumption, the per capita consumption of MOR, CODE, and METH in urban inhabitants was 12.04 to 23.39, 10.44 to 16.39, and 1.31 mg/day/1000 inhabitants. The per capita consumption of MOR and CODE in rural areas was 5.19 to 8.35 and 2.56 to 3.52 mg/day/1000 inhabitants. The consumption of MOR in urban and rural areas was significantly higher than that of CODE and METH. During International Workers' Day, workdays, and weekends, the consumption of MOR and CODE in urban areas is significantly higher than that in rural areas. Compared with those on weekends, the consumption of urban MOR and CODE increased more during International Workers' Day. The consumption of MOR in urban areas showed a weekend effect. The present study can provide information for subsequent research and government departments. Environ Toxicol Chem 2024;00:1–9. © 2024 SETAC