A PNAS study using intracranial recordings in 19 epilepsy patients shows how three brain regions coordinate during sleep to consolidate memory.