The anaphase-promoting complex (APC) is a ubiquitin-protein ligase required for the completion of mitosis in all eukaryotes. Recent mechanistic studies reveal how this remarkable enzyme combines specificity in substrate binding with flexibility in ubiquitin transfer, thereby allowing the modification of multiple lysines on the substrate as well as specific lysines on ubiquitin itself.