Mycobacterium tuberculosis remains a widespread and devastating human pathogen. Presented here is the characterization of an atypical class I diterpene cyclase from M. tuberculosis that catalyzes an unusual cyclization reaction in converting the known M. tuberculosis metabolite halimadienyl diphosphate to a further cyclized novel diterpene, which we have termed edaxadiene, as it directly inhibits maturation of the phagosomal compartment in which the bacterium is taken up during infection.