| Objective To investigate the mediating effect of coping style on family caring degree and psychological stress of mothers with inguinal hernia surgery. Methods A total of 105 mothers of children with inguinal hernia who underwent surgical treatment in the First Affiliated Hospital of Anhui Medical University from February 2021 to February 2022 were enrolled in cross-sectional investigation. The family caring degree, coping style and psychological stress were investigated by using the general data questionnaire, Family Caring Index(APGAR), simple coping style questionnaire and stress perception Scale(PSS), and the relationship between family caring degree, coping style and psychological stress was analyzed. Results The average APGAR score of the mothers was(5.82±0.68), the average score of positive coping and negative coping was(1.75±0.48) and(1.58±0.62), respectively, and the overall PSS score was(29.31±5.02). The total APGAR score and the scores of each dimension were positively correlated with the positive coping style(r=0.368~0.573, P<0.05) and PSS score(r=0.677~0.703, P<0.05), but negatively correlated with the negative coping style(r=-0.347~0.672, P<0.05). There was also a significant correlation between coping style scores and PSS(r=0.634 or -0.620, P<0.001). There was a mediating effect between the degree of family care and the psychological stress of the mother, accounting for 43.21%. Conclusions The mother's psychological stress is related to the degree of family care in children with inguinal hernia surgery, and the coping style may have a mediating effect, and a good degree of family care can help alleviate the mother's psychological stress.