Target-directed dynamic combinatorial chemistry (tdDCC) enables identification, as well as optimization of ligands for un(der)explored targets such as the anti-infective target 1-deoxy-D-xylulose-5-phosphate synthase (DXPS). We report the use of tdDCC to first identify and subsequently optimize binders/inhibitors of the anti-infective target DXPS. The initial hits were also optimized for their antibacterial activity against E. coli and M. tuberculosis during subsequent tdDCC runs. Using tdDCC, we were able to generate acylhydrazone-based inhibitors of DXPS. The tailored tdDCC runs also provided insights into the structure-activity relationship of this novel class of DXPS inhibitors. The competition tdDCC runs provided important information ...