Two genes with sequence homology to those encoding protein tyrosine phosphatases were cloned from genomic DNA of Mycobacterium tuberculosis H 37 Rv. The calculated molecular masses of these two putative tyrosine phosphatases, designated MPtpA and MPtpB, were 17.5 and 30 kDa, respectively. MPtpA and MPtpB were expressed as glutathione S-transferase fusion proteins in Escherichia coli. The affinity-purified proteins dephosphorylated the phosphotyrosine residue of myelin basic protein (MBP), but they failed to dephosphorylate serine/threonine residues of MBP. The activity of these phosphatases was inhibited by sodium orthovanadate, a specific inhibitor of tyrosine phosphatases, but not by okadaic acid, an inhibitor of serine/threonine phosphatases. Mutations at the catalytic site motif, cysteine 11 of MPtpA and cysteine 160 of MPtpB, abolished enzyme activity. Southern blot analysis revealed that, while mptpA is present in slow-growing mycobacterial species as well as fast-growing saprophytes, mptpB was restricted to members of the M. tuberculosis complex. These phosphatases were present in both whole-cell lysates and culture filtrates of M. tuberculosis, suggesting that these proteins are secreted into the extracellular medium. Since tyrosine phosphatases are essential for the virulence of several pathogenic bacteria, the restricted distribution of mptpB makes it a good candidate for a virulence gene of M. tuberculosis.