A novel FAD-dependent thymidylate synthase, ThyX, is present in a variety of eubacteria and archaea, including the mycobacteria. A short motif found in all thyX genes, RHRX 7-8 S, has been identified. The three-dimensional structure of the Mycobacterium tuberculosis ThyX enzyme has been solved. Building upon this information, we used directed mutagenesis to produce 67 mutants of the M. tuberculosis thyX gene. Each enzyme was assayed to determine its ability to complement the defect in thymidine biosynthesis in a ⌬thyA strain of Escherichia coli. Enzymes from selected strains were then tested in vitro for their ability to catalyze the oxidation of NADPH and the release of a proton from position 5 of the pyrimidine ring of dUMP. The results defined an extended motif of amino acids essential to enzyme activity in M. tuberculosis (Y44X 24 H69X 25 R95H RX 7 S105XRYX 90 R199 [with the underlined histidine acting as the catalytic residue and the underlined serine as the nucleophile]) and provided insight into the ThyX reaction mechanism. ThyX is found in a variety of bacterial pathogens but is absent in humans, which depend upon an unrelated thymidylate synthase, ThyA. Therefore, ThyX is a potential target for development of antibacterial drugs.