Objective To understand the current status of screen time of Guangxi junior middle school students, and to analyze its influencing factors, so as to provide scientific basis for preventing and controlling the excessive screen time of junior middle school students. Methods A total of 2 834 junior middle school students were selected for performing a questionnaire survey from 4 prefecture⁃level cities in Guangxi by using the multi⁃stage stratified cluster sampling method, and their basic information with respect to gender, age, grade, family address, nationality, parents' educational level, parents' affection, academic performance, family economic conditions, caregivers, etc., were investigated. The screen time of junior middle school students in the last 30 days of study and rest days was also inquired. The Generalized Anxiety Disorder⁃7 Items and Patient Health Questionnaire⁃9 Items were used to evaluate the occurrence of anxiety and depression in junior middle school students. The multivariate Logistic regression model was used to analyze the influencing factors for excessive screen time in junior middle school students. Results The detection rate of excessive screen time on study and rest days was 18.4% and 42.2% in junior middce school students, respectively. There were statistically significant differences in nationality, academic performance, father's educational level, parents' affection, left⁃behind situation, caregivers, depression and anxiety between the students with excessive screen time on study days and those with screen time <2 hours per day on study days (P<0.05). There were statistically significant differences in age, grade, family address, nationality, parents' affection, left⁃behind situation, caregivers, depression and anxiety between the students with excessive screen time on rest days and those with screen time <2 hours per day on rest days (P<0.05). The results of multivariate Logistic regression analysis indicated that on study day, other minorities, average/poor academic performance, poor parents' affection, severe depression, moderate and severe anxiety were the independent risk factors for excessive screen time in junior middle school students (P<0.05). On rest days, grade 1 and 2, family address in county/town, Zhuang nationality and other minorities, poor parents' affection, left⁃behind, depression, and moderate anxiety were the independent risk factors for the occurrence of excessive screen time for junior middle school students (P<0.05). Conclusion The incidence rate of excessive screen time on study days is significantly lower than that on rest days among junior middle school students in Guangxi. Nationality, academic performance, grade, family address, parents' affection, left⁃behind situation, anxiety and depression are the influencing factors for screen time among junior middle school students. It is recommended that regular health education and school⁃family joint supervision should be carried out to prevent and control the occurrence of excessive screen time among junior middle school students.