BPH-651 is a compound with antibacterial activity and has the activity to inhibit dehydrosqualene synthase. BPH-651 can bind to different sites of dehydrosqualene synthase, providing structural clues for the mechanism and inhibition of head-to-head prenyltransferase, which will help future compound design.