This study examines the impact of adverse childhood experiences on the mental health of older adults and explores the role of physical and cognitive functions as mediators. It also finds that the number of children moderates the relationship, with ACEs having a stronger effect on mental health for older adults with fewer children.