IspH, also called LytB, a protein involved in the biosynthesis of isoprenoids through the methylerythritol phosphate pathway, is an attractive target for the development of new antimicrobial drugs. Here, we report crystal structures of Escherichia coli IspH in complex with the two most potent inhibitors: (E)-4-mercapto-3-methylbut-2-en-1-yl diphosphate (TMBPP) and (E)-4-amino-3-methylbut-2-en-1-yl diphosphate (AMBPP) at 1.95 and 1.7 Å resolution, respectively. The structure of the E. coli IspH:TMBPP complex exhibited two conformers of the inhibitor. This unexpected feature was exploited to design and evolve new antimicrobial candidates in silico.