Taking longer breaks during learning was associated with improved neural activity in the prefrontal cortex and better learning outcomes and memory retention in mice.