UC San Francisco researchers have discovered a way to switch off the widely used CRISPR-Cas9 gene-editing system using newly identified anti-CRISPR proteins that are produced by bacterial viruses. The technique has the potential to improve the safety and accuracy of CRISPR applications both in the clinic and for basic research.