Objective To investigate the therapeutic efficacy of vancomycin in treatment of bacterial infection in neonates of different gestational ages and its effects on renal function and hearing loss.Methods A retrospective study was conducted on 41 neonates who received treatment with vancomycin in our hospital from January 2020 to December 2023.They were divided into a preterm group(gestational age 28~36 weeks,n=23)and a full-term group(gestational age 37~42 weeks,n=18).The effective rate,renal function and hearing impairment after treatment were compared between the 2 groups.Results The submission rate of etiolog-ical examination in both groups were 100.0%,and the effective rate showed no statistically significant difference between the premature group(86.96%)and the full-term group(94.99%)(P>0.05).There was no statistically significant difference in the trough concentra-tion of vancomycin between the two groups((12.30±6.30)μg·ml-1 vs(9.88±5.87)μg·ml-1).After injection of vancomycin,the levels of serum creatinine(Scr)and blood urea nitrogen(BUN)were increased in both groups(P<0.05).The blood Scr in the preterm group((43.02±18.98) µmol·L-1)was higher than that in the full-term one((32.45±10.64) µmol·L-1),and the difference was statistically significant(P<0.05).The incidence of hearing loss showed no statistically difference between the premature group and the full-term one(13.04%vs 16.67%,P>0.05).There was no additional abnormal hearing in the remaining children during the follow-up period.Conclusion Vancomycin exhibits promising efficacy in treatment of bacterial infection in both premature and full-term neonates.It elicits more changes on blood Scr in preterm infants.Therefore,it is recommended renal function be closely monitored for preterm infants.