The primate hippocampus, crucial for both episodic memory and spatial navigation, remains an enigma regarding whether these functions share the same neural substrates. We investigated how identical hippocampal neurons in macaque monkeys dynamically shifted their representations between tasks. In a recognition memory task, a notable fraction of hippocampal neurons showed that rate modulation strongly correlated with recognition performance. During free navigation in an open arena, spatial view, rather than position, predominantly influenced the spatial selectivity of hippocampal neurons. Neurons selective for recognition memory displayed minimal spatial tuning, while spatially tuned neurons exhibited limited memory-related activity. These neural correlates of recognition memory and space were more pronounced in the anterior and posterior portions of the hippocampus, respectively. These opposing gradients extended further into the anterior and posterior neocortices. Overall, our findings suggest the presence of orthogonal long-axis gradients between recognition memory and spatial navigation in the hippocampal-neocortical networks of macaque monkeys.