Spatial Memory: How the Brain Remembers Locations and Layouts

You remember where you parked your car, where your keys usually sit on the counter, and how to get from your bedroom to the kitchen without thinking about it. None of this required deliberate memorisation — it happened automatically, through a system specifically dedicated to encoding and storing spatial information. This is spatial memory, and it is one of the most extensively studied forms of memory in neuroscience, with a well-understood neural basis centred on the hippocampus.

Spatial memory differs from the moment-to-moment holding of positions in mind — that shorter-term capacity is visuospatial working memory. Spatial memory in the sense covered here refers to the longer-term storage of locations, layouts, and routes — knowledge that persists over days, months, or years rather than seconds.

We have embedded a free Spatial Span Test at the bottom of this page, which measures a closely related capacity: your ability to encode and reproduce spatial sequences.

The Hippocampus and Spatial Memory

The hippocampus is the brain structure most strongly associated with spatial memory, and its role has been studied in extraordinary detail since the discovery of place cells in the 1970s. These neurons fire when an animal — or person — is in a specific location, effectively encoding a map of the environment within the hippocampal formation.

A meta-analysis of fMRI studies on spatial memory found that both encoding and retrieval of spatial memories produce extensive activity along the full length of the hippocampus, as well as the surrounding entorhinal, perirhinal, and parahippocampal cortices. This confirms that spatial memory is not localised to a single point in the hippocampus but engages a distributed network spanning its full structure and immediate surroundings.

An interesting detail from this research concerns the organisation of the hippocampus along its anterior-posterior axis. There is ongoing scientific debate about whether the anterior hippocampus specialises in memory encoding generally, or whether the posterior hippocampus specialises in spatial memory specifically. The evidence suggests a more nuanced picture: spatial memory engages both anterior and posterior regions, with some functional specialisation across the axis rather than a simple either-or division.

How Spatial Memories Form

Spatial memory formation begins with the activity of place cells, grid cells, and head direction cells — the neural systems collectively responsible for spatial coding. As you move through an environment, these cells fire in patterns that reflect your changing position, orientation, and the layout around you. This initial encoding happens automatically, without conscious effort, whenever you navigate through space.

The transition from initial encoding to durable long-term storage involves a process called consolidation, where hippocampal-dependent memories are gradually stabilised and, in some models, partially transferred to distributed cortical networks for longer-term storage. Research on hippocampal-prefrontal interactions in memory shows that this consolidation process continues to evolve over extended periods after initial learning — hippocampal neurons continue to update their firing patterns as new spatial information is integrated with existing knowledge, particularly when previously learned spatial relationships need to be revised.

This ongoing updating process explains why spatial memories are not simply fixed once formed — they continue to be refined and reorganised, particularly when an environment changes or when new spatial information conflicts with what was previously learned.

Two Types of Spatial Memory

Spatial memory research typically distinguishes between two related but separable types:

Object-location memory — remembering where specific objects or landmarks are located within an environment. This is what lets you remember where you left your phone, or where a particular shop is in a town you know well. It depends heavily on the hippocampus's role in binding "what" and "where" information together.

Route and layout memory — remembering the spatial relationships between locations and the paths that connect them. This is closer to what is discussed in the article on mental maps — the broader cognitive representation of an environment's structure, distinct from memory for individual object locations.

These two types of spatial memory can dissociate — someone might remember exactly where their keys are in their home (object-location memory) while having a poor overall sense of the neighbourhood's layout (route and layout memory), or vice versa.

Why Spatial Memory Varies Between People

Individual differences in spatial memory are substantial and reflect several underlying factors. Hippocampal volume and function vary between people and correlate with spatial memory performance — famously demonstrated in studies of London taxi drivers, whose extensive navigation experience was associated with measurably larger posterior hippocampal volume compared to controls.

Experience matters considerably. People who actively navigate, explore new environments, and engage with spatial tasks tend to show stronger spatial memory than those who rely heavily on passive navigation aids like GPS. This is consistent with research showing that active, self-directed exploration produces more durable spatial encoding than passive exposure to the same environment.

Spatial working memory capacity also predicts spatial memory performance — people who can hold more spatial information active in mind at once tend to encode more complete spatial memories, because more of the relevant information is available to be consolidated into long-term storage during the encoding process.

Spatial Memory and Aging

Spatial memory is one of the cognitive abilities most affected by normal aging, and changes in spatial memory are often among the earliest detectable signs of conditions affecting the hippocampus, including Alzheimer's disease. This makes spatial memory testing a valuable tool in both research and clinical assessment — declines in object-location memory and route-finding ability frequently precede more obvious memory symptoms.

The good news is that spatial memory, like other hippocampal-dependent abilities, responds to engagement and practice across the lifespan. Regular spatial challenges — navigation without GPS, spatial memory games, and tasks that require encoding and retrieving location information — appear to support spatial memory function, consistent with the broader finding that the hippocampus retains a capacity for change (neuroplasticity) throughout life.

Training Spatial Memory

The most direct way to exercise spatial memory is through tasks that require encoding and reproducing spatial information — exactly what the Spatial Span Test below provides, using the well-validated Corsi block-tapping format. While this specifically measures spatial working memory rather than long-term spatial memory, the two systems are closely linked, and regular practice with spatial encoding tasks supports both.

Beyond formal testing tools, real-world spatial memory practice includes navigating unfamiliar environments without GPS, deliberately encoding the locations of objects rather than relying on habit, and engaging with spatial games and puzzles. The broader Spatial Reasoning hub provides structured tools — including mental rotation and maze navigation — that train related spatial cognition alongside spatial memory specifically.

Test Your Spatial Memory Capacity

The test below uses the Corsi block-tapping format to measure your spatial working memory — a capacity closely linked to broader spatial memory performance. Watch the sequence of blocks light up, then reproduce the pattern in the same order. For more difficulty levels and session history, visit the Spatial Span Test page.

🧠 Spatial Span Test

Watch the blocks light up in sequence — then reproduce the order

⚡ Quick Start

Watch the blocks light up one by one. Remember the order.
Click the blocks in the same sequence to score a correct trial.

Blocks light up in sequence — reproduce the order

Watch the sequence

📊 Session Results

Max Span
Correct
Accuracy