How mechanisms that regulate energy balance are integrated with environmental cues such as food location is poorly understood. Dysfunction of the hippocampus, a structure important for episodic memory and encoding spatial location, can alter feeding behaviour. Here, the presence of food triggered the activation of neurons in the mouse lateral entorhinal cortex, which in turn activated dopamine D2 receptor-expressing neurons in the hippocampus (hD2R neurons). Optogenetic activation of hD2R neurons projecting to the septal area disrupted the encoding of food location memory and decreased food intake.