Objective: We aimed to clarify the epidemic features and variation trend in nosocomial infections and analyze risk factors related to nosocomial infections to provide a scientific basis for formulating targeted nosocomial infection prevention and control measures. Methods: We determined the prevalence rate of nosocomial infection among inpatients over 6 years. Results: Overall, 9901 inpatients were included from 2018 to 2023. The actual survey rate was 100% every year. The average prevalence rate of nosocomial infection was 3.38% and the average case prevalence rate was 4.57%. The prevalence rate in the intensive care unit decreased over the 6-year period. The most frequently occurring infections were lower respiratory tract infections (55.09%), followed by urinary tract infections (21.24%). Klebsiella pneumoniae (19.20%), Escherichia coli (15.76%), Pseudomonas aeruginosa (15.76%), and Acinetobacter baumannii (10.89%) were the most frequently isolated microorganisms. Multidrug-resistant A. baumannii and extended-spectrum beta-lactamase-producing (ESBL -E. coli) showed an increasing tendency. There was no significant difference in the rate of specimen submission for bacterial culture, and the positive rate of bacterial culture decreased significantly. Conclusion: The prevalence rate can objectively reflect the current situation of nosocomial infections in a hospital and can be used to devise reliable prevention and control measures to reduce the incidence of nosocomial infections to a minimal level.