I study the neural dynamics of spatial learning using miniaturized microscopes to record the activity of hundreds of neurons while animals are freely behaving and solving a spatial task.