This study aims to evaluate four pacemaker pocket cleaning methods for preventing implantation‐related infections. This single‐center trial prospectively randomized 910 patients undergoing first‐time pacemaker implantation or replacement into four pocket cleaning methods: hemocoagulase (group A, n = 228), gentamicin (group B, n = 228), hemocoagulase plus gentamicin (group C, n = 227), and normal saline (group D, n = 227). Before implanting the pacemaker battery, the pockets were cleaned with gauze presoaked in the respective cleaning solutions. Then, these patients were followed up to monitor the occurrence of infections for 1 month after implantation. Twelve implantation‐related infections occurred in 910 patients (1.32%): four patients from group A (1.75%), three patients from group B (1.32%), two patients from group C (0.88%), and three patients from group D (1.32%) (P >.05). Furthermore, two patients developed bloodstream infections (0.22%), and both of these patients were associated with pocket infection (one patient was from group A, while the other patient was from group C, respectively). No cases of infective endocarditis occurred. The differences in the number of infections in these study groups were not statistically significant. The application of hemocoagulase, gentamicin, hemocoagulase plus gentamicin, or normal saline on the presoaked gauze before implantation was equally effective in preventing pocket‐associated infections. [ABSTRACT FROM AUTHOR]