The timely identification of the high-risk groups for nosocomial infections (NIs) plays a vital role in its prevention and control. Therefore, it is crucial to investigate whether the ABO blood group is a risk factor for NI. In this study, patients with NI and non-infectionwere matched by the propensity score matching method and a logistic regression model was used to analyse the matched datasets. The study found that patients with the B&AB blood group were susceptible to Escherichia coli (OR = 1.783, p = 0.039); the A blood group were susceptible to Staphylococcus aureus (OR = 2.539, p = 0.019) and Pseudomonas aeruginosa (OR = 5.724, p = 0.003); the A&AB blood group were susceptible to Pseudomonas aeruginosa (OR = 4.061, p = 0.008); the AB blood group were vulnerable to urinary tract infection (OR = 13.672, p = 0.019); the B blood group were susceptible to skin and soft tissue infection (OR = 2.418, p = 0.016); and the B&AB blood group were vulnerable to deep incision infection (OR = 4.243, p = 0.043). Summarily, the patient’s blood group is vital for identifying high-risk groups for NIs and developing targeted prevention and control measures for NIs.