This study underscores the critical impact of biological rhythms on self-harm risks among Chinese youth. Targeted lifestyle interventions, focusing on improved sleep and dietary habits, could serve as potent preventive measures. Our findings lay the groundwork for future longitudinal studies to further probe these associations, fostering the creation of tailored interventions to curb self-harm and enhance mental well-being in younger populations.