Following introduction of CRISPR-Cas9 components into a cell, genome editing occurs unabated until degradation of its component nucleic acids and proteins by cellular processes. This uncontrolled reaction can lead to unintended consequences including off-target editing and chromosomal translocations. To address this, we develop a method for light-induced degradation of sgRNA termed CRISPRoff. Here we show that light-induced inactivation of ribonucleoprotein attenuates genome editing within cells and allows for titratable levels of editing efficiency and spatial patterning via selective illumination.