Background: Hip fractures are among the top ten causes of disability in adults worldwide. Patients with hip fracture are at significant risk of mortality and morbidity and reduced quality of life. This study was conducted with the aim of investigating the effect of intra-articular vancomycin in preventing infection in patients undergoing hip hemiarthroplasty. Materials and Methods: This double-blind controlled clinical trial study was conducted on 48 patients with femoral neck fracture candidates for hip hemiarthroplasty hemiarthroplasty in Orthopedic clinic of Golestan and Imam Khomeini Hospital, Ahvaz, Iran between June and November 2023. Eligible patients were divided into two equal groups. The intervention group received 1gram vancomycin intra-articularly during the operation before closure of fascia, and the control group did not receive vancomycin. The patients were followed up for 6 months after the operation, and the rate of superficial infection, periprosthetic joint infection (PJI) and wound complications were compared in two groups. The obtained data were statistically analyzed with IBM SPSS Statistics 21.0 for Windows. Results: The vancomycin group and the control group had no significant difference in the incidence of overall infection. The PJI in vancomycin and control groups were 4.16% and 8.33%, respectively. This difference was not statistically considerable (P=0.55). The results showed the incidence of superficial estimated 8.33% in vancomycin group and 4.16% in control group with no considerable difference in infection (P=0.52). Moreover, there was no meaningful difference in side effects between the two groups (P=0.63). There was no significant difference in wound complications between the two groups (P=0.3). . Conclusion: Intra-articular injection of 1gram of vancomycin suspension did not reduce the overall, superficial and deep infection after surgery. It is suggested that more clinical trial studies with higher sample size be conducted.