Naturally pyrazinamide (PZA)-resistant Mycobacterium bovis and acquired PZA-resistant M. tuberculosis strains lose pyrazinamidase (PZase). To investigate the molecular mechanism of PZA resistance, we have cloned the gene (pncA) encoding M. tuberculosis PZase. Mutations in pncA were identified in both types of PZA-resistant strains, and transformation of these strains with a functional pncA gene restored PZase activity and PZA susceptibility. These findings, besides providing the basis for understanding how PZA works, should have implications for rapid detection of PZA-resistant clinical isolates of M. tuberculosis and also for rapid differentiation of M. bovis from M. tuberculosis strains.