Hippocampus and Spatial Memory

A rat runs a familiar maze in the dark. It has no vision and no smell cues. Still, it finds the reward arm without error. Something inside its brain keeps a running estimate of where it is in space. That something is a population of neurons in the hippocampus and neighboring cortex. These neurons fire only when the animal occupies a specific location. It is as if the brain had drawn its own internal map of the world. Understanding how these cells work answers a question that puzzled philosophers for centuries. How does an organism represent "here" and "there" using nothing but electrochemical signals? The discovery of place cells and grid cells matters far beyond navigation. The hippocampus is the structure most implicated in human episodic memory. Damage to it causes a very specific and devastating amnesia. The case of patient H.M. is one of the most cited in all of neuroscience. The idea that spatial coding and episodic memory share a common neural machinery is called the "cognitive map." This idea reframed the hippocampus from a simple memory-store into a coordinate system. That system can also organize memories in time, in social relationships, and possibly in abstract conceptual spaces. This article traces the mechanism from single-cell physiology to circuit-level computation. It explains how place cells in hippocampal areas CA1 and CA3 encode location using population activity. It explains how grid cells in the medial entorhinal cortex provide a metric scaffold of hexagonal firing fields. It also shows how head-direction cells and border cells complete the navigational instrument set. It covers the classic and Nobel-winning experiments too. These include O'Keefe's 1971 discovery and the Mosers' 2005 grid cell papers. It also covers the human neuroimaging and lesion work that extended these findings to people. By the end, you should be able to explain why the hippocampus is called a "cognitive map." You should understand how Long-Term Potentiation provides the plasticity mechanism that lets place fields form and remap. You should also see how these single-cell codes connect upward to the population dynamics covered in Neural Circuits and Network Dynamics.

Key takeaways
  • Place cells in hippocampal CA1/CA3 fire when an animal is in a specific location — a "place field" — discovered by John O'Keefe in 1971.
  • Grid cells in medial entorhinal cortex fire in a repeating hexagonal lattice across space, discovered by Edvard and May-Britt Moser in 2005.
  • Head-direction cells, border cells, and speed cells supply complementary signals (compass heading, wall distance, running speed) that feed the map.
  • The 2014 Nobel Prize in Physiology or Medicine went to O'Keefe and the Mosers for this "positioning system in the brain."
  • Place fields can abruptly "remap" — firing at entirely new locations — when context changes, revealing that the code is combinatorial, not fixed geography.
  • LTP-like synaptic plasticity at CA3–CA1 and entorhinal–hippocampal synapses is the proposed mechanism that stores and updates the map, linking spatial coding to Learning and Memory Systems.
The core insight

The hippocampal-entorhinal system builds an internal, self-generated map of space out of place cells, grid cells, and head-direction cells, and the same circuitry that computes "where" also underlies episodic memory for "what happened where."

The core idea

A place cell is a pyramidal neuron in the hippocampus, most heavily studied in areas CA1 and CA3, that increases its firing rate dramatically — often from near-zero baseline to tens of spikes per second — whenever an animal is located within a restricted region of its environment, called the neuron's place field. Any given cell in a given environment has one or a few place fields, typically covering roughly 10-30% of a small open arena for dorsal CA1 cells, and different cells have fields in different places, so that across the whole population, the entire environment is tiled. Critically, the same cell will have a place field in one environment and no reliable field, or a field in a completely different location, in another environment. This context-dependence is called remapping, and it is the key evidence that place cells encode an abstract, learned representation of space rather than reacting directly to any single sensory cue. A grid cell, discovered three decades later in the medial entorhinal cortex (MEC), which is the principal cortical input to the hippocampus, fires not at one location but at multiple locations that form a strikingly regular hexagonal lattice tiling the entire environment the animal explores. The spacing between firing fields and the size of each field increase systematically along the dorsal-to-ventral axis of the MEC, so that dorsal grid cells have small, closely spaced fields (tens of centimeters apart) and ventral grid cells have large, widely spaced fields (meters apart). This provides a multi-scale metric — a ruler — for space, analogous to how different spatial frequencies build up a complex image. Together with head-direction cells (which fire only when the animal's head points in a particular compass direction, independent of location), border cells (which fire specifically near environmental boundaries), and speed cells (whose firing rate scales with the animal's running speed), grid cells supply the raw metric and self-motion signals that the hippocampus combines with sensory landmark information to construct the cognitive map — a term coined by Edward Tolman in 1948 and given a cellular mechanism by O'Keefe and Nadel's 1978 book The Hippocampus as a Cognitive Map. This map is not a static picture but a dynamically updated, self-localizing coordinate system, continuously corrected by both external landmarks and internally generated movement signals via path integration (dead reckoning).

Mechanism

Step 1 — Sensory and self-motion inputs converge on entorhinal cortex. Visual landmark information from parietal and visual association cortices, vestibular and proprioceptive self-motion signals (via the head-direction circuit, which originates in brainstem vestibular nuclei and passes through the lateral mammillary nuclei and anterodorsal thalamic nucleus), and olfactory/contextual information all converge on the entorhinal cortex, the gateway to the hippocampus.

Step 2 — Grid cells compute a path-integrated metric. Within MEC layer II/III, grid cells appear to combine head-direction input and running-speed input to perform path integration: continuously updating an internal estimate of position by integrating velocity over time, the neural equivalent of dead reckoning on a ship. Because path integration alone accumulates error, grid cell firing is periodically reset and corrected using visual landmark information reaching entorhinal cortex from postrhinal and perirhinal cortex. Computational models (attractor network models) propose that grid firing emerges from a two-dimensional neural sheet of recurrently connected cells whose activity forms a bump (or several bumps) that moves across the sheet in a direction and speed set by the animal's actual movement — an idea supported by the discovery that grid cells with the same spacing and orientation form functional "modules" that shift coherently.

Step 3 — Entorhinal grid, border, and head-direction signals project to hippocampus. MEC layer II projects to the dentate gyrus and CA3 via the perforant path; MEC layer III projects directly to CA1. This is the anatomical substrate for the classic trisynaptic circuit: entorhinal cortex → dentate gyrus → CA3 → CA1 → back to entorhinal cortex (deep layers), which then projects back out to neocortex. CA3 also has extensive recurrent collaterals connecting CA3 pyramidal cells to one another, forming an autoassociative network capable of pattern completion — retrieving a whole stored spatial pattern from a partial or degraded cue.

Step 4 — Hippocampal place fields emerge from combinatorial convergence. A CA1 or CA3 place cell's firing field arises from the convergence of many overlapping, differently-spaced, differently-phased grid cell inputs, plus direct sensory/contextual input via the perirhinal and postrhinal-to-entorhinal-to-hippocampal route, plus recurrent CA3 dynamics. Because many different combinations of grid phases can, in principle, sum to produce a single localized bump of excitation at one place and only one place, this system can in theory generate an enormous number of distinguishable place codes — one of the proposed computational advantages of using periodic grid codes as a basis set, analogous to a Fourier decomposition of position.

Step 5 — Synaptic plasticity stores and stabilizes the map. When an animal first enters a novel environment, place fields are somewhat unstable and can drift or update over the first ten to twenty minutes of exploration. NMDA-receptor-dependent long-term potentiation (LTP) at the Schaffer collateral synapses (CA3→CA1) and at perforant path synapses (entorhinal cortex→dentate gyrus/CA3) is thought to stabilize which afferents drive which cell, converting an initially labile pattern of activity into a stable, reliable place field that can persist for weeks. Pharmacological or genetic blockade of NMDA receptors or of the CaMKII pathway central to LTP (see Long-Term Potentiation) degrades both place field stability and spatial learning in the water maze, directly linking the cellular plasticity mechanism to the behavioral phenomenon.

Step 6 — Remapping reconfigures the code, not the geography. When the environment, the task, or even the animal's internal state changes sufficiently, CA3 and CA1 populations can undergo global remapping: a largely new, uncorrelated set of cells becomes active with new place fields, as if the population had switched to an entirely different "map" for a different context. Smaller changes (like moving a single wall) can produce rate remapping: the same cells keep firing in the same locations but change their firing rates. This dual coding scheme lets the hippocampus represent both "this is a different place" (global remapping) and "this is the same place but something changed" (rate remapping).

Figure
Trisynaptic circuit and place-field convergence
Hippocampal circuit: entorhinal cortex → dentate gyrus → CA3 → CA1 Entorhinal cortex (grid, border, HD cells) Dentate gyrus pattern separation CA3 recurrent net pattern completion CA1 place cells output perforant path (layer II) mossy fibers Schaffer collat. direct perforant path (layer III → CA1) CA1 → subiculum → deep EC layers (output to neocortex) Convergent grid-cell phases + sensory landmark input + CA3 recurrence → a single CA1 place field at one location
Figure
Grid cell hexagonal firing pattern vs. place cell single field
Grid cell: hexagonal firing lattice Place cell: single firing field Fields recur every ~30-50 cm (dorsal MEC) One field ≈ 20-30% of small arena, silent elsewhere

The evidence

O'Keefe and Dostrovsky, 1971. John O'Keefe and Jonathan Dostrovsky recorded single hippocampal units in freely moving rats using chronically implanted microelectrodes, a technique that itself required years of development to allow stable single-unit recording in an unrestrained animal. They found that certain hippocampal neurons fired selectively when the rat was in a particular part of the testing platform, regardless of the rat's orientation and largely independent of any single sensory cue they tested. O'Keefe called these "place cells" and proposed, radically for the time, that the hippocampus was not merely a memory register but the neural instantiation of Tolman's cognitive map. This was published as a short report in Brain Research in 1971, followed by the fuller theoretical treatment with Lynn Nadel in the 1978 book The Hippocampus as a Cognitive Map.

Key control experiments establishing that place fields are not simple sensory responses. Subsequent work showed that place fields persist when the lights are turned off, that they remain stable when a prominent cue card is moved unless the animal's frame of reference is fully disrupted, and that rotating a single landmark rotates the place field correspondingly — showing the cell uses landmarks to anchor an internally generated map rather than firing in direct response to the landmark itself. Muller and Kubie (1987) systematically manipulated cue cards and environment boundaries and demonstrated that place fields depend on the geometric relationship of the animal to the whole configuration of cues, not any one cue in isolation.

Remapping experiments. Bostock, Muller, and Kubie (1991), and later Leutgeb and colleagues (2004, 2005) working in the Moser laboratory, showed that changing the shape of the environment, the color of the walls, or the behavioral context could cause an abrupt, large-scale reorganization of which cells fire where — global remapping — while smaller manipulations produced graded rate changes without relocation of fields — rate remapping. This distinguished the hippocampal code as a flexible, combinatorial system rather than a fixed topographic map, analogous to a telephone switchboard that can be rewired for each new context rather than a photograph that is simply redrawn.

Fyhn, Molden, Witter, Moser, and Moser, 2004; Hafting, Fyhn, Molden, Moser, and Moser, 2005. Recording from the medial entorhinal cortex, the Moser laboratory in Trondheim discovered cells whose firing fields, when plotted over the whole area an animal explored, formed a near-perfect hexagonal lattice — the grid cell. Critically, this periodic structure appeared even in a completely empty, cue-poor arena, showing that the pattern was internally generated rather than externally imposed by the room's geometry. Grid spacing and field size increased systematically along the dorsoventral axis of MEC, matching a long-standing observation that place field size in hippocampus also increases along the corresponding dorsoventral (septal-to-temporal) axis.

Discovery of head-direction cells and border cells rounding out the system. Head-direction cells were first described by Ranck (1984) and characterized in detail by Taube, Muller, and Ranck (1990) in postsubiculum; border cells were described by Solstad, Boccara, Kropff, Moser, and Moser (2008) in MEC, firing specifically along one or more walls of an enclosure regardless of its size or shape. Together with grid cells, these give the entorhinal-hippocampal system a full instrument panel: compass heading, distance-to-boundary, and metric position.

Human evidence. Patient H.M., who underwent bilateral medial temporal lobe resection in 1953 for epilepsy and was studied extensively by Brenda Milner, could not form new long-term declarative memories, including new spatial memories of places he had never seen before his surgery, directly implicating the hippocampus in human spatial-episodic memory. Eleanor Maguire's structural MRI studies of London taxi drivers (2000) found significantly enlarged posterior hippocampal gray matter volume correlating with years of navigation experience, and later single-cell recordings during epilepsy surgery (Ekstrom, Kahana, Fried and colleagues, 2003) directly recorded place-cell-like and view-cell-like activity in humans navigating virtual environments, extending the rodent findings to our own species. In 2014, the Nobel Prize in Physiology or Medicine was awarded jointly to John O'Keefe and to May-Britt Moser and Edvard Moser "for their discoveries of cells that constitute a positioning system in the brain."

Worked examples

Example 1 — Reading a grid cell's spatial autocorrelogram. A researcher records a putative grid cell in dorsal MEC while a rat forages in a 1.5 m × 1.5 m square box. The raw firing-rate map shows six-to-seven discrete firing fields arranged so that each field has six roughly equidistant neighbors. The spatial autocorrelogram of this rate map shows a clear central peak surrounded by six peaks at 60° intervals, and a gridness score (a standard measure comparing the autocorrelogram's rotational symmetry) of 0.82, well above the typical threshold of ~0.3-0.4 used to classify a cell as a grid cell in most laboratories. The distance between neighboring fields (grid spacing) measures 42 cm. Question: what would you predict for a grid cell recorded simultaneously in a ventral MEC electrode in the same animal, and why? Reasoning: Given the well-established dorsoventral gradient in which grid spacing and field size increase moving ventrally, the ventral cell should show a larger spacing — empirically, spacing increases from roughly 30 cm near the dorsal pole to several meters near the ventral pole of MEC, changing in a discrete, stepwise fashion across "modules" rather than continuously. So the ventral recording should show a coarser hexagonal lattice, larger individual fields, and fewer repeats visible within the same 1.5 m box (possibly appearing as only one or two fields since the whole box may fit inside a single grid period). This illustrates the multi-scale ruler idea: dorsal modules give fine spatial resolution over short distances, ventral modules give coarse resolution needed for large-scale environments, and combining several modules of different scale allows a very large, non-repeating range of unambiguous positions to be encoded, much as combining base-2 and base-10 digits of different place value lets a small number of digits encode a huge range of numbers.

Example 2 — A remapping experiment, predicting the outcome. An experimenter records 60 place cells simultaneously from CA1 while a rat explores a gray circular arena (Environment A), then places the same rat in a black square arena in a different room (Environment B), then returns it to the gray circular arena (A again). In Environment A, 35 of the 60 cells show a clear, stable place field; in Environment B, a substantially different, largely non-overlapping subset of about 38 cells shows fields, and correlations between the A rate maps and the B rate maps for individual cells average near zero. When the rat is returned to A, the original A place fields reappear at high spatial correlation (~0.85) with the first A session. Question: is this global remapping or rate remapping, and what does the return-to-A result rule out? Reasoning: This is global remapping: a largely different population of cells becomes active, not merely a change in firing rate of the same cells at the same locations (which would instead be rate remapping, seen typically with subtler changes like altering wall color alone while keeping shape and room constant). The high correlation upon return to A (~0.85, comparable to test-retest reliability within a single stable session) rules out the possibility that the CA1 network was simply drifting randomly or degrading due to fatigue, electrode movement, or nonspecific novelty; instead it shows that A and B are each represented by a distinct, stored and retrievable map that the network can reinstate on demand, consistent with the CA3 autoassociative network performing pattern completion for a well-learned map while orthogonalizing genuinely different contexts, a computation attributed to the pattern-separation function of the dentate gyrus upstream.

Common misconceptions & traps

MisconceptionWhy it's wrong
"Place cells are just responding to what the rat sees."Fields persist in darkness and rotate with the internal frame of reference, not with any single visual cue; they reflect an internally computed map, corrected by but not slaved to vision.
"A place cell always fires in the same 'spot' across every environment."Place cells remap: the very same cell can have a field in one room and no field, or a field elsewhere, in a different room. There is no fixed geographic meaning to a given cell.
"Grid cells are the hippocampus's map; place cells are downstream and redundant."Grid cells are in entorhinal cortex, not hippocampus, and provide metric/self-motion input; place cells combine this with sensory/contextual signals and support pattern completion/separation the grid system alone cannot do.
"The hippocampus stores a picture-like map, like a folded street map in a drawer."The code is combinatorial and population-based — a distributed pattern of which cells are active — not a literal, spatially isomorphic image stored in one place.
"Grid cells were discovered before place cells."Place cells (O'Keefe, 1971) preceded grid cells (Moser lab, 2005) by over three decades; grid cells were found partly by tracing the entorhinal input to already-known place cells.
"Spatial memory and episodic memory are handled by completely separate brain systems."Both depend heavily on the same hippocampal-entorhinal circuitry; the cognitive map theory proposes spatial coding as a foundation that episodic memory ("what happened where and when") builds upon.

The scientist behind it

John O'Keefe was born in New York City in 1939 to Irish immigrant parents and trained initially in psychology, receiving his PhD from McGill University in 1967, where the physiological psychology tradition of Donald Hebb (whose theoretical work underlies much of what became Long-Term Potentiation research) was strongly influential. O'Keefe moved to University College London, where he began recording single hippocampal neurons in freely behaving rats at a time when almost all electrophysiology was done in anesthetized or restrained preparations, a technically demanding choice that made the 1971 discovery possible. He spent essentially his entire career at UCL, patiently building up the case for the cognitive map theory over four decades against considerable early skepticism, since the dominant view at the time treated the hippocampus mainly through the lens of the H.M. amnesia case as a generic "memory structure" rather than a spatial one. May-Britt Moser and Edvard Moser, both born in Norway in 1963, met as psychology students, married, and pursued postdoctoral training partly in O'Keefe's own laboratory before founding the Kavli Institute for Systems Neuroscience in Trondheim. Their systematic mapping of the entorhinal cortex, moving the recording electrode step by step across the dorsoventral axis, led to the serendipitous discovery of the hexagonal grid pattern, illustrating how a hypothesis-neutral, careful anatomical survey can reveal structure nobody had predicted from theory alone.

Origins · 1 minJohn O'Keefe and how this was discovered
JO
John O'Keefe
born 1939 · University College London; discovered place cells in 1971, establishing the hippocampus as a spatial-mapping structure and co-recipient of the 2014 Nobel Prize in Physiology or Medicine

MM
May-Britt Moser and Edvard Moser
born 1963 · Kavli Institute for Systems Neuroscience, Norwegian University of Science and Technology, Trondheim; discovered grid cells in medial entorhinal cortex in 2005, co-recipients of the 2014 Nobel Prize in Physiology or Medicine

History
- 1948 — Edward Tolman proposes rats use a "cognitive map" rather than pure stimulus-response chains, based on latent learning experiments in mazes.
- 1971 — John O'Keefe and Jonathan Dostrovsky discover hippocampal place cells in freely moving rats.
- 1978 — O'Keefe and Lynn Nadel publish The Hippocampus as a Cognitive Map, formalizing the theory.
- 1990-1991 — Head-direction cells characterized in detail; global versus rate remapping distinguished experimentally.
- 2005 — Edvard Moser, May-Britt Moser, and colleagues (Fyhn, Hafting) discover grid cells in medial entorhinal cortex.
- 2014 — O'Keefe, M.-B. Moser, and E. Moser jointly awarded the Nobel Prize in Physiology or Medicine.

Where this matters today

Alzheimer's disease and early diagnosis. The entorhinal cortex, particularly layer II, is among the earliest sites of neurofibrillary tangle pathology in Alzheimer's disease, and grid-cell-like signals measured with fMRI or MEG in humans performing virtual navigation tasks are being explored as sensitive early biomarkers, potentially detecting circuit dysfunction before clinical memory symptoms or measurable hippocampal atrophy appear.

Traumatic brain injury and epilepsy surgery. Because medial temporal lobe structures are common surgical targets and common sites of injury, understanding the trisynaptic circuit informs both surgical planning (trying to spare tissue critical for spatial and episodic memory) and rehabilitation strategies for patients with post-traumatic spatial disorientation.

Rodent models of neuropsychiatric and neurodegenerative disease. Place-cell and grid-cell recordings in mouse models of Alzheimer's disease, schizophrenia, and stress-related disorders are a standard tool for linking molecular pathology (amyloid plaques, altered synaptic plasticity, disrupted GABAergic interneurons) to concrete, quantifiable deficits in spatial coding, giving a translational bridge between cellular mechanism and behavioral impairment.

Brain-computer interfaces and neuroprosthetics. Decoding algorithms originally built to reconstruct an animal's position from place-cell population activity are now foundational methods in the broader field of neural decoding, feeding directly into the population-level analyses used throughout Neural Circuits and Network Dynamics and into experimental hippocampal memory prostheses aimed at restoring memory function after injury.

Understanding memory beyond space. Human fMRI studies find grid-cell-like hexagonal signals during purely conceptual "navigation" through abstract feature spaces (for example, mentally comparing objects varying along two continuous dimensions), suggesting the entorhinal-hippocampal metric system may be repurposed generally for organizing knowledge, a finding actively shaping current theories of how the brain represents structured knowledge and schemas, and connecting spatial cognition research directly back to general theories in Learning and Memory Systems.

Ask the tutor: How would place cell and grid cell firing be expected to change in an animal with early entorhinal cortex tau pathology, before any detectable hippocampal atrophy?

What is the difference between a place cell and a grid cell?

A place cell, found mainly in hippocampal CA1 and CA3, fires when the animal is in one restricted region of an environment and is silent elsewhere — one cell, roughly one field, in a given context. A grid cell, found in the medial entorhinal cortex, fires at many locations that form a regular hexagonal lattice spanning the whole explored space — one cell, many periodically repeating fields. Grid cells are thought to supply metric, self-motion-based positional information (via path integration) that, combined with sensory and contextual input, helps generate the more sparse, unique, context-specific place cell code downstream in the hippocampus.

Why don't place fields simply reflect what the animal can see or smell at that location?

Because place fields persist when the room is completely dark, remain largely stable when many but not all sensory cues are removed, and can rotate coherently with a single reference cue rather than being tied to any one sensory feature. This shows the hippocampus integrates multiple cues, including self-motion (path integration) information from the entorhinal cortex, into an internal estimate of position that is only periodically corrected, not continuously dictated, by external sensory input.

What does "remapping" prove about how the hippocampus encodes context?

Remapping shows that the hippocampal code is combinatorial and can be reassigned, not a fixed geographic labeling. When context changes substantially (global remapping), a largely new set of cells becomes active, effectively creating an independent, near-orthogonal representation for the new context, which is thought to minimize interference between memories formed in different places. When context changes only subtly (rate remapping), the same cells keep firing in the same locations but adjust their firing rates, signaling "familiar place, altered content" rather than "new place entirely."

How does long-term potentiation relate to place field formation?

Place fields, especially in a novel environment, are initially less stable and become progressively more reliable over the first exploration sessions, paralleling the time course over which synapses strengthen via NMDA-receptor-dependent LTP at perforant path and Schaffer collateral synapses. Pharmacological NMDA receptor blockade (for example, with APV) or genetic disruption of CaMKII-dependent plasticity degrades both the spatial precision/stability of place fields and performance on hippocampus-dependent spatial tasks like the Morris water maze, directly linking the cellular plasticity mechanism covered under Long-Term Potentiation to the behavioral and single-cell phenomena described here.

Do humans have place cells and grid cells too?

Yes. Direct intracranial recordings during epilepsy surgery (patients with electrodes implanted for clinical seizure monitoring who volunteer for research tasks) have identified neurons in human hippocampus and entorhinal cortex with place-cell-like and grid-cell-like firing properties during virtual navigation tasks. Human fMRI studies also detect a characteristic hexagonally symmetric BOLD signal modulation in entorhinal cortex during both physical and even purely mental/conceptual "navigation," and structural MRI studies (notably of London taxi drivers) show hippocampal volume changes correlating with extensive real-world navigation experience.

Why did O'Keefe, and separately the Mosers, receive the Nobel Prize for what seems like a narrow finding about rat navigation?

Because the discovery answered a much broader question: how does the brain construct an internal, abstract representation of an external variable (here, spatial position) purely from neural activity? The cognitive map framework, and the specific cell types (place, grid, head-direction, border cells) that implement it, provided the first rigorous, experimentally verified example of how a complex, structured internal model of the world is built from single-neuron and population-level computations, a template that has since informed thinking about how the brain might represent time, social relationships, and abstract conceptual spaces.

How does pattern separation in the dentate gyrus relate to place cell remapping?

The dentate gyrus receives input from entorhinal cortex and is thought to perform pattern separation: transforming similar input patterns (e.g., two visually similar rooms) into highly dissimilar output patterns before passing them to CA3. This is proposed to be a key upstream contributor to the global remapping seen in CA3/CA1, helping the hippocampus avoid catastrophic interference between memories of similar-looking but functionally distinct places, while CA3's recurrent collaterals separately support pattern completion, retrieving a previously stored map from a partial or degraded cue.

Before this

Where this leads