The hippocampus is known to support navigation, but how it processes possible paths to aid navigation is unknown. Here Javadiet al. show that entering streets drives hippocampal activity corresponding to the number of future paths, and that prefrontal activity corresponds to path-planning demands.