To investigate the application value of next-generation sequencing (NGS) technology in the detection of pathogenic bacteria in the periprosthetic joint infection after arthroplasty. Twenty-two cases of patients with joint infection after arthroplasty in our hospital from March 2020 to March 2021 were selected, with 11 cases of knee and 11 cases of hip, including 8 cases of male and 14 cases of female, and an average age of 63.55 ± 13.11 years old (range from 28 to 85). Microbiological culture results of synovial fluid and periprosthetic joint tissue and NGS results of periprosthetic joint tissue were collected. The detection rate of NGS and microbiological culture were calculated and statistically analysed by paired χ2 test. Among the 22 patients with joint infection after arthroplasty, the positive rate of NGS was 90.91% (20/22), whereas the positive rate of bacterial culture was 50.00% (11/22). Paired chi-square test showed a statistically significant difference in the detection rate between the two groups (P=.0029). In the detection of pathogenic microorganism, NGS detected 12 kinds of bacteria, Staphylococcus aureus in 3 patients, Staphylococcus epidermidis in 5 cases, Streptococcus 1 case, Streptococcus dysgalactiae 1 case, Xanthomonas campestris 3 cases, Escherichia coli 2 cases, Bacillus cereus 2 cases, Klebsiella pneumoniae 1 case, Finegoldia magna 1 case, Corynebacterium klopensteriella in 1 case, Brucella 1 case, and Aspergillus flavus 1 case. Bacterial culture detected 6 kinds of bacteria, included 5 cases of Staphylococcus epidermis (including 3 cases of Methicillin-resistant coagulase-negative Staphylococcus, (MRSCoN)), 2 cases of Staphylococcus aureus (both Methicillin-resistant Staphylococcus aureus, (MRSA)), 1 case of Klebsiella pneumoniae, 1 case of Staphylococcus hominis (MRSCoN), 1 case of G+ bacillus, and 1 case of Brucella. Compared with bacterial culture, NGS technology has some advantages in the detection efficiency, detection rate, and comprehensiveness, which might be greater diagnostic value in the joint fluid of infection after arthroplasty.