BackgroundEnhancing the academic performance (AP) of college students can contribute to the overall scientific literacy among this population, thereby fostering societal progress.ObjectiveThe study investigates the correlation between college students’ AP and the socio-educational environment (SEE, including family, roommates, and teachers), study motivation (SM, including self-efficacy and study behaviors). Based on the research findings, recommendations are offered to students, educators, and school administrators.SettingsUtilizing a stratified sampling approach, data was collected by selecting a sample of 330 first-year computer science students from a specific local university in Hebei Province, China.MethodsData will be collected through a hierarchical sampling method. Using correlation analysis, difference analysis, and structural equation modeling (SEM) as data analysis methods. The data passed reliability and validity analysis (Cronbach’s Alpha = 0.88, KMO = 0.88, χ2/df = 1.49RMSEA = 0.04).ResultsThe independent sample T-test results showed that female students had higher academic performance than male students (p < 0.001), and there was no significant difference in academic performance between students from single parent or orphan families and students from normal families (p = 0.14), from non urban areas and from urban areas (p = 0.67). The results of the mediating effect analysis indicate that SM exerts complete mediation in the association between SEE and AP, with a mediating effect value of 0.18.ConclusionThe educational disparity between urban and rural areas in China is gradually narrowing. Support policies for students from impoverished families in higher education institutions are showing initial effectiveness. The conducive learning environment and educational atmosphere for students can indirectly influence their psychological state, thus impacting their academic performance during their university years.