The introduction of azole heterocycles into a peptide backbone is the principal step in the biosynthesis of numerous compounds with therapeutic potential. One of them is microcin B17, a bacterial topoisomerase inhibitor whose activity depends on the conversion of selected serine and cysteine residues of the precursor peptide to oxazoles and thiazoles by the McbBCD synthetase complex. Crystal structures of McbBCD reveal an octameric B 4 C 2 D 2 complex with two bound substrate peptides. Each McbB dimer clamps the N-terminal recognition sequence, while the C-terminal heterocycle of the modified peptide is trapped in the active site of McbC. The McbD and McbC active sites are distant from each other, which necessitates alternate shuttling of the peptide substrate between them, while remaining tethered to the McbB dimer. An atomic-level view of the azole synthetase is a starting point for deeper understanding and control of biosynthesis of a large group of ribosomally synthesized natural products. A topoisomerase inhibitor microcin B17 of Escherichia coli is synthesized from a ribosomally made precursor by conversion of serine and cysteine residues to thiazole and oxazole rings. Ghilarov et al. solved the crystal structure of octameric cyclodehydratase/dehydrogenase complex McbBCD, reconciling data from almost 30 years of studies.