By extending the coherence time of electron states to over half a second, scientists have improved the performance of one of the most potent sensors of magnetic fields on the nanoscale — a diamond defect no bigger than a pair of atoms called a nitrogen vacancy center. The achievement is important news for nanoscale sensors and quantum computing.