Abstract
Spatial memory is the storage and retrieval of information about the layout of the environment: where things are, how places connect, and where the body is within them. It is the memory system that supports navigation, and it has become the single richest bridge between cognitive psychology and neuroscience. The idea began with Tolman's claim that animals learn a cognitive map rather than a chain of turns, and it acquired a cellular basis when place cells were found in the hippocampus and grid cells in the entorhinal cortex, discoveries that earned a Nobel Prize. Spatial memory is measured by tasks from the Morris water maze to human virtual environments, and it is organized around the distinction between egocentric and allocentric frames. This article surveys what spatial memory is, how it is measured, and the map-like code that underlies it.
Keywords: spatial memory, cognitive map, place cell, grid cell, hippocampus
Spatial memory is the aspect of memory responsible for recording information about the environment and the spatial relations among its features, so that an organism can locate objects and find its way through the world (Burgess, Maguire, & O'Keefe, 2002). It is not a single store but a family of representations, some tied to the viewer's momentary position and some to a viewpoint-independent map, and it draws on the same hippocampal machinery that supports memory for events. Because it can be probed in animals and humans with closely matched tasks, spatial memory is the domain in which the psychology of memory and its neural implementation have been joined most tightly.
- Spatial memory stores the layout of the environment and the location of the body within it, and it is what makes navigation possible.
- It is organized around two reference frames: egocentric, centred on the viewer, and allocentric, centred on the world.
- Tolman's cognitive map proposed that animals learn spatial layout rather than fixed sequences of movements.
- The hippocampus and entorhinal cortex carry a cellular code for space: place cells, grid cells, and head-direction cells.
- Tasks from the Morris water maze to human virtual reality measure spatial memory, and hippocampal damage impairs it selectively.
What Spatial Memory Is
Spatial memory is the storage of information about locations, distances, and the spatial relations that connect the features of an environment. It answers questions of where: where an object was left, where a landmark stands relative to another, and where the body is now within a remembered layout. In the standard architecture of memory it spans timescales, from a spatial working memory that holds a few locations briefly to a long-term store of familiar environments, and it interacts closely with memory for events, since an episode is in part a memory of where it happened (Ekstrom & Ranganath, 2018).
The organizing distinction is between two reference frames. An egocentric representation codes location relative to the viewer, as a bearing and distance from the body: the shop is to my left, the door is ahead. An allocentric representation codes location relative to the world itself, in a frame anchored to external landmarks and independent of where the viewer happens to stand: the shop is north of the square regardless of which way one faces. Flexible navigation, such as taking a novel shortcut, requires the allocentric frame, because only a viewpoint-independent map supports inferences the learner never directly experienced (Burgess et al., 2002).
Figure 1
Egocentric and Allocentric Reference Frames
Measuring Spatial Memory
Spatial memory is inferred from navigation, and the paradigms that probe it are among the most portable in psychology because closely matched versions run in rodents and humans alike. The Morris water maze, in which an animal learns the hidden location of a submerged platform in a pool of opaque water, is the standard assay of hippocampus-dependent place learning: escape latency falls across trials as the animal acquires the platform's position relative to distal cues, and the acquired memory is read out on a probe trial with the platform removed (Morris, 1984). The radial-arm maze dissociates spatial working memory, remembering which arms have already been visited within a trial, from reference memory for arms that are never baited.
The Morris water maze
A rat learns the hidden platform’s location across trials, so escape latency falls. Step through the trials, and toggle a hippocampal lesion to see place learning fail while swimming stays intact.
Human spatial memory is now studied largely in virtual environments, which preserve the logic of the animal tasks while allowing the control of a computer display, and it is also gauged by the enduring behavioural consequence of real navigation, as when the mental map of a city is probed. Because these tasks separate egocentric from allocentric performance, and working from reference memory, they localize a spatial deficit rather than merely registering one, which is why a hippocampal lesion produces a signature pattern rather than a global failure (Morris, Garrud, Rawlins, & O'Keefe, 1982).
| Cell type | Location | What it codes |
|---|---|---|
| Place cell | Hippocampus | Fires when the animal is in one particular location, its place field. |
| Grid cell | Entorhinal cortex | Fires at the vertices of a regular triangular lattice tiling the environment. |
| Head-direction cell | Presubiculum and beyond | Fires when the head points in one particular direction, a neural compass. |
The Cognitive Map
The modern study of spatial memory begins with a dispute about what a rat learns in a maze. The dominant view held that learning was a chain of stimulus-response associations, a fixed sequence of turns reinforced by reward. Tolman argued instead that the animal acquires a cognitive map, an internal representation of the spatial layout, from which it can generate flexible behaviour such as a shortcut or a detour it was never trained to make (Tolman, 1948). The claim was that spatial knowledge is representational and map-like, not a rote motor programme.
Egocentric and allocentric bearing
The goal sits at a fixed place in the world. Turn the viewer and watch the two ways of coding where the goal is: its compass bearing on the map stays put, while the “turn” you must make from your own body changes with every rotation.
For decades the cognitive map was a purely psychological construct. Its status changed with the discovery that the hippocampus was necessary for spatial learning: patient H.M., whose medial temporal lobes were removed to treat epilepsy, was densely amnesic and profoundly impaired at learning new spatial layouts, implicating the hippocampal region in laying down new spatial and episodic memories (Scoville & Milner, 1957). The idea that the hippocampus is where the cognitive map is built became a research programme when the map was found to have identifiable neural elements.
The Cellular Basis of Spatial Memory
The cognitive map acquired a physical substrate with the discovery of place cells. Recording from the freely moving rat, O'Keefe and Dostrovsky found hippocampal neurons that fired only when the animal occupied a particular region of the environment, the cell's place field; together, a population of such cells tiles a space and signals the animal's location within it (O'Keefe & Dostrovsky, 1971). Here was a candidate neural embodiment of Tolman's map: a self-localizing code read directly from the brain.
The metric of that map was found upstream. Recording in the entorhinal cortex, the principal input to the hippocampus, Hafting and colleagues discovered grid cells, neurons that fire not at one location but at the vertices of a strikingly regular triangular lattice spanning the whole environment, as though the brain had laid a coordinate grid over the world (Hafting, Fyhn, Molden, Moser, & Moser, 2005). Grid cells, together with head-direction cells that fire only when the head points in a particular direction and so act as a neural compass (Taube, Muller, & Ranck, 1990), supply the distances and directions from which a place code can be computed. The discovery of place and grid cells was recognized with the 2014 Nobel Prize in Physiology or Medicine.
A grid cell’s firing lattice
As the animal sweeps across the arena, an entorhinal grid cell fires whenever it crosses one of many locations. Advance the exploration and watch the firing spots build up into a regular triangular lattice.
In humans, the same system leaves measurable traces in behaviour and anatomy. The hippocampus supports both spatial and episodic memory, and its spatial role is visible even in gross structure: London taxi drivers, who commit an entire city's street network to memory, have enlarged posterior hippocampi, with the size of the enlargement scaling with years of navigation experience, evidence that intensive spatial learning reshapes the human spatial-memory system (Maguire et al., 2000).
Worked Example
Consider a rat learning a Morris water maze across a block of training trials. On the first trial the animal has no memory of the platform's location and searches haphazardly, taking a long, meandering path before it happens upon the hidden platform; suppose this first escape takes 60 seconds. As the platform's position relative to the distal room cues is encoded into spatial memory, each subsequent trial is faster. Suppose escape latency falls to roughly 42, 30, 21, and finally 15 seconds across five trials.
The learning is the reduction in latency: from 60 seconds to 15 is a drop of 45 seconds, or a 75 percent improvement, and the smooth decline is the acquisition curve of a hippocampus-dependent spatial memory. The decisive test is not latency but the probe trial, run with the platform removed. An intact animal, having learned the platform's location allocentrically, spends far more than the chance one-quarter of its time in the target quadrant, revealing a specific memory of where the platform was. A hippocampally lesioned animal shows the signature dissociation: it can still swim and can escape to a visibly marked platform, but on the probe it searches all quadrants equally, its place memory abolished (Morris et al., 1982).
Current Directions
The tight animal-human correspondence has made spatial memory a proving ground for broad theories of memory. One active front reframes the hippocampal map as more than spatial: the same place-and-grid machinery is argued to code non-spatial relations, time, and the structure of experience generally, so that the cognitive map becomes a general engine for organizing memory and the space of concepts, not merely physical space (Ekstrom & Ranganath, 2018). On this view the hippocampus maps everything, and physical navigation is the special case that revealed the code.
A second front is integrative and historical, synthesizing five decades of single-cell recording into an account of how place cells, grid cells, and their partners together constitute a spatial representation, and how that circuit computes position from self-motion and landmarks (Moser, Moser, & McNaughton, 2017). A third extends the work to human cognition, asking how the neural map supports the wayfinding, memory, and imagination that reach beyond the animal paradigms, and how individual differences in navigation ability arise (Epstein, Patai, Julian, & Spiers, 2017). Across all three, spatial memory increasingly appears less as one faculty among many than as the template on which memory in general may be built.
Key Researchers
Eleanor A. Maguire (1970-2025). University College London; she showed that intensive real-world navigation reshapes the human hippocampus, and mapped the role of the hippocampus in spatial and episodic memory and imagination. ORCID - Wikipedia
Richard G. Morris (b. 1948). University of Edinburgh; he devised the water maze that became the standard assay of hippocampus-dependent spatial learning and showed place navigation fails after hippocampal lesions. ORCID - Wikipedia
Edvard I. Moser (b. 1962). Norwegian University of Science and Technology; he co-discovered grid cells in the entorhinal cortex, revealing a metric coordinate system for space, and shared the 2014 Nobel Prize. ORCID - Wikipedia
May-Britt Moser (b. 1963). Norwegian University of Science and Technology; she co-discovered grid cells and mapped the entorhinal-hippocampal circuitry underlying spatial representation, sharing the 2014 Nobel Prize. ORCID - Wikipedia
John O'Keefe (b. 1939). University College London; he discovered place cells in the hippocampus and framed the hippocampus as the seat of the cognitive map, sharing the 2014 Nobel Prize. ORCID - Wikipedia
Edward C. Tolman (1886-1959). University of California, Berkeley; he introduced the cognitive map, arguing that animals learn the spatial layout of an environment rather than a fixed chain of responses. Wikipedia
Discussion
Spatial memory occupies a special place in the science of memory because it is where behaviour and biology meet most cleanly. The construct began as a psychological inference, Tolman's map, defined entirely by what a rat could do that a chain of reflexes could not explain. It became a neuroscience when the map was found to have parts: place cells that signal location, grid cells that supply its metric, and head-direction cells that orient it. That an abstract cognitive construct turned out to correspond so directly to identifiable neurons is among the clearest vindications of the cognitive approach to the brain, and it is why the discoveries were honoured with a Nobel Prize.
The reach of the work now extends well beyond navigation. The distinction between egocentric and allocentric frames organizes both the behavioural and the neural literatures, and the selective vulnerability of allocentric memory to hippocampal damage links spatial memory to amnesia and to memory for events, since both depend on the same structure (Burgess et al., 2002). The current trajectory, treating the hippocampal map as a general system for representing relational structure rather than physical space alone, suggests that spatial memory may be less a specialized module than a window onto how memory is organized in general, an ambition still being tested (Baddeley, 2003).
Glossary
- Allocentric representation.
- A coding of location relative to the external world and its landmarks, independent of the viewer's position.
- Cognitive map.
- An internal, map-like representation of the spatial layout of an environment, from which flexible routes can be derived.
- Egocentric representation.
- A coding of location relative to the viewer's own body, as a bearing and distance that change whenever the viewer moves.
- Entorhinal cortex.
- The principal cortical input to the hippocampus and the site of grid cells, supplying the metric of the spatial map.
- Grid cell.
- An entorhinal neuron that fires at the vertices of a regular triangular lattice tiling the environment, providing spatial metric information.
- Head-direction cell.
- A neuron that fires when the head points in one particular direction, functioning as an internal compass.
- Hippocampus.
- A medial temporal lobe structure essential for forming new spatial and episodic memories and the seat of place cells.
- Morris water maze.
- A task in which an animal learns the hidden location of a submerged platform, the standard assay of hippocampus-dependent place learning.
- Path integration.
- The updating of an estimate of one's position by integrating self-motion cues such as speed and direction over time.
- Place cell.
- A hippocampal neuron that fires selectively when the animal occupies a particular region of the environment.
- Place field.
- The specific region of an environment in which a given place cell is active.
- Radial-arm maze.
- A maze with arms radiating from a centre, used to dissociate spatial working memory from spatial reference memory.
- Reference memory.
- Memory for the stable features of a task that hold across trials, such as which locations are never rewarded.
- Spatial memory.
- The storage and retrieval of information about locations, distances, and the spatial relations among features of the environment.
- Spatial navigation.
- The use of spatial memory to plan and follow routes through an environment toward a goal.
Frequently Asked Questions
What is spatial memory?
Spatial memory is the memory system that stores information about the layout of the environment, the location of objects, and the position of the body within a space, and it is what makes navigation possible (Burgess, Maguire, & O'Keefe, 2002).
What is the difference between egocentric and allocentric memory?
Egocentric memory codes location relative to the viewer's body, so it changes when the viewer moves; allocentric memory codes location on a world-anchored map that is independent of viewpoint and supports novel shortcuts (Burgess et al., 2002).
What is a cognitive map?
A cognitive map is Tolman's proposal that an animal learns an internal representation of spatial layout rather than a fixed chain of turns, allowing it to take shortcuts and detours it was never trained to make (Tolman, 1948).
What are place cells and grid cells?
Place cells are hippocampal neurons that fire when the animal is in one particular location; grid cells are entorhinal neurons that fire at the vertices of a regular triangular lattice, supplying the metric for a spatial map (Hafting, Fyhn, Molden, Moser, & Moser, 2005).
Which brain region supports spatial memory?
The hippocampus and the neighbouring entorhinal cortex are central; damage to the hippocampal region, as in patient H.M., severely impairs the formation of new spatial and episodic memories (Scoville & Milner, 1957).
How is spatial memory measured?
In animals it is measured with tasks such as the Morris water maze, where escape latency to a hidden platform falls with learning; in humans it is measured with matched virtual environments and real-world navigation (Morris, 1984).
Does navigation experience change the brain?
Yes. London taxi drivers who memorize an entire city's streets have enlarged posterior hippocampi, and the size of the enlargement scales with years of experience, showing that intensive spatial learning reshapes the human brain (Maguire et al., 2000).
Is spatial memory the same as memory for events?
They are closely linked and share the hippocampus. An episodic memory includes where an event happened, and current theories argue the hippocampal spatial code may underlie the organization of memory more generally (Ekstrom & Ranganath, 2018).
References
Baddeley, A. (2003). Working memory: Looking back and looking forward. Nature Reviews Neuroscience, 4(10), 829-839. https://doi.org/10.1038/nrn1201
Burgess, N., Maguire, E. A., & O'Keefe, J. (2002). The human hippocampus and spatial and episodic memory. Neuron, 35(4), 625-641. https://doi.org/10.1016/S0896-6273(02)00830-9
Ekstrom, A. D., & Ranganath, C. (2018). Space, time, and episodic memory: The hippocampus is all over the cognitive map. Hippocampus, 28(9), 680-687. https://doi.org/10.1002/hipo.22750
Epstein, R. A., Patai, E. Z., Julian, J. B., & Spiers, H. J. (2017). The cognitive map in humans: Spatial navigation and beyond. Nature Neuroscience, 20(11), 1504-1513. https://doi.org/10.1038/nn.4656
Hafting, T., Fyhn, M., Molden, S., Moser, M.-B., & Moser, E. I. (2005). Microstructure of a spatial map in the entorhinal cortex. Nature, 436(7052), 801-806. https://doi.org/10.1038/nature03721
Maguire, E. A., Gadian, D. G., Johnsrude, I. S., Good, C. D., Ashburner, J., Frackowiak, R. S. J., & Frith, C. D. (2000). Navigation-related structural change in the hippocampi of taxi drivers. Proceedings of the National Academy of Sciences, 97(8), 4398-4403. https://doi.org/10.1073/pnas.070039597
Morris, R. G. M., Garrud, P., Rawlins, J. N. P., & O'Keefe, J. (1982). Place navigation impaired in rats with hippocampal lesions. Nature, 297(5868), 681-683. https://doi.org/10.1038/297681a0
Morris, R. (1984). Developments of a water-maze procedure for studying spatial learning in the rat. Journal of Neuroscience Methods, 11(1), 47-60. https://doi.org/10.1016/0165-0270(84)90007-4
Moser, E. I., Moser, M.-B., & McNaughton, B. L. (2017). Spatial representation in the hippocampal formation: A history. Nature Neuroscience, 20(11), 1448-1464. https://doi.org/10.1038/nn.4653
O'Keefe, J., & Dostrovsky, J. (1971). The hippocampus as a spatial map: Preliminary evidence from unit activity in the freely-moving rat. Brain Research, 34(1), 171-175. https://doi.org/10.1016/0006-8993(71)90358-1
Scoville, W. B., & Milner, B. (1957). Loss of recent memory after bilateral hippocampal lesions. Journal of Neurology, Neurosurgery & Psychiatry, 20(1), 11-21. https://doi.org/10.1136/jnnp.20.1.11
Taube, J. S., Muller, R. U., & Ranck, J. B. (1990). Head-direction cells recorded from the postsubiculum in freely moving rats. I. Description and quantitative analysis. The Journal of Neuroscience, 10(2), 420-435. https://doi.org/10.1523/JNEUROSCI.10-02-00420.1990
Tolman, E. C. (1948). Cognitive maps in rats and men. Psychological Review, 55(4), 189-208. https://doi.org/10.1037/h0061626