A rapid and timely response to the impacts of mercury chloride, which is indispensable to the chemical industry, on aquatic organisms is of great significance. Here, we investigated whether the YOLOX (improvements to the YOLO series, forming a new high-performance detector) observation system can be used for the rapid detection of the response of Daphnia magna targets to mercury chloride stress. Thus, we used this system for the real-time tracking and observation of the multidimensional motional behavior of D. magna. The results obtained showed that the average velocity (v¯), average acceleration (a¯), and cumulative travel (L) values of D. magna exposed to mercury chloride stress changed significantly under different exposure times and concentrations. Further, we observed that v¯, a¯ and L values of D. magna could be used as indexes of toxicity response. Analysis also showed evident D. magna inhibition at exposure concentrations of 0.08 and 0.02 mg/L after exposure for 10 and 25 min, respectively. However, under 0.06 and 0.04 mg/L toxic stress, v¯ and L showed faster toxic response than a¯, and overall, v¯ was identified as the most sensitive index for the rapid detection of D. magna response to toxicity stress. Therefore, we provide a strategy for tracking the motile behavior of D. magna in response to toxic stress and lay the foundations for the comprehensive screening of toxicity in water based on motile behavior.