Introduction Rapid identification of Mycobacterium tuberculosis (MTB), its resistance to rifampicin and differentiation of MTB from nontuberculous mycobacteria (NTM) is necessary in the management of mycobacterial diseases. Culture, the "gold standard" for the detection of MTB, is time consuming. In spite of its rapidity and low cost, smear microscopy has poor sensitivity for the detection of acid-fast bacilli (AFB). A real-time PCR based rapid diagnostic method like GeneXpert MTB/RIF assay can simultaneously detect M. tuberculosis and rifampicin (RIF) resistance. Hence, we aim to compare the performance of GeneXpert MTB/RIF assay with smear microscopy and culture. Methods In this descriptive cross-sectional study, we compared the performance of GeneXpert in pulmonary (N=127) and extrapulmonary (N=48) clinical specimens with other diagnostic methods like culture, Auramine O (AO), and Ziehl Neelsen (ZN) staining. Rifampicin resistance was detected only by GeneXpert. Demographic data and clinical history of the subjects were collected from the patient's hospital records.Results AO and ZN staining when compared with mycobacterial growth indicator (MGIT) culture showed the sensitivity, specificity, positive predictive value (PPV), negative predictive value (NPV) and accuracy of 68.