Hydrogel-based sorbents show promise in the removal of toxic metals from water. However, optimizing their performance through conventional trial-and-error methods is both costly and challenging due to the inherent high-dimensional parameter space associated with complex condition combinations. In this study, machine learning (ML) was employed to uncover the relationship between the fabrication condition of hydrogel sorbent and their efficiency in removing toxic metals. The developed XGBoost models demonstrated exceptional accuracy in predicting hydrogel adsorption coefficients (K