Objective To understand the mental health level and influencing factors of medical staff in Fengxian District of Shanghai City, and provide scientific basis for improving the mental health status of medical staff. Methods From November to December 2023, a questionnaire survey was conducted to collect symptom checklist-90(SCL-90) score data from 813 medical staff in Fengxian District of Shanghai City, and the data were analyzed. Results The total score of SCL-90 scale of medical staff in Fengxian District of Shanghai City was (132.56±54.13)points, and there was no statistically significant difference compared with the national norm in 2015. The scores of somatization, depression and photicanxiety were all higher than the national norm, while the scores of interpersonal sensitivity was lower than the national norm, and the differences were statistically significant(all P<0.05). The positive detection rate of SCL-90 scale of medical staff in Fengxian District of Shanghai City was 36.7%, the top three positive screening factors were obsessive-compulsive(30.75%), sleepdiet(24.11%) and depression(20.66%). Shift work on weekends was the influencing factor of interpersonal sensitivity(OR=3.027, 95%CI:1.187-7.715), depression(OR=2.988, 95%CI:1.265-7.055) hostility(OR=2.048, 95%CI:1.019-5.689) and paranoidideation(OR=2.886, 95%CI:1.020-8.617);Frequent standing was the influencing factor of somatization(OR=1.919, 95%CI:1.163-3.166), anxiety(OR=1.847, 95%CI:1.108-3.080), photicanxiety(OR=2.002, 95%CI:1.099-3.646), paranoidideation(OR=2.062, 95%CI:1.198-3.548) and psychoticism(OR=2.754, 95%CI:1.475-5.141). Drinking before 30 days was the influencing factor of somatization(OR=1.854, 95%CI:1.187-2.897), interpersonal sensitivity(OR=2.047, 95%CI:1.304-3.213), depression(OR=1.838, 95%CI:1.196-2.825), anxiety(OR=1.760, 95%CI:1.107-2.799), hostility(OR=1.653, 95%CI:1.050-2.601), photicanxiety(OR=1.943, 95%CI:1.142-3.306), paranoidideation(OR=1.878, 95%CI:1.159-3.045) and psychoticism(OR=2.292, 95%CI:1.351-3.890). Conclusion The overall mental health status of medical staff in Fengxian District of Shanghai City is good. It is necessary to pay attention to the influence of weekend shifts, frequent standing and drinking behavior on the positive rate of psychological symptom factors of medical staff.