Tuberculosis (TB), caused by infections of the Mycobacterium tuberculosis (MTB) complex, is the ninth leading cause of death worldwide, and several molecular approaches for MTB species identification and the detection of mutations associated with drug resistance have been developed to date. We previously developed a diagnostic assay for drug susceptibility testing that can detect mutations conferring resistance to anti-TB drugs using allele-specific primer extension on a microsphere-based platform for multiplex polymerase chain reaction. The aim of the present study was to optimize this diagnostic assay based on the evaluation of three methods for extracting mycobacterial DNA from clinical samples. Mycobacterial DNA of 81 samples was digested and decontaminated by N-acetyl-l-cysteine-2% NaOH and then extracted using three methods: “in-house” 5% Chelex-100 chelating resin, InstaGene Matrix, and MagPurix TB DNA Extraction Kit. The former two methods are manual extraction methods, whereas the MagPurix TB DNA Extraction Kit is an automated extraction method used with the MagPurix 12 s automated nucleic acid purification system. The extracted DNA was then subjected to our diagnostic assay, and the results were compared among methods. The magnetic bead method exhibited a higher extraction efficiency and resulted in greater diagnostic efficacy than the two resin-based methods with respect to both target gene detection and acid-fast bacilli smear grades. Therefore, the MagPurix TB DNA Extraction Kit is the optimal MTB DNA extraction method for our diagnostic assay of TB drug susceptibility testing.