A new theoretical study led by researchers at the University of Chicago and Argonne National Laboratory has identified the microscopic mechanisms by which diamond surfaces affect the quantum coherence of nitrogen-vacancy (NV) centers—defects in diamond that underpin some of today's most sensitive quantum sensors. The study has appeared in Physical Review Materials and was selected to be an Editors' Suggestion paper.