A study tracking thousands of neurons shows how the brain separates memory content from context to support flexible recall.