Repeated learning sessions produce long-lasting memory when they are spaced out between rest intervals. Neuroscientists have discovered that this so-called "spacing effect" is controlled in the brain by a molecular timer -- a protein that determines how long rest intervals need to last for long-term memory to form.